Skip to content

Commit 46fd9ed

Browse files
committed
Reove Gap Extension penality parameter in bwa
1 parent 2a67b9b commit 46fd9ed

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Choruslib/bwa.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def bwaalign(bwabin, reffile, inputfile, outfile, threadnumber=1):
172172
inputfile = subprocesspath.subprocesspath(inputfile)
173173
outfile = subprocesspath.subprocesspath(outfile)
174174

175-
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -E',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile, '>', outfile])
175+
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile, '>', outfile])
176176

177177
print(bwacmd)
178178

@@ -278,7 +278,7 @@ def bwaloci(bwabin, reffile, inputfile, threadnumber=1):
278278
inputfile = subprocesspath.subprocesspath(inputfile)
279279

280280

281-
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -E',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile])
281+
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile])
282282

283283
print(bwacmd)
284284

@@ -315,7 +315,7 @@ def bwafilter(bwabin, reffile, inputfile, minas, maxxs ,threadnumber=1 ):
315315

316316
inputfile = subprocesspath.subprocesspath(inputfile)
317317

318-
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -E',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile])
318+
bwacmd = ' '.join([bwabin, 'mem', '-O',' 0',' -B',' 0',' -k',' 5', '-t',str(threadnumber), reffile, inputfile])
319319

320320
print(bwacmd)
321321

@@ -441,4 +441,4 @@ def bwareflength(bwabin, reffile):
441441
# res = bwaloci(bwapath, '../Test/Testsampe/DM_404.fa', '../Test/Testsampe/DM_test.faprobes.fa',threadnumber=4)
442442
#
443443
# for i in res:
444-
# print(i)
444+
# print(i)

0 commit comments

Comments
 (0)