-
Notifications
You must be signed in to change notification settings - Fork 4
Assembly subworkflow #14
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
Assembly subworkflow #14
Conversation
| if ( params.input_genome ) { | ||
| ch_samplesheet = Channel | ||
| .fromList(samplesheetToList(params.input_genome, "${projectDir}/assets/schema_input_genome.json")) | ||
| } else if ( params.input_assembly ) { | ||
| ch_samplesheet = Channel | ||
| .fromList(samplesheetToList(params.input_assembly, "${projectDir}/assets/schema_input_assembly.json")) | ||
| } else { | ||
| error("No input was found. Please, point to the location of your samplesheet using --input_genome or --input_assembly") | ||
| } |
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 is how the validation is done now
|
Now there is a test for every submission type: |
|
Added
There's also a |
|
Removed |
|
Pushing against nf-core:assembly_workflow (branch I've just created), as I'm pushing from my fork. If you want to still work on this you can merge it this PR and work on the nf-core:assembly_workflow branch. |
Closes #4.
Changes
--input_genomefor genome submission and--input_assemblyfor assembly submission. Every input type has it's own samplesheet schema.--inputhas been removed.input_schema_genome.json) and one for the genome samplesheet (input_schema_assembly.json).Comments
We need a test data to start building the assembly subworkflow.