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

Apply review suggestion

This commit is contained in:
sofstam 2023-02-24 15:50:24 +01:00
parent 5dc3cbc278
commit e18e68faa5
3 changed files with 3 additions and 3 deletions

View file

@ -546,7 +546,7 @@ process {
ext.args = { ext.args = {
[ [
"-p ${meta.tool} -o ${meta.tool}_${meta.id}.${params.standardisation_taxpasta_format}", "-p ${meta.tool} -o ${meta.tool}_${meta.id}.${params.standardisation_taxpasta_format}",
params.taxpasta_taxonomy_files ? "--taxonomy" : "", params.taxpasta_taxonomy_dir ? "--taxonomy" ${params.taxpasta_taxonomy_dir}" : "",
].join(' ').trim() ].join(' ').trim()
} }
publishDir = [ publishDir = [

View file

@ -157,7 +157,7 @@ params {
// profile standardisation // profile standardisation
run_profile_standardisation = false run_profile_standardisation = false
standardisation_taxpasta_format = 'tsv' standardisation_taxpasta_format = 'tsv'
taxpasta_taxonomy_files = false taxpasta_taxonomy_dir = false
standardisation_motus_generatebiom = false standardisation_motus_generatebiom = false
} }

View file

@ -517,7 +517,7 @@
"description": "The desired output format.", "description": "The desired output format.",
"enum": ["tsv", "csv", "arrow", "parquet", "biom"] "enum": ["tsv", "csv", "arrow", "parquet", "biom"]
}, },
"taxpasta_taxonomy_files": { "taxpasta_taxonomy_dir": {
"type": "boolean", "type": "boolean",
"description": "The path to a directory containing taxdump files.", "description": "The path to a directory containing taxdump files.",
"help_text": "At least nodes.dmp and names.dmp are required. A merged.dmp file is optional." "help_text": "At least nodes.dmp and names.dmp are required. A merged.dmp file is optional."