msa-search
Generate ColabFold MSAs using the public server, local MMseqs2 databases, GPU search, split/merge helpers, AlphaFold3 JSON export, and local MSA server planning.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- msa-search
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Generate ColabFold MSAs using the public server, local MMseqs2 databases, GPU search, split/merge helpers, AlphaFold3 JSON export, and local MSA server planning.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/cli-reference.md6.5 KB
- 参考文档references/local-mmseqs-workflows.md8.0 KB
- 参考文档references/msa-server.md5.4 KB
- 参考文档references/troubleshooting.md8.0 KB
- 脚本scripts/check_mmseqs_databases.py6.2 KB
03 SKILL.md 正文
MSA Search
Use this sub-skill when the task is to create, validate, stage, or troubleshoot multiple sequence alignments for ColabFold jobs. It owns public-server MSA generation, local colabfold_search database searches, MMseqs2 GPU/gpuserver routes, MSA-only staging, split/merge helpers, AlphaFold3 JSON export from MSAs, and local MSA server caveats.
Route away from this sub-skill when the user primarily needs:
- Input syntax, FASTA/CSV/A3M validation, AF3 ligand syntax, or filename normalization: use
../inputs-and-formats/. - Running structure prediction after MSAs already exist: use
../batch-prediction/. - Amber relaxation, PDB/mmCIF confidence interpretation, or post-processing outputs: use
../relaxation-and-outputs/.
Fast route
- Decide the MSA source:
- Small serial local jobs: public MSA server through
colabfold_batch --msa-onlyor implicitcolabfold_batch input out. - Large batches or private/high-throughput work: local
colabfold_searchwith a prepared MMseqs2 database directory. - Repeated low-latency local searches: local databases plus MMseqs2 GPU search or
gpuserver, if hardware and database layout support it.
- Small serial local jobs: public MSA server through
- Validate inputs before searching. Protein sequences receive MMseqs2 MSAs; non-protein AF3 components are represented in JSON but do not receive MMseqs2 unpaired MSAs.
- For local database work, run the bundled read-only checker before giving search commands:
python scripts/check_mmseqs_databases.py /path/to/db_folder --check-mmseqs --mode cpu
python scripts/check_mmseqs_databases.py /path/to/db_folder --mode gpu --require-index
- Build the workflow from the references:
- CLI options and examples:
references/cli-reference.md - Local database, GPU, split/merge, and AF3 JSON workflows:
references/local-mmseqs-workflows.md - Local API/MSA server deployment caveats:
references/msa-server.md - Failure diagnosis:
references/troubleshooting.md
- CLI options and examples:
Common task patterns
- Public server MSA-only staging:
colabfold_batch input_sequences.fasta out_dir --msa-only
colabfold_batch input_sequences.fasta out_dir
- Local database MSA generation:
colabfold_search input_sequences.fasta /path/to/db_folder msas
colabfold_batch msas predictions
- Local GPU search with explicit devices:
CUDA_VISIBLE_DEVICES=0,1 colabfold_search input_sequences.fasta /path/to/db_folder msas --gpu 1
- AlphaFold3-compatible MSA JSON from local search:
colabfold_search input_sequences.fasta /path/to/db_folder msas --af3-json
Safety notes
- Database setup is a heavy network/storage operation. This sub-skill describes the required layout and safe validation checks but does not bundle or run database download scripts.
- Local MSA server setup mutates system state, downloads binaries/databases, and may install services; treat it as planning guidance unless the user explicitly approves those operations.
- Do not run public MSA server jobs in parallel from multiple machines against the same service/IP. Prefer serial small jobs or a local database/server for high-throughput workloads.
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).