[][src]Module gfa::gfa

Structs

Containment
GFA

This module defines the various GFA line types, the GFA object, and some utility functions and types. Simple representation of a parsed GFA file, using a Vec to store each separate GFA line type.

Header

The header line of a GFA graph

Link
Path

The step list that the path actually consists of is an unparsed BString to keep memory down; use path.iter() to get an iterator over the parsed path segments and orientations.

Segment

A segment in a GFA graph. Generic over the name type, but currently the parser is only defined for N = BString

Enums

Line

Enum containing the different kinds of GFA lines.

Orientation

Represents segment orientation/strand

Functions

gfa_into_iter

Consume a GFA object to produce an iterator over all the lines contained within. The iterator first produces all segments, then links, then containments, and finally paths.