And identifier-range index is an index on both genomic ranges and sample identifiers simultaneously -- a pair of (sample-identifier, genomic-range) is associated with a single row group of a Parquet file in a single IDRangeIndexEntry, and a set of IDRangeIndexEntry values are collected (in memory) into an IDRangeIndex.
A predicate on the entries in an index-file.
A range index is an index on row groups in a Parquet file, where each row group is indexed based on the range or ranges of the values within the group.
Query the entries of a RangeIndex by overlap with a query range.
ReferenceFolder is a trait for folding a value (of type T) into a Sequence of ReferenceRegion values.
Any index-file implementation should extend this trait.
Any class which represents an entry (line?) in an index file should extend this class.