pub struct MatchDiagnosis {
pub match_type: MatchType,
pub exact_matches: Vec<ContigMatch>,
pub renamed_matches: Vec<RenamedContig>,
pub query_only: Vec<Contig>,
pub reordered: bool,
pub conflicts: Vec<ContigConflict>,
pub suggestions: Vec<Suggestion>,
}Expand description
Detailed diagnosis of differences between query and reference
Fields§
§match_type: MatchTypeType of match
exact_matches: Vec<ContigMatch>Query contigs that match reference exactly
renamed_matches: Vec<RenamedContig>Query contigs that match by MD5 but have different names
query_only: Vec<Contig>Query contigs with no match in reference
reordered: boolContigs that are in a different order
conflicts: Vec<ContigConflict>Potential source conflicts (e.g., mito from different build)
suggestions: Vec<Suggestion>Suggested fixes
Implementations§
Source§impl MatchDiagnosis
impl MatchDiagnosis
pub fn analyze(query: &QueryHeader, reference: &KnownReference) -> Self
Trait Implementations§
Source§impl Clone for MatchDiagnosis
impl Clone for MatchDiagnosis
Source§fn clone(&self) -> MatchDiagnosis
fn clone(&self) -> MatchDiagnosis
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 MatchDiagnosis
impl RefUnwindSafe for MatchDiagnosis
impl Send for MatchDiagnosis
impl Sync for MatchDiagnosis
impl Unpin for MatchDiagnosis
impl UnwindSafe for MatchDiagnosis
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