OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Alphafold Pytorch

Alphafold Pytorch is an open-source Python research implementation of AlphaFold using PyTorch to predict protein structure-related distance distributions. Its GitHub repository provides converted model weights and example inputs, supports prepared feature files in .pkl, .npy and .tfrec formats, and includes scripts for prediction and target-feature generation.

Independent OpenViST project profile, based on linked sources.

Alphafold Pytorch — Running the documented command-line prediction script with prepared feature data
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it for research or implementation study when you have, or can generate, the required protein features and model files and want a PyTorch-based prediction workflow.

Who it is for

  • Researchers studying or comparing AlphaFold-style protein-structure prediction implementations.
  • Python and PyTorch users who want to inspect the model code or run predictions on prepared protein features.

Documented uses

  • Generate Distogram, Background or Torsion model outputs from prepared target features.
  • Use converted model weights, or work with original .ckpt weights and .tfrec inputs using the documented TensorFlow option.
  • Prepare target features from a sequence using the included feature-generation script and its external dependencies.
  • Inspect and debug a PyTorch implementation of AlphaFold.
Before you choose

Requirements & limits

The project is available as a public GitHub repository under the Apache-2.0 license.

  • The prediction script accepts .pkl, .npy and .tfrec inputs containing required features.
  • Python 3.6+ and PyTorch 1.3+ are listed dependencies; TensorFlow 2.0+ is optional for original .ckpt weights with .tfrec inputs.
  • Generating features from a sequence requires external bioinformatics tools, databases and local script configuration.
  • The README identifies two profile-with-prior features as set to zero.
  • The README reports approximately seven-times-slower performance than its TensorFlow comparison.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run a prediction from prepared feature data

Use the documented command-line interface to produce Distogram probabilities for an input file.

Before you start

  • Python 3.6+ and PyTorch 1.3+.
  • An input feature file in .pkl, .npy or .tfrec format, plus model weights and the required model directory.
  • TensorFlow 2.0+ if using original .ckpt weights with .tfrec inputs.

Steps

  1. Prepare an input file containing the required features.

  2. Choose the input path, output directory, model directory, replica and model type as needed.

  3. For the README example, run the command below to use replica 0 of a Distogram model.

    Documented command
    python alphafold.py -i test_data/T1019s2.pkl -o T1019s2_out -t D -r 0

Expected outcome

The script is configured to generate distogram probabilities for the supplied target features in the selected output directory.

Guide limitations

  • The README's example depends on its test input and the relevant model files being available.
  • The README reports this implementation as around seven times slower than its TensorFlow comparison; this is not a general performance guarantee.
Source-based practical guide

Set up target-feature generation prerequisites

Prepare the documented dependencies and script settings for generating model input features from a target sequence.

Before you start

  • A target sequence in a .seq file using FASTA format.
  • PSI-BLAST, HH-suite3, and plmDCA; Matlab or Octave is needed for the plmDCA code.
  • HH-suite sequence-search databases and local paths for the feature-generation tools.

Steps

  1. Set up PSI-BLAST from NCBI BLAST and HH-suite3 from its project repository.

  2. Set up plmDCA and its required Matlab or Octave components, following the repository's README instructions.

  3. In feature.sh, set TARGET, TARGET_DIR, TARGET_SEQ and PLMDCA_DIR to the target name and relevant local paths.

Expected outcome

The documented prerequisites and target-specific script configuration are in place for using `feature.sh` to generate required features.

Guide limitations

  • The README's modified plmDCA file is described as provided for Octave; the author says it has not been tested in Matlab.
  • The README says profile_with_prior and profile_with_prior_without_gaps are set to all zeros.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
Urinx/alphafold_pytorch · Official homepage title · retained in its source language