changeset 0:454abc8ab35a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_pybedtools_0_6_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author iuc
date Tue, 19 May 2015 15:00:27 -0400
parents
children 0ebd775dd823
files tool_dependencies.xml
diffstat 1 files changed, 47 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue May 19 15:00:27 2015 -0400
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="tabix" version="0.2.6">
+        <repository changeset_revision="3d6beba7393e" name="package_tabix_0_2_6" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="samtools" version="0.1.19">
+        <repository changeset_revision="96aab723499f" name="package_samtools_0_1_19" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="bedtools" version="2.19.1">
+        <repository changeset_revision="fb3a854c7104" name="package_bedtools_2_19" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="cython" version="0.20.1">
+        <repository changeset_revision="c3a8c46fcb97" name="package_cython_0_20_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="pybedtools" version="0.6.6">
+        <install version="1.0">
+            <actions>
+                <!-- first action is always downloading -->
+                <action type="download_by_url">https://github.com/daler/pybedtools/archive/v0.6.6.tar.gz</action>
+
+                <!-- populate the environment variables from the dependend repos -->
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="c3a8c46fcb97" name="package_cython_0_20_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="cython" version="0.20.1" />
+                    </repository>
+                </action>
+
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
+                    python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
+                </action>
+
+                <action type="set_environment">
+                    <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_PYBEDTOOLS">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="PATH_PYBEDTOOLS">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="PYBEDTOOLS_ROOT_DIR">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling pybedtools requires cython and the gcc compiler.
+            https://github.com/daler/pybedtools
+        </readme>
+    </package>
+</tool_dependency>