pub struct Stat {
    pub index: usize,
    pub gc: f32,
    pub node_count: usize,
    pub edge_count: usize,
    pub graph_indices_subgraph: GFAGraphLookups,
    pub cov: f32,
    pub segments: Vec<usize>,
    pub total_sequence_length: usize,
    pub is_circular: bool,
}
Expand description

The statistics associated with a subgraph in a GFA.

Fields

index: usize

Arbitrary index of the subgraph(s).

gc: f32

The average GC% across a subgraph.

node_count: usize

The node count of the graph.

edge_count: usize

The edge count of the graph.

graph_indices_subgraph: GFAGraphLookups

The segments of the (sub)graph.

cov: f32

The average coverage across a subgraph.

segments: Vec<usize>

Names of the segments.

total_sequence_length: usize

Total sequence length of all the segments.

is_circular: bool

Whether the subgraph is circular (only applies to mitochondrial genomes).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.