Struct sourmash::index::GatherResult
source · pub struct GatherResult { /* private fields */ }
Implementations§
source§impl GatherResult
impl GatherResult
sourcepub fn builder(
) -> GatherResultBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder( ) -> GatherResultBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building GatherResult
.
On the builder, call .intersect_bp(...)
, .f_orig_query(...)
, .f_match(...)
, .f_unique_to_query(...)
, .f_unique_weighted(...)
, .average_abund(...)
, .median_abund(...)
, .std_abund(...)
, .filename(...)
, .name(...)
, .md5(...)
, .match_(...)
, .f_match_orig(...)
, .unique_intersect_bp(...)
, .gather_result_rank(...)
, .remaining_bp(...)
, .n_unique_weighted_found(...)
, .total_weighted_hashes(...)
, .sum_weighted_found(...)
, .query_containment_ani(...)
, .query_containment_ani_ci_low(...)
, .query_containment_ani_ci_high(...)
, .match_containment_ani(...)
, .match_containment_ani_ci_low(...)
, .match_containment_ani_ci_high(...)
, .average_containment_ani(...)
, .max_containment_ani(...)
to set the values of the fields.
Finally, call .build()
to create the instance of GatherResult
.
source§impl GatherResult
impl GatherResult
pub fn intersect_bp(&self) -> usize
pub fn f_orig_query(&self) -> f64
pub fn f_match(&self) -> f64
pub fn f_unique_to_query(&self) -> f64
pub fn f_unique_weighted(&self) -> f64
pub fn average_abund(&self) -> f64
pub fn median_abund(&self) -> f64
pub fn std_abund(&self) -> f64
pub fn f_match_orig(&self) -> f64
pub fn unique_intersect_bp(&self) -> usize
pub fn gather_result_rank(&self) -> usize
pub fn remaining_bp(&self) -> usize
pub fn n_unique_weighted_found(&self) -> usize
pub fn total_weighted_hashes(&self) -> usize
pub fn sum_weighted_found(&self) -> usize
pub fn query_containment_ani(&self) -> f64
pub fn query_containment_ani_ci_low(&self) -> Option<f64>
pub fn query_containment_ani_ci_high(&self) -> Option<f64>
pub fn match_containment_ani(&self) -> f64
pub fn match_containment_ani_ci_low(&self) -> Option<f64>
pub fn match_containment_ani_ci_high(&self) -> Option<f64>
pub fn average_containment_ani(&self) -> f64
pub fn max_containment_ani(&self) -> f64
source§impl GatherResult
impl GatherResult
Trait Implementations§
source§impl Debug for GatherResult
impl Debug for GatherResult
source§impl<'de> Deserialize<'de> for GatherResult
impl<'de> Deserialize<'de> for GatherResult
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>,
source§impl PartialEq for GatherResult
impl PartialEq for GatherResult
source§fn eq(&self, other: &GatherResult) -> bool
fn eq(&self, other: &GatherResult) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GatherResult
impl Serialize for GatherResult
impl StructuralPartialEq for GatherResult
Auto Trait Implementations§
impl !Freeze for GatherResult
impl RefUnwindSafe for GatherResult
impl Send for GatherResult
impl Sync for GatherResult
impl Unpin for GatherResult
impl UnwindSafe for GatherResult
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.