Given any number of pileup elements, return all alternate alleles starting at the elements' locus + 1.
Given any number of pileup elements, return all alternate alleles starting at the elements' locus + 1.
pileup element instances, should all be positioned at same locus
ReadSubsequence instances giving the non-reference sequenced alleles at this position
Extract a sub-sequence of a particular length starting at a certain reference locus from a MappedRead.
Extract a sub-sequence of a particular length starting at a certain reference locus from a MappedRead.
PileupElement positioned at one reference base before the start of the desired sub-sequence
reference length of the desired ReadSubsequence.
The sub-sequence of sequenced bases from element.read starting at reference position element.locus + 1 and spanning reference length refSequence.length. If the base aligning to element.locus is non-reference base, or the read ends before the end of the reference region, the result is None.
Extract a sub-sequence containing an alternate allele, if there is one, from a PileupElement's subsequent position.
Extract a sub-sequence containing an alternate allele, if there is one, from a PileupElement's subsequent position.
If the element is currently NOT positioned at an alt, but the *following* base is an alt, then return a ReadSubsequence comprising the consecutive alternate sequenced bases, which could be any length. If the element's current position is at a non-reference-matching base, or the subsequent bases match the reference, or the read ends before a reference-matching base occurs, then return None.
PileupElement positioned at one reference base before the start of the desired sub-sequence
ReadSubsequence for the alt allele, if one exists