Python wrapper for C++ LCMS library OpenMS
Project description
Introduction
This package contains Python bindings for a large part of the OpenMS library (http://www.open-ms.de) for mass spectrometry based proteomics. It thus provides providing facile access to a feature-rich, open-source algorithm library for mass-spectrometry based proteomics analysis. These Python bindings allow raw access to the data-structures and algorithms implemented in OpenMS, specifically those for file access (mzXML, mzML, TraML, mzIdentML among others), basic signal processing (smoothing, filtering, de-isotoping and peak-picking) and complex data analysis (including label-free, SILAC, iTRAQ and SWATH analysis tools).
The pyOpenMS package runs - like OpenMS - on Windows, Linux and OSX.
Installation
We provide binary packages for Python 2.6 and 2.7 on Windows (64 bit) and Linux 64 bit which makes the installation very straightforward with pip. For other platforms, please refer to the compilation instructions.
Binary installation
On linux machines you can install pyopenms with:
$ easy_install pyopenms
For other systems first ensure that your pip is up to date, then install the pyopenms wheel:
$ pip install -U pip $ pip install -U wheel $ pip install pyopenms
Source installation
Download the latest OpenMS source from SVN (following the OpenMS documentation), configure and build.
Install Qt and then start with the dependencies of OpenMS itself:
$ svn co https://open-ms.svn.sourceforge.net/svnroot/open-ms/contrib $ cmake .
Now you have to install the dependencies of pyOpenMS:
Install Python (2.6 or 2.7)
Install numpy (On OSX, numpy should already be installed. On GNU/Linux there should be packages for numpy (e.g. python-numpy for Ubuntu/Debian). On Windows, you can install it from Christoph Gohlkes webpage).
Install setuptools, see the setuptools PyPI page .
Use setuptools to install pip, autowrap and nose:
$ easy_install pip $ pip install autowrap $ pip install nose
Configure and build pyOpenMS:
$ svn co https://open-ms.svn.sourceforge.net/svnroot/open-ms/OpenMS $ cmake -DPYOPENMS=ON . $ make pyopenms_bdist_egg
This should build a file like pyopenms-1.10.1-py2.7-linux-x86_64.egg the folder ./pyOpenMS/dist of your build directory which you can distribute or install it from there:
$ cd pyOpenMS/dist $ easy_install pyopenms-1.10.1-py-2.7-linux-x86_64.egg
Testing
pyOpenMS provides unittests, they are found under ./pyOpenMS/tests/ and can be executed using nosetests:
$ python run_nose.py
License
pyOpenMS is published under the 3-clause BSD licence, see ./pyOpenMS/License.txt
Documentation
pyOpenMS follows the OpenMS documentation very closely. Additionally, there is also a pyOpenMS Manual available. The online manual contains a complete record of every wrapped class and function while the documentation of the corresponding class or function can be inferred from the OpenMS online documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file pyopenms-2.0.post0-cp27-none-win_amd64.whl
.
File metadata
- Download URL: pyopenms-2.0.post0-cp27-none-win_amd64.whl
- Upload date:
- Size: 26.1 MB
- Tags: CPython 2.7, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7613f4e25e1c5bd4d72f8992d56fa435912482a9a412498af924be8dfe75157 |
|
MD5 | c2b8d951710d8795d0045960792e9a1d |
|
BLAKE2b-256 | 843878bed2ab8ff20f477bade589a66c3edfa48f40719c6b8bf89c5acecf00e8 |
File details
Details for the file pyopenms-2.0.0-py3.4-linux-x86_64.egg
.
File metadata
- Download URL: pyopenms-2.0.0-py3.4-linux-x86_64.egg
- Upload date:
- Size: 17.1 MB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0085be145894df60b8efa6daab48974f8182f3ae8d3b3fcec5d06c5215a8a960 |
|
MD5 | ef824164a2e8c1a16d2d06475100ec4c |
|
BLAKE2b-256 | c899b7bd70965bfdaa9db4af75a5cd22631f37f5b6c6c9bc4cbcdc16ee08d069 |
File details
Details for the file pyopenms-2.0.0-py2.7-linux-x86_64.egg
.
File metadata
- Download URL: pyopenms-2.0.0-py2.7-linux-x86_64.egg
- Upload date:
- Size: 17.1 MB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4eeedff723f53557cd59dfb57068549e25a4d1c14373b66dc558b480edbb944 |
|
MD5 | a8468b010273615147d9891581a15310 |
|
BLAKE2b-256 | 17bdbc00c46725eb4579b1f57aa7d247fe10b82de5c08f88c4ae8d10a23fe47f |
File details
Details for the file pyopenms-2.0.0-py2.6-linux-x86_64.egg
.
File metadata
- Download URL: pyopenms-2.0.0-py2.6-linux-x86_64.egg
- Upload date:
- Size: 17.7 MB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70b1fc1a30d510d26744a8717d2377c3150749c5ae99fdaf64aacadf89bba6f9 |
|
MD5 | 72b10d0b26f05c705698f5660257ab98 |
|
BLAKE2b-256 | 02a45b7647112edd7011e5179f9ddef8c818327d4531d11a208fc9f49b74b077 |
File details
Details for the file pyopenms-2.0-cp27-none-macosx_10_10_intel.whl
.
File metadata
- Download URL: pyopenms-2.0-cp27-none-macosx_10_10_intel.whl
- Upload date:
- Size: 34.6 MB
- Tags: CPython 2.7, macOS 10.10+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5ba2c35e7fbfdd172d64b0f3620eb2618e10c3dfd0a2854876fb819f7a68f25 |
|
MD5 | 635958d293243f96df6bbbbdd93685b1 |
|
BLAKE2b-256 | 32181a63d63e6d8c64b5cf7f578166d3e21395667e6e60f759632d4e8d09b83f |
File details
Details for the file pyopenms-2.0-cp27-none-macosx_10_9_intel.whl
.
File metadata
- Download URL: pyopenms-2.0-cp27-none-macosx_10_9_intel.whl
- Upload date:
- Size: 34.6 MB
- Tags: CPython 2.7, macOS 10.9+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1748113293e719900b04fd30f9f442f2d62acfd66fa2af346a158483f673c6d |
|
MD5 | 78f4f9ee3cf6eae19bd43f506c54c06d |
|
BLAKE2b-256 | 8addfca4d8fa1d044019581f174027597ca9b37871f7110a3f002bb6498c24fb |