Should I use the same reference indexing command of bwa for WGS and WES analysis?
1
0
Entering edit mode
5.7 years ago
maria2019 ▴ 250

I want to do WGS and WES alignment with BWA mem. Should I use the same reference indexing command for both WES and WGS?

I know that reference indexing for WGS would be: "bwa index -a bwtsw ref.fa"

  • Should I use the command for the WES or I should remove the - a bwtsw and go with "bwa index ref.fa"?
  • Where should I use - a bwtsw option exactly? I know that it is a must for WGS.
bwa mem indexing WGS WES • 1.4k views
ADD COMMENT
0
Entering edit mode
5.7 years ago

Hello,

-a bwtsw describes the algorithm used for constructing the Burrow-Wheeler-Tree of the reference genome. bwa uses different ones for "short" and "long" genomes (Where ever the border is ...). So this is independent of the analysis you are planning.

If you just omit the -a parameter bwa will should the best algorithm automatically.

fin swimmer

ADD COMMENT

Login before adding your answer.

Traffic: 1669 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6