# FFPredGAN
**Repository Path**: altriasjy31/FFPredGAN
## Basic Information
- **Project Name**: FFPredGAN
- **Description**: import from github for efficient downloading
https://github.com/psipred/FFPredGAN
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-29
- **Last Updated**: 2022-05-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# FFPred-GAN
[](https://doi.org/10.5281/zenodo.3936616)
This is a Python implementation of FFPred-GAN method reported in
Wan, C. & Jones, D.T. (2020) Protein function prediction is improved by creating synthetic feature samples with generative adversarial networks. Nature Machine Intelligence. DOI: 10.1038/s42256-020-0222-1.
---------------------------------------------------------------
# Requirements
- Python 3.6
- Numpy
- PyTorch (CPU mode)
- Scikit-learn
- Standard computer cluster
---------------------------------------------------------------
# Running
It is recommended to use a standard computer cluster that allows to run multiple jobs simultaneously (e.g. the SGE array job).
* Step 1. Downloading real training feature samples via
`http://bioinfadmin.cs.ucl.ac.uk/downloads/FFPredGAN/RealTrainingData/`.
* Step 2. Generating positive synthetic feature samples by using the template
`./src/Generating_Synthetic_Positive_Samples_FFPred-GAN.py`.
_This template is used to train one GAN for generating synthetic protein feature samples for single GO term. In order to generate synthetic samples for mutliple GO terms, this script should be duplicated with only changing the GO term ID, or changing the absolute pathname of the training feature samples for corresponding GO terms. The GO term list can be downloaded via_
`http://bioinfadmin.cs.ucl.ac.uk/downloads/FFPredGAN/GOTerm_List.txt`.
* Step 3. Running Classifier Two-Sample Tests to select the optimal synthetic feature samples by using
`./src/Classifier_Two_Sample_Tests.py`.
_This template is used to select the optimal synthetic protein feature samples generated for single GO term. In order to select the optimal synthetic samples for mutliple GO terms, this script should be duplicated with only changing the GO term ID, or changing the absolute pathname of the real and synthetic feature samples for corresponding GO terms. The selected optimal synthetic feature samples can be directly downloaded via
`http://bioinfadmin.cs.ucl.ac.uk/downloads/FFPredGAN/SyntheticTrainingData/`_
* Step 4. Downloading testing feature samples and class labels via
`http://bioinfadmin.cs.ucl.ac.uk/downloads/FFPredGAN/TestingData/`.
* Step 5. Training and testing support vector machine classifier with positive synthetic feature samples augmented training data by using
`./src/Testing_Synthetic_Positive_Samples_Augmented_SVM.py`.