pub struct AssemblyStats {
pub n_contigs: usize,
pub total_length: usize,
pub largest_contig: usize,
pub smallest_contig: usize,
pub gc_content: f64,
pub n50: usize,
pub l50: usize,
pub n90: usize,
pub l90: usize,
pub auN: f64,
}Expand description
Assembly quality statistics.
Fields§
§n_contigs: usizeNumber of contigs.
total_length: usizeTotal assembly length in bases.
largest_contig: usizeLength of the largest contig.
smallest_contig: usizeLength of the smallest contig.
gc_content: f64GC content as a fraction (0.0–1.0), ignoring N bases.
n50: usizeN50: the length such that contigs of this length or longer cover ≥ 50% of the assembly.
l50: usizeL50: the number of contigs needed to reach N50 cumulative length.
n90: usizeN90: the length such that contigs of this length or longer cover ≥ 90% of the assembly.
l90: usizeL90: the number of contigs needed to reach N90 cumulative length.
auN: f64Area under the Nx curve (auN = Σ length² / total_length).
Trait Implementations§
Source§impl Clone for AssemblyStats
impl Clone for AssemblyStats
Source§fn clone(&self) -> AssemblyStats
fn clone(&self) -> AssemblyStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssemblyStats
impl RefUnwindSafe for AssemblyStats
impl Send for AssemblyStats
impl Sync for AssemblyStats
impl Unpin for AssemblyStats
impl UnsafeUnpin for AssemblyStats
impl UnwindSafe for AssemblyStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more