Commit 8b1b5034 by Frédéric Boyer

[MOD] Replaced 'pairend.limit' with 'pairend_limit'

parent 0b044510
......@@ -125,14 +125,14 @@ def count(data):
def myLenlcs(s1, s2, minid, normalized, reference):
if s1.hasKey('pairend.limit') :
if s1.hasKey('pairend_limit') :
overlap = min(0,len(s1) - len(s2))
f5P1 = s1[0:s1['pairend.limit']]
f3P1 = s1[s1['pairend.limit']:]
f5P1 = s1[0:s1['pairend_limit']]
f3P1 = s1[s1['pairend_limit']:]
f5P2 = s2[0:s1['pairend.limit']]
f5P2 = s2[0:s1['pairend_limit']]
from2 = len(s2) - min(len(s2),len(f3P1))
f3P2 = s2[from2:]
......
......@@ -82,7 +82,7 @@ def buildJoinedSequence(sequences,options):
quality.extend([10**-4] * len(r))
seq.quality=quality
seq['pairend.limit']=len(d)
seq['pairend_limit']=len(d)
yield seq
......
......@@ -178,7 +178,7 @@ def buildJoinedSequence(ali,options):
seq['score']=ali.score
seq['direction']=ali.direction
seq['mode']='joined'
seq['pairend.limit']=len(d)
seq['pairend_limit']=len(d)
return seq
......
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