bio-structure-annotation
Skill9 starsChanged 4 months agoMITView on GitHub
Predict protein or complex structures and find structural homologs. Use when sequence search gives weak or no hits, or when a fold, complex model, or prediction confidence is needed.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- ai-scientist-evaluatorSkill
- arxiv-searchSkill
- beautiful-data-vizSkill
- bio-annotationSkill
- bio-assembly-qcSkill
- bio-binning-qcSkill
- bio-fasta-database-curatorSkill
- bio-foundation-housekeepingSkill
- bio-gene-callingSkill
- bioinformatics-projectSkill
- bio-interdomain-hgtSkill
- bio-logicSkill
- bio-phylogenomicsSkill
- bio-prefect-dask-nextflowSkill
- bio-protein-clustering-pangenomeSkill
- bio-reads-qc-mappingSkill
- biorxiv-searchSkill
- bio-stats-ml-reportingSkill
- bio-viromicsSkill
- bio-workflow-methods-docwriterSkill
- crossref-lookupSkill
- csag-extractionSkill
- exploratory-data-analysisSkill
- manuscript-review-councilSkill
- notebooksSkill
- pdf-to-mdSkill
- plotly-dashboard-skillSkill
- polars-dovmedSkill
- proposal-reviewSkill
- public-db-lookupSkill
- scientific-impact-assessmentSkill
- scientific-writingSkill
- tracking-taxonomy-updatesSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run a fast embedding screen with TM-Vec to triage candidate proteins by remote homology before incurring structure-prediction cost.
- Very specific: line 19
Search predicted or experimental structures with Foldseek v9+.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bio Structure Annotation
Structure prediction and structure-based annotation.
Instructions
Tool guides and versions: docs/README.md.
- Run a fast embedding screen with TM-Vec to triage candidate proteins by remote homology before incurring structure-prediction cost.
- Predict structures on a GPU node through
sbatch. AlphaFold3 is not part of this stack (non-commercial license, large VRAM footprint). Use:- Boltz-2 (MIT license, CUDA) as the default predictor for monomers, complexes, and protein-ligand binding affinity.
- ColabFold v1.5.5+ with an MMseqs2-GPU MSA backend when a deeper MSA than Boltz-2 builds is required. Kallenborn et al. (2025) Nature Methods https://doi.org/10.1038/s41592-025-02819-8 report that MMseqs2-GPU makes ColabFold prediction 31.8× faster than the standard AlphaFold2 pipeline.
- ESMFold for fast monomer pre-screening only; route candidates to Boltz-2 for final models.
- Search predicted or experimental structures with Foldseek v9+. On CUDA Turing or newer,
--gpu 1enables the GPU ungapped prefilter and needs a target database built withmakepaddedseqdb; the same paper reports a 4-27× Foldseek speedup. Useeasy-multimersearchfor complex-vs-complex search. - Annotate hits and route high-value unknowns back to
/bio-annotationfor sequence-side context, or to comparative analyses via/bio-protein-clustering-pangenome. - Build and validate commands with
scripts/run_structure_annotation.py. It prints the command plan as JSON and, with--execute, runs it. Public MSA services receive biological sequences;--use-msa-server(passed to Boltz as--use_msa_server) is rejected unless the user explicitly approved upload with--approve-public-msa-upload.
Quick Reference
| Task | Action |
| Validate and plan | uv run --script skills/bio-structure-annotation/scripts/run_structure_annotation.py --boltz-yaml complex.yaml --out-dir results/bio-structure-annotation |
| Structure search | add --foldseek-query query.pdb --foldseek-db targetDB (with --gpu, pass --foldseek-padded-db) |
| Embedding screen | add --tmvec-query proteins.faa --tmvec-db db.npz |
Input Requirements
Prerequisites:
- Tools declared in the project's pinned Pixi environment. See
docs/README.mdfor expected tools. - Reference DB root: set
BIO_DB_ROOTto the project or site-local database directory. - Protein FASTA inputs are available. Inputs:
- proteins.faa (FASTA protein sequences)
- Boltz input YAML (
version: 1with asequenceslist; seefixtures/boltz-complex.yaml) - One Foldseek query structure file (PDB/mmCIF) and a target database prefix; a padded database for GPU search
- TM-Vec database (
.npzfromtmvec build-db)
Output
Written by the driver's --execute run:
- results/bio-structure-annotation/boltz/ (Boltz predictions and confidence files)
- results/bio-structure-annotation/foldseek_hits.tsv
- results/bio-structure-annotation/tmvec/results.tsv (TM-Vec hits;
tmvec searchwrites into thetmvec/folder) - The command plan on stdout, or in
--plan-outwhen given
Written by the agent:
- results/bio-structure-annotation/structure_hits.tsv (merged, filtered hits with thresholds)
- results/bio-structure-annotation/structure_report.md
- results/bio-structure-annotation/logs/
Quality Gates
- Prediction success rate meets project thresholds.
- Search hit thresholds meet project thresholds.
- On execution failure, preserve logs and report the failed command; retry only after diagnosing the cause and recording the changed parameters. Report unmet biological thresholds as results; never tune parameters solely to pass a gate.
- Verify proteins.faa is non-empty and amino acid encoded.
- Verify Foldseek databases exist under the reference root.
- GPU Foldseek searches use a database produced by
makepaddedseqdb. - Public MSA upload has explicit user approval recorded before
--use-msa-serveris passed. - GPU prediction and search run through
sbatchon a GPU node, never on a login node.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

