Hi,
I was wondering what is the difference between BWA mem, sampe and bwasw options for aligning paired-end data. I have PE data with the read length ~100 bp before trimming for whole exome analysis. I am aligning them using the following command:
bwa mem -t 4 -M L001_R1_001_trimmed.fq L001_R2_001_trimmed.fq > L001.sam
I am wondering if
- The above command is OK for paired-end data?
- BWA mem is the best option for this?
Thanks,
N
Thanks Dan D,
Actually, there is a reference in my original command; it just got deleted when I cleaned it to remove the full file paths, etc.
Another question: Is BWA sampe preferred over BWA mem for exome analysis (as opposed to WGS)? If I ran BWA aln followed by sampe, will I get roughly same output alignment as BWA mem?
Thanks!
Based on your read length and the general superiority of
bwa mem
overbwa aln
I would choosebwa mem
. If you have the spare compute capacity I would recommend running both on a few samples and comparing basic metrics fromsamtools flagstat
. It wouldn't be much additional work.