Giter VIP home page Giter VIP logo

pedroseber / o-glcnacylation_prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 9.29 MB

Code and datasets for the publication "Recurrent Neural Network-based Prediction of O-GlcNAcylation Sites in Mammalian Proteins"

Home Page: https://doi.org/10.1101/2023.08.24.554563

License: MIT License

Python 100.00%
artificial-intelligence artificial-neural-networks deep-learning glycosylation machine-learning post-translational-modification recurrent-neural-networks o-glycosylation

o-glcnacylation_prediction's Introduction

Recurrent Neural Network-based Prediction of the Location of O-GlcNAcylation Sites in Mammalian Proteins

These are the datasets and model files associated with the publication Recurrent Neural Network-based Prediction of O-GlcNAcylation Sites in Mammalian Proteins. This work uses primarily RNN models to predict the presence of O-GlcNAcylation sites. The models were trained on multiple sources of literature data on protein O-GlcNAcylation based on human-selected descriptors (v1 of the datasets) or protein sequences (v3 and v5 of the datasets).

Reproducing the models and plots

The models can be recreated by downloading the datasets and running the ANN_train.py file with the appropriate flags (run python ANN_train.py --help for details).

The plots can be recreated by running the make_plot.py file with the appropriate data version as an input (python make_plot.py v1 for Fig. 1, python make_plot.py v5 for Fig. 2, python make_plot.py shap_heatmap for Fig. 3, python make_plot.py v3 for Fig. S1, python make_plot.py v5_nested for Fig. S2, and python make_plot.py v5_shap for Fig. S3).

Using the models to predict O-GlcNAcylation sites

The Conda environment defining the specific packages and version numbers used in this work is available as ANN_environment.yaml. To use our trained model, run the Predict.py file as python Predict.py <sequence> -t <threshold> -bs <batch_size>.

Alternatively, create an (N+1)x1 .csv with the first row as a header (such as "Sequences") and all other N rows as the actual amino acid sequences, then run the Predict.py file as python ANN_predict.py <path/to/file.csv> -t <threshold> -bs <batch_size>. Results will be saved as a new .csv file.

To run Shapley value predictions in addition to the model predictions, run the Predict.py file with also the -shap flag. Whatever other flags should be included as needed.

o-glcnacylation_prediction's People

Contributors

pedroseber avatar

Stargazers

 avatar

Watchers

 avatar  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.