haplokit 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. haplokit-0.1.0/.github/workflows/ci.yml +69 -0
  2. haplokit-0.1.0/.github/workflows/release.yml +83 -0
  3. haplokit-0.1.0/CMakeLists.txt +70 -0
  4. haplokit-0.1.0/LICENSE +674 -0
  5. haplokit-0.1.0/MANIFEST.in +22 -0
  6. haplokit-0.1.0/Makefile +21 -0
  7. haplokit-0.1.0/PKG-INFO +258 -0
  8. haplokit-0.1.0/README.md +228 -0
  9. haplokit-0.1.0/README.zh-CN.md +228 -0
  10. haplokit-0.1.0/cmake/htslib.cmake +57 -0
  11. haplokit-0.1.0/data/annotation.bed6 +4 -0
  12. haplokit-0.1.0/data/annotation.gff +17 -0
  13. haplokit-0.1.0/data/annotation.gff.db +0 -0
  14. haplokit-0.1.0/data/filtered1.vcf.gz +0 -0
  15. haplokit-0.1.0/data/filtered2.vcf.gz +0 -0
  16. haplokit-0.1.0/data/filtered3.vcf.gz +0 -0
  17. haplokit-0.1.0/data/popgroup.txt +37 -0
  18. haplokit-0.1.0/data/sample_geo.txt +26 -0
  19. haplokit-0.1.0/data/seqs.fa +108 -0
  20. haplokit-0.1.0/data/snp3kvars-CHR8-25947258-25951166-plink.map +16 -0
  21. haplokit-0.1.0/data/snp3kvars-CHR8-25947258-25951166-plink.ped +59 -0
  22. haplokit-0.1.0/data/var.sorted.tmp.vcf +23 -0
  23. haplokit-0.1.0/data/var.sorted.vcf +23 -0
  24. haplokit-0.1.0/data/var.sorted.vcf.gz +0 -0
  25. haplokit-0.1.0/data/var.sorted.vcf.gz.tbi +0 -0
  26. haplokit-0.1.0/data/var.vcf.gz +0 -0
  27. haplokit-0.1.0/deps/gffsub/CMakeLists.txt +36 -0
  28. haplokit-0.1.0/deps/gffsub/LICENSE +21 -0
  29. haplokit-0.1.0/deps/gffsub/Makefile +29 -0
  30. haplokit-0.1.0/deps/gffsub/src/gff3.hpp +90 -0
  31. haplokit-0.1.0/deps/gffsub/src/gff3_filter.cpp +158 -0
  32. haplokit-0.1.0/deps/gffsub/src/gff3_output.cpp +123 -0
  33. haplokit-0.1.0/deps/gffsub/src/gff3_parser.cpp +199 -0
  34. haplokit-0.1.0/deps/gffsub/src/gffsub.cpp +181 -0
  35. haplokit-0.1.0/deps/htslib/.cirrus.yml +216 -0
  36. haplokit-0.1.0/deps/htslib/.gitattributes +37 -0
  37. haplokit-0.1.0/deps/htslib/.github/workflows/windows-build.yml +41 -0
  38. haplokit-0.1.0/deps/htslib/.gitignore +88 -0
  39. haplokit-0.1.0/deps/htslib/.gitmodules +4 -0
  40. haplokit-0.1.0/deps/htslib/INSTALL +358 -0
  41. haplokit-0.1.0/deps/htslib/LICENSE +69 -0
  42. haplokit-0.1.0/deps/htslib/Makefile +1092 -0
  43. haplokit-0.1.0/deps/htslib/NEWS +2917 -0
  44. haplokit-0.1.0/deps/htslib/README +27 -0
  45. haplokit-0.1.0/deps/htslib/README.large_positions.md +234 -0
  46. haplokit-0.1.0/deps/htslib/README.md +69 -0
  47. haplokit-0.1.0/deps/htslib/annot-tsv.1 +259 -0
  48. haplokit-0.1.0/deps/htslib/annot-tsv.c +1076 -0
  49. haplokit-0.1.0/deps/htslib/bcf_sr_sort.c +717 -0
  50. haplokit-0.1.0/deps/htslib/bcf_sr_sort.h +116 -0
  51. haplokit-0.1.0/deps/htslib/bcf_sr_sort.o +0 -0
  52. haplokit-0.1.0/deps/htslib/bgzf.c +2621 -0
  53. haplokit-0.1.0/deps/htslib/bgzf.o +0 -0
  54. haplokit-0.1.0/deps/htslib/bgzf_internal.h +70 -0
  55. haplokit-0.1.0/deps/htslib/bgzip.1 +206 -0
  56. haplokit-0.1.0/deps/htslib/bgzip.c +771 -0
  57. haplokit-0.1.0/deps/htslib/builddir_vars.mk.in +58 -0
  58. haplokit-0.1.0/deps/htslib/config.h +39 -0
  59. haplokit-0.1.0/deps/htslib/config.mk.in +123 -0
  60. haplokit-0.1.0/deps/htslib/config_vars.h +5 -0
  61. haplokit-0.1.0/deps/htslib/configure.ac +993 -0
  62. haplokit-0.1.0/deps/htslib/cram/README +214 -0
  63. haplokit-0.1.0/deps/htslib/cram/cram.h +61 -0
  64. haplokit-0.1.0/deps/htslib/cram/cram_codecs.c +4190 -0
  65. haplokit-0.1.0/deps/htslib/cram/cram_codecs.h +264 -0
  66. haplokit-0.1.0/deps/htslib/cram/cram_codecs.o +0 -0
  67. haplokit-0.1.0/deps/htslib/cram/cram_decode.c +3688 -0
  68. haplokit-0.1.0/deps/htslib/cram/cram_decode.h +142 -0
  69. haplokit-0.1.0/deps/htslib/cram/cram_decode.o +0 -0
  70. haplokit-0.1.0/deps/htslib/cram/cram_encode.c +4229 -0
  71. haplokit-0.1.0/deps/htslib/cram/cram_encode.h +116 -0
  72. haplokit-0.1.0/deps/htslib/cram/cram_encode.o +0 -0
  73. haplokit-0.1.0/deps/htslib/cram/cram_external.c +1033 -0
  74. haplokit-0.1.0/deps/htslib/cram/cram_external.o +0 -0
  75. haplokit-0.1.0/deps/htslib/cram/cram_index.c +1038 -0
  76. haplokit-0.1.0/deps/htslib/cram/cram_index.h +115 -0
  77. haplokit-0.1.0/deps/htslib/cram/cram_index.o +0 -0
  78. haplokit-0.1.0/deps/htslib/cram/cram_io.c +6007 -0
  79. haplokit-0.1.0/deps/htslib/cram/cram_io.h +654 -0
  80. haplokit-0.1.0/deps/htslib/cram/cram_io.o +0 -0
  81. haplokit-0.1.0/deps/htslib/cram/cram_samtools.h +75 -0
  82. haplokit-0.1.0/deps/htslib/cram/cram_stats.c +227 -0
  83. haplokit-0.1.0/deps/htslib/cram/cram_stats.h +59 -0
  84. haplokit-0.1.0/deps/htslib/cram/cram_stats.o +0 -0
  85. haplokit-0.1.0/deps/htslib/cram/cram_structs.h +979 -0
  86. haplokit-0.1.0/deps/htslib/cram/mFILE.c +668 -0
  87. haplokit-0.1.0/deps/htslib/cram/mFILE.h +93 -0
  88. haplokit-0.1.0/deps/htslib/cram/mFILE.o +0 -0
  89. haplokit-0.1.0/deps/htslib/cram/misc.h +77 -0
  90. haplokit-0.1.0/deps/htslib/cram/open_trace_file.c +466 -0
  91. haplokit-0.1.0/deps/htslib/cram/open_trace_file.h +129 -0
  92. haplokit-0.1.0/deps/htslib/cram/open_trace_file.o +0 -0
  93. haplokit-0.1.0/deps/htslib/cram/os.h +205 -0
  94. haplokit-0.1.0/deps/htslib/cram/pooled_alloc.c +205 -0
  95. haplokit-0.1.0/deps/htslib/cram/pooled_alloc.h +66 -0
  96. haplokit-0.1.0/deps/htslib/cram/pooled_alloc.o +0 -0
  97. haplokit-0.1.0/deps/htslib/cram/string_alloc.c +162 -0
  98. haplokit-0.1.0/deps/htslib/cram/string_alloc.h +69 -0
  99. haplokit-0.1.0/deps/htslib/cram/string_alloc.o +0 -0
  100. haplokit-0.1.0/deps/htslib/errmod.c +208 -0
  101. haplokit-0.1.0/deps/htslib/errmod.o +0 -0
  102. haplokit-0.1.0/deps/htslib/faidx.5 +238 -0
  103. haplokit-0.1.0/deps/htslib/faidx.c +1066 -0
  104. haplokit-0.1.0/deps/htslib/faidx.o +0 -0
  105. haplokit-0.1.0/deps/htslib/fuzz_settings.h +35 -0
  106. haplokit-0.1.0/deps/htslib/header.c +3174 -0
  107. haplokit-0.1.0/deps/htslib/header.h +334 -0
  108. haplokit-0.1.0/deps/htslib/header.o +0 -0
  109. haplokit-0.1.0/deps/htslib/hfile.c +1465 -0
  110. haplokit-0.1.0/deps/htslib/hfile.o +0 -0
  111. haplokit-0.1.0/deps/htslib/hfile_gcs.c +160 -0
  112. haplokit-0.1.0/deps/htslib/hfile_internal.h +208 -0
  113. haplokit-0.1.0/deps/htslib/hfile_libcurl.c +1756 -0
  114. haplokit-0.1.0/deps/htslib/hfile_libcurl.o +0 -0
  115. haplokit-0.1.0/deps/htslib/hfile_s3.c +2498 -0
  116. haplokit-0.1.0/deps/htslib/hts.c +5205 -0
  117. haplokit-0.1.0/deps/htslib/hts.o +0 -0
  118. haplokit-0.1.0/deps/htslib/hts_expr.c +927 -0
  119. haplokit-0.1.0/deps/htslib/hts_expr.o +0 -0
  120. haplokit-0.1.0/deps/htslib/hts_internal.h +203 -0
  121. haplokit-0.1.0/deps/htslib/hts_os.c +59 -0
  122. haplokit-0.1.0/deps/htslib/hts_os.o +0 -0
  123. haplokit-0.1.0/deps/htslib/hts_probe_cc.sh +170 -0
  124. haplokit-0.1.0/deps/htslib/hts_time_funcs.h +170 -0
  125. haplokit-0.1.0/deps/htslib/htscodecs/.cirrus.yml +92 -0
  126. haplokit-0.1.0/deps/htslib/htscodecs/.gitattributes +7 -0
  127. haplokit-0.1.0/deps/htslib/htscodecs/.github/workflows/unix-build.yml +42 -0
  128. haplokit-0.1.0/deps/htslib/htscodecs/.github/workflows/windows-build.yml +37 -0
  129. haplokit-0.1.0/deps/htslib/htscodecs/.gitignore +47 -0
  130. haplokit-0.1.0/deps/htslib/htscodecs/BENCHMARKS.md +146 -0
  131. haplokit-0.1.0/deps/htslib/htscodecs/LICENSE.md +45 -0
  132. haplokit-0.1.0/deps/htslib/htscodecs/MAINTAINERS.md +55 -0
  133. haplokit-0.1.0/deps/htslib/htscodecs/Makefile.am +48 -0
  134. haplokit-0.1.0/deps/htslib/htscodecs/NEWS.md +513 -0
  135. haplokit-0.1.0/deps/htslib/htscodecs/README.md +263 -0
  136. haplokit-0.1.0/deps/htslib/htscodecs/configure.ac +215 -0
  137. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/Makefile.am +135 -0
  138. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/arith_dynamic.c +1283 -0
  139. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/arith_dynamic.h +60 -0
  140. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/arith_dynamic.o +0 -0
  141. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/c_range_coder.h +166 -0
  142. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/c_simple_model.h +171 -0
  143. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/fqzcomp_qual.c +1630 -0
  144. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/fqzcomp_qual.h +184 -0
  145. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/fqzcomp_qual.o +0 -0
  146. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/htscodecs.c +44 -0
  147. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/htscodecs.h +55 -0
  148. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/htscodecs.o +0 -0
  149. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/htscodecs_endian.h +93 -0
  150. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/pack.c +394 -0
  151. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/pack.h +86 -0
  152. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/pack.o +0 -0
  153. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/permute.h +605 -0
  154. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/pooled_alloc.h +145 -0
  155. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_byte.h +569 -0
  156. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static.c +850 -0
  157. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static.h +50 -0
  158. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static.o +0 -0
  159. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static16_int.h +636 -0
  160. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr.c +754 -0
  161. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr.h +175 -0
  162. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr.o +0 -0
  163. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.c +1623 -0
  164. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx2.o +0 -0
  165. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.c +1188 -0
  166. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_avx512.o +0 -0
  167. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_neon.c +1975 -0
  168. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_neon.o +0 -0
  169. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.c +1828 -0
  170. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static32x16pr_sse4.o +0 -0
  171. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static4x16.h +109 -0
  172. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static4x16pr.c +1878 -0
  173. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_static4x16pr.o +0 -0
  174. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rANS_word.h +480 -0
  175. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rle.c +207 -0
  176. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rle.h +95 -0
  177. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/rle.o +0 -0
  178. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/tokenise_name3.c +1839 -0
  179. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/tokenise_name3.h +65 -0
  180. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/tokenise_name3.o +0 -0
  181. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/utils.c +234 -0
  182. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/utils.h +412 -0
  183. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/utils.o +0 -0
  184. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/varint.h +446 -0
  185. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/varint2.h +318 -0
  186. haplokit-0.1.0/deps/htslib/htscodecs/htscodecs/version.h +1 -0
  187. haplokit-0.1.0/deps/htslib/htscodecs/javascript/Makefile +142 -0
  188. haplokit-0.1.0/deps/htslib/htscodecs/javascript/README.md +88 -0
  189. haplokit-0.1.0/deps/htslib/htscodecs/javascript/arith_gen.js +656 -0
  190. haplokit-0.1.0/deps/htslib/htscodecs/javascript/arith_sh.js +140 -0
  191. haplokit-0.1.0/deps/htslib/htscodecs/javascript/byte_model.js +129 -0
  192. haplokit-0.1.0/deps/htslib/htscodecs/javascript/fqzcomp.js +851 -0
  193. haplokit-0.1.0/deps/htslib/htscodecs/javascript/index.js +77 -0
  194. haplokit-0.1.0/deps/htslib/htscodecs/javascript/iostream.js +258 -0
  195. haplokit-0.1.0/deps/htslib/htscodecs/javascript/main_arith_gen.js +94 -0
  196. haplokit-0.1.0/deps/htslib/htscodecs/javascript/main_fqzcomp.js +117 -0
  197. haplokit-0.1.0/deps/htslib/htscodecs/javascript/main_rans.js +86 -0
  198. haplokit-0.1.0/deps/htslib/htscodecs/javascript/main_rans4x16.js +85 -0
  199. haplokit-0.1.0/deps/htslib/htscodecs/javascript/main_tok3.js +85 -0
  200. haplokit-0.1.0/deps/htslib/htscodecs/javascript/rans.js +562 -0
  201. haplokit-0.1.0/deps/htslib/htscodecs/javascript/rans4x16.js +1070 -0
  202. haplokit-0.1.0/deps/htslib/htscodecs/javascript/tok3.js +410 -0
  203. haplokit-0.1.0/deps/htslib/htscodecs/m4/ax_search_libs_rev.m4 +42 -0
  204. haplokit-0.1.0/deps/htslib/htscodecs/m4/hts_check_compile_flags_needed.m4 +63 -0
  205. haplokit-0.1.0/deps/htslib/htscodecs/m4/vl_prog_warnings.m4 +125 -0
  206. haplokit-0.1.0/deps/htslib/htscodecs/tests/Makefile.am +139 -0
  207. haplokit-0.1.0/deps/htslib/htscodecs/tests/arith.test +37 -0
  208. haplokit-0.1.0/deps/htslib/htscodecs/tests/arith_dynamic_fuzz.c +97 -0
  209. haplokit-0.1.0/deps/htslib/htscodecs/tests/arith_dynamic_test.c +302 -0
  210. haplokit-0.1.0/deps/htslib/htscodecs/tests/benchmark.sh +56 -0
  211. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.0 +0 -0
  212. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.1 +0 -0
  213. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.128 +0 -0
  214. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.129 +0 -0
  215. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.192 +0 -0
  216. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.193 +0 -0
  217. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.64 +0 -0
  218. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.65 +0 -0
  219. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.8 +0 -0
  220. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q4.9 +0 -0
  221. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.0 +0 -0
  222. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.1 +0 -0
  223. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.64 +0 -0
  224. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.65 +0 -0
  225. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.8 +0 -0
  226. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q40+dir.9 +0 -0
  227. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.0 +0 -0
  228. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.1 +0 -0
  229. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.128 +0 -0
  230. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.129 +0 -0
  231. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.192 +0 -0
  232. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.193 +0 -0
  233. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.64 +0 -0
  234. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/q8.65 +0 -0
  235. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/qvar.0 +0 -0
  236. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/qvar.1 +0 -0
  237. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/qvar.32 +1 -0
  238. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/qvar.64 +0 -0
  239. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/qvar.65 +0 -0
  240. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/u32.1 +0 -0
  241. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/u32.4 +0 -0
  242. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/u32.65 +0 -0
  243. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/arith/u32.9 +0 -0
  244. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q4.0 +0 -0
  245. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q4.1 +0 -0
  246. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q4.2 +0 -0
  247. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q4.3 +0 -0
  248. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q40+dir.0 +0 -0
  249. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q40+dir.1 +0 -0
  250. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q40+dir.2 +0 -0
  251. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q40+dir.3 +0 -0
  252. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q8.0 +0 -0
  253. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q8.1 +0 -0
  254. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q8.2 +0 -0
  255. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/q8.3 +0 -0
  256. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/qvar.0 +0 -0
  257. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/qvar.1 +0 -0
  258. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/qvar.2 +0 -0
  259. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/fqzcomp/qvar.3 +0 -0
  260. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/q4 +1000 -0
  261. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/q40+dir +1000 -0
  262. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/q8 +1000 -0
  263. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/qsimd +1 -0
  264. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/qvar +100 -0
  265. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.0 +0 -0
  266. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.1 +0 -0
  267. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.128 +0 -0
  268. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.129 +0 -0
  269. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.192 +0 -0
  270. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.193 +0 -0
  271. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.4 +0 -0
  272. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.5 +0 -0
  273. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.64 +0 -0
  274. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.65 +0 -0
  275. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.8 +0 -0
  276. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q4.9 +0 -0
  277. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.0 +0 -0
  278. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.1 +0 -0
  279. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.4 +0 -0
  280. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.5 +0 -0
  281. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.8 +0 -0
  282. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q40+dir.9 +0 -0
  283. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.0 +0 -0
  284. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.1 +0 -0
  285. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.128 +0 -0
  286. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.129 +0 -0
  287. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.192 +0 -0
  288. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.193 +0 -0
  289. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.4 +0 -0
  290. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.5 +0 -0
  291. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.64 +0 -0
  292. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/q8.65 +0 -0
  293. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qsimd.69 +1 -0
  294. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qvar.0 +0 -0
  295. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qvar.1 +0 -0
  296. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qvar.32 +1 -0
  297. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qvar.4 +0 -0
  298. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x16/qvar.5 +0 -0
  299. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q4.0 +0 -0
  300. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q4.1 +0 -0
  301. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q40+dir.0 +0 -0
  302. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q40+dir.1 +0 -0
  303. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q8.0 +0 -0
  304. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/q8.1 +0 -0
  305. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/qvar.0 +0 -0
  306. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/r4x8/qvar.1 +0 -0
  307. haplokit-0.1.0/deps/htslib/htscodecs/tests/dat/u32 +0 -0
  308. haplokit-0.1.0/deps/htslib/htscodecs/tests/entropy.c +263 -0
  309. haplokit-0.1.0/deps/htslib/htscodecs/tests/entropy.test +7 -0
  310. haplokit-0.1.0/deps/htslib/htscodecs/tests/entropy_fuzz.c +151 -0
  311. haplokit-0.1.0/deps/htslib/htscodecs/tests/fqzcomp.test +31 -0
  312. haplokit-0.1.0/deps/htslib/htscodecs/tests/fqzcomp_qual_fuzz.c +103 -0
  313. haplokit-0.1.0/deps/htslib/htscodecs/tests/fqzcomp_qual_fuzzrt.c +137 -0
  314. haplokit-0.1.0/deps/htslib/htscodecs/tests/fqzcomp_qual_test.c +471 -0
  315. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/01.names +1000 -0
  316. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/02.names +1000 -0
  317. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/03.names +1000 -0
  318. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/05.names +1000 -0
  319. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/08.names +1000 -0
  320. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/09.names +1000 -0
  321. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/10.names +1000 -0
  322. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/20.names +1000 -0
  323. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/nv.names +1000 -0
  324. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/nv2.names +1000 -0
  325. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/rr.names +1000 -0
  326. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.1 +0 -0
  327. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.11 +0 -0
  328. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.13 +0 -0
  329. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.15 +0 -0
  330. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.17 +0 -0
  331. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.19 +0 -0
  332. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.3 +0 -0
  333. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.5 +0 -0
  334. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.7 +0 -0
  335. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/01.names.9 +0 -0
  336. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.1 +0 -0
  337. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.11 +0 -0
  338. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.13 +0 -0
  339. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.15 +0 -0
  340. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.17 +0 -0
  341. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.19 +0 -0
  342. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.3 +0 -0
  343. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.5 +0 -0
  344. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.7 +0 -0
  345. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/02.names.9 +0 -0
  346. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.1 +0 -0
  347. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.11 +0 -0
  348. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.13 +0 -0
  349. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.15 +0 -0
  350. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.17 +0 -0
  351. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.19 +0 -0
  352. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.3 +0 -0
  353. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.5 +0 -0
  354. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.7 +0 -0
  355. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/03.names.9 +0 -0
  356. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.1 +0 -0
  357. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.11 +0 -0
  358. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.13 +0 -0
  359. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.15 +0 -0
  360. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.17 +0 -0
  361. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.19 +0 -0
  362. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.3 +0 -0
  363. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.5 +0 -0
  364. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.7 +0 -0
  365. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/05.names.9 +0 -0
  366. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.1 +0 -0
  367. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.11 +0 -0
  368. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.13 +0 -0
  369. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.15 +0 -0
  370. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.17 +0 -0
  371. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.19 +0 -0
  372. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.3 +0 -0
  373. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.5 +0 -0
  374. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.7 +0 -0
  375. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/08.names.9 +0 -0
  376. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.1 +0 -0
  377. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.11 +0 -0
  378. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.13 +0 -0
  379. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.15 +0 -0
  380. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.17 +0 -0
  381. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.19 +0 -0
  382. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.3 +0 -0
  383. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.5 +0 -0
  384. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.7 +0 -0
  385. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/09.names.9 +0 -0
  386. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.1 +0 -0
  387. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.11 +0 -0
  388. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.13 +0 -0
  389. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.15 +0 -0
  390. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.17 +0 -0
  391. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.19 +0 -0
  392. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.3 +0 -0
  393. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.5 +0 -0
  394. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.7 +0 -0
  395. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/10.names.9 +0 -0
  396. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.1 +0 -0
  397. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.11 +0 -0
  398. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.13 +0 -0
  399. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.15 +0 -0
  400. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.17 +0 -0
  401. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.19 +0 -0
  402. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.3 +0 -0
  403. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.5 +0 -0
  404. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.7 +0 -0
  405. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/20.names.9 +0 -0
  406. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.1 +0 -0
  407. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.11 +0 -0
  408. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.13 +0 -0
  409. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.15 +0 -0
  410. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.17 +0 -0
  411. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.19 +0 -0
  412. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.3 +0 -0
  413. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.5 +0 -0
  414. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.7 +0 -0
  415. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv.names.9 +0 -0
  416. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.1 +0 -0
  417. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.11 +0 -0
  418. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.13 +0 -0
  419. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.15 +0 -0
  420. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.17 +0 -0
  421. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.19 +0 -0
  422. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.3 +0 -0
  423. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.5 +0 -0
  424. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.7 +0 -0
  425. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/nv2.names.9 +0 -0
  426. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.1 +0 -0
  427. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.11 +0 -0
  428. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.13 +0 -0
  429. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.15 +0 -0
  430. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.17 +0 -0
  431. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.19 +0 -0
  432. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.3 +0 -0
  433. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.5 +0 -0
  434. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.7 +0 -0
  435. haplokit-0.1.0/deps/htslib/htscodecs/tests/names/tok3/rr.names.9 +0 -0
  436. haplokit-0.1.0/deps/htslib/htscodecs/tests/rANS_static4x16pr_fuzz.c +139 -0
  437. haplokit-0.1.0/deps/htslib/htscodecs/tests/rANS_static4x16pr_test.c +345 -0
  438. haplokit-0.1.0/deps/htslib/htscodecs/tests/rANS_static_fuzz.c +125 -0
  439. haplokit-0.1.0/deps/htslib/htscodecs/tests/rANS_static_test.c +294 -0
  440. haplokit-0.1.0/deps/htslib/htscodecs/tests/rans4x16.test +69 -0
  441. haplokit-0.1.0/deps/htslib/htscodecs/tests/rans4x8.test +31 -0
  442. haplokit-0.1.0/deps/htslib/htscodecs/tests/tok3.test +26 -0
  443. haplokit-0.1.0/deps/htslib/htscodecs/tests/tokenise_name3_fuzz.c +97 -0
  444. haplokit-0.1.0/deps/htslib/htscodecs/tests/tokenise_name3_fuzzrt.c +98 -0
  445. haplokit-0.1.0/deps/htslib/htscodecs/tests/tokenise_name3_test.c +238 -0
  446. haplokit-0.1.0/deps/htslib/htscodecs/tests/varint_test.c +287 -0
  447. haplokit-0.1.0/deps/htslib/htscodecs.mk +11 -0
  448. haplokit-0.1.0/deps/htslib/htscodecs_bundled.mk +72 -0
  449. haplokit-0.1.0/deps/htslib/htscodecs_external.mk +46 -0
  450. haplokit-0.1.0/deps/htslib/htsfile.1 +94 -0
  451. haplokit-0.1.0/deps/htslib/htsfile.c +324 -0
  452. haplokit-0.1.0/deps/htslib/htslib/bgzf.h +506 -0
  453. haplokit-0.1.0/deps/htslib/htslib/cram.h +826 -0
  454. haplokit-0.1.0/deps/htslib/htslib/faidx.h +391 -0
  455. haplokit-0.1.0/deps/htslib/htslib/hfile.h +406 -0
  456. haplokit-0.1.0/deps/htslib/htslib/hts.h +1607 -0
  457. haplokit-0.1.0/deps/htslib/htslib/hts_defs.h +154 -0
  458. haplokit-0.1.0/deps/htslib/htslib/hts_endian.h +362 -0
  459. haplokit-0.1.0/deps/htslib/htslib/hts_expr.h +152 -0
  460. haplokit-0.1.0/deps/htslib/htslib/hts_log.h +97 -0
  461. haplokit-0.1.0/deps/htslib/htslib/hts_os.h +86 -0
  462. haplokit-0.1.0/deps/htslib/htslib/kbitset.h +203 -0
  463. haplokit-0.1.0/deps/htslib/htslib/kfunc.h +91 -0
  464. haplokit-0.1.0/deps/htslib/htslib/khash.h +786 -0
  465. haplokit-0.1.0/deps/htslib/htslib/khash_str2int.h +135 -0
  466. haplokit-0.1.0/deps/htslib/htslib/klist.h +136 -0
  467. haplokit-0.1.0/deps/htslib/htslib/knetfile.h +117 -0
  468. haplokit-0.1.0/deps/htslib/htslib/kroundup.h +76 -0
  469. haplokit-0.1.0/deps/htslib/htslib/kseq.h +255 -0
  470. haplokit-0.1.0/deps/htslib/htslib/ksort.h +322 -0
  471. haplokit-0.1.0/deps/htslib/htslib/kstring.h +521 -0
  472. haplokit-0.1.0/deps/htslib/htslib/regidx.h +242 -0
  473. haplokit-0.1.0/deps/htslib/htslib/sam.h +2450 -0
  474. haplokit-0.1.0/deps/htslib/htslib/synced_bcf_reader.h +417 -0
  475. haplokit-0.1.0/deps/htslib/htslib/tbx.h +147 -0
  476. haplokit-0.1.0/deps/htslib/htslib/thread_pool.h +393 -0
  477. haplokit-0.1.0/deps/htslib/htslib/vcf.h +1683 -0
  478. haplokit-0.1.0/deps/htslib/htslib/vcf_sweep.h +57 -0
  479. haplokit-0.1.0/deps/htslib/htslib/vcfutils.h +143 -0
  480. haplokit-0.1.0/deps/htslib/htslib-s3-plugin.7 +215 -0
  481. haplokit-0.1.0/deps/htslib/htslib.map +664 -0
  482. haplokit-0.1.0/deps/htslib/htslib.mk +196 -0
  483. haplokit-0.1.0/deps/htslib/htslib.pc.in +15 -0
  484. haplokit-0.1.0/deps/htslib/htslib_vars.mk +54 -0
  485. haplokit-0.1.0/deps/htslib/kfunc.c +313 -0
  486. haplokit-0.1.0/deps/htslib/kfunc.o +0 -0
  487. haplokit-0.1.0/deps/htslib/kstring.c +568 -0
  488. haplokit-0.1.0/deps/htslib/kstring.o +0 -0
  489. haplokit-0.1.0/deps/htslib/libhts.a +0 -0
  490. haplokit-0.1.0/deps/htslib/m4/hts_check_compile_flags_needed.m4 +63 -0
  491. haplokit-0.1.0/deps/htslib/m4/hts_hide_dynamic_syms.m4 +118 -0
  492. haplokit-0.1.0/deps/htslib/m4/hts_prog_cc_warnings.m4 +208 -0
  493. haplokit-0.1.0/deps/htslib/m4/pkg.m4 +275 -0
  494. haplokit-0.1.0/deps/htslib/md5.c +388 -0
  495. haplokit-0.1.0/deps/htslib/md5.o +0 -0
  496. haplokit-0.1.0/deps/htslib/multipart.c +267 -0
  497. haplokit-0.1.0/deps/htslib/multipart.o +0 -0
  498. haplokit-0.1.0/deps/htslib/os/lzma_stub.h +85 -0
  499. haplokit-0.1.0/deps/htslib/os/rand.c +97 -0
  500. haplokit-0.1.0/deps/htslib/plugin.c +220 -0
  501. haplokit-0.1.0/deps/htslib/probaln.c +468 -0
  502. haplokit-0.1.0/deps/htslib/probaln.o +0 -0
  503. haplokit-0.1.0/deps/htslib/realn.c +331 -0
  504. haplokit-0.1.0/deps/htslib/realn.o +0 -0
  505. haplokit-0.1.0/deps/htslib/regidx.c +688 -0
  506. haplokit-0.1.0/deps/htslib/regidx.o +0 -0
  507. haplokit-0.1.0/deps/htslib/region.c +276 -0
  508. haplokit-0.1.0/deps/htslib/region.o +0 -0
  509. haplokit-0.1.0/deps/htslib/sam.5 +68 -0
  510. haplokit-0.1.0/deps/htslib/sam.c +6341 -0
  511. haplokit-0.1.0/deps/htslib/sam.o +0 -0
  512. haplokit-0.1.0/deps/htslib/sam_internal.h +124 -0
  513. haplokit-0.1.0/deps/htslib/sam_mods.c +703 -0
  514. haplokit-0.1.0/deps/htslib/sam_mods.o +0 -0
  515. haplokit-0.1.0/deps/htslib/simd.c +234 -0
  516. haplokit-0.1.0/deps/htslib/simd.o +0 -0
  517. haplokit-0.1.0/deps/htslib/synced_bcf_reader.c +1561 -0
  518. haplokit-0.1.0/deps/htslib/synced_bcf_reader.o +0 -0
  519. haplokit-0.1.0/deps/htslib/tabix.1 +209 -0
  520. haplokit-0.1.0/deps/htslib/tabix.c +848 -0
  521. haplokit-0.1.0/deps/htslib/tbx.c +653 -0
  522. haplokit-0.1.0/deps/htslib/tbx.o +0 -0
  523. haplokit-0.1.0/deps/htslib/textutils.c +497 -0
  524. haplokit-0.1.0/deps/htslib/textutils.o +0 -0
  525. haplokit-0.1.0/deps/htslib/textutils_internal.h +426 -0
  526. haplokit-0.1.0/deps/htslib/thread_pool.c +1540 -0
  527. haplokit-0.1.0/deps/htslib/thread_pool.o +0 -0
  528. haplokit-0.1.0/deps/htslib/thread_pool_internal.h +169 -0
  529. haplokit-0.1.0/deps/htslib/vcf.5 +120 -0
  530. haplokit-0.1.0/deps/htslib/vcf.c +6658 -0
  531. haplokit-0.1.0/deps/htslib/vcf.o +0 -0
  532. haplokit-0.1.0/deps/htslib/vcf_sweep.c +190 -0
  533. haplokit-0.1.0/deps/htslib/vcf_sweep.o +0 -0
  534. haplokit-0.1.0/deps/htslib/vcfutils.c +1485 -0
  535. haplokit-0.1.0/deps/htslib/vcfutils.o +0 -0
  536. haplokit-0.1.0/deps/htslib/version.h +1 -0
  537. haplokit-0.1.0/deps/htslib/version.sh +59 -0
  538. haplokit-0.1.0/deps/nlohmann/nlohmann/json.hpp +24765 -0
  539. haplokit-0.1.0/haplokit/__init__.py +5 -0
  540. haplokit-0.1.0/haplokit/__main__.py +12 -0
  541. haplokit-0.1.0/haplokit/_distribution.py +204 -0
  542. haplokit-0.1.0/haplokit/_gff.py +93 -0
  543. haplokit-0.1.0/haplokit/_palette.py +94 -0
  544. haplokit-0.1.0/haplokit/_table.py +219 -0
  545. haplokit-0.1.0/haplokit/_transform.py +170 -0
  546. haplokit-0.1.0/haplokit/cli.py +598 -0
  547. haplokit-0.1.0/haplokit/plot.py +21 -0
  548. haplokit-0.1.0/haplokit.egg-info/PKG-INFO +258 -0
  549. haplokit-0.1.0/haplokit.egg-info/SOURCES.txt +570 -0
  550. haplokit-0.1.0/haplokit.egg-info/dependency_links.txt +1 -0
  551. haplokit-0.1.0/haplokit.egg-info/entry_points.txt +2 -0
  552. haplokit-0.1.0/haplokit.egg-info/requires.txt +5 -0
  553. haplokit-0.1.0/haplokit.egg-info/top_level.txt +1 -0
  554. haplokit-0.1.0/pyproject.toml +52 -0
  555. haplokit-0.1.0/setup.cfg +4 -0
  556. haplokit-0.1.0/setup.py +35 -0
  557. haplokit-0.1.0/src/cpp/gff_annotator.cpp +86 -0
  558. haplokit-0.1.0/src/cpp/gff_annotator.h +36 -0
  559. haplokit-0.1.0/src/cpp/main.cpp +302 -0
  560. haplokit-0.1.0/src/cpp/selector.cpp +32 -0
  561. haplokit-0.1.0/src/cpp/selector.h +17 -0
  562. haplokit-0.1.0/src/cpp/vcf_reader.cpp +172 -0
  563. haplokit-0.1.0/src/cpp/vcf_reader.h +39 -0
  564. haplokit-0.1.0/src/cpp/view_backend.cpp +259 -0
  565. haplokit-0.1.0/src/cpp/view_backend.h +65 -0
  566. haplokit-0.1.0/tests/cpp/vcf_reader_test.cpp +76 -0
  567. haplokit-0.1.0/tests/cpp/view_backend_test.cpp +86 -0
  568. haplokit-0.1.0/tests/python/conftest.py +16 -0
  569. haplokit-0.1.0/tests/python/test_haplokit_cli_contract.py +150 -0
  570. haplokit-0.1.0/tests/python/test_haplokit_real_vcf.py +189 -0
  571. haplokit-0.1.0/tests/python/test_packaging_contract.py +62 -0
  572. haplokit-0.1.0/tests/python/test_python_only_plotting_contract.py +42 -0
