1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-13 05:53:09 +00:00

Update taxpasta/merge to version 0.2.0 and add taxonomy argument

This commit is contained in:
sofstam 2023-02-24 11:44:07 +01:00
parent 78c2d275e6
commit 5a6fcf1f42
5 changed files with 16 additions and 5 deletions

View file

@ -543,7 +543,12 @@ process {
}
withName: TAXPASTA_MERGE {
ext.args = { "-p ${meta.tool} -o ${meta.tool}_${meta.id}.${params.standardisation_taxpasta_format}" }
ext.args = {
[
"-p ${meta.tool} -o ${meta.tool}_${meta.id}.${params.standardisation_taxpasta_format}",
params.taxpasta_add_taxonomy ? "--taxonomy" : "",
].join(' ').trim()
}
publishDir = [
path: { "${params.outdir}/taxpasta/" },
mode: params.publish_dir_mode,

View file

@ -209,7 +209,7 @@
},
"taxpasta/merge": {
"branch": "master",
"git_sha": "74ab450ed05e034d049c00f6e2853de2c31594b4",
"git_sha": "fe58454add6225d2b7468e6d72a3a1f6a3149638",
"installed_by": ["modules"]
},
"untar": {

View file

@ -2,10 +2,10 @@ process TAXPASTA_MERGE {
tag "$meta.id"
label 'process_single'
conda "bioconda::taxpasta=0.1.1"
conda "bioconda::taxpasta=0.2.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/taxpasta:0.1.1--pyhdfd78af_0':
'quay.io/biocontainers/taxpasta:0.1.1--pyhdfd78af_0' }"
'https://depot.galaxyproject.org/singularity/taxpasta:0.2.0--pyhdfd78af_0':
'quay.io/biocontainers/taxpasta:0.2.0--pyhdfd78af_0' }"
input:

View file

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

View file

@ -516,6 +516,11 @@
"fa_icon": "fas fa-file",
"description": "The desired output format.",
"enum": ["tsv", "csv", "arrow", "parquet", "biom"]
},
"taxpasta_add_taxonomy": {
"type": "boolean",
"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."
}
},
"fa_icon": "fas fa-chart-line"