-
Notifications
You must be signed in to change notification settings - Fork 737
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
pypgx/runngspipeline #6823
base: master
Are you sure you want to change the base?
pypgx/runngspipeline #6823
Conversation
For some reason the conda based tests are not working.. |
Can you run the test locally with the conda profile? |
@famosab Thank you for taking a look! I get the same error unfortunately.. I wonder if this is the same issue as #4234 opened by @edmundmiller .
While this is not a subworkflow, the nf-test for this module is chained with other modules that use the exact same |
@famosab Thanks :) It seems like we are waiting for nextflow-io/nextflow#5489 to get merged. Which should fix the issue (nextflow-io/nextflow#5485) |
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.
Thanks for the contribution.
I'm just a bit concerned on how the output is given back.
Is there a need for it to be in a zip format ?
input: | ||
tuple val(meta), path(vcf), path(tbi), path(coverage), path(control_stats), val(pgx_gene) | ||
tuple val(meta2), path(resource_bundle) | ||
val(assembly_version) |
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.
Is this argument mandatory ?
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.
Hi @LouisLeNezet Thank you for your thorough review, and sorry for replying late! Which argument are you referring to exactly?
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 was talking about the assembly_version
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 have set a default in the process as
def assembly = assembly_version ?: "GRCh38"
(https://github.com/nf-core/modules/blob/pypgx/runngspipeline/modules/nf-core/pypgx/runngspipeline/main.nf#L26)
This is in line with how I pass the assembly_version value channel to other processes of the same tool (which are already in master):
- https://github.com/nf-core/modules/blob/master/modules/nf-core/pypgx/createinputvcf/main.nf#L28
- https://github.com/nf-core/modules/blob/master/modules/nf-core/pypgx/computecontrolstatistics/main.nf#L26
- https://github.com/nf-core/modules/blob/master/modules/nf-core/pypgx/preparedepthofcoverage/main.nf#L26
Do you propose something else?
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'm not sure that def assembly = assembly_version ?: "GRCh38"
is the best thing to do.
I was just wondering if the tool needed this string and if so you could just use: assert assembly : "Assembly name should be provided"
. From my point of view the specie should not be set as default, but if your previous PR was accepted as such this is fine for me.
@LouisLeNezet |
That's fine for me then. |
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.
From looking at the other modules of this tool, this is ready to merge !
LGTM
PR checklist
Closes #5987
This PR adds a new module: pypgx/runngspipeline
versions.yml
file.label
nf-core modules test <MODULE> --profile docker