---
title: "AlphaFold"
id: "27454"
type: "epkb_post_type_1"
slug: "alphafold"
published_at: "2024-08-05T19:30:04+00:00"
modified_at: "2025-11-07T16:14:43+00:00"
url: "https://docs.rc.fas.harvard.edu/kb/alphafold/"
markdown_url: "https://docs.rc.fas.harvard.edu/kb/alphafold.md"
excerpt: "Description See Alphafold2 and Alphafold3. AlphaFold in the FASRC Cannon cluster Alphafold typically runs within a Docker container. On the FASRC cluster, Podman can be used to run such containers. However, Singularity is recommended for ease of use in an..."
taxonomy_epkb_post_type_1_category:
  - "Applications"
taxonomy_epkb_post_type_1_tag:
  - "AlphaFold"
  - "Applications"
---

# AlphaFold

## Description

See [Alphafold2](https://github.com/deepmind/alphafold)
 and [Alphafold3](https://github.com/google-deepmind/alphafold3)
.

## AlphaFold in the FASRC Cannon cluster

Alphafold typically runs within a Docker [container](https://docs.rc.fas.harvard.edu/kb/containers/)
. On the FASRC cluster, [Podman](https://docs.rc.fas.harvard.edu/kb/podman/)
 can be used to run such containers. However, [Singularity](https://docs.rc.fas.harvard.edu/kb/singularity-on-the-cluster/)
 is recommended for ease of use in an HPC cluster environment.

### Singularity images

The AlphaFold singularity images are stored in a cluster-wide location, meaning that individual users **do not** have to copy the singularity images to use them. Singularity images are located in:

```
/n/singularity_images/FAS/alphafold/
```

Each singularity image is tagged with the Alphafold version

```
[jharvard@holylogin03 ~]$ ls -l /n/singularity_images/FAS/alphafold/
total 23G
-rwxr-xr-x. 1 root root 4.8G May 25  2023 alphafold_2.3.1.sif
-rwxr-xr-x. 1 root root 2.9G May 25  2023 alphafold_2.3.2.sif
-rwxr-xr-x. 1 root root 4.9G Dec 18  2024 alphafold_3.0.0.sif
-rwxr-xr-x. 1 root root 2.8G Oct 16 16:32 alphafold_3.0.1.sif
-rwxr-xr-x. 1 root root 4.5G Nov  2  2022 alphafold_v2.2.4.sif
-rw-r--r--. 1 root root  817 Dec  5  2024 readme.txt
```

- Version 3.0.1: Created by FASRC with a [Singularity definition file](https://github.com/fasrc/User_Codes/blob/51d83784d6dae6c4fac6081c327fb68d7ab5c191/Applications/AlphaFold/alphafold_v3.def) , which was based on the [Dockerfile](https://github.com/google-deepmind/alphafold3/blob/f3e86f27dfac16559d16f470bb2f9323eb357f1f/docker/Dockerfile) by Google Deepmind
- Version 3.0.0: Created by FASRC with a [Singularity definition file](https://github.com/fasrc/User_Codes/blob/2835086b47d76655d3a3e9879654d82a0a0a886b/Applications/AlphaFold/alphafold_3.0.0.def) , which was based on the [Dockerfile](https://github.com/google-deepmind/alphafold3/blob/v3.0.0/docker/Dockerfile) by Google Deepmind
- Version 2.3.2: Downloaded from [Catguma DockerHub](https://hub.docker.com/layers/catgumag/alphafold/2.3.2/images/sha256-069598169a823d12a1a2c6e26d163b78abba7f59b4171c77cd5579a0636d6bd1?context=explore)
- Version 2.3.1: Downloaded from [TACC DockerHub](https://hub.docker.com/layers/tacc/alphafold/2.3.1/images/sha256-47a197bfc4eb36cf52e62644e5541b77fd4848e4bb9363d73e176fdb727e06d4?context=explore)
- Version 2.2.4: FASRC built a Singularity container based on the Singularity definition file from [https://github.com/prehensilecode/alphafold_singularity](https://github.com/prehensilecode/alphafold_singularity) .

### Databases

The Alphafold database is stored in a cluster-wide location, meaning that individual users **do not** have to download the AlphaFold database to run their simulations. The database is stored in SSD as recommended by the developers. Database locations:

#### Alphafold2

```
/n/holylabs/rc_admin/Everyone/alphafold_databases/v2
```

#### Alphafold3

```
/n/holylabs/rc_admin/Everyone/alphafold_databases/v3
```

## Model parameters

#### Alphafold3

To run Alphafold3, you must request the model parameters from Google. See [Obtaining model parameters](https://github.com/google-deepmind/alphafold3/tree/main?tab=readme-ov-file#obtaining-model-parameters)
.

Google will provide a file `file_name.bin.zst`. Extract with `unzstd file.bin.zst`. Place `file.bin` in a lab share (do not put in netscratch) — this will be the location of you `--model_dir`.

## Running Alphafold

You will find example scripts in the [FARC User_Codes repo](https://github.com/fasrc/User_Codes/blob/master/Applications/AlphaFold/)
.

## Resources

- Get Started with [AlphaFold code examples](https://github.com/fasrc/User_Codes/tree/master/Applications/AlphaFold) on FASRC Github
- [Alphafold3 Github](https://github.com/google-deepmind/alphafold3)
- [Alphafold2 GitHub](https://github.com/deepmind/alphafold)
- University of Virginia [AlphaFold docs](https://www.rc.virginia.edu/userinfo/rivanna/software/alphafold/)
- AlphaFold discussion about Singularity implementation
- [Job Efficiency and Optimization Best Practices](https://docs.rc.fas.harvard.edu/kb/job-efficiency-and-optimization-best-practices/)

Bookmarkable Links

- [1. Description](#Description)
- [2. AlphaFold in the FASRC Cannon cluster](#AlphaFold_in_the_FASRC_Cannon_cluster)
  - [2.1. Singularity images](#Singularity_images)
  - [2.2. Databases](#Databases)
    - [2.2.1. Alphafold2](#Alphafold2)
    - [2.2.2. Alphafold3](#Alphafold3)

- [3. Model parameters](#Model_parameters)
  - 
    - [3.0.1. Alphafold3](#Alphafold3-2)

- [4. Running Alphafold](#Running_Alphafold)
- [5. Resources](#Resources)

Last UpdatedNovember 7, 2025

Tags: - [AlphaFold](https://docs.rc.fas.harvard.edu/kb/tag/alphafold/)
- [Applications](https://docs.rc.fas.harvard.edu/kb/tag/applications/)
