kleborate 3.2.0__tar.gz → 3.2.2__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 (220) hide show
  1. {kleborate-3.2.0 → kleborate-3.2.2}/PKG-INFO +1 -1
  2. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__amr/escherichia__amr.py +16 -14
  3. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ectyper/escherichia__ectyper.py +1 -1
  4. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ezclermont/escherichia__ezclermont.py +59 -30
  5. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/escherichia__pathovar.py +1 -1
  6. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__stxtyper/escherichia__stxtyper.py +9 -11
  7. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/PKG-INFO +1 -1
  8. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/SOURCES.txt +0 -1
  9. {kleborate-3.2.0 → kleborate-3.2.2}/pyproject.toml +1 -1
  10. kleborate-3.2.0/kleborate/modules/escherichia__ezclermont/run.py +0 -584
  11. {kleborate-3.2.0 → kleborate-3.2.2}/LICENSE +0 -0
  12. {kleborate-3.2.0 → kleborate-3.2.2}/README.md +0 -0
  13. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/__init__.py +0 -0
  14. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/__main__.py +0 -0
  15. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/__init__.py +0 -0
  16. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/enterobacterales__species/__init__.py +0 -0
  17. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/enterobacterales__species/data/species_mash_sketches.msh +0 -0
  18. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/enterobacterales__species/enterobacterales__species.py +0 -0
  19. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/enterobacterales__species/test_enterobacterales__species.py +0 -0
  20. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__amr/__init__.py +0 -0
  21. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ectyper/__init__.py +0 -0
  22. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.fasta +0 -0
  23. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.json +0 -0
  24. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ectyper/ectyper.py +0 -0
  25. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__ezclermont/__init__.py +0 -0
  26. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/__init__.py +0 -0
  27. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/adk.fasta +0 -0
  28. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/download.sh +0 -0
  29. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/fumC.fasta +0 -0
  30. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/gyrB.fasta +0 -0
  31. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/icd.fasta +0 -0
  32. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/mdh.fasta +0 -0
  33. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/profiles.tsv +0 -0
  34. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/purA.fasta +0 -0
  35. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/data/recA.fasta +0 -0
  36. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/escherichia__mlst_achtman.py +0 -0
  37. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_achtman/test_escherichia__mlst_achtman.py +0 -0
  38. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/__init__.py +0 -0
  39. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/eae.fasta +0 -0
  40. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/espA.fasta +0 -0
  41. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/espB.fasta +0 -0
  42. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/espD.fasta +0 -0
  43. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/espH.fasta +0 -0
  44. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/espZ.fasta +0 -0
  45. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/profiles.tsv +0 -0
  46. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/data/tir.fasta +0 -0
  47. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_lee/escherichia__mlst_lee.py +0 -0
  48. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/__init__.py +0 -0
  49. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/dinB.fasta +0 -0
  50. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/download.sh +0 -0
  51. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/icdA.fasta +0 -0
  52. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/pabB.fasta +0 -0
  53. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/polB.fasta +0 -0
  54. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/profiles.tsv +0 -0
  55. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/putP.fasta +0 -0
  56. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/trpA.fasta +0 -0
  57. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/trpB.fasta +0 -0
  58. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/data/uidA.fasta +0 -0
  59. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/escherichia__mlst_pasteur.py +0 -0
  60. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__mlst_pasteur/test_escherichia__mlst_pasteur.py +0 -0
  61. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/__init__.py +0 -0
  62. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/data/ShigellaRef5.fasta +0 -0
  63. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/data/shigella_serotype_markers.txt +0 -0
  64. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/data/virulence_ecoli.fsa +0 -0
  65. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/pathovar.py +0 -0
  66. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/shigella__typing.py +0 -0
  67. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__pathovar/shigella_classify.py +0 -0
  68. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/escherichia__stxtyper/__init__.py +0 -0
  69. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/general__contig_stats/__init__.py +0 -0
  70. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/general__contig_stats/data/species_specification.txt +0 -0
  71. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/general__contig_stats/general__contig_stats.py +0 -0
  72. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/general__contig_stats/test_general__contig_stats.py +0 -0
  73. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/__init__.py +0 -0
  74. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/download.sh +0 -0
  75. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/iucA.fasta +0 -0
  76. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/iucB.fasta +0 -0
  77. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/iucC.fasta +0 -0
  78. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/iucD.fasta +0 -0
  79. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/iutA.fasta +0 -0
  80. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/data/profiles.tsv +0 -0
  81. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/klebsiella__abst.py +0 -0
  82. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__abst/test_klebsiella__abst.py +0 -0
  83. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/__init__.py +0 -0
  84. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbA.fasta +0 -0
  85. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbB.fasta +0 -0
  86. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbC.fasta +0 -0
  87. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbD.fasta +0 -0
  88. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbE.fasta +0 -0
  89. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbF.fasta +0 -0
  90. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbG.fasta +0 -0
  91. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbH.fasta +0 -0
  92. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbI.fasta +0 -0
  93. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbL.fasta +0 -0
  94. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbM.fasta +0 -0
  95. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbN.fasta +0 -0
  96. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbO.fasta +0 -0
  97. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbP.fasta +0 -0
  98. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/clbQ.fasta +0 -0
  99. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/download.sh +0 -0
  100. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/data/profiles.tsv +0 -0
  101. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/klebsiella__cbst.py +0 -0
  102. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__cbst/test_klebsiella__cbst.py +0 -0
  103. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmpa2/__init__.py +0 -0
  104. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmpa2/data/rmpA2.fasta +0 -0
  105. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmpa2/klebsiella__rmpa2.py +0 -0
  106. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmpa2/rmpa2.py +0 -0
  107. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/__init__.py +0 -0
  108. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/data/download.sh +0 -0
  109. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/data/profiles.tsv +0 -0
  110. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/data/rmpA.fasta +0 -0
  111. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/data/rmpC.fasta +0 -0
  112. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/data/rmpD.fasta +0 -0
  113. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/klebsiella__rmst.py +0 -0
  114. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__rmst/test_klebsiella__rmst.py +0 -0
  115. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/__init__.py +0 -0
  116. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/download.sh +0 -0
  117. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/iroB.fasta +0 -0
  118. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/iroC.fasta +0 -0
  119. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/iroD.fasta +0 -0
  120. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/iroN.fasta +0 -0
  121. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/data/profiles.tsv +0 -0
  122. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/klebsiella__smst.py +0 -0
  123. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__smst/test_klebsiella__smst.py +0 -0
  124. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/__init__.py +0 -0
  125. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/download.sh +0 -0
  126. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/fyuA.fasta +0 -0
  127. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/irp1.fasta +0 -0
  128. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/irp2.fasta +0 -0
  129. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/profiles.tsv +0 -0
  130. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtA.fasta +0 -0
  131. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtE.fasta +0 -0
  132. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtP.fasta +0 -0
  133. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtQ.fasta +0 -0
  134. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtS.fasta +0 -0
  135. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtT.fasta +0 -0
  136. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtU.fasta +0 -0
  137. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/data/ybtX.fasta +0 -0
  138. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/klebsiella__ybst.py +0 -0
  139. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella__ybst/test_klebsiella__ybst.py +0 -0
  140. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/__init__.py +0 -0
  141. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/download.sh +0 -0
  142. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/gapA.fasta +0 -0
  143. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/infB.fasta +0 -0
  144. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/mdh.fasta +0 -0
  145. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/pgi.fasta +0 -0
  146. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/phoE.fasta +0 -0
  147. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/profiles.tsv +0 -0
  148. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/rpoB.fasta +0 -0
  149. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/data/tonB.fasta +0 -0
  150. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/klebsiella_oxytoca_complex__mlst.py +0 -0
  151. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_oxytoca_complex__mlst/test_klebsiella_oxytoca_complex__mlst.py +0 -0
  152. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/__init__.py +0 -0
  153. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/col_mutations.py +0 -0
  154. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/CARD_AMR_clustered.csv +0 -0
  155. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/CARD_v3.2.9.fasta +0 -0
  156. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/Kleborate_classes.csv +0 -0
  157. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/MgrB_and_PmrB.fasta +0 -0
  158. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/OmpK.fasta +0 -0
  159. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/data/QRDR_120.fasta +0 -0
  160. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/klebsiella_pneumo_complex__amr.py +0 -0
  161. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/omp_mutations.py +0 -0
  162. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/qrdr_mutations.py +0 -0
  163. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/shv_mutations.py +0 -0
  164. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_mgrb_pmrb_klebsiella_pneumo_complex__amr.py +0 -0
  165. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_omp_klebsiella_pneumo_complex__amr.py +0 -0
  166. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_qrdr_klebsiella_pneumo_complex__amr.py +0 -0
  167. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_res_aac_klebsiella_pneumo_complex__amr.py +0 -0
  168. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_shv_klebsiella_pneumo_complex__amr.py +0 -0
  169. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__amr/test/test_tem_klebsiella_pneumo_complex__amr.py +0 -0
  170. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__cipro_prediction/__init__.py +0 -0
  171. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__cipro_prediction/klebsiella_pneumo_complex__cipro_prediction.py +0 -0
  172. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__kaptive/__init__.py +0 -0
  173. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__kaptive/klebsiella_pneumo_complex__kaptive.py +0 -0
  174. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/__init__.py +0 -0
  175. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/download.sh +0 -0
  176. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/gapA.fasta +0 -0
  177. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/infB.fasta +0 -0
  178. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/mdh.fasta +0 -0
  179. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/pgi.fasta +0 -0
  180. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/phoE.fasta +0 -0
  181. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/profiles.tsv +0 -0
  182. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/rpoB.fasta +0 -0
  183. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/data/tonB.fasta +0 -0
  184. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/klebsiella_pneumo_complex__mlst.py +0 -0
  185. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__mlst/test_klebsiella_pneumo_complex__mlst.py +0 -0
  186. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_class_count/__init__.py +0 -0
  187. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_class_count/klebsiella_pneumo_complex__resistance_class_count.py +0 -0
  188. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_gene_count/__init__.py +0 -0
  189. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_gene_count/klebsiella_pneumo_complex__resistance_gene_count.py +0 -0
  190. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_score/__init__.py +0 -0
  191. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__resistance_score/klebsiella_pneumo_complex__resistance_score.py +0 -0
  192. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/__init__.py +0 -0
  193. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/klebsiella_pneumo_complex__virulence_score.py +0 -0
  194. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__virulence_score/test_klebsiella_pneumo_complex__virulence_score.py +0 -0
  195. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__wzi/__init__.py +0 -0
  196. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__wzi/data/wzi.fasta +0 -0
  197. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__wzi/data/wzi.txt +0 -0
  198. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__wzi/klebsiella_pneumo_complex__wzi.py +0 -0
  199. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/modules/klebsiella_pneumo_complex__wzi/wzi.py +0 -0
  200. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/__init__.py +0 -0
  201. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/alignment.py +0 -0
  202. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/help_formatter.py +0 -0
  203. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/misc.py +0 -0
  204. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/mlst.py +0 -0
  205. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/multi_mlst.py +0 -0
  206. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/resMinimap.py +0 -0
  207. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/species_defs.py +0 -0
  208. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/shared/trim_headers.py +0 -0
  209. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate/version.py +0 -0
  210. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/dependency_links.txt +0 -0
  211. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/entry_points.txt +0 -0
  212. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/requires.txt +0 -0
  213. {kleborate-3.2.0 → kleborate-3.2.2}/kleborate.egg-info/top_level.txt +0 -0
  214. {kleborate-3.2.0 → kleborate-3.2.2}/setup.cfg +0 -0
  215. {kleborate-3.2.0 → kleborate-3.2.2}/test/test_alignment.py +0 -0
  216. {kleborate-3.2.0 → kleborate-3.2.2}/test/test_main.py +0 -0
  217. {kleborate-3.2.0 → kleborate-3.2.2}/test/test_misc.py +0 -0
  218. {kleborate-3.2.0 → kleborate-3.2.2}/test/test_mlst.py +0 -0
  219. {kleborate-3.2.0 → kleborate-3.2.2}/test/test_modules.py +0 -0
  220. {kleborate-3.2.0 → kleborate-3.2.2}/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.0
