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.1.4.tar.gz (18.3 MB view details)

Uploaded Source

Built Distribution

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

proteorift-1.1.4-py3-none-any.whl (64.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proteorift-1.1.4.tar.gz
  • Upload date:
  • Size: 18.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for proteorift-1.1.4.tar.gz
Algorithm Hash digest
SHA256 d27ea20a845b9d3ed76dd6247e61f84edbb0cfbb844e76dcf504ae2110d50988
MD5 2c625665208309f41a08450d38980e6c
BLAKE2b-256 e8fa4b7c7128bbb3003e73e19784ddd3cf87d9c87dc425bb60082b5b27dcb7b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for proteorift-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 72aab8b77a773b3d3ebe0796b4572bc0f4976193a4000d47a895465312a93d80
MD5 499b4b55be9b39a6450735a136848a5c
BLAKE2b-256 51dd080aa4c7b2656a8b72d38c2d33a5d9778126aa1b980c0f2c10a6c59b0e4b

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