-
Notifications
You must be signed in to change notification settings - Fork 42
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
Matrixfilter NA options #244
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.
Minor q on the option handling
conf/modules.config
Outdated
@@ -463,8 +463,10 @@ process { | |||
"--sample_id_col \"${params.observations_id_col}\"", | |||
"--minimum_samples ${params.filtering_min_samples}", | |||
"--minimum_abundance ${params.filtering_min_abundance}", | |||
"--minimum_proportion_not_na ${params.filtering_min_proportion_not_na}", |
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.
This needs conditional treatment as well, right?
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.
No, there is a default value for that param in the nextflow.config. If it is provided together with the min sample number, the latter will be used in the module
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.
What if someone sets the value to null?
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.
Ah, fair enough!
When updating the matrixfilter module with the NA options, I totally forgot to also add them to the pipeline to make them actually callable; sneaking in this small PR to do that now.
PR checklist
nf-core lint
).nextflow run . -profile 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).