Skip to content
Snippets Groups Projects
README.md 1.44 KiB
Newer Older
Ubuntu's avatar
Ubuntu committed
# Using this container on Cheaha

Fortune Iriaye's avatar
Fortune Iriaye committed
Please follow these instructions to set up for Alphafold3 on Cheaha.
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
1. Pull this container using the command:
Ubuntu's avatar
Ubuntu committed

    ``` bash
Fortune Iriaye's avatar
Fortune Iriaye committed
    singularity pull alphafold3.sif docker://gitlab.rc.uab.edu:4567/rc-data-science/community-containers/alphafold3/alphafold3:<tag> 
    
    #get the tag by clicking on "Deploy" -> "Container Registry" -> Click on "alphafold3/alphafold3" and then use the "Copy image path" option to get the image path used above, complete with the appropriate tag (latest).
Ubuntu's avatar
Ubuntu committed
    ```

Fortune Iriaye's avatar
Fortune Iriaye committed
1. If you already cloned the Alphafold3 [github repo](https://github.com/google-deepmind/alphafold3), you do not need to clone this repo, otherwise clone this repo.
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
1. Download the needed databases for Alphafold3 by running the below command. Make sure you are in the same folder as the `fetch_databases.sh` file before running the below command, or use an absolute path for the file to run it.
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
    ``` bash
    ./fetch_databases.sh <DB_DIR> #<DB_DIR> is your preferred location for storing the databases
Ubuntu's avatar
Ubuntu committed
    ```
Fortune Iriaye's avatar
Fortune Iriaye committed
You will also need to get the model parameters for alphafold3, you have to fill out a form, and submit a request to Google.
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
1. When the above steps are completed, run the Alphafold3 container on Cheaha to test it out using the commands:
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
    ``` bash
Ubuntu's avatar
Ubuntu committed
    singularity exec --nv alphafold3.sif sh -c 'nvidia-smi'
Fortune Iriaye's avatar
Fortune Iriaye committed
    ```
    or
Ubuntu's avatar
Ubuntu committed

Fortune Iriaye's avatar
Fortune Iriaye committed
    ``` bash
    singularity exec --nv alphafold3.sif python3 /app/run_alphafold.py --help
    ```