changeset 0:f922f018f507 draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/fuma_galaxy_wrapper commit 36132cfcfe9203c499b73a2f0eea570c05e07ab8
author yhoogstrate
date Fri, 20 Nov 2015 11:04:43 -0500
parents
children
files tool_dependencies.xml
diffstat 1 files changed, 52 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Fri Nov 20 11:04:43 2015 -0500
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="python" version="2.7">
+        <repository changeset_revision="eb37ce21eef1" 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.11.0">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://github.com/yhoogstrate/fuma/archive/4b3432078949523f93e523c501f6ed813ee23d35.tar.gz</action>
+                
+                <action type="set_environment_for_install">
+                     <repository changeset_revision="eb37ce21eef1" 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">
+                    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
+                    
+                    ## Tests fails because the import of unittest goes wrong:
+                    ## http://stackoverflow.com/questions/26893504/attributeerror-module-object-has-no-attribute-testcase
+                    ## 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>
+                </action>
+            </actions>
+        </install>
+        <readme>
+            Downloads and installs FuMa.
+            
+            Prerequisites:
+                - git
+        </readme>
+    </package>
+</tool_dependency>