<#2239 Add fixtures for custom/resolvetaxonomy mod...
# test-data
g
#2239 Add fixtures for custom/resolvetaxonomy module tests Pull request opened by erikrikarddaniel Description Small hand-authored fixtures for the new
custom/resolvetaxonomy
module (nf-core/modules, PR to follow) -- a shared module that resolves a set of sequences' taxonomy either from an explicit tab-separated taxonomy file or, if omitted, from embedded GTDB-style taxonomy text in each FASTA header (
>id taxonomy;string
). It's a generalisation of nf-core/sativa's existing local
resolvetaxonomy
module, being adopted by nf-core/phyloplace as well. Five small files under
data/generic/fasta/
and
data/generic/tax/
, covering the module's three taxonomy sources: •
resolvetaxonomy_embedded.fasta
-- two records with embedded header taxonomy, no external file. •
resolvetaxonomy_override.tax
-- an explicit taxonomy file with different lineages than the embedded text above, to test that an explicit file wins (with a warning). •
resolvetaxonomy_plain.fasta
/
resolvetaxonomy_plain.tax
-- records with no embedded text, paired with a plain explicit taxonomy file (no warning expected), and reused on their own to test the "neither source available" path. •
resolvetaxonomy_partial.fasta
-- one record with embedded taxonomy, one without, to test the module's non-required mode (drops the record with no taxonomy, with a warning, instead of failing the whole run). Generated by Claude nf-core/test-datasets
Review on #2239 Add fixtures for custom/resolvetaxonomy module tests Review approved by piplus2 on erikrikarddaniel's pull request LGTM nf-core/test-datasets