Sequence-based neural networks for ATAC-seq: chromBPNet (bias-corrected per-base accessibility), BPNet (foundational profile model), scBasset (per-cell sequence model), Enformer (long-context Transformer), and Borzoi (multi-tissue chromatin + RNA). Covers in silico variant effect prediction at GWAS / rare-variant SNPs, motif discovery via DeepLIFT + TF-MoDISco, deep bias correction beyond TOBIAS k-mer model, and per-cell-type accessibility prediction for unobserved states.
# Core deep learning frameworks
pip install tensorflow==2.13 torch torchvision torchaudio
# Tools
pip install chrombpnet bpnet-lite tangermeme modisco-lite captum kipoi
GPU with >= 16 GB VRAM recommended for training (A100/V100); CPU acceptable for inference with pre-trained models. Training data: deduplicated BAM, peaks/non-peaks BED, reference FASTA, chrom sizes.
Tell your AI agent what you want to do: - "Score 100 GWAS SNPs for chromatin effect using a pre-trained chromBPNet K562 model" - "Run chromBPNet pipeline (bias + accessibility) on a new ATAC dataset" - "Compute DeepLIFT contributions and run TF-MoDISco-lite to discover de novo motifs" - "Use chromBPNet bias-corrected bigWig as input to TOBIAS instead of ATACorrect" - "Run Enformer pre-trained on a 196 kb window to predict variant effects in distal regulation" - "Train scBasset on my scATAC for per-cell accessibility prediction"
"I have 50 GWAS lead SNPs in autoimmune loci. Use chromBPNet pre-trained models for the closest cell types (CD4 T, B cells), score ref vs alt with tangermeme marginal prediction, and report log2FC magnitudes. SNPs with abs(log2FC) > 1 are strong-effect candidates."
"Train a per-cell-type chromBPNet on my 80M-read primary T cell ATAC. Generate splits, train bias model from non-peaks, train accessibility model with bias correction, then use the corrected bigWig for downstream footprinting."
"Compute DeepLIFT contributions for all peaks in my chromBPNet model output, run TF-MoDISco-lite with sliding_window_size=20 and target_seqlet_fdr=0.05, then check motif clusters against JASPAR for known TFs."
"Use chromBPNet's bias-corrected bigWig output as input to
TOBIAS ScoreBigwig(formerlyFootprintScores), skippingTOBIAS ATACorrect. Compare aggregate CTCF footprint between chromBPNet-corrected and TOBIAS-corrected to verify both produce clean V-shapes."
"For a SNP in a non-coding distal element, use Enformer pre-trained model: predict for ref and alt 196 kb windows centered on the SNP, report differential predictions across HepG2/K562/GM12878 tracks for cell-type-specific effects."
"Train scBasset on my 50k-cell scATAC-seq dataset; use the per-cell projection layer to identify cells with anomalous accessibility patterns and compare cluster discrimination to chromVAR."
| Goal | Tool |
|---|---|
| Score GWAS SNPs in known cell types | Pre-trained chromBPNet + tangermeme |
| Score GWAS SNPs in novel cell types | Train chromBPNet first |
| Long-range distal regulation variants | Enformer or Borzoi (196 kb context) |
| Motif discovery from new ATAC data | chromBPNet + DeepLIFT + TF-MoDISco-lite |
| Bias correction for footprinting | chromBPNet bias-corrected bigWig as TOBIAS input |
| Per-cell accessibility prediction | scBasset |
| Cross-cell-type accessibility | Enformer pre-trained |
| Task | Hardware | Wall time |
|---|---|---|
| chromBPNet training (1 cell type) | A100, 80 GB | ~24 h |
| chromBPNet inference 1M variants | A100 | ~4 h |
| Enformer pre-trained inference | V100+ | ~30 min / 100k variants |
| Borzoi training | A100, 250 GB | ~7 days |
| scBasset training (10k cells) | V100, 32 GB | ~12 h |
| TF-MoDISco on 1M peaks | CPU 32 cores | ~6 h |