3
+ Version: 3.2.2
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
@@ -1,5 +1,6 @@
1
1
 
2
- """Copyright 2025 Mary Maranga
2
+ """
3
+ Copyright 2025 Mary Maranga
3
4
  https://github.com/klebgenomics/Kleborate/
4
5
 
5
6
  This file is part of Kleborate. Kleborate is free software: you can redistribute it and/or modify
@@ -81,7 +82,7 @@ def categorize_class(class_name):
81
82
 
82
83
  class_map = {
83
84
  'AMINOGLYCOSIDE': 'Aminoglycoside',
84
- 'AMINOGLYCOSIDE/QUINOLONE' : 'Aminoglycoside/Fluoroquinolone', # genes such as aac(6')-Ib-cr5
85
+ 'AMINOGLYCOSIDE/QUINOLONE' : 'Aminoglycoside/Fluoroquinolone',
85
86
  'BETA-LACTAM': 'Betalactam',
86
87
  'CARBAPENEM': 'Carbapenem',
87
88
  'CEPHALOSPORIN': 'Cephalosporin',
@@ -164,10 +165,8 @@ def parse_amrfinder_results(output, split_map):
164
165
  'Carbapenem': '-',
165
166
  'Cephalosporin': '-',
166
167
  'Methicillin': '-',
167
- 'Other Classes': [] # Change from '-' to an empty list
168
+ 'Other Classes': []
168
169
  }
