Skip to content
Back to skills

Analysis Workflows

ASecurity

"Run MDAnalysis analysis classes, custom AnalysisBase workflows,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythonbashapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill analysis-workflows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analysis Workflows?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analysis Workflows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-analysis-workflows/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-analysis-workflows)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: analysis-workflows
description: "Run MDAnalysis analysis classes, custom AnalysisBase workflows,
  numerical distance analyses, and analysis backend validation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# MDAnalysis Analysis Workflows

Use this sub-skill when the task is to run built-in `MDAnalysis.analysis` modules, interpret `analysis.results`, convert frame loops into `AnalysisBase`, or debug analysis backends and numerical outputs.

## Route First

- For loading files, building synthetic `Universe` objects, attaching trajectories, or writer setup, read `../universe-io/SKILL.md` first.
- For atom selection language, empty selections, updating selections, topology attributes, masses, charges, bonds, or custom attributes, read `../selections-topology/SKILL.md` first.
- For on-the-fly transformations, PBC unwrapping/centering before analysis, or writing transformed trajectories, read `../transformations-writing/SKILL.md` first.

## Use This For

- Running `AnalysisBase.run(start=..., stop=..., step=...)` or `run(frames=...)` and validating `frames`, `times`, `n_frames`, and `results`.
- Choosing and interpreting RMSD, RMSF, alignment, contacts, distance arrays, RDF, hydrogen bonds, PCA, MSD, leaflet, and density analyses.
- Writing a small custom `AnalysisBase` subclass with deterministic result arrays and optional split-apply-combine aggregation.
- Selecting safe analysis backends: default serial execution, supported multiprocessing or dask backends, and distance-function backends.
- Diagnosing analysis-specific failures such as empty selections, mass mismatches, missing charges/bonds, PBC boxes, deprecated result aliases, and result-shape confusion.

## References

- `references/analysis-api.md` summarizes verified signatures, result containers, result shapes, and backend rules.
- `references/recipes.md` gives practical workflows for built-in analyses and custom `AnalysisBase` implementations.
- `references/troubleshooting.md` maps common analysis symptoms to concrete recovery steps.
- `scripts/analysis_smoke_check.py` runs a tiny synthetic custom analysis and distance-array validation without repo test data.

## Safe Validation

Run the bundled smoke check in an environment where `MDAnalysis` is installed:

```bash
python scripts/analysis_smoke_check.py
```

Expected output includes `PASS custom AnalysisBase frames/results`, `PASS PBC distance_array preallocated result`, and `PASS frames/start conflict validation`.

Files in this skill

  • SKILL.md2.5 KB
  • references/analysis-api.md7.9 KB
  • references/recipes.md6.5 KB
  • references/troubleshooting.md6.4 KB
  • scripts/analysis_smoke_check.py3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.