-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmseqs version bump - cluster (+tests ported to nf-test), createdb, c…
…reatetsv, databases, linclust (#7170) * mmseqs version bump - cluster, createdb, createtsv, databases, linclsut * removed tags.yml files
- Loading branch information
1 parent
51ae540
commit a437c79
Showing
24 changed files
with
137 additions
and
102 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::mmseqs2=15.6f452 | ||
- bioconda::mmseqs2=16.747c6 |
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,56 @@ | ||
nextflow_process { | ||
|
||
name "Test Process MMSEQS_CLUSTER" | ||
script "../main.nf" | ||
process "MMSEQS_CLUSTER" | ||
config "./nextflow.config" | ||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "mmseqs" | ||
tag "mmseqs/cluster" | ||
tag "untar" | ||
|
||
test("Should cluster an mmseqs database") { | ||
|
||
setup { | ||
run("UNTAR") { | ||
script "modules/nf-core/untar/main.nf" | ||
process { | ||
""" | ||
input[0] = [ [id:'test'], file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/db/mmseqs.tar.gz', checkIfExists: true) ] | ||
""" | ||
} | ||
} | ||
} | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = UNTAR.out.untar | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert process.out.db_cluster.size() == 1 }, | ||
{ | ||
def all_files = file(process.out.db_cluster[0][1]).listFiles() | ||
def all_file_names = all_files.collect { it.name }.toSorted() | ||
def stable_file_names = [ | ||
'test_output_cluster.dbtype', | ||
'test_output_cluster.index' | ||
] | ||
def stable_files = all_files.findAll { it.name in stable_file_names }.toSorted() | ||
|
||
assert snapshot( | ||
all_file_names, | ||
stable_files, | ||
process.out.versions[0] | ||
).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,22 @@ | ||
{ | ||
"Should cluster an mmseqs database": { | ||
"content": [ | ||
[ | ||
"test_output_cluster.0", | ||
"test_output_cluster.1", | ||
"test_output_cluster.dbtype", | ||
"test_output_cluster.index" | ||
], | ||
[ | ||
"test_output_cluster.dbtype:md5,5c879eb8a8613fd4537b919e7d68d089", | ||
"test_output_cluster.index:md5,ca7e1f0967222b06d7e05e47bcbe1e50" | ||
], | ||
"versions.yml:md5,4acad55952c6d1fb41ad7f5a44468aed" | ||
], | ||
"meta": { | ||
"nf-test": "0.9.2", | ||
"nextflow": "24.10.2" | ||
}, | ||
"timestamp": "2024-12-05T10:44:45.713270981" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ channels: | |
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- bioconda::mmseqs2=15.6f452 | ||
- bioconda::mmseqs2=16.747c6 |
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 was deleted.
Oops, something went wrong.
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::mmseqs2=15.6f452 | ||
- bioconda::mmseqs2=16.747c6 |
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 was deleted.
Oops, something went wrong.
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::mmseqs2=15.6f452 | ||
- bioconda::mmseqs2=16.747c6 |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ channels: | |
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- bioconda::mmseqs2=15.6f452 | ||
- bioconda::mmseqs2=16.747c6 |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.