Version history

First release of nf-core/taxmarker, a pipeline that finds taxonomically mislabelled sequences in reference databases by evolutionary placement. It re-implements SATIVA (Kozlov et al. 2016): it builds a reference phylogeny constrained by the declared taxonomy, places each sequence back into it after removing it, and flags sequences whose placement disagrees with their label.

Highlights:

  • Input as aligned or unaligned FASTA, PHYLIP or Clustal, with the taxonomy as a separate table or in GTDB-style headers.
  • Sequence weights from GTDB genome metadata (--upstream GTDB), and clustering to one representative per cluster and taxon, so that whole GTDB releases can be processed.
  • A fast raxtax prefilter that flags gross mislabels before alignment and placement.
  • Alignment with hmmalign against an HMM profile, or with MAFFT, and filters for sequences too incomplete to place.
  • Leave-one-out placement with EPA-ng through sativa-epang, which can be spread over many jobs, and a divided tree search for reference trees with hundreds of thousands of tips.
  • Export of the cleaned sequences as DADA2 (assignTaxonomy, addSpecies) and general FASTA references, and of a reference tree and model for phylogenetic placement.

Thanks to everyone who contributed code: @Aaramis, who also wrote sativa-epang, the placement and scoring tool the pipeline is built on, @Sofokli5, @stev004 and @mashehu. And thanks to everyone who reviewed: @Aaramis, @Sofokli5, @piplus2, @FelixKrueger, @Deriverx2, @mashehu and @nictru, and to @jfy133 for feedback on the metro map.

See the CHANGELOG for the software versions.