input-data-and-formats
Validate AlphaFold FASTA, MSA, template, notebook, and data-pipeline inputs without running external searches.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- input-data-and-formats
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Validate AlphaFold FASTA, MSA, template, notebook, and data-pipeline inputs without running external searches.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/api-reference.md7.5 KB
- 参考文档references/data-formats.md5.0 KB
- 参考文档references/notebook-workflows.md3.3 KB
- 参考文档references/troubleshooting.md5.7 KB
- 脚本scripts/validate_fasta.py10.5 KB
03 SKILL.md 正文
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.pybefore building prediction commands or reusing MSAs. - Read
references/data-formats.mdfor FASTA, A3M, Stockholm, deletion matrix, and multimer chain-format rules. - Read
references/api-reference.mdfor parser, monomer pipeline, multimer pipeline, and template-featurizer API contracts. - Read
references/notebook-workflows.mdwhen adapting Colab-style sequence validation, chunked MSA merging, placeholder templates, or cell-order checks. - Read
references/troubleshooting.mdfor 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-cliforrun_alphafoldflags, model/db preset orchestration, output-directory naming, anduse_precomputed_msascommand planning. - Use
docker-and-data-setupfor database download layout, Docker mounts, GPU container setup, and external data acquisition. - Use
outputs-and-confidencefor 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.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).