view tool_dependencies.xml @ 10:9dc43bf7d1db draft

planemo upload for repository https://github.com/galaxyproject/dunovo commit b'230f018da2c0bc4eedc72e0f70eac0df1e85ebdb\n'-dirty
author nick
date Fri, 01 Jun 2018 17:55:23 -0400
parents fa563fa9b330
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="bowtie" version="1.1.2">
    <repository changeset_revision="a1c1a92e13a6" name="package_bowtie_1_1_2" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
  </package>
  <package name="mafft" version="7.221">
    <repository changeset_revision="c5908940967d" name="mafft" owner="rnateam" toolshed="https://toolshed.g2.bx.psu.edu" />
  </package>
  <package name="networkx" version="1.10">
    <repository changeset_revision="e761775277c1" name="package_networkx_1_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
  </package>
  <package name="dunovo" version="2.15">
    <install version="1.0">
      <actions>
        <!-- download the main dunovo package files -->
        <action sha256sum="1cf02bcc37cc641a20bdf5e20c2b3b98d4dccd43b1182830cb1a9e7d173d1a78" type="download_by_url">https://github.com/galaxyproject/dunovo/archive/v2.15.tar.gz</action>
        <!-- TODO: Store dunovo version number in variable instead of hardcoding it everywhere. -->
        <!-- install submodules -->
        <action type="shell_command">rmdir kalign utillib ET</action>
        <!-- download the utillib submodule -->
        <action type="download_file">https://github.com/NickSto/utillib/archive/v0.1.0.tar.gz</action>
        <action type="shell_command">tar -zxvpf v0.1.0.tar.gz</action>
        <action type="shell_command">rm v0.1.0.tar.gz</action>
        <action rename_to="utillib" type="move_file">
          <source>utillib-0.1.0</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <!-- download the kalign submodule -->
        <action type="download_file">https://github.com/makovalab-psu/kalign-dunovo/archive/v0.2.0.tar.gz</action>
        <action type="shell_command">tar -zxvpf v0.2.0.tar.gz</action>
        <action type="shell_command">rm v0.2.0.tar.gz</action>
        <action rename_to="kalign" type="move_file">
          <source>kalign-dunovo-0.2.0</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <!-- download the ET submodule -->
        <action type="download_file">https://github.com/NickSto/ET/archive/v0.2.2.tar.gz</action>
        <action type="shell_command">tar -zxvpf v0.2.2.tar.gz</action>
        <action type="shell_command">rm v0.2.2.tar.gz</action>
        <action rename_to="ET" type="move_file">
          <source>ET-0.2.2</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <!-- download the bfx submodule -->
        <action type="download_file">https://github.com/NickSto/bfx/archive/v0.2.0.tar.gz</action>
        <action type="shell_command">tar -zxvpf v0.2.0.tar.gz</action>
        <action type="shell_command">rm v0.2.0.tar.gz</action>
        <action rename_to="bfx" type="move_file">
          <source>bfx-0.2.0</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <!-- Move some source files from subdirectories into the main source directory. -->
        <action type="move_file">
          <source>utils/precheck.py</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <action type="move_file">
          <source>bfx/trimmer.py</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <action type="move_file">
          <source>utils/getreads.py</source>
          <destination>$TMP_WORK_DIR/dunovo-2.15</destination>
        </action>
        <!-- make and install -->
        <action type="shell_command">make clean</action>
        <action type="shell_command">make</action>
        <action type="move_directory_files">
          <source_directory>.</source_directory>
          <destination_directory>$INSTALL_DIR</destination_directory>
        </action>
        <action type="set_environment">
          <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
        </action>
      </actions>
    </install>
  </package>
</tool_dependency>