AI Folding
The AI Folding API provides a common interface to AI based protein structure prediction tools. The API currently supports OpenFold, AlphaFold, and ESMFold. The API runs a post-processing protocol on the results to minimize the output structure into the Rosetta energy function and correct any atomic level errors in sidechain positioning (See Notes for more detail).
Quickstart
Model a monomer using AlphaFold
cyrus engine submit ai-folding input.fasta --mode=monomer --ai-tool=alphafoldModel multiple monomers in parallel using OpenFold
cyrus engine submit ai-folding input.fasta input2.fasta --mode=monomer --ai-tool=openfoldModel a monomer using OpenFold with weights trained by DeepMind (AlphaFold)
Default = OpenFold weights
cyrus engine submit ai-folding input.fasta --mode=monomer --ai-tool=openfold --model-sets=alphafoldCreate a model using AlphaFold's SingleSeq mode with 2 recycles
cyrus engine submit ai-folding input.fasta --mode=singleseq --ai-tool=alphafold --af-n-recycles=2Model a multimer (AlphaFold only)
cyrus engine submit ai-folding input.fasta --mode=multimer --ai-tool=alphafoldInputs
FASTA file containing sequence(s) of interest to model.
Options
--ai-toolAI folding tool to run (
openfold,alphafold,esmfold)default =
alphafold
--modeMode to run with AI tool (
monomer,multimer,singleseq)default =
monomer
--model-setsThe set of model weights to use with OpenFold (
alphafold,openfold) (See Notes for more detail)default =
openfold
--existing-model-dataLocation of existing model data in GCS
default =
null
--precomputed-alignmentsDirectory path to precomputed alignments that will be upload and used for AlphaFold jobs
default =
null
--run-relaxEnable or disable the Rosetta relax phase of post-processing
default =
false
--gpu-typeSelect the GPU type to use (
t4,a100) (See Notes for more detail)default =
t4
Outputs
alignments(directory)Alignment data relevant to AI tool predictions
predictions(directory)AI tool model predictions
initial_molprobity_reports(directory)Molprobity report for models output by AI tool
rosetta_relaxed_models(directory)Rosetta relaxed AI tool models
final_molprobity_reports(directory)Molprobity report for relaxed models
Notes
Model weight sets
alphafold- weights trained by DeepMindopenfold- weights trained by the AlQuarashi Lab for OpenFold
API Post-Processing
The API post-processing protocol consists of the following three steps:
Generate a molprobity report for the models output from the AI tool
Idealize and relax the models output from the AI tool with Rosetta
Generate a molprobity report for the relaxed models.
Modeling large proteins
The amount of GPU memory required increases quadratically with the number of amino acids in the system being modeled. If you are modeling a protein longer than 1500 residues or so, add the following options to the ai-folding submit command: --gpu-type=a100
References