Enum noodles::vcf::record::genotype::field::key::Key [−][src]
pub enum Key {
Show 24 variants
ReadDepths,
ForwardStrandReadDepths,
ReverseStrandReadDepths,
ReadDepth,
ExpectedAlternateAlleleCounts,
Filter,
GenotypeLikelihoods,
GenotypePosteriorProbabilities,
ConditionalGenotypeQuality,
Genotype,
HaplotypeQuality,
MappingQuality,
RoundedGenotypeLikelihoods,
RoundedGenotypePosteriorProbabilities,
PhasingQuality,
PhaseSet,
GenotypeCopyNumber,
GenotypeCopyNumberQuality,
GenotypeCopyNumberLikelihoods,
GenotypeCopyNumberPosteriorProbabilities,
NovelVariantQualityScore,
HaplotypeId,
AncestralHaplotypeId,
Other(String, Number, Type, String),
}
Expand description
A VCF record genotype field key.
Variants
Read depth for each allele (AD
).
Read depth for each allele on the forward strand (ADF
).
Read depth for each allele on the reverse strand (ADR
).
Read depth (DP
).
Expected alternate allele counts (EC
).
Filter indicating if this genotype was “called” (FT
).
Genotype likelihoods (GL
).
Genotype posterior probabilities (GP
).
Conditional genotype quality (GQ
).
Genotype (GT
).
Haplotype quality (HQ
).
RMS mapping quality (MQ
).
Phred-scaled genotype likelihoods rounded to the closest integer (PL
).
Phred-scaled genotype posterior probabilities rounded to the closest integer (PP
).
Phasing quality (PQ
).
Phase set (PS
).
Copy number genotype for imprecise events (CN
).
Copy number genotype quality for imprecise events (CNQ
).
Copy number genotype likelihood for imprecise events (CNL
).
Copy number posterior probabilities (CNP
).
Phred style probability score that the variant is novel (NQ
).
Unique haplotype identifier (HAP
).
Unique identifier of ancestral haplotype (AHAP
).
Any other non-reserved key.
Implementations
Returns the cardinality of the genotype field value.
Examples
use noodles_vcf::{header::Number, record::genotype::field::Key};
assert_eq!(Key::Genotype.number(), Number::Count(1));
Returns the type of the genotype field value.
Examples
use noodles_vcf::{header::format::Type, record::genotype::field::Key};
assert_eq!(Key::Genotype.ty(), Type::String);
Returns the description of the genotype field.
Examples
use noodles_vcf::record::genotype::field::Key;
assert_eq!(Key::Genotype.description(), "Genotype");
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.