Mercurial > repos > yhoogstrate > package_fuma_3_0_0
changeset 0:9c9cad376a81 draft default tip
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/fuma_galaxy_wrapper commit 1ddd5a54b9cf4602014c274bbcf70211ff061000-dirty
author | yhoogstrate |
---|---|
date | Sat, 02 Apr 2016 09:40:56 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 49 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Sat Apr 02 09:40:56 2016 -0400 @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="python" version="2.7"> + <repository changeset_revision="409e51c1c555" name="package_python_2_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="htseq" version="0.6.1"> + <repository changeset_revision="25da74c1ff6d" name="package_htseq_0_6" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="fuma" version="3.0.0"> + <install version="1.0"> + <actions> + <action sha256sum="d18c009964186af5453343d5189d56c4638a570ecab96bb1fbc10f0650b64b76" type="download_by_url">https://github.com/yhoogstrate/fuma/archive/v3.0.0.tar.gz</action> + + <action type="set_environment_for_install"> + <repository changeset_revision="409e51c1c555" name="package_python_2_7" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> + <package name="python" version="2.7" /> + </repository> + + <repository changeset_revision="25da74c1ff6d" name="package_htseq_0_6" owner="iuc" toolshed="https://testtoolshed.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 && + python setup.py build && + 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 FusionMatcher (FuMa). + </readme> + </package> +</tool_dependency>