edawson / gfakluge

A C++ library and utilities for manipulating the Graphical Fragment Assembly format.
http://edawson.github.io/gfakluge/
MIT License
51 stars 20 forks source link

GFA isn't GFA #8

Closed edawson closed 7 years ago

edawson commented 7 years ago

When compiling with -O3, it seems that some GFA will not parse. The file is opened and at some point a bad_alloc is thrown. This was first mentioned in a vg issue.

I've changed the makefile to compiler with -O0 but it's not optimal. A better solution would be to trace the code and see where we go wrong.

Scratch all that - twopaco just doesn't use cigars on paths, and the path_elems are collapsed to one line.

This needs to be fixed.

edawson commented 7 years ago

Fixed by https://github.com/edawson/gfakluge/commit/e53aef3860657c056326564bb6f1ea722f644368