Commit bafdf166 by Eric Coissac

Patch a bug concerning the length selection during indexing.

Switch to version 1.0.alpha11
parent 9848864d
1.0.00-alpha9
\ No newline at end of file
1.0.00-alpha11
\ No newline at end of file
......@@ -403,15 +403,16 @@ def PELengthCut(PEiterator, int length):
logOrPrint("Selecting the best subsequence of length %d." % length )
for forward,reverse in PEiterator:
fb = bestWindow(forward[2],length)
rb = bestWindow(reverse[2],length)
yield ((forward[0],
forward[1][fb:(fb+length)],
forward[2][fb:(fb+length)]),
(reverse[0],
reverse[1][rb:(rb+length)],
reverse[2][rb:(rb+length)]))
if len(forward[1]) >= length and len(reverse[1]) >= length :
fb = bestWindow(forward[2],length)
rb = bestWindow(reverse[2],length)
yield ((forward[0],
forward[1][fb:(fb+length)],
forward[2][fb:(fb+length)]),
(reverse[0],
reverse[1][rb:(rb+length)],
reverse[2][rb:(rb+length)]))
......
major = 1
minor = '0'
serial= '00-alpha9'
serial= '00-alpha11'
version = "%d.%s.%s" % (major,minor,serial)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment