kleborate 3.2.2__tar.gz → 3.2.3__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 (219) hide show
  1. {kleborate-3.2.2 → kleborate-3.2.3}/PKG-INFO +1 -1
  2. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/__main__.py +13 -16
  3. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/klebsiella_pneumo_complex__amr.py +4 -2
  4. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/alignment.py +27 -0
  5. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/PKG-INFO +1 -1
  6. {kleborate-3.2.2 → kleborate-3.2.3}/pyproject.toml +1 -1
  7. {kleborate-3.2.2 → kleborate-3.2.3}/LICENSE +0 -0
  8. {kleborate-3.2.2 → kleborate-3.2.3}/README.md +0 -0
  9. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/__init__.py +0 -0
  10. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/__init__.py +0 -0
  11. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/enterobacterales__species/__init__.py +0 -0
  12. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/enterobacterales__species/data/species_mash_sketches.msh +0 -0
  13. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/enterobacterales__species/enterobacterales__species.py +0 -0
  14. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/enterobacterales__species/test_enterobacterales__species.py +0 -0
  15. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__amr/__init__.py +0 -0
  16. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__amr/escherichia__amr.py +0 -0
  17. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ectyper/__init__.py +0 -0
  18. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.fasta +0 -0
  19. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.json +0 -0
  20. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ectyper/ectyper.py +0 -0
  21. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ectyper/escherichia__ectyper.py +0 -0
  22. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ezclermont/__init__.py +0 -0
  23. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__ezclermont/escherichia__ezclermont.py +0 -0
  24. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/__init__.py +0 -0
  25. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/adk.fasta +0 -0
  26. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/download.sh +0 -0
  27. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/fumC.fasta +0 -0
  28. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/gyrB.fasta +0 -0
  29. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/icd.fasta +0 -0
  30. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/mdh.fasta +0 -0
  31. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/profiles.tsv +0 -0
  32. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/purA.fasta +0 -0
  33. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/data/recA.fasta +0 -0
  34. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/escherichia__mlst_achtman.py +0 -0
  35. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_achtman/test_escherichia__mlst_achtman.py +0 -0
  36. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/__init__.py +0 -0
  37. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/eae.fasta +0 -0
  38. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/espA.fasta +0 -0
  39. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/espB.fasta +0 -0
  40. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/espD.fasta +0 -0
  41. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/espH.fasta +0 -0
  42. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/espZ.fasta +0 -0
  43. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/profiles.tsv +0 -0
  44. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/data/tir.fasta +0 -0
  45. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_lee/escherichia__mlst_lee.py +0 -0
  46. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/__init__.py +0 -0
  47. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/dinB.fasta +0 -0
  48. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/download.sh +0 -0
  49. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/icdA.fasta +0 -0
  50. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/pabB.fasta +0 -0
  51. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/polB.fasta +0 -0
  52. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/profiles.tsv +0 -0
  53. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/putP.fasta +0 -0
  54. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/trpA.fasta +0 -0
  55. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/trpB.fasta +0 -0
  56. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/data/uidA.fasta +0 -0
  57. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/escherichia__mlst_pasteur.py +0 -0
  58. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__mlst_pasteur/test_escherichia__mlst_pasteur.py +0 -0
  59. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/__init__.py +0 -0
  60. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/data/ShigellaRef5.fasta +0 -0
  61. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/data/shigella_serotype_markers.txt +0 -0
  62. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/data/virulence_ecoli.fsa +0 -0
  63. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/escherichia__pathovar.py +0 -0
  64. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/pathovar.py +0 -0
  65. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/shigella__typing.py +0 -0
  66. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__pathovar/shigella_classify.py +0 -0
  67. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__stxtyper/__init__.py +0 -0
  68. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/escherichia__stxtyper/escherichia__stxtyper.py +0 -0
  69. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/general__contig_stats/__init__.py +0 -0
  70. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/general__contig_stats/data/species_specification.txt +0 -0
  71. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/general__contig_stats/general__contig_stats.py +0 -0
  72. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/general__contig_stats/test_general__contig_stats.py +0 -0
  73. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/__init__.py +0 -0
  74. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/download.sh +0 -0
  75. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/iucA.fasta +0 -0
  76. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/iucB.fasta +0 -0
  77. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/iucC.fasta +0 -0
  78. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/iucD.fasta +0 -0
  79. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/iutA.fasta +0 -0
  80. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/data/profiles.tsv +0 -0
  81. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/klebsiella__abst.py +0 -0
  82. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__abst/test_klebsiella__abst.py +0 -0
  83. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/__init__.py +0 -0
  84. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbA.fasta +0 -0
  85. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbB.fasta +0 -0
  86. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbC.fasta +0 -0
  87. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbD.fasta +0 -0
  88. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbE.fasta +0 -0
  89. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbF.fasta +0 -0
  90. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbG.fasta +0 -0
  91. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbH.fasta +0 -0
  92. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbI.fasta +0 -0
  93. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbL.fasta +0 -0
  94. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbM.fasta +0 -0
  95. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbN.fasta +0 -0
  96. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbO.fasta +0 -0
  97. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbP.fasta +0 -0
  98. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/clbQ.fasta +0 -0
  99. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/download.sh +0 -0
  100. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/data/profiles.tsv +0 -0
  101. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/klebsiella__cbst.py +0 -0
  102. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__cbst/test_klebsiella__cbst.py +0 -0
  103. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmpa2/__init__.py +0 -0
  104. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmpa2/data/rmpA2.fasta +0 -0
  105. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmpa2/klebsiella__rmpa2.py +0 -0
  106. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmpa2/rmpa2.py +0 -0
  107. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/__init__.py +0 -0
  108. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/data/download.sh +0 -0
  109. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/data/profiles.tsv +0 -0
  110. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/data/rmpA.fasta +0 -0
  111. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/data/rmpC.fasta +0 -0
  112. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/data/rmpD.fasta +0 -0
  113. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/klebsiella__rmst.py +0 -0
  114. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__rmst/test_klebsiella__rmst.py +0 -0
  115. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/__init__.py +0 -0
  116. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/download.sh +0 -0
  117. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/iroB.fasta +0 -0
  118. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/iroC.fasta +0 -0
  119. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/iroD.fasta +0 -0
  120. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/iroN.fasta +0 -0
  121. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/data/profiles.tsv +0 -0
  122. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/klebsiella__smst.py +0 -0
  123. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__smst/test_klebsiella__smst.py +0 -0
  124. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/__init__.py +0 -0
  125. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/download.sh +0 -0
  126. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/fyuA.fasta +0 -0
  127. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/irp1.fasta +0 -0
  128. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/irp2.fasta +0 -0
  129. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/profiles.tsv +0 -0
  130. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtA.fasta +0 -0
  131. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtE.fasta +0 -0
  132. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtP.fasta +0 -0
  133. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtQ.fasta +0 -0
  134. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtS.fasta +0 -0
  135. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtT.fasta +0 -0
  136. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtU.fasta +0 -0
  137. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/data/ybtX.fasta +0 -0
  138. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/klebsiella__ybst.py +0 -0
  139. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella__ybst/test_klebsiella__ybst.py +0 -0
  140. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/__init__.py +0 -0
  141. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/download.sh +0 -0
  142. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/gapA.fasta +0 -0
  143. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/infB.fasta +0 -0
  144. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/mdh.fasta +0 -0
  145. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/pgi.fasta +0 -0
  146. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/phoE.fasta +0 -0
  147. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/profiles.tsv +0 -0
  148. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/rpoB.fasta +0 -0
  149. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/tonB.fasta +0 -0
  150. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/klebsiella_oxytoca_complex__mlst.py +0 -0
  151. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_oxytoca_complex__mlst/test_klebsiella_oxytoca_complex__mlst.py +0 -0
  152. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/__init__.py +0 -0
  153. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/col_mutations.py +0 -0
  154. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/CARD_AMR_clustered.csv +0 -0
  155. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/CARD_v3.2.9.fasta +0 -0
  156. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/Kleborate_classes.csv +0 -0
  157. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/MgrB_and_PmrB.fasta +0 -0
  158. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/OmpK.fasta +0 -0
  159. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/data/QRDR_120.fasta +0 -0
  160. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/omp_mutations.py +0 -0
  161. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/qrdr_mutations.py +0 -0
  162. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/shv_mutations.py +0 -0
  163. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_mgrb_pmrb_klebsiella_pneumo_complex__amr.py +0 -0
  164. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_omp_klebsiella_pneumo_complex__amr.py +0 -0
  165. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_qrdr_klebsiella_pneumo_complex__amr.py +0 -0
  166. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_res_aac_klebsiella_pneumo_complex__amr.py +0 -0
  167. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_shv_klebsiella_pneumo_complex__amr.py +0 -0
  168. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_tem_klebsiella_pneumo_complex__amr.py +0 -0
  169. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__cipro_prediction/__init__.py +0 -0
  170. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__cipro_prediction/klebsiella_pneumo_complex__cipro_prediction.py +0 -0
  171. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__kaptive/__init__.py +0 -0
  172. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__kaptive/klebsiella_pneumo_complex__kaptive.py +0 -0
  173. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/__init__.py +0 -0
  174. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/download.sh +0 -0
  175. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/gapA.fasta +0 -0
  176. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/infB.fasta +0 -0
  177. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/mdh.fasta +0 -0
  178. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/pgi.fasta +0 -0
  179. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/phoE.fasta +0 -0
  180. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/profiles.tsv +0 -0
  181. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/rpoB.fasta +0 -0
  182. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/tonB.fasta +0 -0
  183. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/klebsiella_pneumo_complex__mlst.py +0 -0
  184. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__mlst/test_klebsiella_pneumo_complex__mlst.py +0 -0
  185. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_class_count/__init__.py +0 -0
  186. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_class_count/klebsiella_pneumo_complex__resistance_class_count.py +0 -0
  187. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_gene_count/__init__.py +0 -0
  188. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_gene_count/klebsiella_pneumo_complex__resistance_gene_count.py +0 -0
  189. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_score/__init__.py +0 -0
  190. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__resistance_score/klebsiella_pneumo_complex__resistance_score.py +0 -0
  191. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/__init__.py +0 -0
  192. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/klebsiella_pneumo_complex__virulence_score.py +0 -0
  193. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/test_klebsiella_pneumo_complex__virulence_score.py +0 -0
  194. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__wzi/__init__.py +0 -0
  195. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__wzi/data/wzi.fasta +0 -0
  196. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__wzi/data/wzi.txt +0 -0
  197. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__wzi/klebsiella_pneumo_complex__wzi.py +0 -0
  198. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/modules/klebsiella_pneumo_complex__wzi/wzi.py +0 -0
  199. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/__init__.py +0 -0
  200. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/help_formatter.py +0 -0
  201. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/misc.py +0 -0
  202. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/mlst.py +0 -0
  203. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/multi_mlst.py +0 -0
  204. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/resMinimap.py +0 -0
  205. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/species_defs.py +0 -0
  206. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/shared/trim_headers.py +0 -0
  207. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate/version.py +0 -0
  208. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/SOURCES.txt +0 -0
  209. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/dependency_links.txt +0 -0
  210. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/entry_points.txt +0 -0
  211. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/requires.txt +0 -0
  212. {kleborate-3.2.2 → kleborate-3.2.3}/kleborate.egg-info/top_level.txt +0 -0
  213. {kleborate-3.2.2 → kleborate-3.2.3}/setup.cfg +0 -0
  214. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_alignment.py +0 -0
  215. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_main.py +0 -0
  216. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_misc.py +0 -0
  217. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_mlst.py +0 -0
  218. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_modules.py +0 -0
  219. {kleborate-3.2.2 → kleborate-3.2.3}/test/test_multi_mlst.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kleborate
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Kleborate: a tool for typing and screening pathogen genome assemblies
5
5
  Author-email: Mary Maranga <gathonimaranga@gmail.com>, Ryan Wick <rrwick@gmail.com>, Kathryn Holt <kat.holt@lshtm.ac.uk>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -603,18 +603,12 @@ def output_results_klebsiella_pneumo_complex_hAMRonization(full_headers, stdout_
603
603
  # Rename strain to Input_file_name
604
604
  input_file_name = results['strain']
605
605
 
606
- res_headers = [
607
- 'AGly_acquired', 'Col_acquired', 'Fcyn_acquired', 'Flq_acquired', 'Gly_acquired',
608
- 'MLS_acquired', 'Phe_acquired', 'Rif_acquired', 'Sul_acquired', 'Tet_acquired',
609
- 'Tgc_acquired', 'Tmt_acquired', 'Bla_acquired', 'Bla_inhR_acquired',
610
- 'Bla_ESBL_acquired', 'Bla_ESBL_inhR_acquired', 'Bla_Carb_acquired', 'Bla_chr', 'truncated_resistance_hits',
611
- 'spurious_resistance_hits'
612
- ]
613
-
614
606
  mutation_variant_headers = [
615
607
  'SHV_mutations', 'Omp_mutations', 'Col_mutations', 'Flq_mutations'
616
608
  ]
617
609
 
610
+ acquired_res_headers = [h for h in res_headers if h not in mutation_variant_headers]
611
+
618
612
  prefix = 'klebsiella_pneumo_complex__amr__'
619
613
 
620
614
  def clean(val):
@@ -636,13 +630,14 @@ def output_results_klebsiella_pneumo_complex_hAMRonization(full_headers, stdout_
636
630
 
637
631
  rows = []
638
632
 
639
- software_name = results.get('Software_name', ['Kleborate'])[0]
640
- software_version = results.get('Software_version', ['3.1.3'])[0]
641
- db_name = results.get('Reference_database_name', ['CARD'])[0]
642
- db_version = results.get('Reference_database_version', ['3.2.9'])[0]
633
+ software_name = results['klebsiella_pneumo_complex__amr__Software_name']
634
+ software_version = results['klebsiella_pneumo_complex__amr__Software_version']
635
+ db_name = results['klebsiella_pneumo_complex__amr__Reference_database_name']
636
+ db_version = results['klebsiella_pneumo_complex__amr__Reference_database_version']
637
+
643
638
 
644
639
  # ----- ACQUIRED GENES -----
645
- for header in res_headers:
640
+ for header in acquired_res_headers:
646
641
  key = prefix + header
647
642
  variants = parsed.get(key, [])
648
643
  for variant in variants:
@@ -756,7 +751,7 @@ def output_results_klebsiella_pneumo_complex_hAMRonization(full_headers, stdout_
756
751
  if f.tell() == 0:
757
752
  f.write('\t'.join(headers) + '\n')
758
753
  for row in rows:
759
- f.write('\t'.join([str(row.get(h, '-')) for h in headers]) + '\n')
754
+ f.write('\t'.join([str(row.get(h, '-')).strip("[]").replace("'", "") for h in headers]) + '\n')
760
755
 
761
756
 
762
757
  def output_results(full_headers, stdout_headers, outfile, results, trim_headers=False):
@@ -766,7 +761,8 @@ def output_results(full_headers, stdout_headers, outfile, results, trim_headers=
766
761
  """
767
762
  # Print results to the terminal using stdout_headers
768
763
  print('\t'.join([
769
- str(results.get(x, "-")).strip("[]'\"") if not isinstance(results.get(x, "-"), list)
764
+ str(results.get(x, "-")).strip("'\"") if not isinstance(results.get(x, "-"), list)
765
+ # str(results.get(x, "-")).strip("[]'\"") if not isinstance(results.get(x, "-"), list)
770
766
  else ";".join(map(str, results.get(x, "-")))
771
767
  for x in stdout_headers
772
768
  ]))
@@ -781,7 +777,8 @@ def output_results(full_headers, stdout_headers, outfile, results, trim_headers=
781
777
  if o.tell() == 0: # Write headers if file is empty
782
778
  o.write('\t'.join(headers_to_write) + '\n')
783
779
  o.write('\t'.join([
784
- str(results.get(x, "-")).strip("[]'\"") if not isinstance(results.get(x, "-"), list)
780
+ str(results.get(x, "-")).strip("'\"") if not isinstance(results.get(x, "-"), list)
781
+ # str(results.get(x, "-")).strip("[]'\"") if not isinstance(results.get(x, "-"), list)
785
782
  else ";".join(map(str, results.get(x, "-")))
786
783
  for x in full_headers
787
784
  ]) + '\n')
@@ -20,6 +20,7 @@ from pathlib import Path
20
20
  import csv
21
21
  import re
22
22
 
23
+ from kleborate.__main__ import get_version
23
24
  from ...shared.resMinimap import read_class_file, get_res_headers, resminimap_assembly
24
25
 
25
26
 
@@ -181,7 +182,8 @@ def get_results(assembly, minimap2_index, args, previous_results):
181
182
  )
182
183
 
183
184
  # --- report in aac(6`)-Ib-cr* allele in both AGly_acquired and Flq_acquired---
184
- aac6_pattern = re.compile(r"aac\(6[’']\)-Ib-cr", re.IGNORECASE)
185
+ aac6_pattern = re.compile(r"aac\(6[’']\)-Ib-cr[\w\.]*", re.IGNORECASE)
186
+ # aac6_pattern = re.compile(r"aac\(6[’']\)-Ib-cr", re.IGNORECASE)
185
187
  agly_hits = res_hits.get('AGly_acquired', [])
186
188
  flq_hits = res_hits['Flq_acquired']
187
189
 
@@ -197,7 +199,7 @@ def get_results(assembly, minimap2_index, args, previous_results):
197
199
 
198
200
  # --- software and database metadata ---
199
201
  res_hits['Software_name'] = 'Kleborate'
200
- res_hits['Software_version'] = '3.1.3'
202
+ res_hits['Software_version'] = get_version()
201
203
  res_hits['Reference_database_name'] = 'CARD'
202
204
  res_hits['Reference_database_version'] = '3.2.9'
203
205
 
@@ -350,5 +350,32 @@ def get_last_base_aa_before_gap(alignment):
350
350
  break
351
351
  ref_pos += 1
352
352
 
353
+
354
+ # Handle frameshift where the alignment starts with gaps in the query.
355
+ if last_base_pos is None: return (1, next((res for res in aligned_seq2 if res != '-'), None))
356
+
353
357
  return last_base_pos, last_base
358
+
359
+
360
+ # def get_last_base_aa_before_gap(alignment):
361
+ # aligned_seq1, aligned_seq2 = alignment[0], alignment[1]
362
+ # bases_per_ref_pos = {}
363
+ # ref_pos = 1
364
+ # last_base_pos = None
365
+ # last_base = None
366
+
367
+ # for i, ref_b in enumerate(aligned_seq1):
368
+ # if ref_b == '-' or ref_b == '.':
369
+ # continue
370
+ # assembly_b = aligned_seq2[i]
371
+ # bases_per_ref_pos[ref_pos] = assembly_b
372
+ # if assembly_b != '-':
373
+ # last_base_pos = ref_pos
374
+ # last_base = assembly_b
375
+ # else:
376
+ # # First occurrence of a gap at this position
377
+ # break
378
+ # ref_pos += 1
379
+
380
+ # return last_base_pos, last_base
354
381
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kleborate
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Kleborate: a tool for typing and screening pathogen genome assemblies
5
5
  Author-email: Mary Maranga <gathonimaranga@gmail.com>, Ryan Wick <rrwick@gmail.com>, Kathryn Holt <kat.holt@lshtm.ac.uk>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kleborate"
7
- version = "3.2.2"
7
+ version = "3.2.3"
8
8
  description = "Kleborate: a tool for typing and screening pathogen genome assemblies"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes