Skip to content

ken0414/Graph-PS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph-PS

Prediction of Phase-Separating Protein Classifier by GCN

Requirements

To run this program, you may need:

  • Python 3.6 or later
  • Pytorch 1.12.1 and other related packages
  • Windows 10 enviroment
  • GPU (optional for cuda)

How to use

  1. Set up your enviroment and download the code from github:
   git clone https://github.com/ken0414/Graph-PS.git
  1. Put your data into the appropriate folder:
   [protein structure feature] --> ./data/graph    
   [protein node feature(PSSM)] --> ./data/pssm
  1. Activate your enviroment and run main.py:
   $ python main --mode cv --run 10

Within this line of code, you can choose between cross-validation mode or independent test set mode by modifying the value after mode, n2v to change the file used, and run to select the number of repetitive runs.

option value
mode cvorout
run int value for run times
  1. Get result: For each fold in a single cv, you can get the best epoch of the train in train_result.txt. After all fold trained in a single cv, you can get the evaluation of all fold in predict_result.txt and the result of prediction in fold ./result. If you run on out mode, there will be only 1 result in train_result.txt and predict_result.txt. If the value of run is bigger than 1, former result in train_result.txt of a single cv or out will be override. If you want to save the result of this file, please modify the code on your own. Samely, if you run the main.py again, all the result will be override.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages