1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-09-21 04:32:06 +00:00

Prettier linting and update schema

This commit is contained in:
James Fellows Yates 2022-03-24 15:35:09 +01:00
parent 203cd2e7d3
commit cc9368ee52
3 changed files with 47 additions and 6 deletions

View file

@ -56,7 +56,7 @@ params {
// FASTQ preprocessing
shortread_clipmerge = false
shortread_excludeunmerged = true
shortread_excludeunmerged = true
longread_clip = false
// MALT

View file

@ -10,7 +10,10 @@
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": ["input", "outdir"],
"required": [
"input",
"outdir"
],
"properties": {
"input": {
"type": "string",
@ -173,7 +176,14 @@
"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.",
"fa_icon": "fas fa-copy",
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
"enum": [
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
],
"hidden": true
},
"email_on_fail": {
@ -256,5 +266,35 @@
{
"$ref": "#/definitions/generic_options"
}
]
}
],
"properties": {
"databases": {
"type": "string",
"default": null
},
"shortread_clipmerge": {
"type": "string",
"default": "false"
},
"shortread_excludeunmerged": {
"type": "string",
"default": "true"
},
"longread_clip": {
"type": "string",
"default": "false"
},
"run_malt": {
"type": "string",
"default": "false"
},
"malt_mode": {
"type": "string",
"default": "BlastN"
},
"run_kraken2": {
"type": "string",
"default": "false"
}
}
}

View file

@ -88,8 +88,9 @@ workflow TAXPROFILER {
//
// MODULE: Run FastQC
//
ch_input_for_fastqc = INPUT_CHECK.out.fastq.mix( INPUT_CHECK.out.nanopore ).dump(tag: "input_to_fastq")
FASTQC (
INPUT_CHECK.out.fastq.mix( INPUT_CHECK.out.nanopore )
ch_input_for_fastqc
)
ch_versions = ch_versions.mix(FASTQC.out.versions.first())