diff tool_dependencies.xml @ 0:e9ab4fcb8278 draft default tip

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/packages/package_metaphlan2_2_2_0 commit 7aadbbdef6da644837f62ea428cb859eeff34f04-dirty
author bebatut
date Thu, 26 May 2016 10:20:04 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Thu May 26 10:20:04 2016 -0400
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="python" version="2.7.10">
+        <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="numpy" version="1.9">
+        <repository changeset_revision="57b37f63cb84" name="package_python_2_7_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="metaphlan2" version="2.2.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://bitbucket.org/biobakery/metaphlan2/get/2.2.0.zip</action>
+                <action type="move_file">
+                    <source>metaphlan2.py</source>
+                    <destination>$INSTALL_DIR/bin/</destination>
+                </action>
+                <action type="move_directory_files">
+                    <source_directory>utils/</source_directory>
+                    <destination_directory>$INSTALL_DIR/bin/</destination_directory>
+                </action>
+                <action type="setup_python_environment">
+                    <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                       <package name="python" version="2.7.10" />
+                    </repository>
+                    <repository changeset_revision="57b37f63cb84" name="package_python_2_7_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="numpy" version="1.9" />
+                    </repository>
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
+                    <environment_variable action="set_to" name="METAPHLAN2_DIR">$INSTALL_DIR/</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin/</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme />
+    </package>
+</tool_dependency>