EntrapmentAnalyses.jl
EntrapmentAnalyses.jl is a Julia package for entrapment-based false discovery rate (FDR) analysis in proteomics data. It implements both combined and paired empirical FDR (EFDR) methods for precursor-level and protein-level analyses.
Features
- Data Loading: Support for Parquet and TSV file formats
- EFDR Calculation: Both combined and paired empirical FDR methods
- Protein Analysis: Protein-level rollup and per-run analysis
- Visualization: Automated generation of EFDR plots and reports
- Performance: Optimized for large-scale proteomics datasets
Installation
Navigate to the EntrapmentAnalyses directory. Use ]
to enter Pkg mode.
(@v1.11) pkg> activate .
Activating project at `~/Projects/EntrapmentAnalysesJmod/EntrapmentAnalyses`
julia> using Revise, EntrapmentAnalyses
Precompiling EntrapmentAnalyses...
1 dependency successfully precompiled in 6 seconds. 273 already precompiled.
Quick Start
using EntrapmentAnalyses
# Run precursor-level EFDR analysis
results = run_efdr_analysis(
["data/psm_results.parquet"],
"data/spectral_library.tsv";
output_dir="output"
)
# Run protein-level EFDR analysis
protein_results = run_protein_efdr_analysis(
["data/psm_results.parquet"],
"data/spectral_library.tsv";
output_dir="output"
)
Documentation Contents
Package Overview
EntrapmentAnalyses.jl provides a comprehensive toolkit for analyzing entrapment-based FDR in proteomics experiments. The package is designed to handle the complete workflow from data loading through analysis to visualization.
Key Components
- Data Loading: Robust handling of various input formats with automatic missing value management
- Pairing System: Sophisticated peptide pairing that respects both file and plex boundaries
- EFDR Methods: Implementation of both combined and paired EFDR calculations
- Protein Analysis: Tools for protein-level rollup and per-run analysis
- Visualization: Automated plot generation with customizable parameters
Workflow
- Load PSM results and spectral library data
- Compute peptide pairings with plex-aware complement scoring
- Calculate per-file q-values
- Perform EFDR analysis (combined and/or paired)
- Generate visualizations and reports
- Optional: Perform protein-level analysis
Getting Help
- Check the User Guide for detailed usage instructions
- Follow the Tutorial for a step-by-step walkthrough
- Consult the API Reference for function documentation
- Report issues on GitHub