deepTools Quick Reference
Targets deepTools 4.0.0. Commands are templates requiring matching assemblies and indexed inputs. Duplicate filtering below requires upstream duplicate marking.
deepTools Quick Reference
Targets deepTools 4.0.0. Commands are templates requiring matching assemblies and indexed inputs. Duplicate filtering below requires upstream duplicate marking.
Most Common Commands
BAM to bigWig (normalized)
bamCoverage --bam input.bam --outFileName output.bw \
--normalizeUsing RPGC --effectiveGenomeSize 2913022398 \
--binSize 10 --numberOfProcessors 8Compare two BAM files
bamCompare -b1 treatment.bam -b2 control.bam -o ratio.bw \
--operation log2 --scaleFactorsMethod readCountCorrelation heatmap
multiBamSummary bins --bamfiles *.bam -o counts.npz
plotCorrelation -in counts.npz --corMethod pearson \
--whatToPlot heatmap -o correlation.pngHeatmap around TSS
computeMatrix reference-point -S signal.bw -R genes.bed \
-b 3000 -a 3000 --referencePoint TSS -o matrix.gz
plotHeatmap -m matrix.gz -o heatmap.pngChIP enrichment check
plotFingerprint -b input.bam chip.bam -o fingerprint.png \
--extendReads 200 --samFlagExclude 1024Effective Genome Sizes
These are illustrative values from the 4.0.0 tagged source. Rolling upstream tables differ; derive the value for the actual reference and filtering policy (see references/effective_genome_sizes.md).
| Organism | Assembly | Size |
|---|---|---|
| Human | hg38 | 2913022398 |
| Human | T2T/CHM13CAT_v2 | 3117292070 |
| Mouse | mm39 | 2654621783 |
| Mouse | mm10 | 2652783500 |
| Fly | dm6 | 142573017 |
Common Normalization Methods
- RPGC: 1× genome coverage (requires --effectiveGenomeSize)
- CPM: Counts per million (for fixed bins)
- RPKM: Reads per kb per million (per output bin, not genes)
Notes
--filterRNAstrandassumes common dUTP-style reverse-stranded RNA-seq libraries.--ATACshiftuses only properly paired fragments and is equivalent to--shift 4 -5 5 -4.
Typical Workflow
- QC: plotFingerprint, plotCorrelation
- Coverage: bamCoverage with normalization
- Comparison: bamCompare for treatment vs control
- Visualization: computeMatrix → plotHeatmap/plotProfile
Author: K-Dense-AI, Scientific agent skills. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.