[][src]Function gfautil::subgraph::paths_new_subgraph

pub fn paths_new_subgraph<T: OptFields + Clone>(
    gfa: &GFA<BString, T>,
    paths: &[Vec<u8>]
) -> GFA<BString, T>

Build a new GFA consisting of subgraphs of the given GFA that only include segments that are in the provided paths. Paths are to be provided as a slice of path names