Skip to content

About

Analysis code used in benchmarking DNA sequence models

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Sequence model benchmarking

Analysis code for Benchmarking DNA sequence models on molecular features underlying enhancer-promoter communication. The repository compares sequence model predictions with experimental perturbations and tests molecular features of enhancer-promoter regulation.

The paper workflow calculates statistics and generates Figures 1, 2 and S1-S5 from experimental observations and saved model predictions. Model inference is a separate workflow. The data deposit has reserved DOI 10.5281/zenodo.24738764 and is still a draft. It contains AG1, AG2 and comparator predictions. The small CRISPRi example is included in this repository.

Getting started

With Git and conda installed:

git clone https://github.com/EngreitzLab/sequence-model-benchmarking.git
cd sequence-model-benchmarking
conda env create -f workflow/envs/analysis.yaml
conda activate smb-analysis
snakemake -s workflow/Snakefile -c1 example

The example builds a CRISPRi comparison, calculates AUPRC with bootstrap intervals, and writes a precision-recall panel under results/example/. It uses included data and needs no model weights or GPU. The recorded example run took about 16 seconds on one CPU core, excluding installation.

The analyses have run in an existing Linux environment on Stanford Sherlock. A fresh Linux installation, unit checks and the example passed GitHub Actions. See installation for configuration and requirements, and reproduction for expected outputs and paper commands.

Analyses

Analysis Panels Comparison
CRISPRi 1a-d, S1a-h, 2b/c, S2a Enhancer-gene prediction in K562 and held-out cell types; context and molecular-feature associations
Sequence edits 1e-i, S5a-d PPIF expression effects and AG1/AG2 agreement on separately defined shared cohorts
Ablations 2d, S2b-g Contributions of sequence regions, genomic features and composition to AlphaGenome scores
MPRA 2e-i, S3a-q, S5e-l Enhancer activity, basal promoter activity and promoter responsiveness; AG2 reporter comparisons
CTCF 2j-n, S4a-c, S5m-q Expression and contact responses to cassette architecture at Car2 and human loci

Browse Figures 1, 2 and S1-S5, download the supplementary tables, or use the panel map to find each panel's calculation and renderer. The benchmark guides specify cohorts, estimators and scientific limitations.

Reproduce the paper

The reproduction guide provides archive import commands. After importing it and configuring data_dir, the supported calculations are:

snakemake -s workflow/Snakefile -c1 deposited_statistics

The deposit intentionally excludes ablation predictions, ChIP profiles and simulation artifacts. With those additional inputs, paper_statistics and paper_figures reproduce the complete figure set. These targets use saved predictions. Input formats describes the tables and example files. Scoring describes CRISPRi inference; the other benchmark guides describe their inference routes. GPU execution of the repository's inference adapters remains unvalidated.

Repository organization

Directory Contents
config/ Settings, dataset/model/track registries and benchmark definitions
workflow/ Snakemake rules, analysis and scoring scripts, environment specifications
resources/ Artifact manifest, runnable example and compact reference inputs
figures/ Renderers, captions, reference artwork and numerical comparison tables
docs/ Installation, reproduction, input formats and benchmark methods
tests/ CPU checks and numerical comparisons
results/ Generated predictions, statistics and figures; excluded from Git

Developer instructions and release maintenance are in development. Use GitHub Issues for questions about the code. Paper citation metadata and the repository license are pending; see data sources.

About

Analysis code used in benchmarking DNA sequence models

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages