Given a sequence of regions that map from a reference genome to a sequence, returns an index into a sequence.
Given a sequence of regions that map from a reference genome to a sequence, returns an index into a sequence.
Sequence of reference regions that maps the sequence to a reference genome.
Returns an index into a sequence.
Throws an assertion error if the strandedness does not match between the reference position and the mapping regions.
IllegalArgumentExceptionThrows an exception if the index given is out of the range of the mappings given.