view tool_dependencies.xml @ 3:f827043c2a97 draft

planemo upload commit f14004d917b2be0c2f8678f14f069b1fd4ffa1a9-dirty
author rnateam
date Thu, 10 Dec 2015 12:22:34 -0500
parents 97b0c64b1067
children be094e3b86f5
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="perl" version="5.18.1">
        <repository changeset_revision="2590d4683481" name="package_perl_5_18" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="R" version="3.2.1">
        <repository changeset_revision="c6ebd3a51334" name="package_r_3_2_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="bedtools" version="2.24">
        <repository changeset_revision="e6f4a7398a47" name="package_bedtools_2_24" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="gnu_coreutils" version="8.22">
        <repository changeset_revision="1016a386a647" name="package_gnu_coreutils_8_22" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
    </package>

    <package name="metilene" version="0.2-4">
        <install version="1.0">
            <actions>

               <action type="setup_r_environment">
                   <repository changeset_revision="c6ebd3a51334" name="package_r_3_2_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                       <package name="R" version="3.2.1" />
                   </repository>
                   <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/ggplot2_0.9.3.1.tar.gz</package>
               </action>
 

              <!-- don't use download_by_url, since archive name != directory name --> 
              <action type="download_file">http://www.bioinf.uni-leipzig.de/Software/metilene/metilene_v02-4.tar.gz</action>
              <action type="shell_command">tar xfz metilene_v02-4.tar.gz</action>
              
              <action type="change_directory">metilene_v0.2-4</action>
              
              <action type="shell_command">make</action>
              
              <!-- move binary and scripts to installation bin directory -->
              <action type="move_file">
                  <source>metilene</source>
                  <destination>$INSTALL_DIR/bin</destination>
              </action>
              <action type="move_file">
                  <source>metilene_input.pl</source>
                  <destination>$INSTALL_DIR/bin</destination>
              </action>
              <action type="move_file">
                  <source>metilene_output.pl</source>
                  <destination>$INSTALL_DIR/bin</destination>
              </action>

              <!-- include installation bin directory in path -->
              <action type="set_environment">
                <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
		<environment_variable action="set_to" name="METILENE_ROOT_PATH">$INSTALL_DIR</environment_variable>
              </action>
            </actions>
        </install>
        <readme>Metilene is precompiled for Linux</readme>
    </package>
</tool_dependency>