AlphaFold Input Data and Formats
Use this sub-skill when a task is about preparing or diagnosing AlphaFold inputs before prediction: FASTA records, standard amino-acid validation, MSA/A3M/Stockholm parsing, template-search inputs, multimer chain mapping, notebook helper behavior, or external alignment binary assumptions.
Start Here
- Validate FASTA content with
scripts/validate_fasta.py before building prediction commands or reusing MSAs.
- Read
references/data-formats.md for FASTA, A3M, Stockholm, deletion matrix, and multimer chain-format rules.
- Read
references/api-reference.md for parser, monomer pipeline, multimer pipeline, and template-featurizer API contracts.
- Read
references/notebook-workflows.md when adapting Colab-style sequence validation, chunked MSA merging, placeholder templates, or cell-order checks.
- Read
references/troubleshooting.md for invalid residues, sequence length, chain-count, missing binary, stale MSA, template cutoff, and mmCIF/PDB parsing failures.
Routing Boundaries
- Use this sub-skill for input sequence validation, parser behavior, data-pipeline signatures, template cutoff logic, multimer chain mapping, notebook helpers, and MSA/template format reasoning.
- Use
prediction-cli for run_alphafold flags, model/db preset orchestration, output-directory naming, and use_precomputed_msas command planning.
- Use
docker-and-data-setup for database download layout, Docker mounts, GPU container setup, and external data acquisition.
- Use
outputs-and-confidence for prediction artifacts, confidence JSON, ranked structures, AlphaFold Server JSON, and AFDB output formats.
Safe Workflow
- Parse and validate FASTA records first; AlphaFold parser utilities are permissive and do not enforce standard residues or length limits by themselves.
- Determine whether the target is monomer, homomer, or heteromer from the number of FASTA records and unique cleaned sequences.
- Confirm that multimer targets stay within the PDB-format chain limit of 62 chains.
- Treat MSA and template searches as expensive external operations requiring HMMER, HH-suite, Kalign, and database paths; reason from formats and API contracts unless the user explicitly asks to run them.
- Reuse precomputed MSAs only when the sequence, output directory, database set, and search configuration are intentionally unchanged.
Bundled Helper
python sub-skills/input-data-and-formats/scripts/validate_fasta.py target.fasta --mode auto --json
The helper is standalone, uses only the Python standard library, performs no imports from AlphaFold, and never calls external alignment, template, Docker, or prediction tools.
1---2name: input-data-and-formats3description: "Validate AlphaFold FASTA, MSA, template, notebook, and4 data-pipeline inputs without running external searches."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/input-data-and-formats8 disco-role: operating9license: Apache 2.010---1112# AlphaFold Input Data and Formats1314Use this sub-skill when a task is about preparing or diagnosing AlphaFold inputs before prediction: FASTA records, standard amino-acid validation, MSA/A3M/Stockholm parsing, template-search inputs, multimer chain mapping, notebook helper behavior, or external alignment binary assumptions.1516## Start Here1718- Validate FASTA content with [`scripts/validate_fasta.py`](scripts/validate_fasta.py) before building prediction commands or reusing MSAs.19- Read [`references/data-formats.md`](references/data-formats.md) for FASTA, A3M, Stockholm, deletion matrix, and multimer chain-format rules.20- Read [`references/api-reference.md`](references/api-reference.md) for parser, monomer pipeline, multimer pipeline, and template-featurizer API contracts.21- Read [`references/notebook-workflows.md`](references/notebook-workflows.md) when adapting Colab-style sequence validation, chunked MSA merging, placeholder templates, or cell-order checks.22- Read [`references/troubleshooting.md`](references/troubleshooting.md) for invalid residues, sequence length, chain-count, missing binary, stale MSA, template cutoff, and mmCIF/PDB parsing failures.2324## Routing Boundaries2526- Use this sub-skill for input sequence validation, parser behavior, data-pipeline signatures, template cutoff logic, multimer chain mapping, notebook helpers, and MSA/template format reasoning.27- Use `prediction-cli` for `run_alphafold` flags, model/db preset orchestration, output-directory naming, and `use_precomputed_msas` command planning.28- Use `docker-and-data-setup` for database download layout, Docker mounts, GPU container setup, and external data acquisition.29- Use `outputs-and-confidence` for prediction artifacts, confidence JSON, ranked structures, AlphaFold Server JSON, and AFDB output formats.3031## Safe Workflow32331. Parse and validate FASTA records first; AlphaFold parser utilities are permissive and do not enforce standard residues or length limits by themselves.342. Determine whether the target is monomer, homomer, or heteromer from the number of FASTA records and unique cleaned sequences.353. Confirm that multimer targets stay within the PDB-format chain limit of 62 chains.364. Treat MSA and template searches as expensive external operations requiring HMMER, HH-suite, Kalign, and database paths; reason from formats and API contracts unless the user explicitly asks to run them.375. Reuse precomputed MSAs only when the sequence, output directory, database set, and search configuration are intentionally unchanged.3839## Bundled Helper4041```bash42python sub-skills/input-data-and-formats/scripts/validate_fasta.py target.fasta --mode auto --json43```4445The helper is standalone, uses only the Python standard library, performs no imports from AlphaFold, and never calls external alignment, template, Docker, or prediction tools.