├── .editorconfig ├── .github └── workflows │ └── push.yml ├── .gitignore ├── .prettierrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── benchmark ├── overall.bench.ts ├── profile-cpu.mjs └── string-comparison.bench.ts ├── codecov.yml ├── eslint.config.mjs ├── example ├── index-debug.html ├── index.html ├── volvox.filtered.lowercase.vcf ├── volvox.filtered.vcf ├── volvox.filtered.vcf.gz └── volvox.filtered.vcf.gz.tbi ├── package.json ├── src ├── chunk.ts ├── csi.ts ├── index.ts ├── indexFile.ts ├── long.ts ├── tabixIndexedFile.ts ├── tbi.ts ├── util.ts └── virtualOffset.ts ├── test ├── .eslintrc ├── csi.test.ts ├── data │ ├── CHM1_pacbio_clip2.bed.gz │ ├── CHM1_pacbio_clip2.bed.gz.tbi │ ├── CNVtest.vcf.gz │ ├── CNVtest.vcf.gz.tbi │ ├── CrlfOffsetTest.vcf │ ├── CrlfOffsetTest.vcf.gz │ ├── CrlfOffsetTest.vcf.gz.tbi │ ├── OffsetTest.vcf │ ├── OffsetTest.vcf.gz │ ├── OffsetTest.vcf.gz.tbi │ ├── chr22_nanopore_subset.bed.gz │ ├── chr22_nanopore_subset.bed.gz.tbi │ ├── end.vcf.gz │ ├── end.vcf.gz.tbi │ ├── failing_tabix.vcf.gz.tbi │ ├── fake_large_chromosome │ │ ├── test.gff3.gz │ │ └── test.gff3.gz.csi │ ├── gvcf.vcf.gz │ ├── gvcf.vcf.gz.tbi │ ├── large_vcf_header.vcf.gz │ ├── large_vcf_header.vcf.gz.tbi │ ├── ncbi_human.sorted.gff.gz │ ├── ncbi_human.sorted.gff.gz.tbi │ ├── out.bed.gz │ ├── out.bed.gz.tbi │ ├── out.gff.gz │ ├── out.gff.gz.tbi │ ├── out.sorted.gff.gz │ ├── out.sorted.gff.gz.tbi │ ├── raw.g.vcf.gz │ ├── raw.g.vcf.gz.tbi │ ├── raw.g.vcf.idx │ ├── test.bed.gz │ ├── test.bed.gz.tbi │ ├── test.gff3.gz │ ├── test.gff3.gz.csi │ ├── test.vcf.gz │ ├── test.vcf.gz.csi │ ├── too_few_reads_if_chunk_merging_on.bed.gz │ ├── too_few_reads_if_chunk_merging_on.bed.gz.tbi │ ├── volvox-remark.bed.gz │ ├── volvox-remark.bed.gz.tbi │ ├── volvox.filtered.vcf.gz │ ├── volvox.filtered.vcf.gz.tbi │ ├── volvox.filtered.vcf.gz.tbi.has_dummy │ ├── volvox.filtered.vcf.gz.tbi.no_dummy │ ├── volvox.sort.bed.gz.tbi │ ├── volvox.sort.gff3.gz.1 │ ├── volvox.sort.gff3.gz.tbi │ ├── volvox.test.vcf.gz │ ├── volvox.test.vcf.gz.csi │ ├── volvox.test.vcf.gz.tbi │ ├── volvox.test.vcf.gz.tbi.no_pseudo │ └── volvox.test.vcf.gz.tbi.unzipped ├── tabixindexedfile.test.ts └── tbi.test.ts ├── tsconfig.json ├── tsconfig.lint.json ├── webpack.config.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/.github/workflows/push.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/overall.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/benchmark/overall.bench.ts -------------------------------------------------------------------------------- /benchmark/profile-cpu.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/benchmark/profile-cpu.mjs -------------------------------------------------------------------------------- /benchmark/string-comparison.bench.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/benchmark/string-comparison.bench.ts -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/codecov.yml -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /example/index-debug.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/index-debug.html -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/index.html -------------------------------------------------------------------------------- /example/volvox.filtered.lowercase.vcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/volvox.filtered.lowercase.vcf -------------------------------------------------------------------------------- /example/volvox.filtered.vcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/volvox.filtered.vcf -------------------------------------------------------------------------------- /example/volvox.filtered.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/volvox.filtered.vcf.gz -------------------------------------------------------------------------------- /example/volvox.filtered.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/example/volvox.filtered.vcf.gz.tbi -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/package.json -------------------------------------------------------------------------------- /src/chunk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/chunk.ts -------------------------------------------------------------------------------- /src/csi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/csi.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/indexFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/indexFile.ts -------------------------------------------------------------------------------- /src/long.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/long.ts -------------------------------------------------------------------------------- /src/tabixIndexedFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/tabixIndexedFile.ts -------------------------------------------------------------------------------- /src/tbi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/tbi.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/util.ts -------------------------------------------------------------------------------- /src/virtualOffset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/src/virtualOffset.ts -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/.eslintrc -------------------------------------------------------------------------------- /test/csi.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/csi.test.ts -------------------------------------------------------------------------------- /test/data/CHM1_pacbio_clip2.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CHM1_pacbio_clip2.bed.gz -------------------------------------------------------------------------------- /test/data/CHM1_pacbio_clip2.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CHM1_pacbio_clip2.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/CNVtest.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CNVtest.vcf.gz -------------------------------------------------------------------------------- /test/data/CNVtest.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CNVtest.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/CrlfOffsetTest.vcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CrlfOffsetTest.vcf -------------------------------------------------------------------------------- /test/data/CrlfOffsetTest.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CrlfOffsetTest.vcf.gz -------------------------------------------------------------------------------- /test/data/CrlfOffsetTest.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/CrlfOffsetTest.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/OffsetTest.vcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/OffsetTest.vcf -------------------------------------------------------------------------------- /test/data/OffsetTest.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/OffsetTest.vcf.gz -------------------------------------------------------------------------------- /test/data/OffsetTest.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/OffsetTest.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/chr22_nanopore_subset.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/chr22_nanopore_subset.bed.gz -------------------------------------------------------------------------------- /test/data/chr22_nanopore_subset.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/chr22_nanopore_subset.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/end.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/end.vcf.gz -------------------------------------------------------------------------------- /test/data/end.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/end.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/failing_tabix.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/failing_tabix.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/fake_large_chromosome/test.gff3.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/fake_large_chromosome/test.gff3.gz -------------------------------------------------------------------------------- /test/data/fake_large_chromosome/test.gff3.gz.csi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/fake_large_chromosome/test.gff3.gz.csi -------------------------------------------------------------------------------- /test/data/gvcf.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/gvcf.vcf.gz -------------------------------------------------------------------------------- /test/data/gvcf.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/gvcf.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/large_vcf_header.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/large_vcf_header.vcf.gz -------------------------------------------------------------------------------- /test/data/large_vcf_header.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/large_vcf_header.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/ncbi_human.sorted.gff.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/ncbi_human.sorted.gff.gz -------------------------------------------------------------------------------- /test/data/ncbi_human.sorted.gff.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/ncbi_human.sorted.gff.gz.tbi -------------------------------------------------------------------------------- /test/data/out.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.bed.gz -------------------------------------------------------------------------------- /test/data/out.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/out.gff.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.gff.gz -------------------------------------------------------------------------------- /test/data/out.gff.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.gff.gz.tbi -------------------------------------------------------------------------------- /test/data/out.sorted.gff.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.sorted.gff.gz -------------------------------------------------------------------------------- /test/data/out.sorted.gff.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/out.sorted.gff.gz.tbi -------------------------------------------------------------------------------- /test/data/raw.g.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/raw.g.vcf.gz -------------------------------------------------------------------------------- /test/data/raw.g.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/raw.g.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/raw.g.vcf.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/raw.g.vcf.idx -------------------------------------------------------------------------------- /test/data/test.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.bed.gz -------------------------------------------------------------------------------- /test/data/test.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/test.gff3.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.gff3.gz -------------------------------------------------------------------------------- /test/data/test.gff3.gz.csi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.gff3.gz.csi -------------------------------------------------------------------------------- /test/data/test.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.vcf.gz -------------------------------------------------------------------------------- /test/data/test.vcf.gz.csi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/test.vcf.gz.csi -------------------------------------------------------------------------------- /test/data/too_few_reads_if_chunk_merging_on.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/too_few_reads_if_chunk_merging_on.bed.gz -------------------------------------------------------------------------------- /test/data/too_few_reads_if_chunk_merging_on.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/too_few_reads_if_chunk_merging_on.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox-remark.bed.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox-remark.bed.gz -------------------------------------------------------------------------------- /test/data/volvox-remark.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox-remark.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox.filtered.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.filtered.vcf.gz -------------------------------------------------------------------------------- /test/data/volvox.filtered.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.filtered.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox.filtered.vcf.gz.tbi.has_dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.filtered.vcf.gz.tbi.has_dummy -------------------------------------------------------------------------------- /test/data/volvox.filtered.vcf.gz.tbi.no_dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.filtered.vcf.gz.tbi.no_dummy -------------------------------------------------------------------------------- /test/data/volvox.sort.bed.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.sort.bed.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox.sort.gff3.gz.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.sort.gff3.gz.1 -------------------------------------------------------------------------------- /test/data/volvox.sort.gff3.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.sort.gff3.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox.test.vcf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.test.vcf.gz -------------------------------------------------------------------------------- /test/data/volvox.test.vcf.gz.csi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.test.vcf.gz.csi -------------------------------------------------------------------------------- /test/data/volvox.test.vcf.gz.tbi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.test.vcf.gz.tbi -------------------------------------------------------------------------------- /test/data/volvox.test.vcf.gz.tbi.no_pseudo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.test.vcf.gz.tbi.no_pseudo -------------------------------------------------------------------------------- /test/data/volvox.test.vcf.gz.tbi.unzipped: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/data/volvox.test.vcf.gz.tbi.unzipped -------------------------------------------------------------------------------- /test/tabixindexedfile.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/tabixindexedfile.test.ts -------------------------------------------------------------------------------- /test/tbi.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/test/tbi.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.lint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/tsconfig.lint.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GMOD/tabix-js/HEAD/yarn.lock --------------------------------------------------------------------------------