AmpliconTyper – tool for analysing ONT multiplex PCR data from environmental and other mixed sources
Authors/Creators
Description
Abstract Amplicon sequencing is a popular method for understanding the diversity of bacterial communities in mixed samples as exemplified by 16S rRNA metagenome sequencing. This approach has been extended into multiplex amplicon sequencing in which multiple targets are amplified in the same polymerase chain reaction (PCR). Multiple tools exist to process the sequencing data produced via the short-read Illumina platform, but there are fewer options for long-read Oxford Nanopore Technologies (ONT) sequencing, or for processing data from environmental surveillance or other sources with many different organisms. We have developed AmpliconTyper (v0.1.28, DOI: 10.5281/zenodo.14621928) for analysing multiplex amplicon sequencing data from environmental (e.g. wastewater) or similarly contaminated samples, generated using ONT devices. The software tool uses machine learning to classify sequencing reads into target and non-target organisms with very high specificity and sensitivity. The user can train models using public and/or user-generated data, which can subsequently be applied to analyse new data. The tool can also generate amplicon consensus sequences, as well as identify single nucleotide polymorphisms (SNPs) and report their genotype implications, such as association with lineages or antimicrobial resistance (AMR). The tool is freely available via Bioconda and GitHub ( https://github.com/AntonS-bio/AmpliconTyper ). AmpliconTyper allows robust identification of target organism reads in ONT sequenced environmental samples, and can identify user-specified lineage or AMR markers. Impact statement AmpliconTyper (v0.1.28) is a software package that enables users to analyse amplicon sequences generated by targeted amplification followed by ONT sequencing, for environmental or other similarly contaminated samples. The analysis includes mapping of reads to target amplicon sequences, classification of each sequenced read as either originating from a target or non-target organism, followed by identification of user-specified SNPs and generation of an interactive report summarising the findings. The strength of AmpliconTyper lies in its ability to train a machine learning model using public data to create sequencing read classification models tailored to a user's application. AmpliconTyper is designed specifically to work with extremely noisy data that includes a large share of off-target amplification reads such as those encountered in environmental surveillance applications. Data Summary For the purpose of designing and testing AmpliconTyper we have used two datasets. The first consisted of 69 Salmonella enterica serovar. Typhi ( S. Typhi) and 10,303 other Enterobacteriaceae WGS ONT nanopore sequencing libraries ( Supp. Data 1 ) from NCBI Sequence Read Archive (SRA) (1). We used these data to evaluate the performance of different classifier models and to train a model for our use-case, i.e. amplicon-based detection of S . Typhi from environmental surveillance samples (2). In addition, to further evaluate the performance of AmpliconTyper in our use case, we have applied an amplicon sequencing protocol (2) to generate amplicon data for S . Typhi using two S . Typhi isolates (NCBI accessions SRR5949979 and SRR7165748) provided by Satheesh Nair (UKHSA) (3). We also used same protocol to the pooled sample of American Type Culture Collection (ATCC) consisting of S . Paratyphi A (ATCC 9150D), S . Paratyphi B (ATCC-BAA-1250D), S . Paratyphi C (ATCC-BAA-1715D), Aeromonas hydrophila (ATCC-7965D), Klebsiella pneumoniae (ATCC-BAA-1706D), and Citrobacter freundii (ATCC-8090D) chosen for their close relationship to S . Typhi. The test data for classification is available at https://github.com/AntonS-bio/AmpliconTyper/tree/main/test_data . Newly generated data was deposited in European Nucleotide Archive project PRJEB81565.
Additional details
Identifiers
Dates
- Issued
-
January 30, 2025
References
- Agarwala R , Barrett T , Beck J , Benson DA , Bollin C , Bolton E , et al. Database resources of the National Center for Biotechnology Information. Nucleic Acids Research. 2018.
- Amplicon Sequencing for Genotyping S. Typhi V.3 [Internet]. 2024.
- Ashton, P. M., Nair, S., Peters, T. M., Bale, J. A., Powell, D. G., Painset, A., Tewolde, R., Schaefer, U., Jenkins, C., Dallman, T. J., de Pinna, E. M., Grant, K. A., & Group, S. W. G. S. I. (2016). Identification of Salmonella for public health surveillance using whole genome sequencing. PeerJ, 4, Article e1752. https://doi.org/10.7717/peerj.1752
- Nair, S., Patel, V., Hickey, T., Maguire, C., Greig, D. R., Lee, W., Godbole, G., Grant, K., & Chattaway, M. A. (2019). Real-Time PCR Assay for Differentiation of Typhoidal and Nontyphoidal Salmonella. Journal of Clinical Microbiology, 57(8), Article e00167-19. https://doi.org/10.1128/jcm.00167-19
- Kidd, M., Richter, A., Best, A., Cumley, N., Mirza, J., Percival, B., Mayhew, M., Megram, O., Ashford, F., White, T., Moles-Garcia, E., Crawford, L., Bosworth, A., Atabani, S. F., Plant, T., & McNally, A. (2021). S-Variant SARS-CoV-2 Lineage B1.1.7 Is Associated With Significantly Higher Viral Load in Samples Tested by TaqPath Polymerase Chain Reaction. The Journal of Infectious Diseases, 223(10), 1666–1670. https://doi.org/10.1093/infdis/jiab082
- Carey ME , Dyson ZA , Ingle DJ , Amir A , Aworh MK , Chattaway MA , et al. Global diversity and antimicrobial resistance of typhoid fever pathogens: Insights from a meta-analysis of 13,000 Salmonella Typhi genomes. Elife. 2023;12.
- Dyson, Z. A., & Holt, K. E. (2021). Five Years of GenoTyphi: Updates to the Global Salmonella Typhi Genotyping Framework. The Journal of Infectious Diseases, 224(Supplement_7), S775–S780. https://doi.org/10.1093/infdis/jiab414
- Uzzell, C. B., Abraham, D., Rigby, J., Troman, C. M., Nair, S., Elviss, N., Kathiresan, L., Srinivasan, R., Balaji, V., Zhou, N. A., Meschke, J. S., John, J., Kang, G., Feasey, N., Mohan, V. R., & Grassly, N. C. (2023). Environmental Surveillance for Salmonella Typhi and its Association With Typhoid Fever Incidence in India and Malawi. The Journal of Infectious Diseases, 229(4), 979–987. https://doi.org/10.1093/infdis/jiad427
- An extended genotyping framework for Salmonella enterica serovar Typhi, the cause of human typhoid
- Hall, M. B., Wick, R. R., Judd, L. M., Nguyen, A. N., Steinig, E. J., Xie, O., Davies, M., Seemann, T., Stinear, T. P., & Coin, L. (2024). Benchmarking reveals superiority of deep learning variant callers on bacterial nanopore sequence data. eLife, 13, Article RP98300. https://doi.org/10.7554/elife.98300.3
- Callahan, B. J., McMurdie, P. J., Rosen, M. J., Han, A. W., Johnson, A. J. A., & Holmes, S. P. (2016). DADA2: High-resolution sample inference from Illumina amplicon data. Nature Methods, 13(7), 581–583. https://doi.org/10.1038/nmeth.3869
- Wick, R. R., Judd, L. M., & Holt, K. E. (2019). Performance of neural network basecalling tools for Oxford Nanopore sequencing. Genome Biology, 20(1), Article 129. https://doi.org/10.1186/s13059-019-1727-y
- Curry, K. D., Wang, Q., Nute, M. G., Tyshaieva, A., Reeves, E., Soriano, S., Wu, Q., Graeber, E., Finzer, P., Mendling, W., Savidge, T., Villapol, S., Dilthey, A., & Treangen, T. J. (2022). Emu: species-level microbial community profiling of full-length 16S rRNA Oxford Nanopore sequencing data. Nature Methods, 19(7), 845–853. https://doi.org/10.1038/s41592-022-01520-4
- Caporaso, J. G., Kuczynski, J., Stombaugh, J., Bittinger, K., Bushman, F. D., Costello, E. K., Fierer, N., Peña, A. G., Goodrich, J. K., Gordon, J. I., Huttley, G. A., Kelley, S. T., Knights, D., Koenig, J. E., Ley, R. E., Lozupone, C. A., McDonald, D., Muegge, B. D., Pirrung, M., … Knight, R. (2010). QIIME allows analysis of high-throughput community sequencing data. Nature Methods, 7(5), 335–336. https://doi.org/10.1038/nmeth.f.303
- Li, H., Handsaker, B., Wysoker, A., Fennell, T., Ruan, J., Homer, N., Marth, G., Abecasis, G., Durbin, R., & Subgroup, . 1000 G. P. D. P. (2009). The Sequence Alignment/Map format and SAMtools. Bioinformatics, 25(16), 2078–2079. https://doi.org/10.1093/bioinformatics/btp352
- Cock, P. J. A., Fields, C. J., Goto, N., Heuer, M. L., & Rice, P. M. (2009). The Sanger FASTQ file format for sequences with quality scores, and the Solexa/Illumina FASTQ variants. Nucleic Acids Research, 38(6), 1767–1771. https://doi.org/10.1093/nar/gkp1137
- Danecek, P., Auton, A., Abecasis, G., Albers, C. A., Banks, E., DePristo, M. A., Handsaker, R. E., Lunter, G., Marth, G. T., Sherry, S. T., McVean, G., Durbin, R., & Group, . 1000 G. P. A. (2011). The variant call format and VCFtools. Bioinformatics, 27(15), 2156–2158. https://doi.org/10.1093/bioinformatics/btr330
- Niu JD , Danielle ; Hoffman , Michael . The Browser Extensible Data (BED) format https://samtools.github.io/hts-specs/BEDv1.pdf2022 [
- Scikit-learn: Machine Learning in Python
- Heger A , Marshall J , Jacobs K. pysam: htslib interface for python. 2023.
- pickle — Python object serialization. 3.13.1 ed: Python Software Foundation; 2024.
- Li, H. (2018). Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics, 34(18), 3094–3100. https://doi.org/10.1093/bioinformatics/bty191
Citations
- Spadar, A., Mahindroo, J., Troman, C., Owusu, M., Adu-Sarkodie, Y., Owusu-Dabo, E., Abraham, D., Benny, B., Govindan, K., Mohan, V. R., Dyson, Z. A., Grassly, N., & Holt, K. E. (2025). EnviroAmpDesigner – a tool for designing high specificity multiplex PCR primer panels for detecting and subtyping a target organism in environmental surveillance samples [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.04.10.648097