ggonnella / gfapy

Gfapy: a flexible and extensible software library for handling sequence graphs in Python
Other
65 stars 7 forks source link

conversion between GFA and GFA2 leaves out path tags #19

Closed egoltsman closed 3 years ago

egoltsman commented 3 years ago

Hi, When using the to_gfa2 and to_gfa1 methods (same for to_gfa*_s), any tags in the path lines, whether ordered or unordered, are ignored and not transferred to the new object. Since tags are generally legal to all lines in both GFA and GFA2 (please correct me if I'm wrong here), this should probably be fixes.

Thanks

ggonnella commented 3 years ago

Thank you. The new commit should fix this.