AlphaFold 2

Pre-trained model for protein structure prediction from amino-acid sequences, multiple-sequence alignments, and optional structural templates.

Disclaimer

This is an UNOFFICIAL implementation of the Highly accurate protein structure prediction with AlphaFold by John Jumper, et al.

The OFFICIAL repository of AlphaFold 2 is at google-deepmind/alphafold.

The team releasing AlphaFold 2 did not write this model card for this model so this model card has been written by the OFoldX team.

Model Details

AlphaFold 2 jointly updates MSA and residue-pair representations with an Evoformer, then uses an invariant-point-attention structure module to predict backbone frames, side-chain angles, atomic coordinates, and confidence. AlphaFold-Multimer extends the model with paired MSAs and chain-relative features for protein complexes.

Please refer to the Training Details section for more information on the training process.

Variants

Model Specification

Variant Evoformer Blocks Extra-MSA Blocks Structure Blocks MSA Size Pair Size Single Size Recycling Steps Num Parameters (M)
Monomer 48 4 8 256 128 384 4 93.229
Monomer pTM 48 4 8 256 128 384 4 93.237
Multimer 48 4 8 256 128 384 21 93.224

Links

  • Checkpoint: model_3_multimer_v3, converted from official parameter archive
  • Upstream license: CC BY 4.0
  • Upstream attribution: AlphaFold 2 parameters © 2022 DeepMind Technologies Limited; parameter license
  • Upstream source revision: c77e5d2a8961d1a353632c462914ff0a32a950f6
  • Code: ofoldx.models.alphafold2
  • Paper: Highly accurate protein structure prediction with AlphaFold; Protein complex prediction with AlphaFold-Multimer
  • Developed by: John Jumper, Richard Evans, Alexander Pritzel, Tim Green, Michael Figurnov, Olaf Ronneberger, Kathryn Tunyasuvunakool, Russ Bates, Augustin Žídek, Anna Potapenko, Alex Bridgland, Clemens Meyer, Simon A. A. Kohl, Andrew J. Ballard, Andrew Cowie, Bernardino Romera-Paredes, Stanislav Nikolov, Rishub Jain, Jonas Adler, Trevor Back, Stig Petersen, David Reiman, Ellen Clancy, Michal Zielinski, Martin Steinegger, Michalina Pacholska, Tamas Berghammer, Sebastian Bodenstein, David Silver, Oriol Vinyals, Andrew W. Senior, Koray Kavukcuoglu, Pushmeet Kohli, and Demis Hassabis
  • Model type: MSA- and template-conditioned protein structure predictor with an Evoformer trunk and invariant-point-attention structure module
  • Original Repository: google-deepmind/alphafold

Usage

The model file depends on the ofoldx library. You can install it using pip:

pip install ofoldx

Direct Use

Structure Prediction

You can use this model directly with a pipeline for protein-complex structure prediction:

import ofoldx
from ofoldx.io import read_structure

structure, report = read_structure("input.cif")
pipeline = ofoldx.pipeline("fold", model="oteam/alphafold2-multimer-model-3")
result = pipeline(structure, seed=7)

The result contains predicted structures and confidence values. Each prediction uses a new coordinate frame; unpredicted atoms, including ligands, hydrogens, and terminal OXT, have unavailable coordinates.

Downstream Use

CASP14 Ensemble

You can use the five-model ensemble to rank predictions and optionally relax the best structure:

import ofoldx
from ofoldx.io import read_structure

structure, report = read_structure("input.cif")
pipeline = ofoldx.pipeline("fold", model="oteam/alphafold2-casp14")
result = pipeline(structure, num_samples=1, models_to_relax="best", platform="CPU", seed=7)
best = result.best

Each checkpoint evaluates eight input ensembles from shared preparation. result.ranked retains checkpoint names, sample indices, and relaxation results; equal mean-pLDDT scores retain generation order. Amber relaxation requires OpenMM and PDBFixer, installed in the same environment:

conda install -c conda-forge openmm pdbfixer

Relaxation requires a closed, standard linear protein graph. Relaxed coordinates replace experimental coordinate metadata; source identity and independent chemical facts are retained. Ordinary unrelaxed prediction needs neither additional package.

Initial-Guess Evaluation

You can evaluate a sequence-assigned target-binder complex using its existing coordinates as the initial guess:

import ofoldx
from ofoldx.io import read_structure

structure, report = read_structure("target_binder.cif")
pipeline = ofoldx.pipeline("fold", model="oteam/alphafold2-initial-guess")
result = pipeline(structure, binder_instance_id="binder", num_recycles=4, seed=7)

The input must contain the named binder instance. The initial guess seeds recycled atom37 positions; the dedicated processor retains the target-binder template masking used by PXDesign.

See the pipeline guide for staged execution and composition.

Training Details

AlphaFold 2 is trained for protein structure prediction with structural and masked-MSA objectives.

Training Data

The AlphaFold 2 and AlphaFold-Multimer papers describe the upstream protein structure, sequence, and template corpora. OFoldX does not redistribute those corpora or databases.

Training Procedure

The upstream models use recycling and structural and auxiliary objectives. The pTM variants were fine-tuned with a predicted-aligned-error head; AlphaFold-Multimer adds paired-MSA and chain-relative features and interface confidence.

OFoldX exposes a differentiable final recycle and a masked-MSA reconstruction objective for that recycle. This does not reproduce the complete upstream structural and auxiliary-loss training program. MSA, template, and sequence-database generation remain caller-owned.

Citation

@article{jumper2021highly,
  author = {Jumper, John and Evans, Richard and Pritzel, Alexander and others},
  title = {Highly accurate protein structure prediction with AlphaFold},
  journal = {Nature},
  volume = {596},
  pages = {583--589},
  year = {2021},
  doi = {10.1038/s41586-021-03819-2}
}

For AlphaFold-Multimer predictions, also cite Protein complex prediction with AlphaFold-Multimer.

The artifacts distributed in this repository are part of the OFoldX project. If OFoldX supports your research, please cite the OFoldX project as follows:

@software{chen2026ofoldx,
  author = {Chen, Zhiyuan},
  title  = {OFoldX},
  year   = {2026},
  url    = {https://github.com/OTeam-AI4S/OFoldX},
}

Contact

Please use GitHub issues of OFoldX for any questions or comments on the model implementation or model card.

Please contact the authors of the AlphaFold 2 paper for questions or comments on the paper/model.

License

The model weights, implementation, configuration, and documentation distributed by OFoldX are licensed under the GNU Affero General Public License.

For additional terms and clarifications, please refer to our License FAQ.

SPDX-License-Identifier: AGPL-3.0-or-later
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
93.3M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support