view tool_dependencies.xml @ 85:0066a0bfa2b5 draft

Uploaded
author yhoogstrate
date Wed, 19 Nov 2014 09:49:03 -0500
parents ddcc677fb13d
children c5a81e84a87a
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
	<package name="R" version="3.0.3">
		<repository changeset_revision="9ff23e0b280b" name="package_r_3_0_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
	</package>
	
	<package name="biocLite_edgeR_limma" version="latest">
		<install version="1.0"> 
			<actions>
				<action type="set_environment_for_install">
					<repository changeset_revision="9ff23e0b280b" name="package_r_3_0_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
						<package name="R" version="3.0.3" />
					</repository>
					
				</action>
				<action type="make_directory">$INSTALL_DIR</action>
				<action type="shell_command">echo "source('http://bioconductor.org/biocLite.R')" &gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">echo "installme=c('edgeR','limma')" &gt;&gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">echo "biocLite()" &gt;&gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">echo "biocLite(installme)" &gt;&gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">echo "install.packages(c('stringr','gplots'),dependencies=T,repos='http://cran.us.r-project.org')" &gt;&gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">echo "quit(save='no')" &gt;&gt; $INSTALL_DIR/runme.R</action>
				<action type="shell_command">export PATH=$PATH &amp;&amp; export R_HOME=$R_HOME &amp;&amp; export R_LIBS=$R_LIBS &amp;&amp; R CMD BATCH $INSTALL_DIR/runme.R </action>
			</actions>
		</install>
		<readme>
			Installs the latest bioc packages: edgeR &amp; Limma
	   </readme>
	</package>
	
	<!-- instead of using "convert", make use of "gm convert" -->
	<package name="graphicsmagick" version="1.3.18">
		<repository changeset_revision="bff3f66adff2" name="package_graphicsmagick_1_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
	</package>
	
	<package name="design_matrix_creator" version="1.0.0">
		<install version="1.0">
			<actions>
				<!--<action type="move_file">
					<source>$REPOSITORY_INSTALL_DIR/design_matrix_creator</source>
					<destination>$INSTALL_DIR/bin/</destination>
				</action>-->
				<action type="shell_command">cp $REPOSITORY_INSTALL_DIR/design_matrix_creator $INSTALL_DIR/bin/</action>
				<action type="chmod">
					<file mode="755">$INSTALL_DIR/bin/design_matrix_creator</file>
				</action>
				<action type="set_environment">
					<environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
					<environment_variable action="prepend_to" name="PATH">$REPOSITORY_INSTALL_DIR</environment_variable>
				</action>
			</actions>
		</install>
	</package>
</tool_dependency>