public abstract class IterateSortedAlignmentsListImpl2 extends IterateSortedAlignments<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>>
| Modifier and Type | Class and Description |
|---|---|
class |
IterateSortedAlignmentsListImpl2.PositionBaseInfo2 |
alignmentToGenomeTargetIndices, endPosition, endReferenceIndex, lastRemovedPosition, maxThreshold, startPosition, startReferenceIndex, useWindow| Constructor and Description |
|---|
IterateSortedAlignmentsListImpl2() |
| Modifier and Type | Method and Description |
|---|---|
void |
observeReferenceBase(ConcatSortedAlignmentReader sortedReaders,
Alignments.AlignmentEntry alignmentEntry,
PositionToBasesMap<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>> positionToBases,
int currentReferenceIndex,
int currentRefPosition,
int currentReadIndex)
Implement this call-back method to observe reference bases.
|
void |
observeVariantBase(ConcatSortedAlignmentReader sortedReaders,
Alignments.AlignmentEntry alignmentEntry,
PositionToBasesMap<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>> positionToBases,
Alignments.SequenceVariation var,
char toChar,
char fromChar,
byte toQual,
int currentReferenceIndex,
int currentRefPosition,
int currentReadIndex)
Implement this call-back method to observe variant bases.
|
abstract void |
processPositions(int referenceIndex,
int intermediatePosition,
it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2> positionBaseInfos) |
checkGenomeMatchAlignment, getGenome, getNumAlignmentEntries, getReferenceId, isValidOffsetArgument, isWithinStartFlap, iterate, observeIndel, parseIncludeReferenceArgument, parseIncludeReferenceArgument, processNumberOfReferences, setAlignmentProcessorFactory, setAlignmentReaderFactory, setEndPositionArgument, setMaxThreshold, setStartFlapLength, setStartPositionArgumentpublic abstract void processPositions(int referenceIndex,
int intermediatePosition,
it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2> positionBaseInfos)
processPositions in class IterateSortedAlignments<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>>public void observeReferenceBase(ConcatSortedAlignmentReader sortedReaders, Alignments.AlignmentEntry alignmentEntry, PositionToBasesMap<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>> positionToBases, int currentReferenceIndex, int currentRefPosition, int currentReadIndex)
IterateSortedAlignmentsobserveReferenceBase in class IterateSortedAlignments<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>>sortedReaders - The concat read that contains the variation.alignmentEntry - The alignment entry that contains the variationpositionToBases - Map keyed by reference position, used to accumulate information for each position.currentReferenceIndex - Index of the reference sequence where the variant occurs.currentRefPosition - Position where the variant occurs in the reference.currentReadIndex - Index in the read where the variant occurs.public void observeVariantBase(ConcatSortedAlignmentReader sortedReaders, Alignments.AlignmentEntry alignmentEntry, PositionToBasesMap<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>> positionToBases, Alignments.SequenceVariation var, char toChar, char fromChar, byte toQual, int currentReferenceIndex, int currentRefPosition, int currentReadIndex)
IterateSortedAlignmentsobserveVariantBase in class IterateSortedAlignments<it.unimi.dsi.fastutil.objects.ObjectArrayList<IterateSortedAlignmentsListImpl2.PositionBaseInfo2>>sortedReaders - The concat read that contains the variation.alignmentEntry - The alignment entry that contains the variationpositionToBases - Map keyed by reference position, used to accumulate information for each position.var - The sequence variation from the alignment entry that triggered emiting this observation.toChar - The base character in the readfromChar - The base character in the reference.toQual - The base quality value in the read (if it exists, otherwise 0)currentReferenceIndex - Index of the reference sequence where the variant occurs.currentRefPosition - Position where the variant occurs in the reference.currentReadIndex - Index in the read where the variant occurs.Copyright © 2017 Campagne Laboratory. All rights reserved.