@@ -0,0 +1,69 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+
8
+ jobs:
9
+ linux:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ with:
16
+ submodules: recursive
17
+
18
+ - name: Setup Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.12"
22
+
23
+ - name: Install system build dependencies
24
+ run: |
25
+ sudo apt-get update
26
+ sudo apt-get install -y \
27
+ build-essential \
28
+ cmake \
29
+ pkg-config \
30
+ libbz2-dev \
31
+ liblzma-dev \
32
+ libcurl4-openssl-dev \
33
+ zlib1g-dev
34
+
35
+ - name: Install Python dependencies
36
+ run: |
37
+ python -m pip install --upgrade pip
38
+ python -m pip install ".[test]"
39
+ python -m pip install build
40
+
41
+ - name: Build vendored backend
42
+ run: |
43
+ cmake -S . -B build-wsl
44
+ cmake --build build-wsl --parallel
45
+
46
+ - name: Run Python tests
47
+ run: |
48
+ HAPLOKIT_CPP_BIN=$PWD/build-wsl/haplokit_cpp python -m pytest -q tests/python
49
+
50
+ - name: Run C++ tests
51
+ run: |
52
+ ctest --test-dir build-wsl --output-on-failure
53
+
54
+ - name: Build source distribution
55
+ run: |
56
+ python -m build --sdist
57
+
58
+ - name: Smoke test install from sdist
59
+ run: |
60
+ REPO_ROOT=$PWD
61
+ TMP_DIR=$(mktemp -d)
62
+ python -m venv "$TMP_DIR/.venv-sdist-smoke"
63
+ source "$TMP_DIR/.venv-sdist-smoke/bin/activate"
64
+ python -m pip install --upgrade pip
65
+ python -m pip install "$REPO_ROOT"/dist/*.tar.gz
66
+ cd "$TMP_DIR"
67
+ python -c "from pathlib import Path; import haplokit; assert (Path(haplokit.__file__).resolve().parent / '_bin' / 'haplokit_cpp').exists()"
68
+ haplokit view "$REPO_ROOT/data/var.sorted.vcf.gz" -r scaffold_1:4300-5000 --output-file smoke_out
69
+ python -c "from pathlib import Path; assert (Path('smoke_out') / 'hapresult.tsv').exists(); assert (Path('smoke_out') / 'hap_summary.tsv').exists()"
@@ -0,0 +1,83 @@
1
+ name: release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+ id-token: write
11
+
12
+ jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
+ with:
20
+ submodules: recursive
21
+
22
+ - name: Setup Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.12"
26
+
27
+ - name: Install system build dependencies
28
+ run: |
29
+ sudo apt-get update
30
+ sudo apt-get install -y \
31
+ build-essential \
32
+ cmake \
33
+ pkg-config \
34
+ libbz2-dev \
35
+ liblzma-dev \
36
+ libcurl4-openssl-dev \
37
+ zlib1g-dev
38
+
39
+ - name: Install Python dependencies
40
+ run: |
41
+ python -m pip install --upgrade pip
42
+ python -m pip install ".[test]"
43
+ python -m pip install build twine
44
+
45
+ - name: Build vendored backend
46
+ run: |
47
+ cmake -S . -B build-wsl
48
+ cmake --build build-wsl --parallel
49
+
50
+ - name: Run test suite
51
+ run: |
52
+ HAPLOKIT_CPP_BIN=$PWD/build-wsl/haplokit_cpp python -m pytest -q tests/python
53
+ ctest --test-dir build-wsl --output-on-failure
54
+
55
+ - name: Build source distribution
56
+ run: |
57
+ python -m build --sdist
58
+
59
+ - name: Smoke test install from sdist
60
+ run: |
61
+ REPO_ROOT=$PWD
62
+ TMP_DIR=$(mktemp -d)
63
+ python -m venv "$TMP_DIR/.venv-sdist-smoke"
64
+ source "$TMP_DIR/.venv-sdist-smoke/bin/activate"
65
+ python -m pip install --upgrade pip
66
+ python -m pip install "$REPO_ROOT"/dist/*.tar.gz
67
+ cd "$TMP_DIR"
68
+ python -c "from pathlib import Path; import haplokit; assert (Path(haplokit.__file__).resolve().parent / '_bin' / 'haplokit_cpp').exists()"
69
+ haplokit view "$REPO_ROOT/data/var.sorted.vcf.gz" -r scaffold_1:4300-5000 --output-file smoke_out
70
+ python -c "from pathlib import Path; assert (Path('smoke_out') / 'hapresult.tsv').exists(); assert (Path('smoke_out') / 'hap_summary.tsv').exists()"
71
+
72
+ - name: Check distribution metadata
73
+ run: |
74
+ twine check dist/*
75
+
76
+ - name: Upload distribution artifact
77
+ uses: actions/upload-artifact@v4
78
+ with:
79
+ name: pypi-dist
80
+ path: dist/*
81
+
82
+ - name: Publish to PyPI
83
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,70 @@
1
+ cmake_minimum_required(VERSION 3.22)
2
+
3
+ project(haplokit LANGUAGES CXX)
4
+
5
+ set(CMAKE_CXX_STANDARD 17)
6
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
+ set(CMAKE_CXX_EXTENSIONS OFF)
8
+
9
+ include(CTest)
10
+ enable_testing()
11
+
12
+ include(cmake/htslib.cmake)
13
+ haplokit_configure_htslib()
14
+
15
+ add_library(haplokit_core
16
+ src/cpp/selector.cpp
17
+ src/cpp/vcf_reader.cpp
18
+ src/cpp/view_backend.cpp
19
+ src/cpp/gff_annotator.cpp
20
+ deps/gffsub/src/gff3_parser.cpp
21
+ deps/gffsub/src/gff3_filter.cpp
22
+ deps/gffsub/src/gff3_output.cpp
23
+ )
24
+
25
+ target_include_directories(haplokit_core
26
+ PUBLIC
27
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/cpp
28
+ ${CMAKE_CURRENT_SOURCE_DIR}/deps/gffsub/src
29
+ ${CMAKE_CURRENT_SOURCE_DIR}/deps/nlohmann
30
+ ${HAPLOKIT_HTSLIB_INCLUDE_DIRS}
31
+ )
32
+
33
+ target_link_libraries(haplokit_core PUBLIC ${HAPLOKIT_HTSLIB_TARGET} ${HAPLOKIT_HTSLIB_EXTRA_LIBS})
34
+ add_dependencies(haplokit_core haplokit_htslib_build)
35
+
36
+ add_executable(haplokit_cpp
37
+ src/cpp/main.cpp
38
+ )
39
+
40
+ target_link_libraries(haplokit_cpp PRIVATE haplokit_core)
41
+
42
+ if(BUILD_TESTING)
43
+ add_executable(vcf_reader_test
44
+ tests/cpp/vcf_reader_test.cpp
45
+ )
46
+
47
+ target_link_libraries(vcf_reader_test PRIVATE haplokit_core)
48
+
49
+ add_executable(view_backend_test
50
+ tests/cpp/view_backend_test.cpp
51
+ )
52
+
53
+ target_link_libraries(view_backend_test PRIVATE haplokit_core)
54
+
55
+ add_test(
56
+ NAME vcf_reader_test
57
+ COMMAND vcf_reader_test
58
+ )
59
+
60
+ add_test(
61
+ NAME view_backend_test
62
+ COMMAND view_backend_test
63
+ )
64
+
65
+ set_tests_properties(
66
+ vcf_reader_test view_backend_test
67
+ PROPERTIES
68
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
69
+ )
70
+ endif()