AGENT SKILL

msa-template-and-prep

Plan and validate Protenix protein MSA, template search, RNA MSA, ColabFold-compatible MSA, and prep workflows.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
msa-template-and-prep
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Plan and validate Protenix protein MSA, template search, RNA MSA, ColabFold-compatible MSA, and prep workflows.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

Protenix MSA, Template, and Prep

When To Use

Use this sub-skill when a Protenix task needs planning or validation for protein MSA generation, template search, RNA MSA search, ColabFold-compatible MSA conversion, database/tool readiness, or MSA/template/RNA path layouts before inference or training.

Start here for:

  • Choosing among protenix msa, protenix mt, and protenix prep.
  • Validating existing pairing.a3m, non_pairing.a3m, hmmsearch.a3m, and RNA A3M paths before rerunning expensive search.
  • Deciding whether --msa_server_mode protenix or --msa_server_mode colabfold is appropriate.
  • Checking taxonomy-like paired MSA headers for multimer pairing.
  • Planning HMMER, kalign, ColabFold/MMseqs, template database, and RNA database requirements.
  • Understanding the training MSA layout involving common/seq_to_pdb_index.json and mmcif_msa_template/<id>/ directories.

Route elsewhere for:

  • Prediction command construction once MSA/template files already exist: ../cli-and-inference/SKILL.md.
  • Full JSON entity schema, ligand fields, bonds, modifications, and pairedMsaPath/unpairedMsaPath field placement details: ../input-data-and-features/SKILL.md.
  • Dataset-scale training data generation and training loops: ../training-and-data-pipeline/SKILL.md.

Safe First Actions

  1. Identify what the user already has: input JSON, protein FASTA, protein MSA directory, RNA MSA file/root, template output, released data root, or custom training MSA root.
  2. Treat MSA search, template search, RNA MSA search, ColabFold/MMseqs, database downloads, and bulk training MSA generation as expensive or side-effecting until the user confirms local tools, databases, storage, and permission.
  3. Run the bundled read-only checker before rerunning search: python sub-skills/msa-template-and-prep/scripts/check_msa_template_layout.py <path>.
  4. If existing files are valid, reuse them and route prediction to ../cli-and-inference/SKILL.md.
  5. If files are stale or missing, choose the smallest preprocessing command: msa for protein MSA, mt for protein MSA plus templates, or prep for protein MSA plus templates plus RNA MSA.

Command Choice

User need Recommended action
Protein JSON/FASTA lacks MSA only Plan protenix msa --input INPUT --out_dir OUT --msa_server_mode protenix or colabfold.
Protein JSON lacks templates too Plan protenix mt --input INPUT.json --out_dir OUT with HMMER and seqres checks.
Mixed protein/RNA JSON lacks RNA MSA Plan protenix prep --input INPUT.json --out_dir OUT with both template and RNA HMMER/database checks.
Existing JSON paths may be stale Run the checker and fix paths before any search.
Raw ColabFold result needs Protenix layout Validate/split into per-chain pairing.a3m and non_pairing.a3m; do not use raw combined A3M directly.
Training MSA layout is failing Validate common/seq_to_pdb_index.json and mmcif_msa_template/<id>/; route full dataset prep to training.

Read Next

  • references/workflows.md for CLI behavior, msa_server_mode, JSON update suffixes, live APIs, ColabFold-compatible MSA handling, and training MSA stages.
  • references/data-layouts.md for protein, template, RNA, released-data, custom-training, and search-database layouts.
  • references/database-preparation.md for safe external tool and database readiness decisions.
  • references/troubleshooting.md for missing binaries/databases, stale paths, taxonomy header problems, missing MSA files, RNA database choices, ColabFold limitations, large outputs, network requirements, and template parser failures.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351