view tool_dependencies.xml @ 1:cd6cc6d76708 draft

Simplify passing repeated params to Python script. Add more info to help sections.
author crs4
date Fri, 18 Oct 2013 14:09:11 -0400
parents 60609a9cef3b
children b8c6a38530eb
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="edena" version="3.130110">
    <install version="1.0">
      <actions>
        <action type="download_by_url">http://www.genomic.ch/edena/EdenaV3.130110.tar.gz</action>
        <action type="shell_command">make</action>
        <action type="move_directory_files">
          <source_directory>bin</source_directory>
          <destination_directory>$INSTALL_DIR/bin</destination_directory>
        </action>
        <action type="set_environment">
          <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
        </action>
        <action type="set_environment">
          <environment_variable name="EDENA_SITE_OPTIONS" action="set_to">"--nThreads 2"</environment_variable>
        </action>
      </actions>
    </install>
    <readme>
Change the EDENA_SITE_OPTIONS variable in the installed env.sh file to adjust the number of threads to use (--nThreads).
    </readme>
  </package>
</tool_dependency>