Coder Social home page Coder Social logo

cccofficial / ml_spike_protein Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 12.85 MB

codes and guides to generate the results used in the paper "AI-driven prediction of SARS-CoV-2 variant binding trends from atomistic simulations"

Jupyter Notebook 98.11% MATLAB 1.89%
sars-cov-2 binding atomistic-simulations

ml_spike_protein's Introduction

This is the repository for the Matlab and Python codes for generating the results in the manuscript: AI-driven prediction of SARS-CoV-2 variant binding trends from atomistic simulations, Sara Capponi, Shangying Wang, Simone Bianco, doi: https://doi.org/10.1101/2021.03.07.434295.

convert_data_to_image_subtract_moving_average.m: This is the matlab code for data preprocessing. You need to use this MATLAB code first to preprocesses the raw distance matrices generated from atomistic simulations to the subtracted averaged matrices and then converts the matrices to grayscale images ready to be used as inputs to the Convolutional Neural Networks.

CNN_predict_affinity_spike_protein_12mutations_N501Y_N501V_N501T_N501S_Q498N_N501D.ipynb: This is the Jupyter notebook Python code for predicting the binding trend from the grayscale images generated from the Matlab code above. The code is implemented in Python 3.7.8 and TensorFlow v2.4.1.

The neural network architecture is as below:

Structure  of  the  convolutional  neural  network  and  ensemble prediction used in this study.

We also include the 80 trained neural networks in the folder "saved_CNN_model" (10 trained neural network for each simulation duration ranging from 20ns to 160ns)

If you find this code useful in your research, please consider citing:

@article{capponi2021ai, title={AI-driven prediction of SARS-CoV-2 variant binding trends from atomistic simulations}, author={Capponi, Sara and Wang, Shangying and Bianco, Simone}, journal={bioRxiv}, year={2021}, publisher={Cold Spring Harbor Laboratory} }

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.