Rust gfautil
Command line tool for various operations on GFA and related files.
Usage
Install with cargo:
Or clone and build it:
The compiled binary will be located at target/release/gfautils.
)
GAF -> PAF
Given a GAF file, and the GFA used to create it, output a PAF file derived from the GAF records. For every path segment in each GAF record, a corresponding PAF record is produced.
Convert example.gaf, via example.gfa, with output on stdout:
Save output to out.paf:
Subgraph
Return a subgraph of the given GFA. Provide either a list of segment names, or a list of path names. If segment names are provided, the resulting subgraph will include the lines that contain at least one of those segments. If path names are provided, the segments in the given paths are used instead.