Skip to main content

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_tide(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.

Disclaimer

This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

PACIFIC NORTHWEST NATIONAL LABORATORY

operated by

BATTELLE

for the

UNITED STATES DEPARTMENT OF ENERGY

under Contract DE-AC05-76RL01830

Metadata

Release files for crema-ms 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crema-ms 0.0.10
File Size Uploaded Provenance
crema-ms-0.0.10.tar.gz 2.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for crema-ms 0.0.10
File Interpreter ABI Platform
crema_ms-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / crema-ms-0.0.10.tar.gz

Download URL crema-ms-0.0.10.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
a9cacf354c52697fdbeb0e2c3a54aebed4fc5f5dee0b395c7a0f395045696508
BLAKE2b-256 checksum
How to use checksums
5e8569c8e03aab4cd2087ff77938603799dbdb3c64155ccf3a02e4d82d58aad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / crema_ms-0.0.10-py3-none-any.whl

Download URL crema_ms-0.0.10-py3-none-any.whl
Size 51.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f65297ce53fc58b8275cf2219c4e0194ecf96e80fb33e00ec67a7604c2f2c41
BLAKE2b-256 checksum
How to use checksums
5bc48f07cbf2dd6db80fbecbf637ccfe89001bf8048ab7ae2f196f5fc4c13ae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Security for crema-ms 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page