Update README.md
Browse files9 unmodified lines10111213141516171819202122232425262728293031321 unmodified line343536373839409 unmodified linespipeline_tag: feature-extraction---# ProteoRift Model## Model DescriptionProteoRift is an end-to-end machine learning model for peptide database search in mass spectrometry proteomics. The model predicts multiple peptide properties (length, missed cleavages, and modification status) directly from spectra, enabling efficient search-space reduction.## Usage## Training DataThe model was trained on large-scale mass spectrometry datasets including:- NIST human peptide libraries- MassIVE public datasets## System Requirements1 unmodified line- **Python:** 3.8+- **PyTorch:** 1.10+## License9 unmodified lines1011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071 unmodified line1091101111121131141151161171189 unmodified linespipeline_tag: feature-extraction---# ProteoRift[Github](https://github.com/pcdslab/ProteoRift) | [Cite](#citation)## AbstractMass-based filtering significantly reduces the peptide candidate pool for subsequent scoring in database search algorithms. While useful, filtering based on one property may lead to exclusion of non-abundant spectra and uncharacterized peptides – potentially exacerbating the streetlight effect. Here we present ProteoRift, a novel attention and multitask deep-network, which can predict multiple peptide properties (length, missed cleavages, and modification status) directly from spectra 77.8% of the time. Integrating ProteoRift into an end-to-end pipeline significantly reduces the search space compared to mass-only filtering. This delivers 8x to 12x speedups while maintaining peptide deduction accuracy comparable to established algorithmic techniques. We also developed uncertainty estimation metrics, which can distinguish between in-distribution and out-of-distribution data (ROC-AUC 0.99) and predict high-scoring mass spectra against the correct peptide (ROC-AUC 0.94). These models and metrics are integrated in an end-to-end pipeline available at https://github.com/pcdslab/ProteoRift.## Usage### Installation```bashpip install proteorift```### Using Sample Data```pythonfrom proteorift import ProteoRiftSearch# Initialize and run with sample datasearcher = ProteoRiftSearch()results = searcher.search_with_sample_data()print(f"Results saved to: {results['output_dir']}")```### Using Your Own Data```pythonfrom proteorift import ProteoRiftSearch# Initialize searchsearcher = ProteoRiftSearch()# Run peptide database searchresults = searcher.search(mgf_dir="path/to/your/spectra", # Directory with MGF filespeptide_db="path/to/your/database", # Directory with FASTA filesoutput_dir="./results")```### Custom Parameters```pythonsearcher = 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```bash# Run search with sample dataproteorift search-sample --output-dir ./results# Run search with your dataproteorift search \--mgf-dir path/to/spectra \--peptide-db path/to/database \--output-dir ./results \--tolerance 10 \--charge 3# Download models onlyproteorift download-models```## OutputProteoRift generates Percolator-compatible PIN files:- `target.pin` - Target peptide-spectrum matches- `decoy.pin` - Decoy peptide-spectrum matches## Training DataThe model was trained on large-scale mass spectrometry datasets including:- NIST human peptide libraries- MassIVE public datasets- DeepNovo## System Requirements1 unmodified line- **Python:** 3.8+- **PyTorch:** 1.10+## CitationIf you use ProteoRift in your research, please cite the following paper:Tariq, U., Shabbir, B. & Saeed, F. End-to-end deep attention-based multitask pipeline for predicting uncertainty-quantified peptide properties from mass spectrometry data. Sci Rep (2026). https://doi.org/10.1038/s41598-026-43215-2## License
README.md+82-4