diff busco.xml @ 3:f18f0b887c31 draft

planemo upload commit 99b8e51a68074a214ca4415a635a426e80e4129b
author iuc
date Fri, 14 Dec 2018 08:13:25 -0500
parents 382a4c19007f
children 5ecdeca79a0d
line wrap: on
line diff
--- a/busco.xml	Fri Oct 20 03:54:35 2017 -0400
+++ b/busco.xml	Fri Dec 14 08:13:25 2018 -0500
@@ -9,16 +9,16 @@
 
         &&
 
+        if [ -z "\$AUGUSTUS_CONFIG_PATH" ] ; then BUSCO_PATH=\$(dirname \$(which run_BUSCO.py)) ; export AUGUSTUS_CONFIG_PATH=\$(realpath \${BUSCO_PATH}/../config) ; fi &&
+        cp -r "\$AUGUSTUS_CONFIG_PATH/" augustus_dir/ &&
+        export AUGUSTUS_CONFIG_PATH=`pwd`/augustus_dir/ &&
+
         #if $adv.aug_prediction.augustus_mode == 'history':
             ## Using an augustus model from history, we need to unzip it and let augustus find it
 
-            cp -r "\$AUGUSTUS_CONFIG_PATH/" augustus_dir/ &&
-
             mkdir -p 'augustus_dir/species/' &&
 
             tar -C 'augustus_dir/species/' -xzvf '${adv.aug_prediction.augustus_model}' > /dev/null &&
-
-            export AUGUSTUS_CONFIG_PATH=`pwd`/augustus_dir/ &&
         #end if
 
         run_BUSCO.py