How sokrypton/colabfold works
ColabFold provides notebook and command-line workflows for protein sequence and complex structure prediction. The main batch path parses FASTA/CSV or supplied A3M input, obtains MSAs, runs prediction, and writes structure, confidence, and visualization outputs; optional relaxation and restraint-guided inference extend that path. The README also documents alternative model notebooks and local MMseqs2 search. Connections below follow the README or sampled call/import references; several model-specific notebook internals are not represented because they were not sampled.
Main entry points: batch.py Batch runner · AlphaFold2.ipynb AlphaFold2 notebook · Boltz1.ipynb Alternative model notebooks · colabfold.py Server MSA client
Components 20
User entry points
- Batch runner
colabfold/batch.py - Input parsing
colabfold/input.py - AlphaFold2 notebook
AlphaFold2.ipynb - Alternative model notebooks
Boltz1.ipynb
Sequence and MSA
- Public MSA server
- Server MSA client
colabfold/colabfold.py - Local MMseqs2 search
colabfold/mmseqs/search.py
Structure prediction
- AlphaFold inference
colabfold/colabfold.py - Model selection
colabfold/alphafold/models.py - Restraint-guided runtime
colabfold/rgi/runtime.py - Guided sampler
colabfold/rgi/sampler.py - Amber relaxation
colabfold/relax.py
Results and analysis
- Structure output
colabfold/pdb.py - Confidence plots
colabfold/plot.py - Interface metrics
colabfold/alphafold/extra_ptm.py - ipSAE metrics
colabfold/alphafold/ipsae.py - Citation output
colabfold/citations.py
Model extensions
- Experimental AF runner
beta/colabfold_alphafold.py - MSA pairing
beta/pairmsa.py
Other components
- Sequence submitter
Connections 20
- Sequence submitter → Batch runner: submits sequences
README.md - Batch runner → Input parsing: parses input
colabfold/batch.py - Batch runner → Server MSA client: requests MSAs
colabfold/batch.py - Server MSA client → Public MSA server: queries
colabfold/colabfold.py - Batch runner → Local MMseqs2 search: supports local search
- Sequence submitter → AlphaFold2 notebook: opens notebook
README.md - Sequence submitter → Alternative model notebooks: opens model notebook
README.md - AlphaFold2 notebook → Public MSA server: uses MMseqs2
README.md - Alternative model notebooks → Public MSA server: some use MMseqs2
README.md - Batch runner → Model selection: selects model
colabfold/batch.py - Batch runner → AlphaFold inference: runs prediction
colabfold/batch.py - Batch runner → Restraint-guided runtime: supports guided runs
colabfold/batch.py - Restraint-guided runtime → Guided sampler: hooks sampler
colabfold/rgi/runtime.py - Batch runner → Amber relaxation: relaxes structure
colabfold/batch.py - Batch runner → Structure output: writes structures
- Batch runner → Confidence plots: generates plots
colabfold/batch.py - Batch runner → Interface metrics: computes interface scores
colabfold/batch.py - Batch runner → ipSAE metrics: computes ipSAE
colabfold/batch.py - Batch runner → Citation output: writes citations
colabfold/batch.py - Experimental AF runner → MSA pairing: uses pairing
beta/colabfold_alphafold.py