update teh versions.yml

This commit is contained in:
JIANHONG OU 2022-05-02 08:41:41 -04:00
parent f1e4591468
commit 31dd31079d

View file

@ -30,12 +30,9 @@ process MOTUS_DOWNLOADDB {
## clean up
rm ${software}
## mOTUs version number is not available from command line.
## mOTUs save the version number in index database folder.
## mOTUs will check the database version is same version as exec version.
cat <<-END_VERSIONS > versions.yml
"${task.process}":
mOTUs: \$(grep motus db_mOTU/db_mOTU_versions | sed 's/motus\\t//g')
mOTUs: \$(echo \$(motus -h 2>&1) | sed 's/^.*Version: //; s/References.*\$//')
END_VERSIONS
"""
}