view tool_dependencies.xml @ 22:b5b3d44170ca draft default tip

Uploaded
author big-tiandm
date Sat, 15 Nov 2014 01:05:05 -0500
parents 94bc6d663e36
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <set_environment version="1.0">
        <environment_variable action="set_to" name="SCRIPT_PATH">$REPOSITORY_INSTALL_DIR</environment_variable>
    </set_environment>

	<package name="R" version="3.0.1">
	   <repository changeset_revision="c5ff6dd33c79" name="package_r_3_0_1" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" prior_installation_required="True"/>

		<install version="1.0">
		   <actions>
		      <action type="set_environment_for_install">
                    <repository changeset_revision="c5ff6dd33c79" name="package_r_3_0_1" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu" prior_installation_required="True">
                        <package name="R" version="3.0.1" />
                    </repository>
              </action>
		      <action type="shell_command">R CMD BATCH $REPOSITORY_INSTALL_DIR/install_DEG.R </action>
		      <action type="shell_command">echo "export PATH=$PATH" > $INSTALL_DIR/env.sh </action>
			  <action type="shell_command">chmod 755 $INSTALL_DIR/env.sh </action>

		 </actions>
		</install>
	</package>


</tool_dependency>