169
-
170
- genes_to_remove = ['blaEC-5', 'pmrB', 'glpT', 'mdf(A)']
171
170
  lines = [line.strip() for line in output.splitlines() if line.strip()]
172
171
  if not lines:
173
172
  print("AMRFinder output is empty")
@@ -184,12 +183,18 @@ def parse_amrfinder_results(output, split_map):
184
183
  class_name = result_dict.get('Class', 'Other Classes')
185
184
  subclass_name = result_dict.get('Subclass', '')
186
185
  element_symbol = result_dict.get('Element symbol', '')
187
-
188
- if element_symbol in genes_to_remove:
189
- continue
190
-
186
+
191
187
  if class_name == 'BETA-LACTAM':
192
- category = 'Betalactam'
188
+ subclass_upper = subclass_name.strip().upper()
189
+ subclass_map = {
190
+ 'CARBAPENEM': 'Carbapenem',
191
+ 'CEPHALOSPORIN': 'Cephalosporin',
192
+ 'METHICILLIN': 'Methicillin'
193
+ }
194
+ if subclass_upper in subclass_map:
195
+ category = subclass_map[subclass_upper]
196
+ else:
197
+ category = 'Betalactam'
193
198
  else:
194
199
  category = categorize_class(class_name)
195
200
 
@@ -200,7 +205,6 @@ def parse_amrfinder_results(output, split_map):
200
205
  else:
