Difference between revisions of "Bmrblib"

From relax wiki
Jump to navigation Jump to search
(Link out to the project webpage.)
(→‎Linux and Mac: Use of the new {{current version bmrblib}}. This requires the magic word {{#tag: ...}} to generate the <source> tags programmatically.)
Line 8: Line 8:
 
Remember to check, if there are newer versions of [http://download.gna.org/bmrblib bmrblib]. <br>
 
Remember to check, if there are newer versions of [http://download.gna.org/bmrblib bmrblib]. <br>
 
The [https://gna.org/projects/bmrblib/ bmrblib] library can be installed on all UNIX systems by typing:
 
The [https://gna.org/projects/bmrblib/ bmrblib] library can be installed on all UNIX systems by typing:
<source lang="bash">
+
{{#tag: source|
 
# Change to bash, if in tcsh shell
 
# Change to bash, if in tcsh shell
 
bash
 
bash
  
v=1.0.3
+
v={{current version bmrblib}}
  
 
cd $HOME/Downloads
 
cd $HOME/Downloads
curl http://download.gna.org/bmrblib/bmrblib-1.0.3.tar.gz -o bmrblib-$v.tar.gz
+
curl http://download.gna.org/bmrblib/bmrblib-$v.tar.gz -o bmrblib-$v.tar.gz
 
tar -xzf bmrblib-$v.tar.gz
 
tar -xzf bmrblib-$v.tar.gz
 
cd bmrblib-$v
 
cd bmrblib-$v
Line 24: Line 24:
  
 
cd ..
 
cd ..
</source>
+
|lang="bash"}}
  
 
= See also =
 
= See also =
 
[[Category:Installation]]
 
[[Category:Installation]]

Revision as of 16:44, 19 October 2015

Bmrblib

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.

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

cd $HOME/Downloads
curl http://download.gna.org/bmrblib/bmrblib-$v.tar.gz -o bmrblib-$v.tar.gz
tar -xzf bmrblib-$v.tar.gz
cd bmrblib-$v
# Then either
sudo pip install -e .
# Or
pip install .

cd ..

See also