vgteam / libhandlegraph

Library for the Handle Graph abstraction
MIT License
21 stars 5 forks source link

Path metadata API #80

Closed adamnovak closed 2 years ago

adamnovak commented 2 years ago

This will fix #75 by adding a metadata API to let you get e.g. the sample and haplotype of a path, and some methods that are specified to let you obtain path handles for haplotypes.

I had to complicate the search methods a bit from what I proposed in #75, because almost immediately upon trying to use this I started needing to e.g. look up all the haplotypes for a sample, which wasn't supported in the original formulation.