201
206
  results[cat] += ',' + element_symbol
202
207
  elif category == 'Other Classes':
203
- # Store (class_name, element_symbol) pairs for later formatting
204
208
  results['Other Classes'].append((class_name.title(), element_symbol))
205
209
  else:
206
210
  if category not in results:
@@ -214,7 +218,6 @@ def parse_amrfinder_results(output, split_map):
214
218
  for category, value in results.items():
215
219
  if category == 'Other Classes':
216
220
  if value:
217
- # Format as Class:gene;Class:gene
218
221
  results[category] = ";".join(f"{cls}:{gene}" for cls, gene in value)
219
222
  else:
220
223
  results[category] = '-'
@@ -224,8 +227,7 @@ def parse_amrfinder_results(output, split_map):
224
227
  results[category] = value
225
228
 
226
229
  return results
227
-
228
-
230
+
229
231
 
230
232
  def get_results(assembly, index, previous_results, args):
231
233
  organism = "Escherichia"
@@ -47,7 +47,7 @@ def add_cli_options(parser):
47
47
  group = parser.add_argument_group(f'{module_name} module')
48
48
  group.add_argument('--escherichia__serotyping_cores', type=int, default=4,
49
49
  help='Number of CPU cores to use for ectyper (default: 4)')
50
- return
50
+ return group
51
51
 
52
52
 
53
53
 
