mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 06:29:55 +00:00
Linting
This commit is contained in:
parent
47a5ae0cff
commit
0f651873dd
2 changed files with 14 additions and 45 deletions
|
@ -55,7 +55,7 @@ process {
|
|||
params.shortread_clipmerge_adapter1 ? "--adapter_sequence ${params.shortread_clipmerge_adapter1}" : "",
|
||||
// filtering options
|
||||
"--length_required ${params.shortread_clipmerge_minlength}",
|
||||
params.perform_shortread_complexityfilter && params.shortread_complexityfilter_tool == 'fastp' ? "--low_complexity_filter --complexity_threshold ${params.shortread_complexityfilter_fastp_threshold}" : ''
|
||||
params.perform_shortread_complexityfilter && params.shortread_complexityfilter_tool == 'fastp' ? "--low_complexity_filter --complexity_threshold ${params.shortread_complexityfilter_fastp_threshold}" : ''
|
||||
].join(' ').trim()
|
||||
ext.prefix = { "${meta.id}_${meta.run_accession}" }
|
||||
publishDir = [
|
||||
|
@ -76,7 +76,7 @@ process {
|
|||
params.shortread_clipmerge_adapter2 ? "--adapter_sequence_r2 ${params.shortread_clipmerge_adapter2}" : "--detect_adapter_for_pe",
|
||||
// filtering options
|
||||
"--length_required ${params.shortread_clipmerge_minlength}",
|
||||
params.perform_shortread_complexityfilter && params.shortread_complexityfilter_tool == 'fastp' ? "--low_complexity_filter --complexity_threshold ${params.shortread_complexityfilter_fastp_threshold}" : ''
|
||||
params.perform_shortread_complexityfilter && params.shortread_complexityfilter_tool == 'fastp' ? "--low_complexity_filter --complexity_threshold ${params.shortread_complexityfilter_fastp_threshold}" : ''
|
||||
].join(' ').trim()
|
||||
ext.prefix = { "${meta.id}_${meta.run_accession}" }
|
||||
publishDir = [
|
||||
|
|
|
@ -10,10 +10,7 @@
|
|||
"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",
|
||||
|
@ -176,14 +173,7 @@
|
|||
"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": {
|
||||
|
@ -304,10 +294,7 @@
|
|||
"shortread_clipmerge_tool": {
|
||||
"type": "string",
|
||||
"default": "fastp",
|
||||
"enum": [
|
||||
"fastp",
|
||||
"adapterremoval"
|
||||
]
|
||||
"enum": ["fastp", "adapterremoval"]
|
||||
},
|
||||
"shortread_clipmerge_skipadaptertrim": {
|
||||
"type": "boolean"
|
||||
|
@ -333,11 +320,7 @@
|
|||
"shortread_complexityfilter_tool": {
|
||||
"type": "string",
|
||||
"default": "bbduk",
|
||||
"enum": [
|
||||
"bbduk",
|
||||
"prinseqplusplus",
|
||||
"fastp"
|
||||
]
|
||||
"enum": ["bbduk", "prinseqplusplus", "fastp"]
|
||||
},
|
||||
"shortread_complexityfilter_bbduk_windowsize": {
|
||||
"type": "integer",
|
||||
|
@ -353,10 +336,7 @@
|
|||
"shortread_complexityfilter_prinseqplusplus_mode": {
|
||||
"type": "string",
|
||||
"default": "entropy",
|
||||
"enum": [
|
||||
"entropy",
|
||||
"dust"
|
||||
]
|
||||
"enum": ["entropy", "dust"]
|
||||
},
|
||||
"shortread_complexityfilter_prinseqplusplus_dustscore": {
|
||||
"type": "number",
|
||||
|
@ -412,14 +392,7 @@
|
|||
"kaiju_taxon_name": {
|
||||
"type": "string",
|
||||
"default": "species",
|
||||
"enum": [
|
||||
"phylum",
|
||||
"class",
|
||||
"order",
|
||||
"family",
|
||||
"genus",
|
||||
"species"
|
||||
]
|
||||
"enum": ["phylum", "class", "order", "family", "genus", "species"]
|
||||
},
|
||||
"run_diamond": {
|
||||
"type": "boolean"
|
||||
|
@ -427,19 +400,15 @@
|
|||
"diamond_output_format": {
|
||||
"type": "string",
|
||||
"default": "tsv",
|
||||
"enum": [
|
||||
"blast",
|
||||
"xml",
|
||||
"txt",
|
||||
"daa",
|
||||
"sam",
|
||||
"tsv",
|
||||
"paf"
|
||||
]
|
||||
"enum": ["blast", "xml", "txt", "daa", "sam", "tsv", "paf"]
|
||||
},
|
||||
"longread_hostremoval_index": {
|
||||
"type": "string",
|
||||
"default": "None"
|
||||
},
|
||||
"shortread_complexityfilter_fastp_threshold": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue