SeCAT (Sequence Consensus Amplicon Trimming): a simulation-informed Nextflow pipeline for cross-study harmonisation of 16S rRNA metabarcoding datasets
Global syntheses of 16S rRNA metabarcoding data rely on combining datasets, yet amplicon sequence variants generated with different primer pairs can rarely be compared directly. Existing approaches correct batch effects statistically or aggregate taxonomically; none first establishes whether the sequences are positionally comparable. We present SeCAT (Sequence Consensus Amplicon Trimming), a Nextflow pipeline that maps every study’s variants onto a 16S rRNA full-length reference alignment, determines the largest window shared across studies, and tests by simulation whether trimming to that window degrades community structure before any data are merged. Applied to thirteen marine studies sequenced with three primer sets, twelve converged on a consensus window with a median trimmed read length of 249 bp (9,582 alignment columns). Degradation tests across twelve studies and six taxonomic ranks (72 study-rank combinations) returned 31 passes, 38 cautions and three confirmed failures. Eleven studies (682 samples after filtering) were harmonised (trimmed to the window and merged), collapsing 20,891 primer-specific variants into 12,667 MetaASVs, trimmed sequences deduplicated across studies. Harmonisation preserved community structure at family level (Mantel r = 1.00; Procrustes m² < 0.001) without adding between-study variance (|ΔR²| < 0.001). Alpha diversity, including observed richness, was recovered across all levels (intraclass correlations 0.93–1.00), whereas sequence-level congruence was moderate (Procrustes m² = 0.52), as expected where between-study similarity at sequence level exists only after harmonisation. The harmonised output supports synthesis from aggregated ranks down to exact sequences. By establishing positional comparability before merging, SeCAT opens the archive of primer-fragmented 16S rRNA surveys to sequence-level synthesis.
Authors
- David Terrey (ORCID: https://orcid.org/0000-0001-5385-4200)
- Emiliano Pereira-Flores (ORCID: https://orcid.org/0000-0001-5830-3328)
- Michael John Sweet (ORCID: https://orcid.org/0000-0003-4983-8333)
- Robert Ferguson (ORCID: https://orcid.org/0000-0001-7966-8350)
- Sebastián Metz (ORCID: https://orcid.org/0000-0003-3353-8862)
- Alex J. Dumbrell (ORCID: https://orcid.org/0000-0001-6282-3043)
- Alessia Bani (ORCID: https://orcid.org/0000-0001-7195-6446)
- Paula Huber (ORCID: https://orcid.org/0000-0002-5411-7736)
- María Consuelo Pelayo
Institutions
- University of Essex (GB)
- Instituto Nacional de Limnología (AR)
- Universidad Nacional de La Plata (AR)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-04
- DOI
- https://doi.org/10.64898/2026.11.03.763908
- Primary Topic
- Environmental DNA in Biodiversity Studies
- Type
- preprint