-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmmalign version bump. standardised output format, ported to nf-test
- Loading branch information
1 parent
76fc14f
commit 8d30931
Showing
6 changed files
with
149 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ channels: | |
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- bioconda::hmmer=3.3.2 | ||
- bioconda::hmmer=3.4 |
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,60 @@ | ||
|
||
nextflow_process { | ||
|
||
name "Test Process HMMER_HMMALIGN" | ||
script "../main.nf" | ||
process "HMMER_HMMALIGN" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "hmmer" | ||
tag "hmmer/hmmalign" | ||
|
||
test("test-hmmer-hmmalign") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id: 'test' ], // meta map | ||
file(params.modules_testdata_base_path + 'delete_me/hmmer/e_coli_k12_16s.fna.gz', checkIfExists: true) | ||
] | ||
input[1] = file(params.modules_testdata_base_path + 'delete_me/hmmer/bac.16S_rRNA.hmm.gz', checkIfExists: true) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
} | ||
|
||
test("test-hmmer-hmmalign-stub") { | ||
options '-stub' | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id: 'test' ], // meta map | ||
file(params.modules_testdata_base_path + 'delete_me/hmmer/e_coli_k12_16s.fna.gz', checkIfExists: true) | ||
] | ||
input[1] = file(params.modules_testdata_base_path + 'delete_me/hmmer/bac.16S_rRNA.hmm.gz', checkIfExists: true) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
} | ||
|
||
} |
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,68 @@ | ||
{ | ||
"test-hmmer-hmmalign": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.sto.gz:md5,4ae989d5ade2aaae9578cb88ba031e8f" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,601e13e7a1e6057766d862a828d501c4" | ||
], | ||
"sto": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.sto.gz:md5,4ae989d5ade2aaae9578cb88ba031e8f" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,601e13e7a1e6057766d862a828d501c4" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "23.04.5" | ||
}, | ||
"timestamp": "2024-11-13T12:37:26.551497424" | ||
}, | ||
"test-hmmer-hmmalign-stub": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.sto.gz:md5,68b329da9893e34099c7d8ad5cb9c940" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,601e13e7a1e6057766d862a828d501c4" | ||
], | ||
"sto": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.sto.gz:md5,68b329da9893e34099c7d8ad5cb9c940" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,601e13e7a1e6057766d862a828d501c4" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "23.04.5" | ||
}, | ||
"timestamp": "2024-11-13T12:37:32.244343836" | ||
} | ||
} |
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