pub enum Key {
Show 45 variants
AncestralAllele,
AlleleCount,
TotalReadDepths,
ForwardStrandReadDepths,
ReverseStrandReadDepths,
AlleleFrequencies,
TotalAlleleCount,
BaseQuality,
Cigar,
IsInDbSnp,
TotalDepth,
IsInHapMap2,
IsInHapMap3,
MappingQuality,
ZeroMappingQualityCount,
SamplesWithDataCount,
StrandBias,
IsSomaticMutation,
IsValidated,
IsIn1000Genomes,
IsImprecise,
IsNovel,
EndPosition,
SvType,
SvLengths,
PositionConfidenceIntervals,
EndConfidenceIntervals,
MicrohomologyLengths,
MicrohomologySequences,
BreakpointIds,
MobileElementInfo,
MobileElementTransductionInfo,
DbvId,
DbVarId,
DbRipId,
MateBreakendIds,
PartnerBreakendId,
BreakendEventId,
BreakendConfidenceIntervals,
AdjacentReadDepths,
BreakendCopyNumber,
AdjacentCopyNumber,
CopyNumberConfidenceIntervals,
AdjacentCopyNumberConfidenceIntervals,
Other(String, Number, Type, String),
}
Expand description
A VCF record info field key.
Variants
AncestralAllele
Ancestral allele (AA
).
AlleleCount
Allele count in genotypes, for each ALT allele, in the same order as listed (AC
).
TotalReadDepths
Total read depth for each allele (AD
).
ForwardStrandReadDepths
Read depth for each allele on the forward strand (ADF
).
ReverseStrandReadDepths
Read depth for each allele on the reverse strand (ADR
).
AlleleFrequencies
Allele frequency for each ALT allele in the same order as listed (AF
).
TotalAlleleCount
Total number of alleles in called genotypes (AN
).
BaseQuality
RMS base quality (BQ
).
Cigar
Cigar string describing how to align an alternate allele to the reference allele (CIGAR
).
IsInDbSnp
dbSNP membership (DB
).
TotalDepth
Combined depth across samples (DP
).
IsInHapMap2
HapMap2 membership (H2
).
IsInHapMap3
HapMap3 membership (H3
).
MappingQuality
RMS mapping quality (MQ
).
ZeroMappingQualityCount
Number of MAPQ == 0 reads (MQ0
).
SamplesWithDataCount
Number of samples with data (NS
).
StrandBias
Strand bias (SB
).
IsSomaticMutation
Somatic mutation (SOMATIC
).
IsValidated
Validated by follow-up experiment (VALIDATED
).
IsIn1000Genomes
1000 Genomes membership (1000G
).
IsImprecise
Imprecise structural variation (IMPRECISE
).
IsNovel
Indicates a novel structural variation (NOVEL
).
EndPosition
End position of the variant described in this record (END
).
SvType
Type of structural variant (SVTYPE
).
SvLengths
Difference in length between REF and ALT alleles (SVLEN
).
PositionConfidenceIntervals
Confidence interval around POS for imprecise variants (CIPOS
).
EndConfidenceIntervals
Confidence interval around END for imprecise variants (CIEND
).
MicrohomologyLengths
Length of base pair identical micro-homology at event breakpoints (HOMLEN
).
MicrohomologySequences
Sequence of base pair identical micro-homology at event breakpoints (HOMSEQ
).
BreakpointIds
ID of the assembled alternate allele in the assembly file (BKPTID
).
MobileElementInfo
Mobile element info of the form NAME,START,END,POLARITY (MEINFO
).
MobileElementTransductionInfo
Mobile element transduction info of the form CHR,START,END,POLARITY (METRANS
).
DbvId
ID of this element in Database of Genomic Variation (DBVID
).
DbVarId
ID of this element in DBVAR (DBVARID
).
DbRipId
ID of this element in DBRIP (DBRIPID
).
MateBreakendIds
ID of mate breakends (MATEID
).
PartnerBreakendId
ID of partner breakend (PARID
).
BreakendEventId
ID of event associated to breakend (EVENT
).
BreakendConfidenceIntervals
Confidence interval around the inserted material between breakends (CILEN
).
AdjacentReadDepths
Read Depth of adjacency (DPADJ
).
BreakendCopyNumber
Copy number of segment containing breakend (CN
).
AdjacentCopyNumber
Copy number of adjacency (CNADJ
).
CopyNumberConfidenceIntervals
Confidence interval around copy number for the segment (CICN
).
AdjacentCopyNumberConfidenceIntervals
Confidence interval around copy number for the adjacency (CICNADJ
).
Other(String, Number, Type, String)
Any other non-reserved key.
Implementations
sourceimpl Key
impl Key
sourcepub fn number(&self) -> Number
pub fn number(&self) -> Number
Returns the cardinality of the info field value.
Examples
use noodles_vcf::{header::Number, record::info::field::Key};
assert_eq!(Key::AlleleCount.number(), Number::A);
sourcepub fn ty(&self) -> Type
pub fn ty(&self) -> Type
Returns the type of the info field value.
Examples
use noodles_vcf::{header::info::Type, record::info::field::Key};
assert_eq!(Key::AlleleCount.ty(), Type::Integer);
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the description of the info field.
Examples
use noodles_vcf::{header::Number, record::info::field::Key};
assert_eq!(
Key::AlleleCount.description(),
"Allele count in genotypes, for each ALT allele, in the same order as listed",
);
Trait Implementations
impl Eq for Key
impl StructuralEq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcepub fn equivalent(&self, key: &K) -> bool
pub fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more