@@ -23,8 +23,10 @@ import itertools
23
23
  from Bio.Seq import Seq
24
24
  from Bio import SeqIO
25
25
  from Bio.SeqRecord import SeqRecord
26
+ import subprocess
27
+ import re
26
28
 
27
- from . import run
29
+ # from . import run
28
30
 
29
31
 
30
32
  def description():
@@ -41,52 +43,79 @@ def get_headers():
41
43
  return full_headers, stdout_headers
42
44
 
43
45
 
44
-
45
46
  def add_cli_options(parser):
46
47
  module_name = os.path.basename(__file__)[:-3]
47
48
  group = parser.add_argument_group(f'{module_name} module')
48
- group.add_argument('--escherichia__ezclermont_min_length', type=float, default=500.0,
49
- help='Minimum contig length to consider in the analysis')
50
-
51
- return
52
-
49
+ group.add_argument('--escherichia__ezclermont_min_length', type=int, default=500,
50
+ help='Minimum contig length to consider in the analysis (integer, 400–500)')
51
+ return group
53
52
 
54
53
  def check_cli_options(args):
55
- if args.escherichia__ezclermont_min_length <= 400.0:
56
- sys.exit('Error: --escherichia__ezclermont_min_length must be between 400.0 and 500.0')
57
-
54
+ if not (400 <= args.escherichia__ezclermont_min_length <= 500):
55
+ sys.exit('Error: --escherichia__ezclermont_min_length must be between 400 and 500')
56
+
58
57
 
59
58
  def check_external_programs():
60
- if not shutil.which('minimap2'):
61
- sys.exit('Error: could not find minimap2')
62
- return ['minimap2']
59
+ if not shutil.which('ezclermont'):
60
+ sys.exit('Error: could not find ezclermont')
61
+ return ['ezclermont']
63
62
 
64
63
 
65
64
  def data_dir():
66
65
  return pathlib.Path(__file__).parents[0] / 'data'
67
66
 
68
67
 
69
- def get_results(assembly, minimap2_index, args, previous_results):
68
+ def run_ezclermont(input_fasta, min_length):
69
+ """
70
+ Run ezClermont.
71
+
72
+ Parameters:
73
+ input_fasta (str): Path to the input FASTA file.
74
+ min_length (int): Minimum contig length.
75
+
76
+ Returns:
77
+ str: Output from ezClermont.
78
+ """
79
+ command = [
80
+ "ezclermont",
81
+ "-m", str(min_length),
82
+ input_fasta
83
+ ]
84
+
85
+ try:
86
+ result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True, text=True)
87
+ output = result.stdout or result.stderr
88
+ return output
89
+ except subprocess.CalledProcessError as e:
90
+ output = e.stderr
91
+ if "Clermont type:" in output or "Results" in output:
92
+ return output
93
+ print(f"Error occurred: {e}")
94
+ return None
70
95
 
71
- args.contigs = assembly
72
- args.min_length = args.escherichia__ezclermont_min_length if hasattr(args, 'min_length') else 500
73
96
 
74
- for attr, default in [('logfile', None), ('no_partial', False), ('experiment_name', None)]:
75
- setattr(args, attr, getattr(args, attr, default))
76
97
 
98
+ def get_results(assembly, minimap2_index, args, previous_results):
99
+ min_length = args.escherichia__ezclermont_min_length
100
+ output = run_ezclermont(assembly, min_length)
101
+ if not output:
102
+ return {"Clermont_type": '', "Clermont_profile": ''}
103
+
104
+ # Extract Clermont type
105
+ type_match = re.search(r'Clermont type:\s*([A-Za-z0-9]+)', output)
106
+ clermont_type = type_match.group(1) if type_match else ''
107
+
108
+ # Extract Clermont profile
109
+ markers = ['TspE4', 'arpA', 'chu', 'yjaA']
110
+ profile_lines = []
111
+ for marker in markers:
112
+ m = re.search(rf'{marker}:\s*[+-]', output)
113
+ if m:
114
+ profile_lines.append(m.group(0))
115
+ clermont_profile = '; '.join(profile_lines)
77
116
 
