Commit 8974149e authored by MARIJON Pierre's avatar MARIJON Pierre

Add another filter to didn't create Link with gohst fragment

parent 17ab62e1
......@@ -145,9 +145,14 @@ class Parser:
for line in str(self.__graph).split("\n"):
yield line
else:
for line in str(self.__graph).split("\n"):
if not line.startswith("C"):
yield line
yield str(self.__graph.header)
for line in self.__graph.segments:
yield str(line)
for line in self.__graph.dovetails:
if line.to_segment in self.__graph.segments \
and line.from_segment in self.__graph.segments:
yield str(line)
def get_gfa(self):
self.clean_data()
......
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