Class EdgingRecordAndOffset

java.lang.Object
htsjdk.samtools.util.AbstractRecordAndOffset
htsjdk.samtools.util.EdgingRecordAndOffset

public abstract class EdgingRecordAndOffset extends AbstractRecordAndOffset
Holds a SAMRecord plus the zero-based offset into that SAMRecord's bases and quality scores that corresponds to the base and quality for the start of alignment block at the genomic position described by the AbstractLocusInfo. This is implementation for EdgeReadIterator, field type added to indicate whether object represents the start or the end of an alignment block.

Subclasses StartEdgingRecordAndOffset and EndEdgingRecordAndOffset are used in EdgeReadIterator to distinguish starting and ending of the alignment block as for each alignment block two objects of EdgingRecordAndOffset are created with two different types. The main idea of using EdgeReadIterator is to process alignment block starting from locus where BEGIN type occurs, aggregate information per locus and keep it until END type occurs, then remove alignment block from consideration.