Skip to main content

End-to-end machine learning pipeline for peptide database search

Project description

ProteoRift Python Package

End-to-end machine learning pipeline for peptide database search in mass spectrometry proteomics.

Installation

pip install proteorift

Quick Start

Using Sample Data

from proteorift import ProteoRiftSearch

# Initialize and run with sample data
searcher = ProteoRiftSearch()
results = searcher.search_with_sample_data()

print(f"Results saved to: {results['output_dir']}")

Using Your Own Data

from proteorift import ProteoRiftSearch

# Initialize search
searcher = ProteoRiftSearch()

# Run peptide database search
results = searcher.search(
    mgf_dir="path/to/your/spectra",      # Directory with MGF files
    peptide_db="path/to/your/database",  # Directory with FASTA files
    output_dir="./results"
)

Custom Parameters

searcher = ProteoRiftSearch(
    precursor_tolerance=10,
    precursor_tolerance_type="ppm",
    charge=3,
    length_filter=True,
    device="cuda"  # or "cpu", "auto"
)

results = searcher.search(mgf_dir="...", peptide_db="...")

Command Line Interface

# Run search with sample data
proteorift search-sample --output-dir ./results

# Run search with your data
proteorift search \
    --mgf-dir path/to/spectra \
    --peptide-db path/to/database \
    --output-dir ./results \
    --tolerance 10 \
    --charge 3

# Download models only
proteorift download-models

Output

ProteoRift generates Percolator-compatible PIN files:

  • target.pin - Target peptide-spectrum matches
  • decoy.pin - Decoy peptide-spectrum matches

System Requirements

  • Python: 3.8 or higher
  • GPU: 12GB+ VRAM recommended (CPU also supported)
  • OS: Linux, macOS, or Windows

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

proteorift-1.2.0.tar.gz (104.3 kB view details)

Uploaded Source

Built Distribution

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

proteorift-1.2.0-py3-none-any.whl (65.6 kB view details)

Uploaded Python 3

File details

Details for the file proteorift-1.2.0.tar.gz.

File metadata

  • Download URL: proteorift-1.2.0.tar.gz
  • Upload date:
  • Size: 104.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for proteorift-1.2.0.tar.gz
Algorithm Hash digest
SHA256 916c0a71e280f463e49742c4f21b506419ea2d2639edc1d58a547c6f712b5c3b
MD5 6cd091175dcc1e12eeb78198eafd5da3
BLAKE2b-256 99f5363af40c8d60c4a160212469c9f7ae1d21c3469c2979f96b96659fc17b8c

See more details on using hashes here.

File details

Details for the file proteorift-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: proteorift-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for proteorift-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2456287dba3217a9cebdd00dc9fc429de329986275d4a804257db6798335e53b
MD5 1b7cb82703e727f18fe10bd9451f7cdb
BLAKE2b-256 46edbbf471eb3909b60af20da14e0d5135b20031fa775143fe14e554d30b6b65

See more details on using hashes here.

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