changeset 0:48783f711368 draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/fuma_galaxy_wrapper commit 3da3fcc0204205d4899763f9fe63edf9aa16d5a2
author yhoogstrate
date Fri, 09 Oct 2015 10:22:48 -0400
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 54 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Fri Oct 09 10:22:48 2015 -0400
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="python" version="2.7">
+        <repository changeset_revision="5caf592bb259" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    
+    <package name="htseq" version="0.6.1">
+        <repository changeset_revision="fbb72996807d" name="package_htseq_0_6" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    
+    <package name="fuma" version="2.10.0">
+        <install version="1.0">
+            <actions>
+                <action type="set_environment_for_install">
+                     <repository changeset_revision="5caf592bb259" name="package_python_2_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="python" version="2.7" />
+                    </repository>
+                    
+                   <repository changeset_revision="fbb72996807d" name="package_htseq_0_6" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="htseq" version="0.6.1" />
+                    </repository>
+                </action>
+                
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="make_directory">$INSTALL_DIR/lib64/python</action>
+                
+                <action type="shell_command">
+                    git clone https://github.com/yhoogstrate/fuma.git fuma                           &amp;&amp;
+                    cd fuma                                                                          &amp;&amp;
+                    git reset --hard 8bead7a4d4ce8bdf4b6fd64df0c474b003768697                        &amp;&amp;
+                    
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python  &amp;&amp;
+                    python setup.py build                                                            &amp;&amp;
+                    python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin   &amp;&amp;
+                    python setup.py test
+                </action>
+                
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    
+                    <environment_variable action="set_to" name="FUMA_PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="FUMA_ROOT_PATH">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            Downloads and installs FuMa.
+            
+            Prerequisites:
+                - git
+        </readme>
+    </package>
+</tool_dependency>