Burrows-Wheeler Alignment tool. Short, low-divergent DNA sequences mapper against a large reference genome, such as the human genome. More information: https://github.com/lh3/bwa.
bwa index path/to/reference.fa
bwa mem -t 32 path/to/reference.fa path/to/read_single_end.fq.gz | gzip > path/to/alignment_single_end.sam.gz
bwa mem -t 32 path/to/reference.fa path/to/read_pair_end_1.fq.gz path/to/read_pair_end_2.fq.gz | gzip > path/to/alignment_pair_end.sam.gz
bwa mem -M -t 32 path/to/reference.fa path/to/read_pair_end_1.fq.gz path/to/read_pair_end_2.fq.gz | gzip > path/to/alignment_pair_end.sam.gz
bwa mem -C -t 32 path/to/reference.fa path/to/read_pair_end_1.fq.gz path/to/read_pair_end_2.fq.gz | gzip > path/to/alignment_pair_end.sam.gz