Package bmrblib
[hide private]
[frames] | no frames]

Package bmrblib

source code

Package for interfacing with the BioMagResBank.

The Biological Magnetic Resonance Data Bank, or BioMagResBank and BMRB for short, is a repository for data from NMR spectroscopy on proteins, peptides, nucleic acids, and other biomolecules. This bmrblib library handles the NMR-STAR formatted files, the base format of all BMRB data. It can both read and write NMR-STAR files.


Version: 1.0.2

Submodules [hide private]

Functions [hide private]
class instance
create_nmr_star(title, file_path, version=None)
Initialise the NMR-STAR object.
source code
str
determine_version(file_path)
Determine the version of the given NMR-STAR file.
source code
Variables [hide private]
  __package__ = 'bmrblib'

Imports: pystarlib, F_OK, NMR_STAR_v2_1, NMR_STAR_v3_1, NMR_parameters, Star_version, access, assembly_supercategory, citations, experimental_details, kinetics, search, structure, sys, thermodynamics, version


Function Details [hide private]

create_nmr_star(title, file_path, version=None)

source code 

Initialise the NMR-STAR object.

Parameters:
  • title (str) - The title of the NMR-STAR data.
  • file_path (str) - The full file path.
  • version (str) - The NMR-STAR version to use.
Returns: class instance
The NMR-STAR python object.

determine_version(file_path)

source code 

Determine the version of the given NMR-STAR file.

Parameters:
  • file_path (str) - The full file path.
Returns: str
The NMR-STAR version number.