78
- # Run the PCR analysis from the imported `run` module
79
- f_stdout = io.StringIO()
80
- f_stderr = io.StringIO()
81
- with redirect_stdout(f_stdout), redirect_stderr(f_stderr):
82
- clermont_type, profile = run.main(args)
83
-
84
- profile = profile.replace('\n', '; ').strip('; ')
85
-
86
- # Create a results dictionary
87
117
  results = {
88
118
  "Clermont_type": clermont_type,
89
- "Clermont_profile": profile
119
+ "Clermont_profile": clermont_profile
90
120
  }
91
-
92
- return results
121
+ return results
@@ -42,7 +42,7 @@ def add_cli_options(parser):
42
42
  help='Minimum alignment percent identity for detecting virulence factors')
43
43
  group.add_argument('--escherichia__pathovar_min_coverage', type=float, default=80.0,
44
44
  help='Minimum alignment percent coverage for detecting virulence factors')
45
- return
45
+ return group
46
46
 
47
47
 
48
48
  def check_cli_options(args):
@@ -105,36 +105,34 @@ all_headers = [
105
105
  ]
106
106
 
107
107
 
108
+
108
109
  def parse_stxtyper_output(output, headers, all_headers):
109
110
  """
110
111
  Parse STXTyper output and concatenate values for each selected column.
111
- Returns a dict mapping each header to a semicolon-separated string.
112
+ Returns a dict mapping each header to a semicolon-separated string, replacing empty fields with '-'.
112
113
  """
113
114
  lines = [line.strip() for line in output.strip().split('\n') if line.strip() and not line.startswith('#')]
114
115
  if not lines:
115
- return {header: '' for header in headers}
116
+ return {header: '-' for header in headers}
116
117
 
117
- # Split each line into columns
118
118
  rows = [line.split('\t') for line in lines]
119
119
 
120
- # Ensure that all rows have the correct number of columns
121
120
  expected_col_count = len(all_headers)
122
121
  filtered_rows = [row for row in rows if len(row) >= expected_col_count]
123
122
  if not filtered_rows:
124
- return {header: '' for header in headers}
123
+ return {header: '-' for header in headers}
125
124
 
126
- # Create a mapping of header to column index
127
125
  header_to_index = {header: idx for idx, header in enumerate(all_headers)}
128
126
 
129
127
  result_dict = {}
130
128
  for header in headers:
131
129
  idx = header_to_index.get(header)
132
130
  if idx is not None:
133
- # Collect the relevant column from each row, join with ;
134
- values = [row[idx] for row in filtered_rows]
135
- result_dict[header] = ';'.join(values)
131
+ # Replace empty fields with '-'
132
+ values = [row[idx] if row[idx] != '' else '-' for row in filtered_rows]
133
+ result_dict[header] = ';'.join(values) if values else '-'
136
134
  else:
137
- result_dict[header] = ''
135
+ result_dict[header] = '-'
138
136
  return result_dict
139
137
 
140
138
 
@@ -156,6 +154,6 @@ def get_results(assembly, index, previous_results, args):
156
154
  results = parse_stxtyper_output(raw_output, full_headers, all_headers)
157
155
  return results
158
156
 
159
- return {header: '' for header in full_headers}
160
157
 
158
+ return {header: '-' for header in full_headers}
161
159
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kleborate
3
- Version: 3.2.0
3
+ Version: 3.2.2
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
@@ -24,7 +24,6 @@ kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.fasta
24
24
  kleborate/modules/escherichia__ectyper/data/ectyper_alleles_db.json
25
25
  kleborate/modules/escherichia__ezclermont/__init__.py
26
26
  kleborate/modules/escherichia__ezclermont/escherichia__ezclermont.py
27
- kleborate/modules/escherichia__ezclermont/run.py
28
27
  kleborate/modules/escherichia__mlst_achtman/__init__.py
29
28
  kleborate/modules/escherichia__mlst_achtman/escherichia__mlst_achtman.py
30
29
  kleborate/modules/escherichia__mlst_achtman/test_escherichia__mlst_achtman.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kleborate"
7
- version = "3.2.0"
7
+ version = "3.2.2"
8
8
  description = "Kleborate: a tool for typing and screening pathogen genome assemblies"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"