Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 distribute the package as binary eggs, you have to 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:

$ git clone https://github.com/OpenMS/contrib.git
$ 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:

    $ git clone https://github.com/OpenMS/OpenMS.git
    $ cmake -DPYOPENMS=ON .
    $ make pyopenms
    

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.

Release History

Release History

This version
History Node

2.2.0

History Node

2.1.0

History Node

2.0.1

History Node

2.0.0

History Node

1.11

History Node

1.10.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyopenms-2.2.0-cp27-cp27m-manylinux1_x86_64.whl (18.7 MB) Copy SHA256 Checksum SHA256 cp27 Wheel Aug 2, 2017
pyopenms-2.2.0-cp27-cp27mu-manylinux1_x86_64.whl (18.7 MB) Copy SHA256 Checksum SHA256 cp27 Wheel Aug 2, 2017
pyopenms-2.2.0-cp33-cp33m-win_amd64.whl (19.5 MB) Copy SHA256 Checksum SHA256 cp33 Wheel Jul 24, 2017
pyopenms-2.2.0-cp34-cp34m-manylinux1_x86_64.whl (18.7 MB) Copy SHA256 Checksum SHA256 cp34 Wheel Aug 2, 2017
pyopenms-2.2.0-cp34-cp34m-win_amd64.whl (19.6 MB) Copy SHA256 Checksum SHA256 cp34 Wheel Jul 24, 2017
pyopenms-2.2.0-cp35-cp35m-manylinux1_x86_64.whl (18.7 MB) Copy SHA256 Checksum SHA256 cp35 Wheel Aug 2, 2017
pyopenms-2.2.0-cp35-cp35m-win_amd64.whl (25.6 MB) Copy SHA256 Checksum SHA256 cp35 Wheel Jul 24, 2017
pyopenms-2.2.0-cp36-cp36m-manylinux1_x86_64.whl (18.7 MB) Copy SHA256 Checksum SHA256 cp36 Wheel Aug 2, 2017
pyopenms-2.2.0-cp36-cp36m-win_amd64.whl (25.2 MB) Copy SHA256 Checksum SHA256 cp36 Wheel Jul 24, 2017
pyopenms-2.2.0-py2.7-linux-x86_64.egg (23.3 MB) Copy SHA256 Checksum SHA256 2.7 Egg Jul 24, 2017
pyopenms-2.2.0-py3.4-linux-x86_64.egg (23.3 MB) Copy SHA256 Checksum SHA256 3.4 Egg Jul 24, 2017
pyopenms-2.2.0-py3.5-linux-x86_64.egg (23.6 MB) Copy SHA256 Checksum SHA256 3.5 Egg Jul 24, 2017
pyopenms-2.2.0.tar.gz (17.9 MB) Copy SHA256 Checksum SHA256 Source Jul 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting