-
Notifications
You must be signed in to change notification settings - Fork 49
More tests for subworkflows #713
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: dev
Are you sure you want to change the base?
Conversation
|
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.
Nice, thanks for keeping it shorter!
Missing changelog.
@@ -55,6 +55,7 @@ process { | |||
} | |||
|
|||
withName: '.*QC_BAM:MOSDEPTH' { | |||
ext.args = "--d4" |
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.
👍
then { | ||
assert workflow.success | ||
assert snapshot( | ||
path(workflow.out.vcf[0][1].toString()).vcf.variantsMD5 |
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.
I like to have vcf.summary here as well, but nothing required.
params { | ||
aligner = "bwamem2" | ||
skip_tools = null | ||
outdir = "tests/results" |
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.
outdir = "tests/results" |
Same here?
params { | ||
outdir = "tests/results" | ||
} |
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.
params { | |
outdir = "tests/results" | |
} |
Why do you need this?
params { | ||
aligner = "sentieon" | ||
skip_tools = null | ||
outdir = "tests/results" |
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.
outdir = "tests/results" |
// NGSBITS_SAMPLEGENDER needs a chrX and chrY in order to run so we skip it for the two test profiles | ||
ext.when = { !(workflow.profile.tokenize(',').intersect(['test', 'test_singleton', 'test_sentieon', 'test_full']).size() >= 1) || workflow.stubRun } |
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.
Could consider adding a stub test where you run this process.
PR checklist
This PR
nf-core pipelines lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).