1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-26 00:59:55 +00:00

Formatting and fix fastp output

This commit is contained in:
James Fellows Yates 2022-04-08 13:34:00 +02:00
parent ca011ccc5b
commit a634814d84
2 changed files with 6 additions and 22 deletions

View file

@ -10,10 +10,7 @@
"type": "object", "type": "object",
"fa_icon": "fas fa-terminal", "fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.", "description": "Define where the pipeline should find input data and save output data.",
"required": [ "required": ["input", "outdir"],
"input",
"outdir"
],
"properties": { "properties": {
"input": { "input": {
"type": "string", "type": "string",
@ -176,14 +173,7 @@
"description": "Method used to save pipeline results to output directory.", "description": "Method used to save pipeline results to output directory.",
"help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.", "help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.",
"fa_icon": "fas fa-copy", "fa_icon": "fas fa-copy",
"enum": [ "enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
],
"hidden": true "hidden": true
}, },
"email_on_fail": { "email_on_fail": {
@ -298,10 +288,7 @@
"shortread_clipmerge_tool": { "shortread_clipmerge_tool": {
"type": "string", "type": "string",
"default": "fastp", "default": "fastp",
"enum": [ "enum": ["fastp", "adapterremoval"]
"fastp",
"adapterremoval"
]
}, },
"shortread_clipmerge_skipadaptertrim": { "shortread_clipmerge_skipadaptertrim": {
"type": "boolean" "type": "boolean"
@ -345,10 +332,7 @@
"shortread_complexityfilter_prinseqplusplus_mode": { "shortread_complexityfilter_prinseqplusplus_mode": {
"type": "string", "type": "string",
"default": "entropy", "default": "entropy",
"enum": [ "enum": ["entropy", "dust"]
"entropy",
"dust"
]
}, },
"shortread_complexityfilter_prinseqplusplus_dustscore": { "shortread_complexityfilter_prinseqplusplus_dustscore": {
"type": "number", "type": "number",

View file

@ -67,7 +67,7 @@ workflow SHORTREAD_ADAPTERREMOVAL {
[meta_new, reads] [meta_new, reads]
} }
.groupTuple() .groupTuple()
.map { meta, fastq -> [meta, fastq.flatten()] } .map { meta, fastq -> [meta, [ fastq ].flatten()] }
CAT_FASTQ(ch_concat_fastq) CAT_FASTQ(ch_concat_fastq)