Difference between revisions of "Bmrblib"
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:// | + | [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 [ | + | Remember to check, if there are newer versions of [https://sourceforge.net/projects/bmrblib bmrblib]. <br> |
− | The [https:// | + | 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 | ||
− | + | 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 | ||
− | |||
− | |||
− | |||
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:
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__"