Difference between revisions of "Bmrblib"

From relax wiki
Jump to navigation Jump to search
(Added a sentence about the current version.)
Line 1: Line 1:
[https://gna.org/projects/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.  The current version is {{current version bmrblib}}.
+
[https://sourceforge.net/projects/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.  The current version is {{current version bmrblib}}.
  
 
== Install ==
 
== Install ==
Line 5: Line 5:
  
 
=== Linux and Mac ===
 
=== Linux and Mac ===
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 [https://sourceforge.net/projects/bmrblib bmrblib]. <br>
The [https://gna.org/projects/bmrblib/ bmrblib] library can be installed on all UNIX systems by typing:
+
The [https://sourceforge.net/projects/bmrblib bmrblib] library can be installed on all UNIX systems by typing:
 
{{#tag: source|
 
{{#tag: source|
 
# Change to bash, if in tcsh shell
 
# Change to bash, if in tcsh shell
Line 12: Line 12:
  
 
v={{current version bmrblib}}
 
v={{current version bmrblib}}
 +
# In tcsh: set v={{current version bmrblib}}
  
cd $HOME/Downloads
+
wget https://sourceforge.net/projects/bmrblib/files/$v/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
 +
rm bmrblib-$v.tar.gz
 
cd bmrblib-$v
 
cd bmrblib-$v
# Then either
 
sudo pip install -e .
 
# Or
 
 
pip install .
 
pip install .
 
 
cd ..
 
cd ..
 +
python -c "import bmrblib;print bmrblib.__version__, bmrblib.__file__"
 
|lang="bash"}}
 
|lang="bash"}}
  
 
== See also ==
 
== See also ==
 
[[Category:Installation]]
 
[[Category:Installation]]

Revision as of 11:46, 6 September 2017

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.

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

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