mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Update Bakta module (#1257)
* bump Bakta version to v1.3.1 * add annotation summary file * add/amend meta information Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
This commit is contained in:
parent
fcd483e1b5
commit
9e9ff6a86d
2 changed files with 14 additions and 7 deletions
|
@ -2,10 +2,10 @@ process BAKTA {
|
||||||
tag "$meta.id"
|
tag "$meta.id"
|
||||||
label 'process_medium'
|
label 'process_medium'
|
||||||
|
|
||||||
conda (params.enable_conda ? "bioconda::bakta=1.2.2" : null)
|
conda (params.enable_conda ? "bioconda::bakta=1.3.1" : null)
|
||||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||||
'https://depot.galaxyproject.org/singularity/bakta:1.2.2--pyhdfd78af_0' :
|
'https://depot.galaxyproject.org/singularity/bakta:1.3.1--pyhdfd78af_0' :
|
||||||
'quay.io/biocontainers/bakta:1.2.2--pyhdfd78af_0' }"
|
'quay.io/biocontainers/bakta:1.3.1--pyhdfd78af_0' }"
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(fasta)
|
tuple val(meta), path(fasta)
|
||||||
|
@ -23,6 +23,7 @@ process BAKTA {
|
||||||
tuple val(meta), path("${prefix}.hypotheticals.tsv"), emit: hypotheticals_tsv
|
tuple val(meta), path("${prefix}.hypotheticals.tsv"), emit: hypotheticals_tsv
|
||||||
tuple val(meta), path("${prefix}.hypotheticals.faa"), emit: hypotheticals_faa
|
tuple val(meta), path("${prefix}.hypotheticals.faa"), emit: hypotheticals_faa
|
||||||
tuple val(meta), path("${prefix}.tsv") , emit: tsv
|
tuple val(meta), path("${prefix}.tsv") , emit: tsv
|
||||||
|
tuple val(meta), path("${prefix}.txt") , emit: txt
|
||||||
path "versions.yml" , emit: versions
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
@ -61,6 +62,7 @@ process BAKTA {
|
||||||
touch ${prefix}.hypotheticals.tsv
|
touch ${prefix}.hypotheticals.tsv
|
||||||
touch ${prefix}.hypotheticals.faa
|
touch ${prefix}.hypotheticals.faa
|
||||||
touch ${prefix}.tsv
|
touch ${prefix}.tsv
|
||||||
|
touch ${prefix}.txt
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
name: bakta
|
name: bakta
|
||||||
description: Rapid annotation of bacterial genomes & plasmids.
|
description: Annotation of bacterial genomes (isolates, MAGs) and plasmids
|
||||||
keywords:
|
keywords:
|
||||||
- annotation
|
- annotation
|
||||||
- fasta
|
- fasta
|
||||||
- prokaryote
|
- bacteria
|
||||||
tools:
|
tools:
|
||||||
- bakta:
|
- bakta:
|
||||||
description: Rapid & standardized annotation of bacterial genomes & plasmids.
|
description: Rapid & standardized annotation of bacterial genomes, MAGs & plasmids.
|
||||||
homepage: https://github.com/oschwengers/bakta
|
homepage: https://github.com/oschwengers/bakta
|
||||||
documentation: https://github.com/oschwengers/bakta
|
documentation: https://github.com/oschwengers/bakta
|
||||||
tool_dev_url: https://github.com/oschwengers/bakta
|
tool_dev_url: https://github.com/oschwengers/bakta
|
||||||
|
@ -29,7 +29,7 @@ input:
|
||||||
Path to the Bakta database
|
Path to the Bakta database
|
||||||
- proteins:
|
- proteins:
|
||||||
type: file
|
type: file
|
||||||
description: FASTA file of trusted proteins to first annotate from (optional)
|
description: FASTA/GenBank file of trusted proteins to first annotate from (optional)
|
||||||
- prodigal_tf:
|
- prodigal_tf:
|
||||||
type: file
|
type: file
|
||||||
description: Training file to use for Prodigal (optional)
|
description: Training file to use for Prodigal (optional)
|
||||||
|
@ -44,6 +44,10 @@ output:
|
||||||
type: file
|
type: file
|
||||||
description: File containing software versions
|
description: File containing software versions
|
||||||
pattern: "versions.yml"
|
pattern: "versions.yml"
|
||||||
|
- txt:
|
||||||
|
type: file
|
||||||
|
description: genome statistics and annotation summary
|
||||||
|
pattern: "*.txt"
|
||||||
- tsv:
|
- tsv:
|
||||||
type: file
|
type: file
|
||||||
description: annotations as simple human readble tab separated values
|
description: annotations as simple human readble tab separated values
|
||||||
|
@ -83,3 +87,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@rpetit3"
|
- "@rpetit3"
|
||||||
|
- "@oschwengers"
|
||||||
|
|
Loading…
Reference in a new issue