GithubHelp home page GithubHelp logo

tianyuzelin / ffpredgan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from psipred/ffpredgan

0.0 1.0 0.0 162 KB

Improving protein function prediction with synthetic feature samples created by generative adversarial networks

License: GNU General Public License v3.0

Python 100.00%

ffpredgan's Introduction

FFPred-GAN

DOI

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.

ffpredgan's People

Contributors

cenwan avatar cwan666 avatar cwan6 avatar danbuchan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.