Commit 942a9e5f authored by MARIJON Pierre's avatar MARIJON Pierre

Didn't write overlap of containment read when remove containment switch are activate

parent 88a24aec
......@@ -168,7 +168,10 @@ class Parser:
yield "S\t{}\t*\tLN:i:{}".format(seq, length)
for link in self.__links.values():
for (read_a, _, read_b, _), link in self.__links.items():
if not self.containment and (read_a in self.__containments or read_b in self.__containments):
yield "L\t" + "\t".join(link)
for conted, list_conter in self.__containments.items():
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