Nearest gene, correlation across samples, the activity-by-contact model, and CRISPRi screens as ground truth
Differential accessibility ended with tens of thousands of peaks that differ between cell types, most of them distal, and a nearest gene written next to each. This lecture asks how to find the gene (or genes) an element actually regulates, and how to tell whether a method works.
el[, activity := sqrt(dnase * h3k27ac)] # one row per candidate element
win <- GRanges(genes$chr, IRanges(pmax(genes$tss - 5e6, 1), genes$tss + 5e6))
hw <- findOverlaps(win, elg) # every element within 5 Mb of each gene
abc <- data.table(gene = genes$gene[queryHits(hw)], e = subjectHits(hw))
abc[, d := abs(el$mid[e] - genes$tss[queryHits(hw)])]
abc[, C := (pmax(d, 5000) + 1)^-1.024] # power-law contact, flat below 5 kb
abc[, ABC := el$activity[e] * C / sum(el$activity[e] * C), by = gene]
abc[ABC >= 0.02] # predicted enhancer–gene links| idea | key fact |
|---|---|
| the problem | enhancers act over tens of kb, sometimes Mb; the target is not written in the peak |
| nearest gene | right for about half of CRISPRi links (precision 0.41, recall 0.54 in K562) |
| correlation | needs many diverse samples and a null; cell-type programmes create false links |
| contact | Hi-C contact ∝ distance^−1 (power law); domains and boundaries modify it |
| ABC | activity (√(ATAC or DNase × H3K27ac)) × contact, as a share of all elements of the gene; link if ≥ ~0.02 |
| ground truth | CRISPRi screens (FlowFISH, single-cell); 471 of 10 356 K562 pairs positive, effects mostly 5–20% |
| evaluation | precision–recall, not ROC; compare with distance |
| this benchmark | AUPRC: activity 0.10, correlation 0.14, distance 0.44, ABC 0.48–0.52 |
Not required reading and not examined. For those who want the primary literature.