vgteam / libhandlegraph

Library for the Handle Graph abstraction
MIT License
20 stars 3 forks source link

breaking paths and using extents to maintain contiguity #56

Open ekg opened 4 years ago

ekg commented 4 years ago

An important operation is to remove nodes from the graph. For instance, we might want to remove low-coverage nodes.

This can cause us to remove nodes in the middle of paths, breaking them. We have no way to represent this, and so I think most of our implementations will just remove the entire path.

@adamnovak had the idea of an "extent", where we know how much sequence was lost, but we don't represent the sequence. This is a great idea, but we have no way to serialize it in GFA. So, let's clarify exactly the semantics we want, present it to the GFA spec group, and implement this in all of the path handle graph libraries.