Skip to content

About

Kaptive databases for the Klebsiella oxytoca Species Complex (and Klebsiella indica)

Topics

Resources

Contributing

Stars

3 stars

Watchers

3 watching

Forks

Latest commit

 

History

75 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Klebsiella oxytoca Species Complex surface polysaccharide locus databases

Database CI/CD Pipeline

This repository houses databases for in silico typing of K. oxytoca Species Complex (KoSC) and Klebsiella indica K and O surface polysaccharides using Kaptive. The capsule polysaccharide (K) and outer-lipopolysaccharide (O) are major surface antigens and phage binding receptors, making them key targets for novel vaccines, monoclonal antibody and phage therapies targeting KoSC.

Warning

These databases should not be used for species outside of the KoSC and K. indica! Using the databases to type other organisms, including other Klebsiella species, may result in errors and low typing rates.

Tip

K and O locus databases for the Klebsiella pneumoniae Species Complex are available here.

Contents

What is the K. oxytoca Species Complex?

The K. oxytoca Species Complex (KoSC) comprises K. oxytoca and closely related organisms that cannot be accurately distinguished by standard biochemical or mass-spectometry-based identification protocols (shown in red in the phylogeny below):

  • Klebsiella oxytoca
  • Klebsiella michiganensis
  • Klebsiella grimontii
  • Klebsiella pasteurii
  • Klebsiella huaxiensis
  • Klebsiella spallanzanii
  • "Klebsiella mammaliorum" (formal description in progress)
  • plus two unnamed taxa

The KoSC Kaptive databases also include loci from the closely related K. indica (see phylogeny below) since this organism would otherwise not be captured by any available K and O databases.

Unrooted phylogeneny showing the relationships between Klebsiella species and other selected Enterobacteriales, with KoSC and K.indica marked

Database formats and versions

The K and O locus databases each comprise two files that are required to run Kaptive:

  1. A multi-genbank file containing each unique locus sequence and its gene annotations.
  2. A metadata file in TOML format, which provides essential information about the database (e.g. version, target organism(s), curator details), plus any special phenotype logic that applies to the database.

Please see the Kaptive docs for more details on the database file formats.

Note

We use Github tags to mark the database versions. See here for a full list of database versions in this repository.

How are loci defined?

Loci are defined by the rules of the Kaptive typing framework, which states that a unique locus should represent a unique set of genes, with the assumption that this encodes a unique polysaccharide structure. In many cases, these unique structures will result in unique immunological serotypes.

The gene translations (protein sequences) from each locus are compared by pairwise alignment, and must fall under a defined percent identity threshold to be considered 'unique'. Some genes (such as the core assembly machinery) will be highly similar, however the genes responsible for the polysaccharide structural diversity are expected to be more variable. The gene identity threshold for the KoSC databases is 82.5%.

K locus database

K loci

As of v1.0 the K locus database comprises 88 distinct loci:

  • KL1 corresponds to the K locus of strain K15g, for which the capsule locus and polysaccharide structure was previously described.
  • K loci KL26, KL29, KL41, KL66, KL70 and KL74 correspond to the originally defined Klebsiella serotype reference strains (sequences described here). These strains have been broadly assumed as K. pneumoniae but are now known to be members of the KoSC.
  • All other loci were defined from DNA sequence data on the basis of gene content, and numbered arbitrarily as described in Aschcroft/McGarry et al. bioRxiv 2026).

Note

Insertion sequences (IS) are excluded from this database since we assume that the ancestral sequence was likely IS-free and IS transposase genes are not specific to the K locus. Synthetic IS-free K locus sequences were generated for K loci for which no naturally occurring IS-free variants have been identified to date.

Tip

You can see a full list of database versions in this repository here. The version displayed/downloaded by default is the most recent version (highest number).

Predicted K types

K phenotypes are annotated in the database for those loci where corresponding serological types and/or polysaccharide structures have been defined, and for two loci for which we predicted functional equivalence to those in K. pneumoniae for which serotypes and/or polysaccharide structures have been defined. These phenotype predictions are reported in the Kaptive output as the Best match type.

K locus K type Structure reference
KL1 K1 Lukianova et al. Biochemistry Moscow 2026
KL26 K26 Di Fabio et al. Carbohydrate Research 1985
KL29 K29 Not applicable, no structure defined to-date
KL41 K41 Joseleau et al. Carbohydrate Research 1978
KL66 K66 Jansson et al. Carbohydrate Research 1984
KL70 K70 Dutton et al. Carbohydrate Research 1978
KL74 K74 Dutton et al. Carbohydrate Research 1980
KL6 K6 (=Kp K43) Elsässer-Beile et al. Carbohydrate Research 1978
KL11 K11 (=Kp K102) Ravenscroft et al. Carbohydrate Polymers 2025

Kp = K. pneumoniae

Tip

Kaptive will report Best match type as Capsule null when it identifies a truncation in an essential capsule synthesis / assembly gene e.g. wza, wzb, wzc, wzx and/or wzy, or an initiating glycosyltransferase gene, wcaJ or wbaP.

O locus database

O loci

As of v1.0 the O locus database comprises 9 distinct loci:

  • OL3, OL5 and OL9 are orthologous to K. pneumoniae Species Complex OL3α/OL3β, OL5 and OL15, respectively.
  • OL2 is a much more distant ortholog of K. pneumoniae Species Complex OL2α.3.
  • Other loci showed only partial orthology to those from the K. pneumoniae Species Complex.

We also include orthologs of K. pneumoniae Species Complex gmlABC, orf8, wbbYZ and wbmVWX as 'extra genes'. In the K. pneumoniae Species Complex, these genes are found elsewhere in the genome and result in modifications to the O polysaccharide structure (see below).

Tip

You can see a full list of database versions in this repository here. The version displayed/downloaded by default is the most recent version (highest number).

Predicted O types

To our knowledge, only a single KoSC O polysaccharide structure has been published. However, given that many of the O loci are orthologous to those in the K. pneumoniae Species Complex where the underlying genetic determinants of O polysaccharide production are generally well understood, we have been able to make several structural predictions that are annotated in the O locus Genbank and TOML files:

  • In the K. pneumoniae Species Complex the presence of any of three divergent OL2 orthologs results in the production of an O2α polysaccharide backbone, that can be modified to a variety of different polysaccharide structures by the products of 'extra genes' located outside of the O locus. The biochemistry underlying these modifications is well understood and reviewed by Whitfield et al in 2025 (also see this blog for a simplified explanation). The corresponding polysaccharide structures are categorised into the O1, O2 and O11 serogroups. We identified orthologs of each of the 'extra genes' known to play a role in O1, O2 and O11 production and predict that KoSC can produce the corresponding polysaccharide structures. The publication of the polysaccharide structure of K. pasteurii strain 0.067 supports this prediction, since this strain harbours an OL2 locus alongside the wbbYZ extra genes and produces a polysaccharide matching K. pneumoniae O1αβ,2β, with the exception that only a subset of the O2α backbone residues are converted to O2β. The authors therefore proposed to call the structure 'O1αβ,2αβ' following the nomenclature conventions for the K. pneumoniae Species Complex. We have therefore annotated all of the relevant O1, O2 and O11 polysaccharides in the KoSC database, following the rules defined for the K. pneumoniae Species Complex and outlined in the table below.
  • Given that the loci are directly orthologous, we predict that KoSC OL3, OL5 and OL9 result in the production of polysaccharide structures with similarity to those of the K. pneumoniae Species Complex O3α/O3β, O5 and O15, respectively. These are mannose-based polysaccharides that differ by the number of mannose residues within each polysaccharide repeat unit. It is known that subtle sequence variations within the O locus drive these differences, but the specific genetic determinants are not yet understood. We have therefore annotated the corresponding predicted polysaccharide phenotypes within the KoSC O locus database as O3α/O3β-like, O5-like and O15-like, respectively.
  • No predictions could be made for the remaining KoSC O loci.
Predicted O type O locus Extra genes
O1αβ,2α OL2 wbbYZ
O1α,2α OL2 wbbY
O1αβ,2αβ OL2 gmlABC, wbbYZ
O1α,2β OL2 gmlABC, wbbY
O1αβ,2αγ OL2 orf8, wbbYZ
O2α OL2 -
O2β OL2 gmlABC
O2αγ OL2 orf8
O3α/O3β-like OL3 -
O5-like OL5 -
O15-like OL9 -
O11αβ,2α OL2 wbmVWX
O11α,2α OL2 wbmVW
O11αβ,2αβ OL2 gmlABC, wbmVWX
O11α,2αβ OL2 gmlABC, wbmVW
O11αβ,2αγ OL2 orf8, wbmVWX
O15-like OL9 -

How to use the databases

The databases are designed for typing whole genome assemblies using Kaptive. You can install and run Kaptive via the command-line or upload your assemblies to Kaptive Web. Alternatively, you can upload your assemblies to the third-party platform, Pathogenwatch.

Tip

Test data are available here. These include six whole genome assemblies downloaded from the NCBI RefSeq database (labelled *.fasta), plus the corresponding output tables generated via command-line Kaptive (labelled kosc_k_results.txt and kosc_o_results.txt).

Using command-line Kaptive

Make sure you have Kaptive installed and accessible in your path.

1. Install the relevant database(s)

kaptive db install kosc_k
kaptive db install kosc_o

2. Run Kaptive on your genome assemblies

kaptive type kosc_k *.fasta > results.tsv

This will run Kaptive on each assembly with the file suffix .fasta, using the KoSC K locus database, and print the results to a single file called results.tsv. For full details of all command line options see the Kaptive docs.

3. Understand your output

Kaptive produces a tab-separated values (TSV) report, which you can easily open up in Excel, Numbers, or any text editor to browse through.

