bioinformatics software · BEGINNER LESSON
BWA
BWA is a software package used to align DNA sequencing reads to a large reference genome. It measures where a read best fits on the reference, while allowing some mismatches and gaps.
What BWA is and what it measures
BWA, short for Burrows–Wheeler Aligner, is a read alignment package. In this setting, a sequencing read is a short DNA sequence produced by a sequencing machine, and a reference genome is the known DNA sequence used for comparison. BWA tries to place each read at the most likely position on the reference and reports the alignment, including a mapping quality score that estimates how likely the placement is to be wrong. It can output alignments in SAM, the Sequence Alignment/Map format. [1,2]
[2] Evaluation of microRNA alignment techniques - PMC - NIH [3] G:\fpp\tex\journals\oup\BioInfo\Bioinfo-25(14)issue\btp324.dvi
How it works
BWA uses backward search with the Burrows–Wheeler transform, often called BWT. The reference genome is first turned into an FM index, which is a data structure that helps the software search the genome efficiently. This design lets BWA find candidate matches without checking every possible position one by one. It also supports mismatches and gaps, so it can align reads that are not perfect copies of the reference. [0,2]
[1] 87 [3] G:\fpp\tex\journals\oup\BioInfo\Bioinfo-25(14)issue\btp324.dvi
Main versions and typical use
The package includes three algorithms: BWA-backtrack, BWA-SW, and BWA-MEM. BWA-backtrack was designed for short reads up to about 100 base pairs, while BWA-SW and BWA-MEM are used with longer reads, from about 70 base pairs up to about 1 megabase pair. BWA is commonly used in small RNA sequencing analysis and in short-read alignment more generally. Compared with Bowtie, it is described as somewhat slower but slightly more accurate in alignment. [0,1,2]
[1] 87 [2] Evaluation of microRNA alignment techniques - PMC - NIH [3] G:\fpp\tex\journals\oup\BioInfo\Bioinfo-25(14)issue\btp324.dvi
Mechanistic details
BWA was built to align reads efficiently against large genomes such as the human genome. For paired-end reads, meaning two reads from opposite ends of the same DNA fragment, BWA finds candidate positions for both ends and then pairs them by genomic coordinates. Its speed can depend on how different the read is from the reference: more differences often take longer to process. The software also assigns a mapping quality score as a Phred-scaled probability that the alignment is incorrect. [2]
[3] G:\fpp\tex\journals\oup\BioInfo\Bioinfo-25(14)issue\btp324.dvi
Limitations
BWA is not equally strong in every case. Its performance can drop on long reads, especially when the sequencing error rate is high. In small RNA data, very short reads can be hard to map accurately in large, repetitive genomes, and default settings may miss some short perfectly matching reads or give only moderate sensitivity in some tests. These limits mean the output should be interpreted as a computational estimate, not a guarantee of the true biological origin of every read. [0,1,2]
[1] 87 [2] Evaluation of microRNA alignment techniques - PMC - NIH [3] G:\fpp\tex\journals\oup\BioInfo\Bioinfo-25(14)issue\btp324.dvi
SEE THE IDEA
How BWA maps a read
A DNA sequence from a sequencer is given to BWA.
The reference genome is indexed so it can be searched quickly.
BWA looks for likely matching places, allowing some mismatches or gaps.
BWA reports the best placement, mapping quality, and SAM format output.
The read is searched against an indexed reference, then the best-supported alignment is reported.
BWA speeds up genome mapping by using an indexed search strategy instead of checking every position directly.
TRY IT YOURSELF
Test your understanding
Choose an answer, then check the explanation.
PUT IT TOGETHER
Match each concept to its meaning
Drag a label onto its description, or select a label and then select a description. This also works with a keyboard.
4 pairs to match
Sources and further reading
This general lesson was generated from public source material. It explains a concept; it does not interpret a private paper or provide medical advice.