refactoring for htslib tabix concluded