Deepbgc update versions.yml (#2058)

* not working yet (db not found)

* modify deeparg/download module to return db-path

* 🪄

* Prettier

* add test.yml

* much prettier

* test.yml delete md5 for pot. empty files

* adapt test.yml

* test.yml again

* Apply suggestions from code review

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

* add deepbgc prodigal version to versions.yml

* Apply suggestions from code review

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>

Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
This commit is contained in:
louperelo 2022-09-14 16:15:00 +02:00 committed by GitHub
parent 67652c7c4d
commit d7d6b8222e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ process DEEPBGC_PIPELINE {
cat <<-END_VERSIONS > versions.yml cat <<-END_VERSIONS > versions.yml
"${task.process}": "${task.process}":
deepbgc: \$(echo \$(deepbgc info 2>&1 /dev/null/ | grep 'version' | cut -d " " -f3) ) deepbgc: \$(echo \$(deepbgc info 2>&1 /dev/null/ | grep 'version' | cut -d " " -f3) )
prodigal: \$(prodigal -v 2>&1 | sed -n 's/Prodigal V\\(.*\\):.*/\\1/p')
END_VERSIONS END_VERSIONS
""" """
} }