samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
278 stars 244 forks source link

Minor improvements to AbstractLocusIterator #1624

Closed lbergelson closed 1 year ago

lbergelson commented 1 year ago

@michaelgatzen Could you take a look at this? It turns out that IntervalList.uniqued() also sorts so I removed the other sorting, no good way to avoid it entirely. I also switched the dictionary check to a more standard method that I hadn't known about, but it's now consistent with how other dictionary matching in CollectWgsMetrics is done.