Bwa Specify Number Of Maximum Mismatches And Gaps
1
3
Entering edit mode
12.5 years ago

Hi,

With bwa, how can I specify the number of maximum mismatches and gaps in bwa ? I try to play with the -o and -e parameters but it didn't change anything. For info, I'm working on short read ~ 25 bp (single-end)

More general question : Which aligner for short read with gap and mismatch allowed

Thanks,

N.

bwa • 8.7k views
ADD COMMENT
0
Entering edit mode

there was a similar question here where I explained the -n parameter: http://biostar.stackexchange.com/questions/16267/what-does-bwas-n-parameter-mean

ADD REPLY
0
Entering edit mode
12.5 years ago
Michael 54k

http://bio-bwa.sourceforge.net/bwa.shtml

The -n parameter controls edit distance in particular.

ADD COMMENT
0
Entering edit mode

I don't understand this -n parameter

what is the result of doing -n 1 or -n 0.05 or -n 4

Thanks

ADD REPLY
0
Entering edit mode

Do you mean this:

-n NUM Maximum edit distance if the value is INT, or the fraction of missing alignments given 2% uniform base error rate if FLOAT. In the latter case, the maximum edit distance is automatically chosen for different read lengths. [0.04]

ADD REPLY
0
Entering edit mode

yes I it's a little bit confused for me

ADD REPLY

Login before adding your answer.

Traffic: 2587 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