-
Notifications
You must be signed in to change notification settings - Fork 946
New module: whatshap/phase #9431
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
Conversation
famosab
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.
Few minor things :)
|
|
||
| then { | ||
| assertAll( | ||
| { assert process.success } |
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 also add a snapshot please?
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.
Yes, the snapshot is added now. Here, I don't add the vcf as it will output the local dir to the snapshot file.
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 process.success } | |
| { assert process.success } | |
| { assert snapshot(process.out).match() } |
This should work for the stub test :)
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.
Done
|
@famosab Could you clean up the additional ci/cd for this PR? |
|
@famosab Fixed all the issues, please review it again. |
famosab
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.
Just one more thing :)
| tuple val(meta), path("*.phased.vcf.gz"), emit: vcf | ||
| tuple val(meta), path("*.phased.vcf.gz.tbi"), emit: tbi |
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 ususally try to not enforce file names :) see
modules/modules/nf-core/wittyer/main.nf
Line 31 in e7cb586
| error "Input and output names are the same, set prefix in module configuration to disambiguate!" |
maybe you can do it similarly here :)
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.
Thank you for pointing this. It's been fixed now.
PR checklist
Closes #9427
versions.ymlfile.labelnf-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