Skip to content

Latest commit

 

History

85 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Colab for CF-Random

The Colab notebook can be run here: CF-Random_v1

Data and code for CF-Random

The general installation and usage guidance of CF-random for predicting the alternative conformation and fold-switching proteins.
For using CF-random in Colab notebook, please use following link.
''' hyperlink for colab notebook '''

Installation

Local CF-random uses the localcolabfold and Foldseek under linux environment.
For more details about localcolabfold, please visit here.
We currently not support the Windows and MacOS environment.

Installation process including localcolabfold, dependencies, and Foldseek is done with following command.

wget https://raw.githubusercontent.com/YoshitakaMo/localcolabfold/main/install_colabbatch_linux.sh
bash install_colabbatch_linux.sh

After finishing the installation of localcolabfold, activate conda environment.
Conda name would be "installed localcolabfold directory", e.g.) "current directory" + /localcolabfold/colabfold-conda

conda activate " current directory "/localcolabfold/colabfold-conda
pip install textalloc tmtools adjustText thefuzz mdtraj
pip3 install -U scikit-learn

Once finalize the dependencies, install the Foldseek.

conda install -c conda-forge -c bioconda foldseek
foldseek databases PDB pdb tmp

Usage

CF-random provides the different prediction modes such as fold-switching default, alternative conformation, and blind mode.
To execute all modes of CF-random, a multiple sequence alignment (MSA) is required (Essential).
PDB files for both fold1 (dominant conformation) and fold2 (alternative conformation) are required for TM-score measurement with reference files. Blind mode doesn't require the PDB files, but default fold-switching and alternative conformation modes require the PDB.

 -fname ####    |  folder name having a multiple sequence alignment (MSA)
 -pdb1  ####    |  dmoninat reference model used to calculate TM-score with predicted models
 -pdb2  ####    |  alternative refernece model used to calculate TM-score with predicted models
 -option ###    |  AC: predicting alternative conformations of protein with references, FS: predicting the fold-switching protein with references, and blind: predicting the alternative conformations or fold-switching proteins without reference PDB files.

*In default mode (fold-switching and alternative conformation), CF-ramdon produces the results of TM-scores (csv and png files), plDDT, and information of selected random MSA. If CF-random predicts the both folds, generated prediction files are deposited under successed_prediction/pdb1_name and additional_sampling/pdb1_name . If not, it would not generate anything.
*Before running the default mode of fold-switching, setting the "range_fs_pairs_all.txt" file is required. The name of reference PDB files, residue ranges of reference pdb files, and residue ranges of prediction files. ColabFold generates the residue index starting from 1, so please choose the residue range of fold-switching region correctly. CF-random reads the residue index in PDB file, make sure that selection of residue range is correct.
examples) pdb1, pdb2, XXX-XXX, XXX-XXX, XXX-XXX, XXX-XXX
*In blind mode, predicted files are deposited under blind_prediction/pdb1_name . CF-random with blind mode produces the comparison result with Foldseek.

Before running the CF-random, please check out your conda environment.
The name of conda environment would be the installed directory.

conda activate <your localfolabfold environment>
** examples of generated localcolabfold name would be "directory of installed the localcolabfold"/localcolabfold/colabfold-conda

For running the fold-switching default mode.

python main.py --fname folder_containing_MSA/ --pdb1 fold1.pdb --pdb2 fold2.pdb --option FS

For executing the alternative confroamtion mode.

python main.py --fname folder_containing_MSA/ --pdb1 fold1.pdb --pdb2 fold2.pdb --option AC

For running the CF-random with blind mode covering both fold-switching and alternative conformation.

python main.py --fname folder_containing_MSA/ --option blind

Examples

To be updated

How to Cite

To be updated

Lincese

To be updated

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages