Skip to main content
Kaptive

The tool for in silico serotyping

PyPI - Python Version   Conda Version   ruff   ty  

For full documentation, including install and usage instructions, click here.

:arrow_forward: Tutorial

Step-by-step video and documented tutorials are available, covering:

  • Kaptive's features and their scientific rationale
  • How to run Kaptive
  • Examples, illustrating how to run and interpret results
  • Further investigations (e.g. exploring novel loci, IS insertions)

Note: The tutorials are based on Kaptive 2.0, but the principles are similar for Kaptive 3.0.

:mortar_board: Citation

If you use Kaptive in your work, please cite:

@article{mbs:/content/journal/mgen/10.1099/mgen.0.001428,
   author = "Stanton, Thomas David and Hetland, Marit A.K. and Löhr, Iren H. and Holt, Kathryn E. and Wyres, Kelly L.",
   title = "Fast and accurate in silico antigen typing with Kaptive 3", 
   journal= "Microbial Genomics",
   year = "2025",
   volume = "11",
   number = "6",
   pages = "",
   doi = "https://doi.org/10.1099/mgen.0.001428",
   url = "https://www.microbiologyresearch.org/content/journal/mgen/10.1099/mgen.0.001428",
   publisher = "Microbiology Society",
   issn = "2057-5858",
   type = "Journal Article",
   keywords = "serotyping",
   keywords = "Klebsiella",
   keywords = "tools",
   keywords = "capsule",
   keywords = "sero-epidemiology",
   keywords = "antigen",
    eid = "001428",
   abstract = "Surface polysaccharides are common antigens in priority pathogens and therefore attractive targets for novel control strategies such as vaccines, monoclonal antibody and phage therapies. Distinct serotypes correspond to diverse polysaccharide structures that are encoded by distinct biosynthesis gene clusters; e.g. the Klebsiella pneumoniae species complex (KpSC) K- and O-loci encode the synthesis machinery for the capsule (K) and outer-lipopolysaccharides (O), respectively. We previously presented Kaptive and Kaptive 2, programmes to identify K- and O-loci directly from KpSC genome assemblies (later adapted for Acinetobacter baumannii), enabling sero-epidemiological analyses to guide vaccine and phage therapy development. However, for some KpSC genome collections, Kaptive (v≤2) was unable to type a high proportion of K-loci. Here, we identify the cause of this issue as assembly fragmentation and present a new version of Kaptive (v3) to circumvent this problem, reduce processing times and simplify output interpretation. We compared the performance of Kaptive v2 and Kaptive v3 for typing genome assemblies generated from subsampled Illumina read sets (decrements of 10× depth), for which a corresponding high-quality completed genome was also available to determine the ‘true’ loci (n=549 KpSC, n=198 A. baumannii). Both versions of Kaptive showed high rates of agreement to the matched true locus amongst ‘typeable’ locus calls (≥96% for ≥20× read depth), but Kaptive v3 was more sensitive, particularly for low-depth assemblies (at <40× depth, v3 ranged 0.85–1 vs v2 0.09–0.94) and/or typing KpSC K-loci (e.g. 0.97 vs 0.82 for non-subsampled assemblies). Overall, Kaptive v3 was also associated with a higher rate of optimal outcomes; i.e. loci matching those in the reference database were correctly typed, and genuine novel loci were reported as untypeable (73–98% for v3 vs 7–77% for v2 for KpSC K-loci). Kaptive v3 was >1 order of magnitude faster than Kaptive v2, making it easy to analyse thousands of assemblies on a desktop computer, facilitating broadly accessible in silico serotyping that is both accurate and sensitive. The Kaptive v3 source code is freely available on GitHub (https://github.com/klebgenomics/Kaptive), and has been implemented in Kaptive Web (https://kaptive-web.erc.monash.edu/).",
  }

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaptive-3.3.1.tar.gz (350.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaptive-3.3.1-py3-none-any.whl (135.0 kB view details)

Uploaded Python 3

File details

Details for the file kaptive-3.3.1.tar.gz.

File metadata

  • Download URL: kaptive-3.3.1.tar.gz
  • Upload date:
  • Size: 350.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kaptive-3.3.1.tar.gz
Algorithm Hash digest
SHA256 6471e2659cb313c538b87f86851de5235b903809c276abfb41b49ced89ee1ea7
MD5 27b557b77223b8a50443c48d74f9977e
BLAKE2b-256 cd8c68c84a6de6cd4503192754ab5bb9537969040ebef45efed758888139ffb7

See more details on using hashes here.

File details

Details for the file kaptive-3.3.1-py3-none-any.whl.

File metadata

  • Download URL: kaptive-3.3.1-py3-none-any.whl
  • Upload date:
  • Size: 135.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kaptive-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41d4a246d337e60f5e339790af49d34ca79082c8e088f28923d4db2df019cfbf
MD5 de5939b5f525f2a9f17ba16319bf3665
BLAKE2b-256 3c0f99e36b3708b3b9d7e2a4a0c38a72f2fcf5d1cec59b381ce8a96753baccba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page