-
Notifications
You must be signed in to change notification settings - Fork 0
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
Some fixes on top of feature/support-external-data #12
Some fixes on top of feature/support-external-data #12
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.
Thank you, magician!
The assembler and amount of memory can be specified in the samplesheet now. Fixed the bits that were not working with multiples runs per invocation of the pipeline. This needs to be reviews and the results sanity checked.
} | ||
else { | ||
"single_end": true, | ||
"assembler": assembler ?: params.assembler, |
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.
Should we define default assembler to metaspades in nextflow.config? or make assembler required in samplesheet?
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 guess the assembler would still be automatically overridden by the complex rules based on metadata after FASTQC_AFTER
?
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.
the rule still stands:
- the samplesheet assembler will be the first option
- if there is no selected assembler, and it's single end -> megahit
- if there is no selected assembler, and it's paired end -> metaspades
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.
In samplesheet you can skip assembler and in params you can also skip it because it is optional. So in that code you can end up without any assembler chosen.. That is my point
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.
Code looks great, as with Kate's PR my comments are more like questions to understand if nextflow/prefect handles some use cases.
Issue: nf-core/tools#2619 Moved the validation to Groovy.
No description provided.