请注意,当前版本不包括对非常大的元基因组数据的搜索。对于某些蛋白质,元基因组数据非常重要。我们将尽快更新此功能。
RaptorX predicts protein contact/distance/orientation and local structure properties (e.g, secondary structure and phi/psi angles) by deep convolutional residual networks. It also builds the 3D model of a protein sequence using predicted distance/orientation and phi/psi angles. It is mainly tested on the Linux distribution CentOS (>6.0) with bash shell and Python 2.7, but you may also run it if you already have Python 3 installed. A version directly supporting Python 3 and tensorflow will be available in a few months. This package is also incorporated into our protein structure prediction web server at http://raptorx.uchicago.edu/, which is publicly available for both academia and industry. If you only want to predict structures for several protein sequences, it is more convenient to use our web server instead of installing this package.
4.0
There is no restriction on the usage of this package, but without explicit permission, it shall not be used for commercial purpose and to set up a similar web server for protein folding.
contact: [email protected]
Download this package by "git clone https://github.com/j3xugit/RaptorX-3DModeling.git" and save it anywhere in your own account, e.g., $HOME/RaptorX-3DModeling/. It contains the following files and subfolders (and a few others):
BuildFeatures/
DL4DistancePrediction4/
DL4PropertyPrediction/
Folding/
params/
raptorx-path.sh raptorx-external.sh
README.md
Server/
This RaptorX package consists of 4 major modules: BuildFeatures/ for generating multiple sequence alignment (MSAs) and input features for angle/contact/distance/orientation prediction, DL4DistancePrediction4/ for contact/distance/orientation prediction, DL4PropertyPrediction/ for local structure property prediction, and Folding/ for building 3D models.
To predict contact/distance/orientation and fold a protein, you may simply run RaptorX-3DModeling/Server/RaptorXFolder.sh, but before doing this some external packages and databases shall be installed and configured.
If you have not installed any anaconda or miniconda, you may directly install anaconda or miniconda for Python 2.7. If you have already installed anaconda/miniconda for Python 3, you may create a virtual enviroment RaptorX by running "conda create --name RaptorX python=2". Afterwards, switch to this virtual environment by command "conda activate RaptorX" to install the required packages and run RaptorX. See https://docs.python.org/3/tutorial/venv.html for an introduction of virtual environment.
Install numpy by "conda install numpy".
Install msgpack-python by "conda install -c anaconda msgpack-python"; it may not work if you intall it through pip.
Needed for both contact/distance/orientation predicton and 3D structure model building.
Install by running "pip install biopython==1.76". Note that a newer version may not work with Python 2.7.
Needed for visualizing predicted contact and distance; install by running "pip install Pillow"
Needed for train and run deep learning models; install by running "conda install numpy scipy mkl" and then "conda install theano pygpu" .
Please make sure that the CUDA toolkits and CUDNN library have been installed on your machine with GPUs. Set the environment variable CUDA_ROOT to where cuda is installed, e.g., export CUDA_ROOT=/usr/local/cuda. Make sure that the header and lib64 files of CUDNN are in CUDA_ROOT/include and CUDA_ROOT/lib64, respectively. We have tested Theano 1.04, CUDA 8 to 10.1 and CUDNN 7 to 7.6.5 . Other versions of CUDA and CUDNN may also work.
In principle, Theano can also run without GPUs, but some minor revisions are needed for some prediction script progtrams in this package.
Needed for train and run deep learning models for distance/orientation prediction.
Download by "git clone https://github.com/crowsonkb/shared_ndarray.git"; cd to shared_ndarray/ and then run "python setup.py install".
In addition to the HHsuite package itself, please download a sequence database specific to HHsuite and unpack it into a folder, e.g. UniRef30_2020_03_hhsuite.tar.gz at http://wwwuser.gwdg.de/~compbiol/uniclust/2020_03/.
It is available at https://github.com/debbiemarkslab/EVcouplings . Although the whole package will be installed, only the MSA generation module will be used.
Step 1: Download the package by running "git clone https://github.com/debbiemarkslab/EVcouplings.git". Suppose that it is located at $HOME/EVcouplings.
Step 2: Run "conda create -n evfold anaconda python=3" to create a virtual environment and then switch to this environment by running "conda activate evfold".
Step 3: cd to $HOME/EVcouplings and run "python setup.py install" to install the whole package.
Note that EVcouplings runs on python 3 while this version of RaptorX runs on python 2. Without jackhmmer, you may still run RaptorX by generating MSAs using HHblits only. The sequence database for jackhmmer is uniref90.fasta, which can be downloaded from UniProt.
Download the data file metaclust_50.fasta at https://metaclust.mmseqs.org/current_release/ and install it somewhere. In the future, we will install much more metagenome data.
The deep learning model files for contact/distance/orientation prediction are big (each 100-200M). You may download them at https://doi.org/10.5281/zenodo.4710337 or http://raptorx.uchicago.edu/download/ .
The package RXDeepModels4DistOri-FM.tar.gz has 6 models for contact/distance/orientation/ prediction. Unpack it and place all the deep model files (ending with .pkl) at $DL4DistancePredHome/models/
The package RXDeepModels4Property.tar.gz has 7 deep models for Phi/Psi angle, Secondary Structure (SS) and Solvent Accessibility (ACC) prediction. Unpack it and place all the deep model files (ending with .pkl) at $DL4PropertyPredHome/models/ . By default the package will just predict Phi/Psi angles. If you also want to predict SS and ACC, please use "-m AllSeqSet10820Models" in running the script programs in DL4PropertyPrediction/Scripts/
The below two packages are not needed if you do not want to build 3D models of a protein sequence under prediction. That is, they are not needed if you just want to predict SS/ACC/angle and contact/distance/orientation.
It is needed to build 3D models of a protein sequence from predicted distance/orientation and phi/psi angles. Please download the version supporting Python 2.7 and unpack it. Supposing it is located at PyRosetta4.Release.python27.linux.release-224/, cd to PyRosetta4.Release.python27.linux.release-224/setup/ and run "python setup.py install".
Some scripts in RaptorX-3DModeling/Folding/ (e.g., ParallelFoldNRelaxOneTarget.sh and SRunFoldNRelaxOneTarget.sh) use GNU parallel to run multiple folding jobs on one or multiple computers. Run "which parallel" to see if GNU parallel is available or not. If GNU parallel is not installed, you may still run folding jobs using other scripts.
You may run shell script RaptorXFolder.sh in RaptorX-3DModeling/Server/ to predict angle/contact/distance/orientation and/or fold a protein. The input can be a protein sequence in FASTA format (ending with .fasta or .seq) or an MSA file in a3m format (ending with .a3m). In the input file, an amino acid shall be represented by a capital letter instead of a 3-letter code.
NOTE that to run RaptorXFolder.sh, you just need to make sure that the environmental variable CUDA_ROOT and those in RaptorX-3DModeling/raptorx-external.sh are correctly set. However, to explicitly run any other shell scripts or code, you will need to set and export all needed environmental variables described in the below section "setup and export of environment variables".
Running RaptorXFolder.sh (and other shell scripts in this package) without any arguments will show its help information. Below are some scenarios.
When you already have a multiple sequence alignment in a3m format, please use option "-m 0";
When you only want to predict angle/contact/distance/orientation but not 3D models, please use option "-n 0";
When you do not want to generate MSAs using jackhmmer, you may use option "-m 9" (without using metagenome data) or "-m 25" (using metagenome data). Note that jackhmmer usually is slow, so it is not recommended for MSA generation.
Ideally, RaptorXFolder.sh shall run on a computer with GPUs and a reasonable number of CPUs. It takes minutes (rarely a couple of hours) to generate MSAs for a protein and several (or at most dozens of) minutes to predict distance/orientation on a single GPU. The running time for building 3D models from predicted angle/distance/orientation depends on the protein sequence length and whether or not to run relaxation. When relaxation is not applied, on a single CPU it takes 1000 residues, it may need >12G GPU memory to predict distance/orientation and 10G CPU memory to fold (and relax) one 3D model.
All the result files are saved to a folder target_OUT/ where target is the protein name containing the following subfolders:
target_contact/ contains MSAs and input features for distance/orientation prediction;
target_thread contains files for Phi/Psi prediction (which are also used for threading);
DistancePred/ contains predicted distance/orientation/contact and their visualization;
PropertyPred/ contains predicted Phi/Psi angles and secondary structure;
target-RelaxResults/ contains all generated decoys;
target-SpickerResults/ contains the clustering results of the decoys.
In example/, there is the result of one example protein 1pazA generated by running "Server/RaptorXFolder.sh -o example/ -n 40 -r 1 example/1pazA.fasta". Note that to save disk space, some resultant files are compressed or deleted.
It is possible to run RaptorXFolder.sh on several machines, each in charge of one major module (MSA generation, feature generation and distance/orientation prediction, 3D model building), without requiring you to manually copy data among different machines. This will be explained in section "Advanced Usage".
improved protein structure prediction by deep learning irrespective of co-evolution information. Nature Machine Intelligence, 2021. Also available at https://www.biorxiv.org/content/10.1101/2020.10.12.336859v1
Distance-based protein folding powered by deep learning. PNAS, August 2019. A 2-page abstract also appeared at RECOMB2019 in April 2019.
Analysis of distance-based protein structure prediction by deep learning in CASP13. PROTEINS, 2019.
Accurate De Novo Prediction of Protein Contact Map by Ultra-Deep Learning Model. PLoS CB, Jan 2017
Folding Membrane Proteins by Deep Transfer Learning. Cell Systems, September 2017.
暂无开放 Issues,或尚未同步最近议题。