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

pub fn paths_new_subgraph<T: OptFields + Clone>(
    gfa: &GFA<Vec<u8>, T>,
    paths: &[Vec<u8>]
) -> GFA<Vec<u8>, 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