Bowtie2 is a fast, memory-efficient short-read aligner whose defining choice is end-to-end (the whole read must align) vs local (read ends may be soft-clipped) mode. It is the de-facto aligner for ChIP-seq, ATAC-seq, and CUT&RUN, and it is the engine Bismark wraps for bisulfite data. For peak assays the alignment itself matters less than the mode, the sensitivity preset, and the fragment-geometry flags (--no-mixed, --no-discordant, --dovetail, -X) that determine the fragment coordinates the peak caller consumes -- this skill emphasizes those.
conda install -c bioconda bowtie2 samtools
bowtie2-build) or a prebuilt index; pass the basename to -x.Tell your AI agent what you want to do: - "Align my ChIP-seq reads with Bowtie2 and filter multimappers" - "Build a Bowtie2 index for my reference genome" - "Align ATAC-seq reads with the right fragment and soft-clipping settings" - "Choose end-to-end vs local mode for my data and explain why" - "Report up to 5 alignments per read for a repetitive region"
"Align my paired-end ChIP-seq reads with high sensitivity, keep only concordant proper pairs, and filter to MAPQ >= 30 before peak calling."
"Align ATAC-seq reads allowing fragments up to 2 kb and soft-clipping adapter read-through, and tell me which flags handle the short dovetailed fragments."
"My reads have adapter contamination at the 3' end and a low alignment rate in end-to-end mode -- should I trim or switch to local mode?"
"Align reads and report up to 5 alignments per read for a repetitive region, and explain why MAPQ is unreliable in -k mode."
bowtie2-build if needed, and pass the basename (not a filename) to -x.--no-mixed --no-discordant for ChIP, plus --local --dovetail -X 2000 for ATAC.-q 30, not a BWA-style -q 60) and a flag mask (-F 1804) before peak calling.--rg-id/--rg) and stream to a sorted, indexed BAM.| Use case | Bowtie2 | bwa-mem2 |
|---|---|---|
| ChIP-seq / CUT&RUN | preferred (ENCODE standard) | works |
| ATAC-seq | preferred (local + dovetail) | works |
| DNA variant calling (WGS/WES) | not the community default | preferred |
| RNA-seq | no (use STAR/HISAT2) | no (use STAR/HISAT2) |
| Soft-clipping adapter-contaminated ends | yes (--local) |
yes (-L tuning) |
--local for adapter read-through or ATAC.MAPQ >= 60 filter to Bowtie2 output -- the scale caps at 42 (end-to-end) / 44 (local); use -q 30.--dovetail and -X 2000 or real short-fragment pairs get flagged discordant and dropped.-x, not a .bt2 file.2> align.log) for QC and MultiQC aggregation.