Skip to main content

Confidence estimation for proteomics experiments

Project description


Confidence Estimation for Mass Spectrometry Proteomics

crema is a Python package that implements various methods to estimate false discovery rates (FDR) in mass spectrometry proteomics experiments. crema focuses on methods that rely on the concept of "target-decoy competition." The sole purpose of crema is to do decoy-based FDR estimation, and to do it well. As a result, crema is lightweight and flexible. It has minimal dependencies and supports a wide range of input and output formats. On top of that, it is extremely simple to use.

For more information, check out our documentation.

Installation

crema requires Python 3.6+ and can be installed with pip:

$ pip3 install crema-ms

Basic Usage

Before using crema, you need one or more files, each containing a collection of peptide-spectrum matches (PSMs) in tab-delimited format. Note that crema defaults to reading files via crux format, but can easily be manipulated to accept files in formats that use differing column headers.

Simple crema calculations can be performed at the command line:

$ crema data/tide-search.target.psms.txt data/tide-search.decoy.psms.txt

Alternatively, the Python API can be used to calculate confidence estimates in the Python interpreter and affords greater flexibility:

    >>> import crema
    >>> input_files = ["data/tide-search.target.psms.txt", "data/tide-search.decoy.psms.txt"]
    >>> psms = crema.read_crux(input_files)
    >>> results =  psms.assign_confidence()
    >>> results.to_txt(ouput_dir="example_output_dir")

Check out our documentation for more details on how to make full use of crema.

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

crema-ms-0.0.5.tar.gz (2.2 MB view hashes)

Uploaded Source

Built Distribution

crema_ms-0.0.5-py3-none-any.whl (29.7 kB view hashes)

Uploaded Python 3

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