Commit 7f75857d by MARIJON Pierre

search of extremity not be confused by begin end inversion

parent 120d9058
......@@ -132,7 +132,9 @@ def read_contig_layout(filename):
actual_tig = 0
for row in iterator:
if row[3] > row[4]:
row[3], row[4] = row[4], row[3]
# index all info
for k, v in zip(key, row[1:]):
read2info[row[0]][k] = v
......
......@@ -56,7 +56,10 @@ def read_contig_layout(filename):
actual_tig = 0
for row in iterator:
if row[3] > row[4]:
row[3], row[4] = row[4], row[3]
# index all info
for k, v in zip(key, row[1:]):
read2info[row[0]][k] = v
......
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