-
Notifications
You must be signed in to change notification settings - Fork 954
Add ViralConsensus module #9655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| def pos_counts_arg = task.ext.save_pos_counts ? "-op ${prefix}.pos_counts.tsv" : '' | ||
| def ins_counts_arg = task.ext.save_ins_counts ? "-oi ${prefix}.ins_counts.json" : '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't like adding new task.ext values. Can these be optional inputs instead please.
SPPearce
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you take a look at:
https://nf-co.re/docs/guidelines/components/modules#configuration-of-extargs-in-tests
and configure the ext.args that way please.
Or if they are all the same after you change the ext., then I guess just have the one nextflow.config
| { assert snapshot( | ||
| process.out.fasta, | ||
| process.out.versions_viralconsensus | ||
| ).match("basic") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ).match("basic") } | |
| ).match() } |
| { assert snapshot( | ||
| process.out.fasta, | ||
| process.out.versions_viralconsensus | ||
| ).match("primer") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ).match("primer") } | |
| ).match() } |
| { assert process.out.fasta }, | ||
| { assert process.out.pos_counts }, | ||
| { assert process.out.ins_counts }, | ||
| { assert snapshot(process.out.versions_viralconsensus).match("optional_versions") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| { assert snapshot(process.out.versions_viralconsensus).match("optional_versions") } | |
| { assert snapshot(process.out.versions_viralconsensus).match() } |
| then { | ||
| assertAll( | ||
| { assert process.success }, | ||
| { assert snapshot(process.out).match("stub") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| { assert snapshot(process.out).match("stub") } | |
| { assert snapshot(process.out).match() } |
| { assert process.out.fasta }, | ||
| { assert process.out.pos_counts }, | ||
| { assert process.out.ins_counts }, | ||
| { assert snapshot(process.out.versions_viralconsensus).match("optional_versions") } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are none of these files stable and able to be put into the snapshot?
PR checklist
Closes #9653
This PR adds ViralConsensus as an nf-core/module.
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda