fix the typo of motus_downloadb.

This commit is contained in:
JIANHONG OU 2022-05-02 08:52:54 -04:00
parent b14f30936e
commit 250d64dfde

View file

@ -18,12 +18,12 @@ process MOTUS_DOWNLOADDB {
script: script:
def args = task.ext.args ?: '' def args = task.ext.args ?: ''
def software = "${motus_downloaddb.simpleName}_copy.py" def software = "${motus_downloaddb_script.simpleName}_copy.py"
""" """
## must copy script file to working directory, ## must copy script file to working directory,
## otherwise the reference_db will be download to bin folder ## otherwise the reference_db will be download to bin folder
## other than current directory ## other than current directory
cp $motus_downloaddb ${software} cp $motus_downloaddb_script ${software}
python ${software} \\ python ${software} \\
$args \\ $args \\
-t $task.cpus -t $task.cpus