bioRxivMicrobiology
Detection of plasmid contigs in draft genome assemblies using customized Kraken databases
Abstract
Plasmids play an important role in bacterial evolution and mediate horizontal transfer of genes including virulence and antimicrobial resistance genes. Although short-read sequencing technologies have enabled large-scale bacterial genomics, the resulting draft genome assemblies are often fragmented into hundreds of discrete contigs. Several tools and approaches have been developed to identify plasmid sequences in such assemblies, but require trade-off between sensitivity and specificity. Here we propose using the Kraken classifier, together with a custom Kraken database comprising known chromosomal and plasmid sequences of Klebsiella pneumoniae species complex (KpSC), to identify plasmid-derived contigs in draft assemblies. We assessed performance using Illumina-based draft genome assemblies for 82 KpSC isolates, for which complete genomes were available to supply ground truth. When benchmarked against five other classifiers (Centrifuge, RFPlasmid, mlplasmids, PlaScope, and Platon), Kraken showed balanced performance in terms of overall sensitivity and specificity (90.8% and 99.4%, respectively for contig count; 96.5% and >99.9%, respectively for cumulative contig length), and the highest accuracy (96.8% vs 91.8%-96.6% for contig count; 99.8% vs 99.0%-99.7% for cumulative contig length), and F1-score (94.5% vs 84.5%-94.1%, for contig count; 98.0% vs 88.9%-96.7% for cumulative contig length). Kraken also achieved consistent performance across our genome collection. Furthermore, we demonstrate that expanding the Kraken database with additional known chromosomal and plasmid sequences can further improve classification performance. Although we have focused here on the KpSC, this methodology could easily be applied to other species with a sufficient number of completed genomes. IMPACT STATEMENTThe assembly of bacterial genomes using short-read data often results in hundreds of discrete contigs due to the presence of repeat sequences in those genomes. Separating plasmid contigs from chromosomal contigs in such assemblies is required, e.g., to assess the mobility of antimicrobial resistance genes. Although several tools have been developed for that purpose, they often suffer from low sensitivity or specificity. Here, we propose that the Kraken classifier coupled with a custom Kraken database comprising plasmid-free chromosomal sequences and complete plasmid sequences can be used for detection of plasmid contigs in draft genome assemblies. We showed that Kraken achieved balanced and higher performance compared with other methods (Centrifuge, RFPlasmid, mlplasmids, PlaScope, and Platon). We therefore consider that the Kraken classifier can be the best option for predicting the origin of contigs for species with a suitable number of completed chromosomal and plasmid sequences. DATA SUMMARYTable S1: Complete chromosomes used for creating the base Kraken database. Plasmid-free chromosomal sequences and complete plasmid sequences used for creating the base Kraken database are also available via Figshare at https://doi.org/10.6084/m9.figshare.13289564. Table S2: Sequence data used for benchmarking. Draft assemblies of these 82 KpSC strains are available via Figshare at https://doi.org/10.6084/m9.figshare.13553432. The corresponding sequence read files and complete genomes were deposited in the NCBI SRA and GenBank under BioProjects PRJEB6891, PRJNA351909, PRJNA486877, and PRJNA646837 (individual BioSample IDs listed in Table S2). Kraken output files are available via Figshare at https://doi.org/10.6084/m9.figshare.13553789.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: variant calling
- approach: deep learning
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Benchmarking of tools for resolving the plasmidome from short-read assemblies for Klebsiella pneumoniae
Christopher H. Connor, Ryan R. Wick, … Margaret M. C. Lam·bioRxiv·Jul 24, 2025
- Platon: identification and characterization of bacterial plasmid contigs in short-read draft assembliesexploiting protein-sequence-based replicon distribution scores
Oliver Schwengers, Patrick Barth, … Alexander Goesmann·Microbial GenomicsPeer-reviewed·Jun 24, 2020
- Circling in on plasmids: benchmarking plasmid detection and reconstruction tools for short-read data from diverse species
Marco Teixeira, Célia Souque, … Abigail L. Manson·Briefings in BioinformaticsPeer-reviewed·Nov 1, 2025
- PlasClass improves plasmid sequence classification
David Pellow, Itzik Mizrahi, Ron Shamir A·PLoS Computational BiologyPeer-reviewed·Apr 3, 2020
- RFPlasmid: Predicting plasmid sequences from short read assembly data using machine learning
Linda van der Graaf–van Bloois, Jaap A. Wagenaar, Aldert Zomer·bioRxiv·Jul 31, 2020
- PlasForest: a homology-based random forest classifier for plasmid detection in genomic datasets
Léa Pradier, Tazzio Tissot, … Stéphanie Bedhomme·BMC BioinformaticsPeer-reviewed·Jun 26, 2021