diff tool_dependencies.xml @ 15:9a099b9b6857 draft

Uploaded
author bgruening
date Fri, 11 Oct 2013 16:06:28 -0400
parents 46fd61e9c310
children e2df6fe8b447
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Oct 10 04:04:57 2013 -0400
+++ b/tool_dependencies.xml	Fri Oct 11 16:06:28 2013 -0400
@@ -3,9 +3,6 @@
     <package name="blast+" version="2.2.28">
         <repository changeset_revision="5a449da71d08" name="package_blast_plus_2_2_28" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
     </package>
-    <package name="hmmer" version="2.3.2">
-        <repository changeset_revision="64510d86d77d" name="package_hmmer_2_3_2" owner="lionelguy" toolshed="http://testtoolshed.g2.bx.psu.edu" />
-    </package>
     <package name="hmmer" version="3.0">
         <repository changeset_revision="a44693e3a2c4" name="package_hmmer_3_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
     </package>
@@ -62,6 +59,11 @@
                     <action type="chmod">
                         <file mode="750">$INSTALL_DIR/run_antismash.py</file>
                     </action>
+                    <!-- AntiSmash has a prerequirement check that is not useful for us, because we
+                        do not offer the option for genprediction and do not install glimmer and Co.
+                        For that reason deactivate the check.
+                    -->
+                    <action type="shell_command">sed -i s/check_prereqs(plugins, options) > 0/True/</action>
                     <action type="download_file">https://bitbucket.org/antismash/antismash2/downloads/clusterblast.tar.gz</action>
                     <action type="shell_command">tar xfvz clusterblast.tar.gz -C $INSTALL_DIR/antismash/generic_modules/clusterblast</action>
                 </actions>
@@ -86,6 +88,7 @@
                 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
                 <action type="set_environment">
                     <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
                 </action>
             </actions_group>
         </install>