view tool_dependencies.xml @ 29:9d28b4509c02 draft

planemo upload for repository https://github.com/galaxyproject/dunovo commit b'17e6160270d30b519b08f4d0701e0c2ad3adbb57\n'-dirty
author nick
date Fri, 01 Jun 2018 16:51:02 -0400
parents 0c3e8fa84c38
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="bowtie" version="1.1.2">
    <repository changeset_revision="8584a4574ab1" name="package_bowtie_1_1_2" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="mafft" version="7.221">
    <repository changeset_revision="dd4a533a0e3c" name="mafft" owner="rnateam" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="networkx" version="1.10">
    <repository changeset_revision="3469a6858fd4" name="package_networkx_1_10" owner="iuc" toolshed="https://testtoolshed.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>