VariationPileup

HapLink.VariationPileupType
VariationPileup

Summarizes the basecalls that support a Variation within a set of alignments.

Fields

  • variation::Variation: The Variation of this pileup entry
  • depth::UInt: The number of times the position of variation appears in this set of alignments
  • readpos::Vector{Float64}: The relative positions of variation within each read
  • quality::Vector{Float64}: The phred quality of variation within each read
  • strand::Vector{Strand}: Which strand each variation is found on
source
HapLink.depthMethod
depth(vp::VariationPileup)

Gets the number of times the position of vp.variation appears total (variant and wild-type)

source
HapLink.frequencyMethod
frequency(vp::VariationPileup)

Gets the alternate allele frequency of vp.variation

source
HapLink.pileupMethod
pileup(sam::AbstractPath, ref::AbstractPath) -> Vector{VariationPileup}

Generates a pileup of Variations based on the alignments in sam aligned against ref.

source
HapLink.strand_biasMethod
strand_bias(vp::VariationPileup)

Gets the frequency of positive strands that variation appears on relative to all variation reads

source