Here are the key columns in your results.tsv file:

  • Kaptive version: The version of the Kaptive code used to generate these results.
  • Database name: The name of the database used to generate these results.
  • Database version: The version of the database used to generate these results.
  • Assembly: The name of your input genome file.
  • Best match locus: The best-matching locus found in the database (e.g., KL1).
  • Best match type: The predicted phenotype based on the best-matching locus and any special phenotype logic (e.g. taking into account any other genes elsewhere in the genome that are known to impact the phenotype, and/or gene truncations that can inhibit polysaccharide production).
  • Confidence: How confident Kaptive is in the call - this is either "Typeable" or "Untypeable"

Tip

We strongly recommend treating "Untypeable" results as unknown loci unless you are able to perform your own follow-up investigations. "Untypeable" results can indicate a genuine novel locus OR a poor quality match that may be incorrect. It is not possible to distinguish these options without further interrogation of the Kaptive results and your genome assembly. You can learn more in our Kaptive webinars.

For a deeper dive into interpreting the results, see the Kaptive docs.

Using Kaptive Web

Kaptive Web provides a point and click, graphical interface to run Kaptive. It is designed for those who are less confident with command-line applications.

1. Log into Kaptive Web

For security reasons, Kaptive Web now requires a log in. You can use a Github or an ORCiD account to log in. You can delete the record of your account in Kaptive Web at any time via the Settings menu at the top right of the page.

2. Select your organism of interest

Use the dropdown menu to select your organism of interest and see the available databases e.g. Klebsiella oxytcoa Species Complex. The database versions and citations will be shown. Only one version of each database will be available at any given time (generally the most recent version).

Kaptive Web home page, with KoSC databases selected

Tip

The current Kaptive Web and Kaptive versions are shown at the bottom of the page.

3. Upload your genome assemblies

Browse and select genome assembly files to upload from your computer, or drag and drop your files into the panel on the right.

Assemblies must be in FASTA format, one genome per file and no more than 1000 files at a time.

Optionally, add a memorable name for your analysis run so you can easily find it later.

Click Serotype! to start your analysis.

4. View your results

When ready, your results will appear in the Serotyping Results tab. Each genome will be shown in a single row with the following information:

  • Run: The name of the analysis run, either your designated name or an auto-generated alphanumeric identifier.
  • Genome: The name of your input genome file.
  • Locus: The best-matching locus found in the database (e.g., KL1).
  • Phenotype: The predicted phenotype based on the best-matching locus and any special phenotype logic (e.g. taking into account any other genes elsewhere in the genome that are known to impact the phenotype, and/or gene truncations that can inhibit polysaccharide production).
  • Confidence: How confident Kaptive is in the call - this is either "Typeable" or "Untypeable"
  • View: Selecting the View button will allow you to toggle between an interactive image of the locus found in your assembly, and the detailed Kaptive results text.

Locus, Phenotype, Confidence and View are grouped by database e.g. for KoSC you will see one set of columns for the K locus database and another set of columns for the O locus database.

Kaptive Web results page, with KoSC results shown

Tip

We strongly recommend treating "Untypeable" results as unknown loci unless you are able to perform your own follow-up investigations. "Untypeable" results can indicate a genuine novel locus OR a poor quality match that may be incorrect. It is not possible to distinguish these options without further interrogation of the Kaptive results and your genome assembly. You can learn more in our Kaptive webinars.

Tip

The options drop-down menu on the top right allows download of the full Kaptive results, including all typing information and database versions used in the analysis. Simply select the records to be included by checking the relevant boxes on the left of each row, or select ALL by checking the box in the title row. Download options include the Kaptive Table, PHA4GE genotyping output and Kaptive JSON.

For information on the detailed Kaptive results, see the Kaptive docs.

Citations

If you use the K locus database please cite:
Ashcroft, M. / McGarry N. et al. Genomic characterisation of capsule polysaccharide loci in the Klebsiella oxytoca Species Complex. DOI: https://doi.org/10.64898/2026.07.16.739023

If you use the O locus database please cite:
McGarry N. et al. Genomic typing of O polysaccharides among the Klebsiella oxytoca Species Complex reveals species-level conservation of K. pneumoniae O antigen orthologs. In prep.

If you use command-line Kaptive please cite:
Stanton et al. 2025. Fast and accurate in silico antigen typing with Kaptive 3. Microbial Genomics:11(6):001428 DOI: https://doi.org/10.1099/mgen.0.001428.

If you use Kaptive Web please cite:
Wick et al. 2018. Kaptive Web: User-friendly capsule and lipopolysaccharide serotype prediction for Klebsiella genomes. Journal of Clinical Microbiology:56(6) DOI: https://doi.org/10.1128/jcm.00197-18.

Curators

These databases are developed and maintained by Naoise McGarry and Kelly Wyres (Monash University, Australia), with major contribution from Melinda Ashcroft.

Contribute

If you think you've found a novel K or O locus please get in touch so we can add it to the database (with attribution)!

License

The databases are distributed under GNU Genral Public license v3.0.

About

Kaptive databases for the Klebsiella oxytoca Species Complex (and Klebsiella indica)

Topics

Resources

Contributing

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors