Bmrblib

From relax wiki
Jump to navigation Jump to search

Bmrblib is a Python API abstracting the Biological Magnetic Resonance Data Bank (BioMagResBank or BMRB) NMR-STAR format (http://www.bmrb.wisc.edu/). It allows the writing of NMR-STAR files for BMRB data deposition and the reading and easy extraction of data from files residing in the BMRB data bank, all without knowledge of the Self-Defining Text Archive and Retrieval (STAR) format. The current version is 1.0.4.

Available here:

  1. https://sourceforge.net/projects/bmrblib
  2. https://github.com/bmrblib
  3. https://gitlab.com/bmrblib

Install

Guides to install on different systems.

Linux and Mac

Remember to check, if there are newer versions of bmrblib.
The bmrblib library can be installed on all UNIX systems by typing:

# Change to bash, if in tcsh shell
bash

v=1.0.4
# In tcsh: set v=1.0.4

cd $HOME/Downloads
wget https://sourceforge.net/projects/bmrblib/files/$v/bmrblib-$v.tar.gz
tar -xzf bmrblib-$v.tar.gz
rm bmrblib-$v.tar.gz
cd bmrblib-$v
pip install .
cd ..
python -c "import bmrblib;print bmrblib.__version__, bmrblib.__file__"

See also