BWA-MEM2_MEM(1)
π BWA-MEM2_MEM(1) β bestie edition π
okay so this is the manual for bwa-mem2_mem, living in the BWA-MEM2_MEM(1) zone of your friendly neighbourhood User Commands section. sequence alignment that eats and leaves no crumbs. periodt. π§¬β¨
πΈ NAME πΈ
bwa-mem2_mem β Sequence alignment using Burrows-Wheeler Transform
like. it aligns sequences. using a Burrows-Wheeler Transform. that's the whole vibe. π
β¨ SYNOPSIS β¨
bwa-mem2 mem [options] <idxbase> <in1.fq> [in2.fq]
that's it that's the incantation. options first, then your idxbase, then in1.fq, and if you're doing paired-end you also hand it in2.fq. slay. π
π¦ DESCRIPTION π¦
okay so when you run this, it goes looking to launch executable and starts yapping at you like this β and yes, bestie, this is literally what the man page says, i'm not making it up:
Looking to launch executable
"/build/bwa-mem2-VE1xDF/bwa-mem2-2.3+ds/./bwa-mem2.avx2", simd = .avx2
Launching executable
"/build/bwa-mem2-VE1xDF/bwa-mem2-2.3+ds/./bwa-mem2.avx2"
----------------------------- Executing in AVX2 mode!!
----------------------------- * SA compression enabled with xfactor: 8
the double AVX2 announcement? iconic. it's giving main character energy fr fr. π
π₯ OPTIONS π₯
Algorithm options:
-o STRβ Output SAM file name-t INTβ number of threads [1]-k INTβ minimum seed length [19]-w INTβ band width for banded alignment [100]-d INTβ off-diagonal X-dropoff [100]-r FLOATβ look for internal seeds inside a seed longer than{-k} * FLOAT[1.5]-y INTβ seed occurrence for the 3rd round seeding [20]-c INTβ skip seeds with more than INT occurrences [500]-D FLOATβ drop chains shorter than FLOAT fraction of the longest overlapping chain [0.50]-W INTβ discard a chain if seeded bases shorter than INT [0]-m INTβ perform at most INT rounds of mate rescues for each read [50]-Sβ skip mate rescue-oβ output file name missing-Pβ skip pairing; mate rescue performed unless-Salso in use
Scoring options:
-A INTβ score for a sequence match, which scales options-TdBOELUunless overridden [1]-B INTβ penalty for a mismatch [4]-O INT[,INT]β gap open penalties for deletions and insertions [6,6]-E INT[,INT]β gap extension penalty; a gap of size k cost{-O} + {-E}*k[1,1]-L INT[,INT]β penalty for 5'- and 3'-end clipping [5,5]-U INTβ penalty for an unpaired read pair [17]
Input/output options:
-pβ smart pairing (ignoring in2.fq)-R STRβ read group header line such as'@RG\tID:foo\tSM:bar'[null]-H STR/FILEβ insert STR to header if it starts with @; or insert lines in FILE [null]-jβ treat ALT contigs as part of the primary assembly (i.e. ignore<idxbase>.altfile)-5β for split alignment, take the alignment with the smallest coordinate as primary-qβ don't modify mapQ of supplementary alignments-K INTβ process INT input bases in each batch regardless of nThreads (for reproducibility) []-v INTβ verbose level: 1=error, 2=warning, 3=message, 4+=debugging [3]-T INTβ minimum score to output [30]-h INT[,INT]β if there are <INT hits with score >80% of the max score, output all in XA [5,200]-aβ output all alignments for SE or unpaired PE-Cβ append FASTA/FASTQ comment to SAM output-Vβ output the reference FASTA header in the XR tag-Yβ use soft clipping for supplementary alignments-Mβ mark shorter split hits as secondary-I FLOAT[,FLOAT[,INT[,INT]]]β specify the mean, standard deviation (10% of the mean if absent), max (4 sigma from the mean if absent) and min of the insert size distribution. FR orientation only. [inferred]
Note: Please read the man page for detailed description of the command line and options.
like, yes bestie, i know, the man page is telling you to read the man page. we love a self-aware moment. ππ«Ά
and that's the whole thing!! no cap, every flag accounted for, nothing skipped, all facts intact. go forth and align. ππβ
this was bwa-mem2 mem version 2.3+ds, dated February 2026 β ty for coming to my ted talk, ily, byeee πβ¨π
π¦ where this page comes from
- ubuntu stonking: bwa-mem2 2.3+ds-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms