Skip to main content

CallError

Enum CallError 

Source
pub enum CallError {
Show 65 variants InvalidAllele(String), InvalidPloidy, PloidyInput { path: String, message: String, }, PloidyRecord { path: String, line: u64, message: String, }, UnknownPloidySex(String), PloidySampleCountMismatch, InvalidLikelihoodDimensions, InvalidDependencyCorrelation, InvalidSnpQualityRange, InvalidSampleCount, InvalidSampleIndex { index: usize, count: usize, }, InvalidSampleName(String), DuplicateSampleSelection(String), MissingSelectedSample(String), CallSampleInput { path: String, message: String, }, CallSampleRecord { path: String, line: u64, message: String, }, LateLikelihoodReaderConfiguration, DuplicateAlignmentSource(u32), UnknownAlignmentSource(u32), MissingAlignmentInputs, AlignmentInput { path: String, message: String, }, ReferenceDictionaryMismatch(String), InvalidRegion { region: String, message: String, }, MissingRegions, RegionInput { path: String, message: String, }, RegionRecord { path: String, line: u64, message: String, }, TargetInput { path: String, message: String, }, TargetRecord { path: String, line: u64, message: String, }, ReferenceInput { path: String, message: String, }, MissingLikelihoodReference(&'static str), InvalidBaqConfiguration(&'static str), Pileup(PileupError), InvalidReadGroup(String), InvalidReadGroupField, InvalidPileupCoordinate, SnpEvidenceOverflow, InvalidIndelConfig, InvalidIndelConfiguration(&'static str), InvalidIndelSummary, InvalidLikelihoodAnnotations, IndelEvidenceOverflow, InvalidIndelReference, IndelRealignment, InvalidMutationRate, InvalidConsensusThreshold, UnsupportedConsensusLikelihoods, UnsupportedLikelihoodPloidy, CallerPloidyCountMismatch, CallerGroupCountMismatch, InvalidCallerGroups, UnsupportedCallerGroups, InvalidPriorChromosomeCount, InvalidPriorAlleleCounts, InvalidGvcfThresholds, InvalidGvcfOrder, GvcfSampleCountMismatch, InvalidGvcfLikelihoods, UnsupportedGvcfModel, MissingGvcfDepth, CalledAlleleCountOverflow, InvalidLikelihoodVariant(String), LikelihoodVariantInput(String), LikelihoodVariantRecord { record: u64, message: String, }, LikelihoodCallRecord { record: u64, source: Box<CallError>, }, VariantOutput(String),
}

Variants§

§

InvalidAllele(String)

§

InvalidPloidy

§

PloidyInput

Fields

§path: String
§message: String
§

PloidyRecord

Fields

§path: String
§line: u64
§message: String
§

UnknownPloidySex(String)

§

PloidySampleCountMismatch

§

InvalidLikelihoodDimensions

§

InvalidDependencyCorrelation

§

InvalidSnpQualityRange

§

InvalidSampleCount

§

InvalidSampleIndex

Fields

§index: usize
§count: usize
§

InvalidSampleName(String)

§

DuplicateSampleSelection(String)

§

MissingSelectedSample(String)

§

CallSampleInput

Fields

§path: String
§message: String
§

CallSampleRecord

Fields

§path: String
§line: u64
§message: String
§

LateLikelihoodReaderConfiguration

§

DuplicateAlignmentSource(u32)

§

UnknownAlignmentSource(u32)

§

MissingAlignmentInputs

§

AlignmentInput

Fields

§path: String
§message: String
§

ReferenceDictionaryMismatch(String)

§

InvalidRegion

Fields

§region: String
§message: String
§

MissingRegions

§

RegionInput

Fields

§path: String
§message: String
§

RegionRecord

Fields

§path: String
§line: u64
§message: String
§

TargetInput

Fields

§path: String
§message: String
§

TargetRecord

Fields

§path: String
§line: u64
§message: String
§

ReferenceInput

Fields

§path: String
§message: String
§

MissingLikelihoodReference(&'static str)

§

InvalidBaqConfiguration(&'static str)

§

Pileup(PileupError)

§

InvalidReadGroup(String)

§

InvalidReadGroupField

§

InvalidPileupCoordinate

§

SnpEvidenceOverflow

§

InvalidIndelConfig

§

InvalidIndelConfiguration(&'static str)

§

InvalidIndelSummary

§

InvalidLikelihoodAnnotations

§

IndelEvidenceOverflow

§

InvalidIndelReference

§

IndelRealignment

§

InvalidMutationRate

§

InvalidConsensusThreshold

§

UnsupportedConsensusLikelihoods

§

UnsupportedLikelihoodPloidy

§

CallerPloidyCountMismatch

§

CallerGroupCountMismatch

§

InvalidCallerGroups

§

UnsupportedCallerGroups

§

InvalidPriorChromosomeCount

§

InvalidPriorAlleleCounts

§

InvalidGvcfThresholds

§

InvalidGvcfOrder

§

GvcfSampleCountMismatch

§

InvalidGvcfLikelihoods

§

UnsupportedGvcfModel

§

MissingGvcfDepth

§

CalledAlleleCountOverflow

§

InvalidLikelihoodVariant(String)

§

LikelihoodVariantInput(String)

§

LikelihoodVariantRecord

Fields

§record: u64
§message: String
§

LikelihoodCallRecord

Fields

§record: u64
§source: Box<CallError>
§

VariantOutput(String)

Trait Implementations§

Source§

impl Debug for CallError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for CallError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for CallError

Source§

impl Error for CallError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<PileupError> for CallError

Source§

fn from(source: PileupError) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for CallError

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for CallError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.