Detect transcription factor binding footprints in ATAC-seq data: short DNA stretches of reduced Tn5 cleavage within accessible regions where bound TFs physically protect DNA. Covers Tn5 sequence-bias correction (the single most important step), per-base footprint scoring, and motif-anchored bound/unbound classification. Compares TOBIAS, HINT-ATAC, Wellington, PIQ, and scprinter; documents per-TF-family failure modes (CTCF clean, nuclear receptors transient, ZBTBs unfootprintable).
conda install -c bioconda tobias rgt pydnase samtools bedtools # HINT-ATAC ships in the `rgt` package (invoked as `rgt-hint`)
pip install pyBigWig # scPrinter installs from source: git clone https://github.com/buenrostrolab/scPrinter && cd scPrinter && pip install ./
Inputs required: - Deduplicated, MAPQ-filtered, chrM-stripped BAM (>= 50M nuclear reads recommended) - Consensus peakset (BED or narrowPeak) - Reference genome FASTA (matched build to BAM) - ENCODE blacklist - Motif database: JASPAR 2024 CORE vertebrates PFM (default) or HOCOMOCO v12
wget https://jaspar.genereg.net/download/data/2024/CORE/JASPAR2024_CORE_vertebrates_non-redundant_pfms.txt
mv JASPAR2024_CORE_vertebrates_non-redundant_pfms.txt JASPAR2024.pfm
Tell your AI agent what you want to do: - "Run the TOBIAS three-step pipeline (ATACorrect, ScoreBigwig, BINDetect) on two conditions" - "Verify Tn5 bias correction worked by plotting CTCF aggregate footprint" - "Use scprinter for multi-scale footprinting that handles both CTCF and nuclear receptors" - "Filter to NFR fragments (< 100 bp) before footprinting" - "Cross-validate predicted FOXA1 footprints against published ChIP-seq peaks"
"Run TOBIAS ATACorrect on each condition's BAM, compute footprint scores per condition, then BINDetect with
--cond_names treated controlto get per-TF differential bound counts and p-values."
"Plot aggregate footprint at JASPAR CTCF MA0139.1 motif sites using TOBIAS PlotAggregate. Confirm clean V-shape -- if shallow, depth or bias correction failed."
"Run scprinter on this 80M-read library to get multi-scale footprints; compare CTCF (long footprint) and FOXA1 (short pioneer footprint) activity."
"Run scprinter on the scATAC fragments file with cell-type clusters; report per-cluster TF activity for hematopoietic lineage TFs (PU.1, GATA1, KLF1)."
"Run both TOBIAS and HINT-ATAC; report only TFs called bound by both tools at >= 50% site overlap as high-confidence."
"Filter BAM to fragments < 100 bp, then run TOBIAS three-step on the NFR BAM; compare to full-fragment BAM to see footprint sharpness gain."
--cond_names; report per-TF differential scores and p-values| Goal | Tool |
|---|---|
| Standard differential TF activity, two conditions | TOBIAS three-step |
| Single condition, find bound TFs | TOBIAS or HINT-ATAC |
| Multi-scale (CTCF + nuclear receptors simultaneously) | scprinter |
| Single-cell ATAC | scprinter |
| Plant / non-model | TOBIAS with custom motif database (CIS-BP) |
| Lower depth (< 50M) | PIQ (less depth-sensitive); or pool replicates first |
| Family | Footprint quality | Notes |
|---|---|---|
| CTCF | Excellent (gold standard) | Use for QC validation of bias correction |
| AP-1 (FOS/JUN) | Good but composite | Use HOCOMOCO for specific dimers |
| Pioneer (FOXA1, GATA, OCT4) | Asymmetric | Stranded mode in HINT-ATAC; expect one-shoulder V |
| Nuclear receptors (ER/AR/GR) | Shallow / transient | Validate with ChIP-seq; pool replicates |
| Forkhead/Homeobox short motifs | At resolution limit | scprinter multi-scale; aggregate over many sites |
| ZBTB / dynamic TFs | Often unfootprintable | Use ChIP-seq instead |
| Method | Tool | Pros | Cons |
|---|---|---|---|
| +/-12 bp k-mer window, DWM | TOBIAS ATACorrect | Default; well-validated | Genome-wide; single-process |
| Dinucleotide HMM | HINT-ATAC | Built into HINT pipeline | Less control over output |
| seqOutBias | seqOutBias | Independent of footprinting tool | Manual integration |
| Empirical from naked DNA | (research-grade) | Most accurate | Requires input library |