Identify differentially bound regions between ChIP-seq conditions using DiffBind, which applies normalization and statistical testing to read counts in consensus peaks.
BiocManager::install('DiffBind')Tell your AI agent what you want to do:
- "Find peaks that change between treatment and control"
- "Identify differential binding sites with FDR < 0.05"
- "Compare H3K27ac peaks between wild-type and knockout"
"Run differential binding analysis comparing treated vs untreated samples"
"Find regions with increased binding in the drug treatment condition"
"Identify peaks lost upon knockdown of my transcription factor"
"Create a DiffBind sample sheet from my BAM and peak files"
"Set up a contrast comparing tumor vs normal samples"
"Generate an MA plot of differential binding results"
"Export the significant differential peaks to a BED file"
- Create a sample sheet with BAM files, peak files, and condition labels
- Load samples and count reads in consensus peak regions
- Normalize counts and set up the experimental contrast
- Run differential binding analysis using DESeq2 or edgeR
- Generate diagnostic plots (PCA, MA plot, volcano plot)
- Export significant differential peaks with fold changes and FDR values
- Requires at least 2 replicates per condition (3+ recommended)
- Use
summits = 250to re-center peaks on summit and standardize width - Positive fold change means gained in treatment, negative means lost
- Check PCA plot to verify samples cluster by condition, not batch
- If few peaks are significant, check replicate concordance and peak quality