Difference between revisions of "Bmrblib"

From relax wiki
Jump to navigation Jump to search
(Added a sentence about the current version.)
 
(2 intermediate revisions by the same user not shown)
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}}.
 +
 
 +
Available here:
 +
# https://sourceforge.net/projects/bmrblib
 +
# https://github.com/bmrblib
 +
# https://gitlab.com/bmrblib
  
 
== Install ==
 
== Install ==
Line 5: Line 10:
  
 
=== 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 17:
  
 
v={{current version bmrblib}}
 
v={{current version bmrblib}}
 +
# In tcsh: set v={{current version bmrblib}}
  
 
cd $HOME/Downloads
 
cd $HOME/Downloads
curl http://download.gna.org/bmrblib/bmrblib-$v.tar.gz -o bmrblib-$v.tar.gz
+
wget https://sourceforge.net/projects/bmrblib/files/$v/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]]

Latest revision as of 06:45, 8 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.

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