Open ekg opened 9 years ago
The other way to resolve this is to store the path as a literal list of nodes that are traversed (or mappings against nodes, in vg
terminology).
@ekg Do we still want to do this?
Aren't paths already a list of nodes that are traversed?
Yes, they are. We have mappings, and when two adjacent mappings are on either side of an edge, the edge is traversed.
I'm not really sure what problem Erik's original example is getting at. I thought this issue was about adding support for a path to be e.g. just an edge, but now I'm not so sure.
The protobuf format doesn't currently have a way to represent when edges are part of paths.
Case in point (from the test directory):
Nothing in the GFA output (or other output) can refer to the added path
query
. This is a problem with the schema itself.