GithubHelp home page GithubHelp logo

deepcgsa's Introduction

DeepCGSA---Accurate estimation of solvent accessible surface area for coarse-grained biomolecular structures with deep learning

We provide the python code of DeepCGSA implementation for estimating SASA based on CG structures.

Requirements

numpy==1.19.4  
tensorflow==2.0.0  
pandas==1.0.3  
sklearn==0.23.1  
biopandas==0.2.7  
scipy==1.5.4  
biopython==1.78 (with NACCESS)

Usage

Usage: DeepCGSA.py [options]
Options:
  -h, --help            show this help message and exit
  -f PDB_FILENAME, --file=PDB_FILENAME
                        The PDB file containing a CG protein or RNA structure
                        as discussed in paper. Please use same format as shown
                        in example input files (pdb format): example_CA.pdb,
                        example_CACB.pdb ......
  -t CG_TYPE, --CG_type=CG_TYPE
                        CG type of the PDB file, available for CA (Cα protein
                        structure), CACB (Cα-Cβ protein structure), martini
                        (Martini protein strcture), P (P-based RNA structure),
                        3SPN (3SPN RNA structure), AA (all-atom structure,
                        calculate by NACCESS). 
  -o OUTPUT_FILENAME, --output=OUTPUT_FILENAME
                        Residue-wise prediction will write to a csv file named
                        as output_filename.csv
  -c CREATE_CG, --create_CG_file=CREATE_CG
                        We provided a convenient function to create CG file
                        with appropriate format from AA file. -c option gave
                        the CG type to convert. When using -c option, script
                        will not calculate SASA but output a CG file. For
                        example: "python DeepCGSA.py -f example_AA.pdb -c CA".
                        Created file will be named as xxx_CGtype.pdb

model_weight should be copied to current work path with DeepCGSA.py together.

Example

We provide input files with appropriate format: example_CA.pdb, example_CACB.pdb ......
For example, run the following code to estimate SASA of the example Cα pdb file.

python DeepCGSA.py -f example_CA.pdb -t CA -o prediction

The example.ipynb provides a simple usage of DeepCGSA.

deepcgsa's People

Contributors

tiejundong avatar

Stargazers

Arthur Zalevsky avatar  avatar  avatar

Watchers

 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.