VariationPileup
HapLink.VariationPileup
— TypeVariationPileup
Summarizes the basecalls that support a Variation
within a set of alignments.
Fields
variation::Variation
: The Variation of this pileup entrydepth::UInt
: The number of times the position ofvariation
appears in this set of alignmentsreadpos::Vector{Float64}
: The relative positions ofvariation
within each readquality::Vector{Float64}
: The phred quality ofvariation
within each readstrand::Vector{Strand}
: Which strand eachvariation
is found on
HapLink.altdepth
— Methodaltdepth(vp::VariationPileup)
Gets the number of times vp.variation
appears
HapLink.depth
— Methoddepth(vp::VariationPileup)
Gets the number of times the position of vp.variation
appears total (variant and wild-type)
HapLink.frequency
— Methodfrequency(vp::VariationPileup)
Gets the alternate allele frequency of vp.variation
HapLink.pileup
— Methodpileup(sam::AbstractPath, ref::AbstractPath) -> Vector{VariationPileup}
Generates a pileup of Variation
s based on the alignments in sam
aligned against ref
.
HapLink.quality
— Methodquality(vp::VariationPileup)
Gets the phred qualities of vp.variation
HapLink.readpos
— Methodreadpos(vp::VariationPileup)
Gets the relative positions of vp.variation
HapLink.strand
— Methodstrand(vp::VariationPileup)
Gets the strands of vp.variation
HapLink.strand_bias
— Methodstrand_bias(vp::VariationPileup)
Gets the frequency of positive strands that variation
appears on relative to all variation
reads
HapLink.variation
— Methodvariation(vp::VariationPileup)
Gets the Variation
of vp