diff --git a/nextflow_schema.json b/nextflow_schema.json index 9aa880757ed6ecc8d684371152194ab365f7ba8f..6e603ea10de11b326f10556d9fbe0c974f5df768 100644 --- a/nextflow_schema.json +++ b/nextflow_schema.json @@ -58,7 +58,7 @@ "type": "string", "format": "file-path", "mimetype": "text/plain", - "pattern": "^\\S+\\.fn?a(sta)?(\\.gz)?$", + "pattern": "^\\S+\\.fn?s?a(sta)?(\\.gz)?$", "description": "Path to FASTA genome file.", "help_text": "This parameter is *mandatory* if `--genome` is not specified. If you don't have a BWA index available this will be generated for you automatically. Combine with `--save_reference` to save BWA index for future runs.", "fa_icon": "far fa-file-code" diff --git a/subworkflows/local/input_check.nf b/subworkflows/local/input_check.nf index c8582b000832a6be271236592e589d4329e84ee8..999d1e3db09043d0800d4f6adbbaa00b50cb75e4 100644 --- a/subworkflows/local/input_check.nf +++ b/subworkflows/local/input_check.nf @@ -13,6 +13,7 @@ workflow INPUT_CHECK { if (params.split_fastq){ SAMPLESHEET_CHECK ( samplesheet ) + .csv .splitCsv ( header:true, sep:',' ) .map { create_fastq_channels(it) } .splitFastq( by: params.fastq_chunks_size, pe:true, file: true, compress:true) @@ -25,6 +26,7 @@ workflow INPUT_CHECK { }else{ SAMPLESHEET_CHECK ( samplesheet ) + .csv .splitCsv ( header:true, sep:',' ) .map { create_fastq_channels(it) } .map { it -> [it[0], [it[1], it[2]]]}