mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
recovering old module name
This commit is contained in:
parent
162f8edf54
commit
8b1711d8a1
3 changed files with 61 additions and 1 deletions
30
modules/krona/kronadb/main.nf
Normal file
30
modules/krona/kronadb/main.nf
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
def VERSION='2.7.1' // Version information not provided by tool on CLI
|
||||||
|
|
||||||
|
process KRONA_KTUPDATETAXONOMY {
|
||||||
|
label 'process_low'
|
||||||
|
|
||||||
|
conda (params.enable_conda ? "bioconda::krona=2.7.1" : null)
|
||||||
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||||
|
'https://depot.galaxyproject.org/singularity/krona:2.7.1--pl526_5' :
|
||||||
|
'quay.io/biocontainers/krona:2.7.1--pl526_5' }"
|
||||||
|
|
||||||
|
output:
|
||||||
|
path 'taxonomy/taxonomy.tab', emit: db
|
||||||
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
|
when:
|
||||||
|
task.ext.when == null || task.ext.when
|
||||||
|
|
||||||
|
script:
|
||||||
|
def args = task.ext.args ?: ''
|
||||||
|
"""
|
||||||
|
ktUpdateTaxonomy.sh \\
|
||||||
|
$args \\
|
||||||
|
taxonomy/
|
||||||
|
|
||||||
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
"${task.process}":
|
||||||
|
krona: $VERSION
|
||||||
|
END_VERSIONS
|
||||||
|
"""
|
||||||
|
}
|
30
modules/krona/kronadb/meta.yml
Normal file
30
modules/krona/kronadb/meta.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
name: krona_kronadb
|
||||||
|
description: KronaTools Update Taxonomy downloads a taxonomy database
|
||||||
|
keywords:
|
||||||
|
- database
|
||||||
|
- taxonomy
|
||||||
|
- krona
|
||||||
|
tools:
|
||||||
|
- krona:
|
||||||
|
description: Krona Tools is a set of scripts to create Krona charts from several Bioinformatics tools as well as from text and XML files.
|
||||||
|
homepage: https://github.com/marbl/Krona/wiki/KronaTools
|
||||||
|
documentation: https://github.com/marbl/Krona/wiki/Installing
|
||||||
|
tool_dev_url:
|
||||||
|
doi: https://doi.org/10.1186/1471-2105-12-385
|
||||||
|
licence:
|
||||||
|
|
||||||
|
input:
|
||||||
|
- none: There is no input. This module downloads a pre-built taxonomy database for use with Krona Tools.
|
||||||
|
|
||||||
|
output:
|
||||||
|
- versions:
|
||||||
|
type: file
|
||||||
|
description: File containing software versions
|
||||||
|
pattern: "versions.yml"
|
||||||
|
- db:
|
||||||
|
type: file
|
||||||
|
description: A TAB separated file that contains a taxonomy database.
|
||||||
|
pattern: "*.{tab}"
|
||||||
|
|
||||||
|
authors:
|
||||||
|
- "@mjakobs"
|
|
@ -1,4 +1,4 @@
|
||||||
name: krona_kronadb
|
name: krona_ktupdatetaxonomy
|
||||||
description: KronaTools Update Taxonomy downloads a taxonomy database
|
description: KronaTools Update Taxonomy downloads a taxonomy database
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
|
Loading…
Reference in a new issue