-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add islandpath module * chore: Fix version * feat: Include islanpath into annotation * test: Update test trace size * refactor: Add log to islandpath * fix: Add log to stub * docs: Update doc with IslandPath info * fix: Change prokka to bakta * refactor: Rename tsv to gff (actual format)
- Loading branch information
Showing
8 changed files
with
121 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
process ISLANDPATH { | ||
tag "$meta.id" | ||
label 'process_medium' | ||
|
||
conda "bioconda::islandpath=1.0.6" | ||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/islandpath:1.0.6--hdfd78af_0': | ||
'quay.io/biocontainers/islandpath:1.0.6--hdfd78af_0' }" | ||
|
||
input: | ||
tuple val(meta), path(genome) | ||
|
||
output: | ||
tuple val(meta), path("${prefix}.gff"), emit: gff | ||
path "Dimob.log" , emit: log | ||
path "versions.yml" , emit: versions | ||
|
||
when: | ||
task.ext.when == null || task.ext.when | ||
|
||
script: | ||
def args = task.ext.args ?: '' | ||
prefix = task.ext.prefix ?: "${meta.id}" | ||
// WARN: Version information not provided by tool on CLI. Please update this string when bumping container versions. | ||
def VERSION = '1.0.6' | ||
""" | ||
islandpath \\ | ||
$genome \\ | ||
${prefix}.gff \\ | ||
$args | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
islandpath: $VERSION | ||
END_VERSIONS | ||
""" | ||
stub: | ||
prefix = task.ext.prefix ?: "${meta.id}" | ||
def VERSION = '1.0.6' | ||
""" | ||
touch ${prefix}.gff | ||
touch Dimob.log | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
islandpath: $VERSION | ||
END_VERSIONS | ||
""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: islandpath | ||
description: Genomic island prediction in bacterial and archaeal genomes | ||
keywords: | ||
- genomes | ||
- genomic islands | ||
- prediction | ||
tools: | ||
- islandpath: | ||
description: Genomic island prediction in bacterial and archaeal genomes | ||
homepage: https://github.com/brinkmanlab/islandpath | ||
documentation: https://github.com/brinkmanlab/islandpath#readme | ||
tool_dev_url: https://github.com/brinkmanlab/islandpath | ||
doi: "doi:10.1093/bioinformatics/bty095" | ||
licence: ["GPL-3.0"] | ||
|
||
input: | ||
- meta: | ||
type: map | ||
description: | | ||
Groovy Map containing sample information | ||
e.g. [ id:'test', single_end:false ] | ||
- genome: | ||
type: file | ||
description: | | ||
Genome file in .gbk or .embl format. | ||
output: | ||
- gff: | ||
type: file | ||
description: GFF file listing the predicted genomic islands and their coordinates | ||
pattern: "*.gff" | ||
- versions: | ||
type: file | ||
description: File containing software versions | ||
pattern: "versions.yml" | ||
|
||
authors: | ||
- "@jvfe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters