HtslibIterator is an abstraction for htslib's hts_itr_t using dhtslib.memory for reference counting. HtslibIterator can be used to iterate VCF/BCF/SAM/BAM/Text files using a BAI/CSI/TBX index or by simply iterating the file.
See Source File