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 matchesdecoy.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
Release history Release notifications | RSS feed
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.0.0.tar.gz
(18.3 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proteorift-1.0.0.tar.gz.
File metadata
- Download URL: proteorift-1.0.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
362d4dcfd505c8fa5b8785a032f601b6d047b92db57a3ee82d420210d43e6bea
|
|
| MD5 |
6ac5f125520206dd91012b4f194d0c34
|
|
| BLAKE2b-256 |
90c9e0c59d29de69ee2625fe18ef4c1af6de9f89f1f3a9d5c2867a9be0d78733
|
File details
Details for the file proteorift-1.0.0-py3-none-any.whl.
File metadata
- Download URL: proteorift-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ed292535bad197f5722a4b8e0879ec15b3312d4c4ac0629cc6bb8a9ca42858c
|
|
| MD5 |
4af4126b401fff15c51104f70a0793c2
|
|
| BLAKE2b-256 |
7ecf47521cdf57365b85d82a300b9db326fa8f852c92f5ca4b53e4be766ce8c4
|