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: usizeArbitrary index of the subgraph(s).
gc: f32The average GC% across a subgraph.
node_count: usizeThe node count of the graph.
edge_count: usizeThe edge count of the graph.
graph_indices_subgraph: GFAGraphLookupsThe segments of the (sub)graph.
cov: f32The average coverage across a subgraph.
segments: Vec<usize>Names of the segments.
total_sequence_length: usizeTotal sequence length of all the segments.
is_circular: boolWhether the subgraph is circular (only applies to mitochondrial genomes).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more