Update RGI: add database version reporting to module (#1824)

* Add rgi database version to module as fixed within the container/environment

* Remove check of the version file

* Or rather check for existance of the versions file not contents

* Delete main.nf

Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com>
This commit is contained in:
James A. Fellows Yates 2022-06-30 00:30:51 +02:00 committed by GitHub
parent b67556e29f
commit 486eebfd29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -32,6 +32,7 @@ process RGI_MAIN {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
rgi: \$(rgi main --version) rgi: \$(rgi main --version)
rgi-database: \$(rgi database --version)
END_VERSIONS END_VERSIONS
""" """
} }

View file

@ -8,5 +8,3 @@
contains: ["NZ_LS483480", "orf_end", "perc_identity", "Pulvomycin"] contains: ["NZ_LS483480", "orf_end", "perc_identity", "Pulvomycin"]
- path: output/rgi/test.txt - path: output/rgi/test.txt
contains: ["NZ_LS483480", "ORF_ID", "Model_type", "Pulvomycin"] contains: ["NZ_LS483480", "ORF_ID", "Model_type", "Pulvomycin"]
- path: output/rgi/versions.yml
md5sum: 614a45d9d59680d4e743498773cf830a