Generating Ramachandran plot and statistics.
Project description
Ramachandran
Ramachandran plot visualizes energetically allowed regions for backbone torsion (dihedral) angles ψ against φ of amino acid residues in protein structure. This Python package provides the implementations from scratch to crawling PDB/PDBx files from RCSB PDB Bank, parsing PDB/PDBx files for extracting geometric information, computing the torsion angles of residues from atom coordinates and the Ramachandran favorable regions from the reference PDB/PDBx files selected, and creating Ramachandran plots for user-provided PDB/PDBx files.
Dependencies
- Python 3.8+
- Numpy 1.20.1+
- Scipy 1.6.0+
- Matplotlib 3.3.4+
Usages
It is recommended to use Docker container to run the program.
Build Docker Image
$ docker build -f docker/ramachandran.Dockerfile --no-cache --tag=ramachandran:0.0.1 .
Run Docker Container
$ docker run -it --rm --gpus device=0 -v $(pwd):/mnt ramachandran:0.0.1
Install
$ pip install ramachandran
Create Ramachandran Plots
$ ramachandran-plot --help
usage: ramachandran-plot [-h] --file-path FILE_PATH
[--save-dir-path SAVE_DIR_PATH]
[--protein-name PROTEIN_NAME]
Ramachandran Plot Tool. Plots for GLY, PRO, pre-PRO, and Other residues will
be created.
optional arguments:
-h, --help show this help message and exit
--file-path FILE_PATH
PDB/PDBx file path. (default: None)
--save-dir-path SAVE_DIR_PATH
Directory path for saving the Ramachandran plots for
the PDB/PDBx file. (default: .)
--protein-name PROTEIN_NAME
Protein name. (default: None)
Demo
$ ramachandran_plot --file-path 1AXC.cif --save-dir-path 1AXC --protein-name 1AXC
General | GLY | PRO | Pre-PRO |
---|---|---|---|
TODO
- Filter homologous proteins for computing the Ramachandran statistics, since too many homologous protein structures will bias the statistics.
- Add the original hard-coded Ramachandran favorable region.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ramachandran-0.0.2.tar.gz
.
File metadata
- Download URL: ramachandran-0.0.2.tar.gz
- Upload date:
- Size: 3.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05ded48edb2443b6a09d29b6659ca1241e31cf4d00f797671616419a8a372b5 |
|
MD5 | a252572a679689085d4637d135e6749c |
|
BLAKE2b-256 | 98399a60064fd87133e00a811d6e7ecd13f80a645dca082648514235161f33f4 |
File details
Details for the file ramachandran-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ramachandran-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8af82844be42d8ad2fee5a250dd7be105e691180e7bff7a6c43c135a353f50 |
|
MD5 | 5c4d1795f2361b2f26e9da3310d60fd7 |
|
BLAKE2b-256 | ef019aca09d32bad81448c85c3e9c1cedd44155f9edcac6b72b6e92b61bbf1b0 |