Home

Awesome

SuperFold

SuperFold is a derivative of AlphaFold2, AlphaFold-Multimer, and ColabFold with some novel improvements. It is intended only for running single-sequence predictions very quickly and takes advantage of some time and memory saving hacks found by krypton and others in the community. This package is also intended only for use by IPD labs and was written with our computing resources (digs, janelia, perlmutter, hyak [todo]) in mind.

Any publication that discloses findings arising from using this source code should contact the contributors for citation or authorhip agreements, as some relevant code (for instance, the initial_guess functionality) may need to be published beforehand or concurrently since they constitute novel work.

Usage

TODO

Installation

  1. Download this git repo $git clone git@github.com:rdkibler/superfold.git
  2. $cd superfold
  3. Download the alphafold weights or find an existing path to the weights
  4. $realpath /path/to/alphafold_weights/ > alphafold_weights.pth. "params/" should be a child dir of the alphafold_weights dir
  5. (optional, if you don't want to install pyrosetta) $conda config --add channels https://username:password@conda.graylab.jhu.edu use the username and password provided by Comotion when you licensed it. This is technically optional because we don't currently use pyrosetta because of silent_tools, so you could remove the pyrosetta line from the .yml and be fine
  6. $conda create --name pyroml --file pyroml.yml
  7. $source activate ~/.conda/envs/pyroml
  8. $pip install absl-py dm-tree tensorflow ml-collections
  9. $pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html
  10. `$pip install dm-haiku
  11. Compile MMalign

Model parameters

While the AlphaFold code is licensed under the Apache 2.0 License, the AlphaFold parameters are made available for non-commercial use only under the terms of the CC BY-NC 4.0 license. Please see the Disclaimer below for more detail.

The AlphaFold parameters are available from https://storage.googleapis.com/alphafold/alphafold_params_2021-10-27.tar, and are downloaded as part of the scripts/download_all_data.sh script. This script will download parameters for:

Place a path to the directory containing the model parameters in a file called alphafold_weights.pth

SuperFold output

The outputs will be saved in the directory provided via the --output_dir flag (defaults to output/). The outputs include the unrelaxed structure, the relaxed structure if the --amber_relax flag is used, a reports.txt metadata summary for all predictions if the --summarize flag is used , and prediction metadata for each prediction in individual .json files.

The contents of each output file are as follows:

Acknowledgements

Code contributors

3rd party libraries and packages

SuperFold communicates with and/or references the following separate libraries and packages:

We thank all their contributors and maintainers!

License and Disclaimer

This is not an officially supported Google product.

Copyright 2021 DeepMind Technologies Limited.

AlphaFold Code License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Model Parameters License

The AlphaFold parameters are made available for non-commercial use only, under the terms of the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. You can find details at: https://creativecommons.org/licenses/by-nc/4.0/legalcode

Third-party software

Use of the third-party software, libraries or code referred to in the Acknowledgements section above may be governed by separate terms and conditions or license provisions. Your use of the third-party software, libraries or code is subject to any such terms and you should check that you can comply with any applicable restrictions or terms and conditions before use.

MM-align (Version 20210816): complex structure alignment
References: S Mukherjee, Y Zhang. Nucl Acids Res 37(11):e83 (2009) Please email comments and suggestions to yangzhanglab@umich.edu