Skip to main content

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

The current binaries require numpy 1.7.x.

As we provide binary eggs, you have use easy_install, installing with pip does not work:

$ easy_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyopenms-1.10.1-py2.7-win-amd64.egg (21.4 MB view details)

Uploaded Egg

pyopenms-1.10.1-py2.7-win32.egg (18.0 MB view details)

Uploaded Egg

pyopenms-1.10.1-py2.7-linux-x86_64.egg (21.4 MB view details)

Uploaded Egg

pyopenms-1.10.1-py2.6-win-amd64.egg (21.4 MB view details)

Uploaded Egg

pyopenms-1.10.1-py2.6-win32.egg (18.0 MB view details)

Uploaded Egg

pyopenms-1.10.1-py2.6-linux-x86_64.egg (21.4 MB view details)

Uploaded Egg

File details

Details for the file pyopenms-1.10.1-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 46a0a8636053679e947847f0b99ad88691b769b122ec29a4ec245f47c8c78f49
MD5 65814c86b7011e860351d159f89a1fb1
BLAKE2b-256 8df16254798027c4ecfec00e93e640804abdf804e27a6fbaef7f30980731e1a1

See more details on using hashes here.

File details

Details for the file pyopenms-1.10.1-py2.7-win32.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.7-win32.egg
Algorithm Hash digest
SHA256 f2f08cc83ffc5f3c8d7d2fb839ede5a5fc9e473ae3a530fff26b7c5b18341bf1
MD5 d6d0d2c8db0a44526f80dcf3cf4adcdc
BLAKE2b-256 072a9dc9af7096b23be35392fdaad2247c0bfcfb32a99d78fe51e7e594a5ad69

See more details on using hashes here.

File details

Details for the file pyopenms-1.10.1-py2.7-linux-x86_64.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 99fb4b1a668a43d7d9f7b36096a17d49a5f65f97c2a80cdcaecef7d5d2975bce
MD5 9b6d8d9a2d58218e8f6fc8c75b084035
BLAKE2b-256 0fc0945ef2a4548dc7b82cdbf5d8dacf9338ec0a802994ed853ced795f407db3

See more details on using hashes here.

File details

Details for the file pyopenms-1.10.1-py2.6-win-amd64.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 262bb6dc456d6999a3bcd3f306e724e1e71ae8e504cd455337680719fe4fc585
MD5 efc0a2167527d0daa99ea97b4cb6c3d7
BLAKE2b-256 b96113def74ef3f512fd21443e7377d1f9d43b4f42e4347d49b54c942a3e7c09

See more details on using hashes here.

File details

Details for the file pyopenms-1.10.1-py2.6-win32.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.6-win32.egg
Algorithm Hash digest
SHA256 50d8ba88015261e3c0aba2986ec8985f9fe4da064ba0730b5d88d29f9a9faf7e
MD5 10f673e4d1b3ee88b520b752da222776
BLAKE2b-256 bc2025680ef1b917dc1066c2d0821ecb917c83d6a690af88c7ceaa9275ba77c6

See more details on using hashes here.

File details

Details for the file pyopenms-1.10.1-py2.6-linux-x86_64.egg.

File metadata

File hashes

Hashes for pyopenms-1.10.1-py2.6-linux-x86_64.egg
Algorithm Hash digest
SHA256 5dec7b5563d1d0452c5ff0c1482ac6d5808c7bb1fffe454ff8ee9c444bfab078
MD5 b8594e443b3a4da0b164959c6af444ed
BLAKE2b-256 be41b19e74ca94f9a05a8db6c66a38b7283210a4883ad04d20f104e0465ad1e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page