mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
antismashlite: Support GBK input (#1840)
* Support non-GFF input * Apply suggestions from code review Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Fix linting error Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
This commit is contained in:
parent
b96066565a
commit
b3acfc54f5
2 changed files with 7 additions and 3 deletions
|
@ -45,11 +45,12 @@ process ANTISMASH_ANTISMASHLITE {
|
|||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
prefix = task.ext.suffix ? "${meta.id}${task.ext.suffix}" : "${meta.id}"
|
||||
gff_flag = "--genefinding-gff3 ${gff}"
|
||||
gff_flag = gff ? "--genefinding-gff3 ${gff}" : ""
|
||||
|
||||
"""
|
||||
## We specifically do not include annotations (--genefinding-tool none) as
|
||||
## We specifically do not include on-the-fly annotations (--genefinding-tool none) as
|
||||
## this should be run as a separate module for versioning purposes
|
||||
|
||||
antismash \\
|
||||
$args \\
|
||||
$gff_flag \\
|
||||
|
|
|
@ -37,7 +37,9 @@ input:
|
|||
pattern: "*.{gbk, gb, gbff, genbank, embl, fasta, fna}"
|
||||
- databases:
|
||||
type: directory
|
||||
description: downloaded AntiSMASH databases e.g. data/databases
|
||||
description: |
|
||||
Downloaded AntiSMASH databases (e.g. in the AntiSMASH installation directory
|
||||
"data/databases")
|
||||
pattern: "*/"
|
||||
- antismash_dir:
|
||||
type: directory
|
||||
|
@ -51,6 +53,7 @@ input:
|
|||
pattern: "*/"
|
||||
- gff:
|
||||
type: file
|
||||
description: Annotations in GFF3 format (only if sequence_input is in FASTA format)
|
||||
pattern: "*.gff"
|
||||
|
||||
output:
|
||||
|
|
Loading…
Reference in a new issue