pub struct Results {Show 16 fields
pub schema_version: String,
pub query_name: String,
pub sequence_count: u64,
pub support_threshold: u64,
pub kmer_length: u64,
pub low_support_count: u64,
pub average_entropy: Option<f64>,
pub lowest_entropy: Option<Extremum>,
pub highest_entropy: Option<Extremum>,
pub position_count: u64,
pub eligible_position_count: u64,
pub support_label_counts: SupportLabelCounts,
pub all_positions_summary: AllPositionsSummary,
pub coverage_summary: CoverageSummary,
pub run: RunInfo,
pub results: Vec<PositionResult>,
}Expand description
The complete results of an analysis.
Fields§
§schema_version: StringSchema version (SCHEMA_VERSION).
query_name: StringQuery (protein or gene) name.
sequence_count: u64Number of sequences.
support_threshold: u64Support threshold T.
kmer_length: u64k-mer length.
low_support_count: u64Positions with support ≤ T (NS + LS + ELS), as in DiMA.
average_entropy: Option<f64>Mean entropy over eligible positions (support > T); null when there are none.
lowest_entropy: Option<Extremum>Lowest entropy over eligible positions.
highest_entropy: Option<Extremum>Highest entropy over eligible positions.
position_count: u64Number of k-mer positions (alignment length − k + 1).
eligible_position_count: u64Positions with support > T.
support_label_counts: SupportLabelCountsPositions per support class.
all_positions_summary: AllPositionsSummarySummary over all positions with DiMA v5.0.9’s rule.
coverage_summary: CoverageSummarySample-coverage summary.
run: RunInfoProvenance.
results: Vec<PositionResult>Per-position results, in position order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Results
impl<'de> Deserialize<'de> for Results
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Results
Auto Trait Implementations§
impl Freeze for Results
impl RefUnwindSafe for Results
impl Send for Results
impl Sync for Results
impl Unpin for Results
impl UnsafeUnpin for Results
impl UnwindSafe for Results
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more