Skip to main content

Pipelines And Systems for Threshold Avoiding Quantification (PASTAQ): Pre-processing tools for LC-MS/MS data

Project description

Installation

To install from source, you will need to install a suitable C++ compiler and corresponding build tools for your platform as well as CMake and zlib. Note that on Windows you must use zlibstatic to avoid DLL path errors with the bindings. The instructions listed here refer to the installation of PASTAQ's Python bindings. Currently the only external dependencies other than zlib are included as git submodules. To get started, clone this repository and initialize git submodules:

git clone https://github.com/PASTAQ-MS/PASTAQ.git
cd PASTAQ
git submodule init
git submodule update

Build the module and install it in your system:

# Installation
python3 setup.py install --user

# Development
python3 setup.py develop --user

Now it can be imported and used in python as follows:

import pastaq
raw_data = pastaq.read_mzxml(...)

Usage

Examples of the usage of the PASTAQ can be found in the examples folder. To run them, install pastaq as previously described, update the input path of the mzXML and mzID files, change any necessary parameters and run it with:

python examples/small_range.py

You can use any mzXML files and identifications in mzIdentML v1.1+. If no identifications are available, remove the ident_path from the input files array or set it to 'none'. You can find the files we used for testing and development via ProteomeXchange, with identifier PXD024584.

Processing of mzML files is in an early stage and may lead to some issues.

For more information about PASTAQ and the configuration of the parameters, please visit the official website.

Compile the pastaq library from source

For an out of source build of the library, create a build directory and run cmake:

mkdir build
cd build
cmake ..
make

If you wish to enable the compilation of the tests you need to set up the PASTAQ_ENABLE_TESTS flag to 1. A limited number of automated test are currently available but we are looking forward to improve this in the future.

mkdir build
cd build
cmake .. -DPASTAQ_ENABLE_TESTS=1
make
make test

Additionally, you can use the Ninja building tool for faster compilation times.

mkdir build
cd build
cmake .. -DPASTAQ_ENABLE_TESTS=1 -GNinja
ninja
ninja test

How to cite this work

The main manuscript associated with this software has been submitted and is under peer review at the moment. You can find a pre-print to the current version here on Research Square with DOI: 10.21203/rs.3.rs-422254/v1.

Project details


Download files

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

Source Distribution

pastaq-0.9.0.tar.gz (5.8 MB view hashes)

Uploaded Source

Built Distributions

pastaq-0.9.0-py3.10-win-amd64.egg (477.3 kB view hashes)

Uploaded Source

pastaq-0.9.0-py3.10-linux-x86_64.egg (600.4 kB view hashes)

Uploaded Source

pastaq-0.9.0-cp39-cp39-win_amd64.whl (452.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pastaq-0.9.0-cp39-cp39-macosx_11_0_x86_64.whl (526.0 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ x86-64

Supported by

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