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.0.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.0.1-py3-none-any.whl (135.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaptive-3.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 f6c4d308ec5291cfbc49495aceb23e0c671e6d40d030841fc51583094132e3d8
MD5 15511d670a6c693fb1194dc33d76ac91
BLAKE2b-256 d7b2defe5b770c38871e2cbf3548dc8671603e24e17d653d1eaa76d3711285ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kaptive-3.0.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fa497c952af30c37b46cf545c11fe81e0919631e23c6f9a9cdd6e19504c9ed2
MD5 e2c8b13b29935675350acc78ed86f9cf
BLAKE2b-256 c465e3b76e057cac5a137a2ef36d11538c36deef93fcabacf6a8b22ff063ae70

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