Skip to main content

Fast and flexible tool for protein inference

Project description

proffer logo

Proffer is fast and flexible tool for protein inference in bottom-up proteomics experiments.

Installation

This library requires Python 3.10+ and can be installed with pip:

pip install proffer

Basic Usage

After installation, you can run the proffer CLI tool:

proffer data/percolator.txt --format tsv

You can also load results directly from any URI supported by fsspec:

# HTTP(S)
proffer https://github.com/seerbio/proffer/raw/refs/heads/main/data/percolator.txt --format tsv

# S3
pip install proffer[s3]  # ensure libraries for S3 support are installed
proffer s3://bucket/key/results.parquet --format parquet

Basic support is included for thresholding peptide identifications before inference:

proffer data/percolator.txt --format tsv --qvalue-threshold 0.01

By default output is written in JSON format to stdout. Alternatively, the -o flag can be used to write results to Parquet:

proffer data/percolator.txt --output proffer-results.parquet

It is possible to configure the column names used, as well as the approach used to pick protein groups. To learn more about the available options you can run:

proffer --help

Python usage

To use Proffer in your Python code, call proffer.infer with a Polars DataFrame:

import proffer

result_frame = proffer.infer(polars_frame)

It is possible to configure the column names used, as well as the approach used to pick protein groups. To learn more about the available options you can run:

help(proffer.infer)

Usage with Fulcrum Pipeline

Utilities for working with Spark-based datasets can be found in proffer.spark. These use interfaces from wheely-mammoth (compatible with Fulcrum Pipeline™) to efficiently read peptide and protein information and compute inference.

For typical use cases, it will be easiest to employ a pre-built Fulcrum workflow that uses Proffer for inference, rather than call these utilities directly.

By default, installing Proffer will not install Spark dependencies; to use Proffer in an environment where these are not already installed, run:

pip install 'proffer[spark]'

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

proffer-0.5.3.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proffer-0.5.3-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file proffer-0.5.3.tar.gz.

File metadata

  • Download URL: proffer-0.5.3.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for proffer-0.5.3.tar.gz
Algorithm Hash digest
SHA256 7a32eb254974085117eb8e06a704e9266f588597e8b3f26ad238218799fd9bfe
MD5 86d8be235d46a89820e2415d399dfc36
BLAKE2b-256 1d4eaca9c4a2870a2bb951ff16642006ce43e9587a0fb5fbd47fe4fe05abce02

See more details on using hashes here.

Provenance

The following attestation bundles were made for proffer-0.5.3.tar.gz:

Publisher: publish.yml on seerbio/proffer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file proffer-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: proffer-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for proffer-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c48f118c9981645eeee46097ec15e37b3fa98f8213c4510cfad924a88c80ab0
MD5 67b6050db94ce295b323f9e4281f4b1a
BLAKE2b-256 c09f3e3f9401aca2563c8da5f7d7e3bb6f91850b958eeca14227a0e6648ef5c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for proffer-0.5.3-py3-none-any.whl:

Publisher: publish.yml on seerbio/proffer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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