Skip to content

feat: add test_longreadonly_alternatives snapshot#1028

Merged
dialvarezs merged 10 commits into
nf-core:devfrom
dialvarezs:feat/longreadonly-alt-snapshot
Apr 29, 2026
Merged

feat: add test_longreadonly_alternatives snapshot#1028
dialvarezs merged 10 commits into
nf-core:devfrom
dialvarezs:feat/longreadonly-alt-snapshot

Conversation

@dialvarezs
Copy link
Copy Markdown
Member

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).

@dialvarezs dialvarezs marked this pull request as draft April 22, 2026 17:27
@dialvarezs dialvarezs marked this pull request as ready for review April 22, 2026 19:51
@nf-core-bot
Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.2.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

Copy link
Copy Markdown
Contributor

@prototaxites prototaxites left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dialvarezs, this looks really good! I mostly just have a comment about fixing the Flye CPUs - otherwise, this looks really comprehensive.


process {
withName: FLYE {
cpus = 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for reproducibility? Is it worth adding a parameter for this to force a fix as with Spades/Megahit?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I had to set cpus to 1 because assembly results were not stable.

For consistency I think it would make sense to add an option for that and document it in the reproducibility section. But going to leave it for another PR to keep the scope of this PR.

Copy link
Copy Markdown
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question but otherwise looks good!

"MaxBin2 produced unbinned/discarded output: ${maxbin2_unbins.size() > 0}",
"MetaBAT2 produced classified or unclassified output: ${metabat2_bins.size() + metabat2_unbins.size() > 0}",
// Summary row count checks
"Bin summary non-empty: ${bin_summary.csv(sep: '\t').rowCount > 0}",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question(non-blocking)
Questio nagain from the previous PR, is there a reason why you don't check for > 1, to make sure you have more than just the header?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nft-csv doesn't count the header, so this is actually checking for at least one data row.

@dialvarezs dialvarezs merged commit 1f460f7 into nf-core:dev Apr 29, 2026
43 of 45 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.

4 participants