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:
Oliver Schwengers 2022-02-17 16:59:31 +01:00 committed by GitHub
parent fcd483e1b5
commit 9e9ff6a86d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 7 deletions

View file

@ -2,10 +2,10 @@ process BAKTA {
tag "$meta.id"
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 ?
'https://depot.galaxyproject.org/singularity/bakta:1.2.2--pyhdfd78af_0' :
'quay.io/biocontainers/bakta:1.2.2--pyhdfd78af_0' }"
'https://depot.galaxyproject.org/singularity/bakta:1.3.1--pyhdfd78af_0' :
'quay.io/biocontainers/bakta:1.3.1--pyhdfd78af_0' }"
input:
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.faa"), emit: hypotheticals_faa
tuple val(meta), path("${prefix}.tsv") , emit: tsv
tuple val(meta), path("${prefix}.txt") , emit: txt
path "versions.yml" , emit: versions
when:
@ -61,6 +62,7 @@ process BAKTA {
touch ${prefix}.hypotheticals.tsv
touch ${prefix}.hypotheticals.faa
touch ${prefix}.tsv
touch ${prefix}.txt
cat <<-END_VERSIONS > versions.yml
"${task.process}":

View file

@ -1,12 +1,12 @@
name: bakta
description: Rapid annotation of bacterial genomes & plasmids.
description: Annotation of bacterial genomes (isolates, MAGs) and plasmids
keywords:
- annotation
- fasta
- prokaryote
- bacteria
tools:
- bakta:
description: Rapid & standardized annotation of bacterial genomes & plasmids.
description: Rapid & standardized annotation of bacterial genomes, MAGs & plasmids.
homepage: https://github.com/oschwengers/bakta
documentation: https://github.com/oschwengers/bakta
tool_dev_url: https://github.com/oschwengers/bakta
@ -29,7 +29,7 @@ input:
Path to the Bakta database
- proteins:
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:
type: file
description: Training file to use for Prodigal (optional)
@ -44,6 +44,10 @@ output:
type: file
description: File containing software versions
pattern: "versions.yml"
- txt:
type: file
description: genome statistics and annotation summary
pattern: "*.txt"
- tsv:
type: file
description: annotations as simple human readble tab separated values
@ -83,3 +87,4 @@ output:
authors:
- "@rpetit3"
- "@oschwengers"