Skip to content

apbusia/selection_dre

Repository files navigation

Model-based Enrichment for Selection Experiments

This repo includes the code for the analyses presented in the paper

A. Busia and J. Listgarten. MBE: Model-based enrichment estimation and prediction for differential sequencing data. Genome Biology, 2023.

which quantify high-throughput selection experiments using model-based enrichment (MBE)---a density ratio estimation (DRE) approach for estimating and/or predicting log-enrichment from sequencing data.

Key components include: MBE is implemented using linear, fully-connected neural network, and convolutional neural network model architectures defined in modeling.py, which are trained and evaluted using run_models.py and evaluate_models.py. See the MBE package for a more general implementation. Additional analyses of negative selection simulations are implemented in negative_selection.py and the scripts in plotting generate the visuals presented in the paper's main text and supplementary information. Simulated libraries and sequencing datasets were generated using the simulate_(...).py scripts, simlord_from_counts.py, and add_random_noise.py.

About

Code for experiments in 'MBE: Model-based enrichment estimation and prediction for differential sequencing data'

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages