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.
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.