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

Renumber segments [feature request] #44

Open sjackman opened 5 years ago

sjackman commented 5 years ago

I'd like to renumber the segments starting with 01 for the largest segment and proceeding to 99 for the smallest segment, zero-padding on the left with as many 0 as necessary for this particular graph.

sjackman commented 5 years ago

I implemented this feature using gfapy. You can close this issue, unless you'd also like to implement it in gfak. See https://github.com/ggonnella/gfapy/pull/8