How finucanelab/pops works
PoPS prioritizes genes by combining gene-level GWAS association statistics with gene features, then writes gene predictions, model coefficients, and marginal associations. Its workflow includes a separate feature-munging step that aligns raw feature files to gene annotations and saves chunked matrices. The README documents the inputs and outputs; the sampled source shows feature-matrix munging and several modeling helpers, but not enough of PoPS’s main routine to verify its internal call sequence.
Main entry points: pops.py PoPS workflow · munge_feature_directory.py Feature munging
Components 15
Feature preparation
- Raw gene features
- Gene annotation
- Feature munging
munge_feature_directory.py - Chunked feature matrix
Association inputs
- MAGMA gene scores
- Control features
PoPS modeling
- PoPS workflow
pops.py - Feature loading
pops.py - Marginal associations
pops.py - Feature selection
pops.py - Gene regression
pops.py
Prioritization results
- Gene predictions
- Feature coefficients
- Marginal results
Other components
- Analyst
Connections 16
- Analyst → Feature munging: runs preprocessing
README.md - Raw gene features → Feature munging: provides features
README.md - Gene annotation → Feature munging: aligns genes
README.md - Feature munging → Chunked feature matrix: writes chunks
README.md - Analyst → PoPS workflow: runs PoPS
README.md - Chunked feature matrix → PoPS workflow: provides features
README.md - Gene annotation → PoPS workflow: provides gene data
README.md - MAGMA gene scores → PoPS workflow: provides scores
README.md - Control features → PoPS workflow: provides controls
README.md - PoPS workflow → Feature loading: loads matrices
pops.py - Feature loading → Marginal associations: tests features
pops.py - Marginal associations → Feature selection: selects features
pops.py - Feature selection → Gene regression: fits model
pops.py - PoPS workflow → Gene predictions: writes predictions
README.md - PoPS workflow → Feature coefficients: writes coefficients
README.md - PoPS workflow → Marginal results: writes marginals
README.md