-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update bakta db download version
- Loading branch information
Showing
8 changed files
with
119 additions
and
4 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
modules/nf-core/bakta/baktadbdownload/bakta-baktadbdownload.diff
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,14 @@ | ||
Changes in module 'nf-core/bakta/baktadbdownload' | ||
--- modules/nf-core/bakta/baktadbdownload/main.nf | ||
+++ modules/nf-core/bakta/baktadbdownload/main.nf | ||
@@ -4,7 +4,7 @@ | ||
conda "${moduleDir}/environment.yml" | ||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/bakta:1.9.3--pyhdfd78af_0' : | ||
- 'biocontainers/bakta:1.9.3--pyhdfd78af_0' }" | ||
+ 'quay.io/biocontainers/bakta:1.7.0--pyhdfd78af_1' }" | ||
|
||
output: | ||
path "db*" , emit: db | ||
|
||
************************************************************ |
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,7 @@ | ||
name: bakta_baktadbdownload | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- bioconda::bakta=1.9.3 |
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,55 @@ | ||
nextflow_process { | ||
|
||
name "Test Process BAKTA_BAKTADBDOWNLOAD" | ||
script "../main.nf" | ||
process "BAKTA_BAKTADBDOWNLOAD" | ||
config "./nextflow.config" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "bakta" | ||
tag "bakta/baktadbdownload" | ||
|
||
test("Bakta database download") { | ||
|
||
when { | ||
process { | ||
""" | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert path(process.out.db.get(0)).exists() }, | ||
{ assert snapshot(process.out.versions).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
test("Bakta database download - stub") { | ||
|
||
options "-stub" | ||
|
||
when { | ||
process { | ||
""" | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot( | ||
process.out.db + | ||
process.out.versions | ||
).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
} |
29 changes: 29 additions & 0 deletions
29
modules/nf-core/bakta/baktadbdownload/tests/main.nf.test.snap
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,29 @@ | ||
{ | ||
"Bakta database download": { | ||
"content": [ | ||
[ | ||
"versions.yml:md5,df9b091b08a41b7d5eef95727b7eac29" | ||
] | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "23.10.1" | ||
}, | ||
"timestamp": "2024-03-19T11:34:41.812416438" | ||
}, | ||
"Bakta database download - stub": { | ||
"content": [ | ||
[ | ||
[ | ||
|
||
], | ||
"versions.yml:md5,df9b091b08a41b7d5eef95727b7eac29" | ||
] | ||
], | ||
"meta": { | ||
"nf-test": "0.8.4", | ||
"nextflow": "23.10.1" | ||
}, | ||
"timestamp": "2024-03-19T11:35:01.082923401" | ||
} | ||
} |
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,7 @@ | ||
process { | ||
|
||
withName: 'BAKTA_BAKTADBDOWNLOAD' { | ||
ext.args = "--type light" | ||
} | ||
|
||
} |
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,2 @@ | ||
bakta/baktadbdownload: | ||
- "modules/nf-core/bakta/baktadbdownload/**" |