Skip to main content

PyBMRB provides tools to visualize chemical shift data in BMRB

Project description

PyBMRB

Binder Click the launcher to try PyBMRB on a live Jupyter Notebook.

Biological Magnetic Resonance data Bank (BMRB)

BMRB collects, annotates, archives, and disseminates (worldwide in the public domain) the important spectral and quantitative data derived from NMR spectroscopic investigations of biological macromolecules and metabolites. The goal is to empower scientists in their analysis of the structure, dynamics, and chemistry of biological systems and to support further development of the field of biomolecular NMR spectroscopy.

BMRB maintains its data in a relational data base and also as flat files in NMR-STAR format. It also provides data access via API and provide software tools to handle NMR-STAR files. PyNMRSTAR is one such tool to facilitate read, write and parse NMR-STAR files. PyBMRB enhances the usability of BMRB data and data access and visualization of chemical shift data from BMRB.

Data visualization

PyBMRB uses modern python visualization tool plotly for its visualization. It features chemical shift histograms of standard amino acids from BMRB data base and N15-HSQC peak position simulation for any given BMRB entry (or) list of BMRB entries (or) from a local assigned chemical shift list in NMR-STAR format. Random coil N15-HSQC simulation based on BMRB database statistics is also included.

This library can produce stand alone interactive visualizations as an html file or it can be used in a Jupyter Notebook. Example notebooks can be found here

Installation

PyBMRB is available in Python Package Index (PIP). It can be easily installed with the following command

pip install pybmrb

To install from the source, clone or download the source and go to the folder which contains 'setup.py' and run the following command

pip install .

If necessary use 'sudo'.

Chemical shift Histogram

BMRB serves Nuclear Magnetic Resonance(NMR) community by providing high quality curated chemical shift data of various biologically important macro molecules like proteins and nucleic acids and small molecules like ligands , co-factors, small peptides and metabolites. Chemical shift distribution of an atom in an amino acid or nucleic acid helps us to understand its diverse chemical environment. Chemical shift histograms from a database like BMRB will help us to understand the biophysical nature bio-molecules and provides a priory probabilities for resonance assignments.

Conditional Histogram

Chemical shift assignment in a multi-dimensional NMR experiment is a biggest challenge. PyBMRB could help the process by generating conditional histogram. If partial assignments of a particular amnio acid is available, then PyBMRB could estimate the chemical shift distribution of an unassigned atom in that amino acid only from those entries whose chemical shifts are similar to the given list for that particular amino acid.

Examples in Notebook

Chemical shift histogram examples notebook can be found here. The output might look like this

N15-HSQC Simulation.

N15-HSQC is one of the most common and useful NMR experiment. It carries signatures of folded state, ligand interaction and experimental environments like pH and temperature. BMRB contains thousands of assigned chemical shifts of various bio-molecules. PyBMRB make use of this data to simulate N15-HSQC peak positions for any BMRB entry. Its also possible to compare N15-HSQC spectra of different entries or BMRB entries with user generated chemical shift information in NMR-STAR format.

N15-HSQC spectrum from sequence.

As an experiment, BMRB developed tools to simulate random coil N15-HSQC spectrum for a given protein sequence using database statistics. Assuming the fact that in BMRB, small segments of given sequence might exists in all possible confirmations, one could calculate the chemical shift of an atom in random confirmation by averaging the chemical shifts of small segments over the entire database

Examples in Notebook

N15-HSQC examples notebook can be found here The output of the notebook looks like this

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybmrb-1.2.99.tar.gz (34.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybmrb-1.2.99-py3-none-any.whl (35.7 MB view details)

Uploaded Python 3

File details

Details for the file pybmrb-1.2.99.tar.gz.

File metadata

  • Download URL: pybmrb-1.2.99.tar.gz
  • Upload date:
  • Size: 34.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for pybmrb-1.2.99.tar.gz
Algorithm Hash digest
SHA256 2ba3dec0d97414637519593a1e2fbf58b46aadb057ecc82bd182fb039288ff0c
MD5 417719c7825bc46fe7545df838d1f4e5
BLAKE2b-256 24013cf0d15424e2667f135880d0fb4674be01692cdb0ffe939de3d046f61bca

See more details on using hashes here.

File details

Details for the file pybmrb-1.2.99-py3-none-any.whl.

File metadata

  • Download URL: pybmrb-1.2.99-py3-none-any.whl
  • Upload date:
  • Size: 35.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for pybmrb-1.2.99-py3-none-any.whl
Algorithm Hash digest
SHA256 73474c041fb6684d4079769eba76aa64dff1589c97fbb46d6453445f3917b3e7
MD5 4c18e8829a13ff7fc951302a195e979d
BLAKE2b-256 ac262b318b06dc1bdf2ae31e75c86ff9ff82f3505c6064149295ede5ac824291

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page