Skip to content

Improve handling of GTDB-Tk + Bin QC #954

Merged
dialvarezs merged 4 commits intonf-core:devfrom
dialvarezs:fix-gtdbtk-binqc
Dec 3, 2025
Merged

Improve handling of GTDB-Tk + Bin QC #954
dialvarezs merged 4 commits intonf-core:devfrom
dialvarezs:fix-gtdbtk-binqc

Conversation

@dialvarezs
Copy link
Copy Markdown
Member

This adds a warning message when no Bin QC tool is enabled and GTDB-Tk is.
It also prevent GTDB-Tk actually running when Bin QC is disabled or no QC tool is enabled.

Reported in slack: https://nfcore.slack.com/archives/CE9MS66BS/p1764749516249169

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/mag branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@prototaxites
Copy link
Copy Markdown
Contributor

prototaxites commented Dec 3, 2025

🤔 I think this might be fine as a temporary fix, if we want to squeak this in before the next release and fix the bug in the moment.

But IMO GTDB-Tk should execute on /all/ bins if no BinQC tool is specified - even if they're low quality. It's already possible to set the GTDB QC thresholds to 0% completeness, 100% contamination anyway, even if you run a BinQC tool.

@dialvarezs
Copy link
Copy Markdown
Member Author

I guess you're right @prototaxites, let's go with this for now and then we can run GTDB-Tk on all bins if QC is disabled.

@dialvarezs dialvarezs merged commit 45119fa into nf-core:dev Dec 3, 2025
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants