mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-25 02:09:54 +00:00
Last review suggestions
This commit is contained in:
parent
78d7001bea
commit
2f0c68a833
4 changed files with 31 additions and 1 deletions
|
@ -547,6 +547,10 @@ process {
|
||||||
[
|
[
|
||||||
"-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_dir ? "--taxonomy ${params.taxpasta_taxonomy_dir}" : "",
|
params.taxpasta_taxonomy_dir ? "--taxonomy ${params.taxpasta_taxonomy_dir}" : "",
|
||||||
|
params.taxpasta_add_name ? "--add-name" : "",
|
||||||
|
params.taxpasta_add_rank ? "--add-rank" : "",
|
||||||
|
params.taxpasta_add_lineage ? "--add-lineage" : "",
|
||||||
|
params.taxpasta_add_idlineage ? "--add-id-lineage" : "",
|
||||||
].join(' ').trim()
|
].join(' ').trim()
|
||||||
}
|
}
|
||||||
publishDir = [
|
publishDir = [
|
||||||
|
|
|
@ -449,7 +449,7 @@ The resulting HTML files can be loaded into your web browser for exploration. Ea
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
By enabling the parameter `--taxonomy` and giving the path to a directory containing taxdump files, the taxon name, the taxon rank and the taxon's entire lineage can be added in the output. Those should be configured through `ext.args` by respectively using the parameters `--add-name`, `--add-rank` and `--add-lineage`.
|
By enabling the parameter `--taxonomy` and giving the path to a directory containing taxdump files, the taxon name, the taxon rank, the taxon's entire lineage including taxon names and the taxon's entire lineage including taxon identifiers can be added in the output. Those should be configured through `ext.args` by respectively using the parameters `--add-name`, `--add-rank`, `--add-lineage` and `--add-id-lineage`.
|
||||||
|
|
||||||
These files will likely be the most useful files for the comparison of differences in classification between different tools or building consensuses, with the caveat they have slightly less information than the actual output from each tool (which may have non-standard information e.g. taxonomic rank, percentage of hits, abundance estimations).
|
These files will likely be the most useful files for the comparison of differences in classification between different tools or building consensuses, with the caveat they have slightly less information than the actual output from each tool (which may have non-standard information e.g. taxonomic rank, percentage of hits, abundance estimations).
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,10 @@ params {
|
||||||
run_profile_standardisation = false
|
run_profile_standardisation = false
|
||||||
standardisation_taxpasta_format = 'tsv'
|
standardisation_taxpasta_format = 'tsv'
|
||||||
taxpasta_taxonomy_dir = false
|
taxpasta_taxonomy_dir = false
|
||||||
|
taxpasta_add_name = false
|
||||||
|
taxpasta_add_rank = false
|
||||||
|
taxpasta_add_lineage = false
|
||||||
|
taxpasta_add_idlineage = false
|
||||||
standardisation_motus_generatebiom = false
|
standardisation_motus_generatebiom = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -521,6 +521,28 @@
|
||||||
"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."
|
||||||
|
},
|
||||||
|
"taxpasta_add_name": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "false",
|
||||||
|
"description": "Add the taxon name to the output."
|
||||||
|
},
|
||||||
|
"taxpasta_add_rank": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "false",
|
||||||
|
"description": "Add the taxon rank to the output."
|
||||||
|
},
|
||||||
|
"taxpasta_add_lineage": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "false",
|
||||||
|
"description": "Add the taxon's entire lineage to the output.",
|
||||||
|
"help_text": "These are taxon names separated by semi-colons. "
|
||||||
|
},
|
||||||
|
"taxpasta_add_idlineage": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "false",
|
||||||
|
"description": "Add the taxon's entire lineage to the output.",
|
||||||
|
"help_text": "These are taxon identifiers separated by semi-colons. "
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fa_icon": "fas fa-chart-line"
|
"fa_icon": "fas fa-chart-line"
|
||||||
|
|
Loading…
Reference in a new issue