pub fn segments_subgraph<T: OptFields + Clone>(
gfa: &GFA<usize, T>,
segment_names: Vec<usize>
) -> GFA<usize, T>Expand description
Returns a subgraph GFA that only contains elements with the provided segment names.
Taken from https://github.com/chfi/rs-gfa-utils/blob/master/src/subgraph.rs