changeset 4:fe131b016d6a draft

Uploaded
author modencode-dcc
date Mon, 21 Jan 2013 17:21:37 -0500
parents ad140b2d0fb5
children 8fe679d31b82
files tool_dependencies.xml
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Mon Jan 21 17:21:37 2013 -0500
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <set_environment version="1.0">
+        <environment_variable name="SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
+    </set_environment>
+     <package name="macs14" version="1.4.1">
+         <install version="1.0">
+             <actions>
+                <action type="download_by_url">https://github.com/modENCODE-DCC/Galaxy/blob/master/toolshed/dependencies/macs/macs.tar.gz?raw=true</action>
+                <action type="shell_command">sudo su</action>
+                <action type="shell_command">python setup.py install</action>
+                <action type="move_directory_files">
+                    <source_directory>bin</source_directory>
+                    <destination_directory>$INSTALL_DIR/bin</destination_directory>
+                </action>
+                <action type="move_directory_files">
+                    <source_directory>lib</source_directory>
+                    <destination_directory>$INSTALL_DIR/lib</destination_directory>
+                </action>
+                <action type="set_environment">
+                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                     <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Macs depends on having python2.6 installed on all nodes of the work cluster</readme>
+    </package>
+</tool_dependency>
\ No newline at end of file