Step through loci in the genome and at each step consider all the reads (or any object that implements the trait
ReferenceRegion) that overlap the locus.
case classSlidingWindow[R <: ReferenceRegion](contigName: ContigName, halfWindowSize: Int, rawSortedRegions: Iterator[R]) extends Product with Serializable
Suppose we have a set of loci on a given contig and some objects that are mapped to that contig, and at each locus we
want to look at the regions that overlap a window of a certain number of bases surrounding that locus.
Step through loci in the genome and at each step consider all the reads (or any object that implements the trait ReferenceRegion) that overlap the locus.