Protein structure prediction from sequence. ESMFold-based, single GPU, no MSA needed. Predicts 3D structures with pLDDT confidence scores for drug discovery targets.
59
69%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./backend/cli/skills/chemistry/structure-prediction/SKILL.mdThis skill provides protein 3D structure prediction from amino acid sequences using ESMFold (Evolutionary Scale Modeling Fold). ESMFold is a single-sequence protein structure prediction model developed by Meta AI that produces accurate 3D coordinates directly from an amino acid sequence without requiring multiple sequence alignments (MSA) or template search.
Key advantages of ESMFold:
Use the structure-prediction skill when you need to:
Trigger phrases: "predict structure", "fold protein", "run ESMFold", "structure from sequence", "batch fold", "evaluate pLDDT", "compare structures"
pip install fair-esm torch biopythonRequirements:
fair-esm (provides the ESMFold model)biopython (for PDB parsing, structure I/O, and superimposition)For GPU acceleration, ensure you have a CUDA-compatible GPU with at least 16 GB VRAM. CPU inference is supported but significantly slower.
Optional for structure comparison:
Predict a 3D structure from a single amino acid sequence or FASTA file.
# From a FASTA file
python scripts/predict.py --input sequence.fasta --output predicted.pdb
# From a raw sequence string
python scripts/predict.py --input "MKFLILLFNILCLFPVLAADNHGVS..." --output predicted.pdb
# Force CPU (useful if GPU memory is insufficient)
python scripts/predict.py --input sequence.fasta --output predicted.pdb --device cpu
# Auto-detect device (default)
python scripts/predict.py --input sequence.fasta --output predicted.pdb --device autoOutput: A PDB file with atomic coordinates and a printed summary including sequence length, mean pLDDT, and per-residue confidence statistics.
See: scripts/predict.py
Predict structures for multiple sequences from a multi-FASTA file or CSV.
# From a multi-FASTA file
python scripts/predict_batch.py --input sequences.fasta --output-dir results/
# From a CSV file (must have 'name' and 'sequence' columns)
python scripts/predict_batch.py --input sequences.csv --output-dir results/
# Specify device
python scripts/predict_batch.py --input sequences.fasta --output-dir results/ --device cudaOutput: Individual PDB files in the output directory named by sequence ID, plus a summary.csv containing: name, sequence length, mean pLDDT, and output path for each prediction.
See: scripts/predict_batch.py
Evaluate a predicted PDB structure for confidence metrics and structural quality.
python scripts/evaluate.py --input predicted.pdbOutput: A formatted report including:
See: scripts/evaluate.py
Compare a predicted structure against an experimental reference.
python scripts/compare.py --predicted predicted.pdb --reference experimental.pdbOutput: A comparison report including:
See: scripts/compare.py
ESMFold outputs per-residue pLDDT (predicted Local Distance Difference Test) scores ranging from 0 to 100. These scores indicate the model's confidence in each residue's predicted position:
| Score Range | Confidence Level | Interpretation |
|---|---|---|
| > 90 | Very high | Atomic-level accuracy expected. Backbone and side-chain positions are likely reliable. |
| 70 - 90 | Confident | Backbone topology is reliable. Side-chain rotamers may vary. |
| 50 - 70 | Low | Overall fold topology may be correct, but local details are uncertain. |
| < 50 | Very low | Region is likely intrinsically disordered or unstructured. Do not trust atomic positions. |
What good looks like: A well-folded globular protein will typically show mean pLDDT > 70, with most of the core residues above 80-90 and only flexible loops or termini below 70.
What bad looks like: A prediction with mean pLDDT < 50 suggests the model has low confidence across the entire structure. This may indicate an intrinsically disordered protein, a sequence outside the model's training distribution, or a sequence that is too long for reliable single-sequence prediction.
For detailed confidence metric interpretation, see: references/confidence_metrics.md
Sequence length: ESMFold performs best on sequences under ~400 residues. Sequences of 400-800 residues are feasible but require more GPU memory (32+ GB VRAM). Sequences over 800 residues may cause out-of-memory errors on most hardware and typically produce lower-quality predictions.
No multi-chain prediction: ESMFold predicts single-chain structures only. It cannot model protein complexes, homo-oligomers, or hetero-oligomeric assemblies. For multimer prediction, consider AlphaFold-Multimer.
Accuracy vs. AlphaFold2: ESMFold achieves competitive but generally lower accuracy compared to AlphaFold2, particularly for:
On CASP15 targets, ESMFold's median GDT-TS is approximately 10-15 points below AlphaFold2 on difficult targets, but is comparable on easier targets with abundant homologous sequences.
No ligand or cofactor modeling: The predicted structures do not include bound ligands, metal ions, or cofactors.
Static prediction: ESMFold produces a single static structure and does not capture conformational dynamics or multiple states.
No confidence calibration guarantee: While pLDDT scores are generally informative, they are not perfectly calibrated probability estimates. Regions with moderate pLDDT (50-70) require careful manual inspection.
3a6c3a9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.