Add fixtures for custom/resolvetaxonomy module tests - #2239
Merged
erikrikarddaniel merged 1 commit intoAug 26, 2026
Merged
Conversation
Small hand-authored FASTA/tax pairs covering the module's three taxonomy sources (embedded header text, explicit file, neither) for both nf-core/sativa and nf-core/phyloplace, which are adopting this as a shared module. Generated by Claude
erikrikarddaniel
added a commit
to erikrikarddaniel/test-datasets
that referenced
this pull request
Aug 29, 2026
The fasta/ and tax/ fixtures added for custom/resolvetaxonomy tests in nf-core#2239 were never added to the Data Description section. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UvGYU6kuXJeVv9ffdSzdzH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Small hand-authored fixtures for the new
custom/resolvetaxonomymodule (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 localresolvetaxonomymodule, being adopted by nf-core/phyloplace as well.Five small files under
data/generic/fasta/anddata/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