| 24 | 1 <?xml version="1.0"?> | 
|  | 2 <tool_dependency> | 
| 66 | 3 	<package name="R" version="3.0.3"> | 
| 83 | 4 		<repository changeset_revision="9ff23e0b280b" name="package_r_3_0_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> | 
| 66 | 5 	</package> | 
| 24 | 6 | 
| 78 | 7 	<package name="biocLite_edgeR_limma" version="latest"> | 
| 24 | 8 		<install version="1.0"> | 
|  | 9 			<actions> | 
|  | 10 				<action type="set_environment_for_install"> | 
| 83 | 11 					<repository changeset_revision="9ff23e0b280b" name="package_r_3_0_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> | 
| 66 | 12 						<package name="R" version="3.0.3" /> | 
|  | 13 					</repository> | 
|  | 14 | 
| 24 | 15 				</action> | 
|  | 16 				<action type="make_directory">$INSTALL_DIR</action> | 
|  | 17 				<action type="shell_command">echo "source('http://bioconductor.org/biocLite.R')" > $INSTALL_DIR/runme.R</action> | 
|  | 18 				<action type="shell_command">echo "installme=c('edgeR','limma')" >> $INSTALL_DIR/runme.R</action> | 
|  | 19 				<action type="shell_command">echo "biocLite()" >> $INSTALL_DIR/runme.R</action> | 
|  | 20 				<action type="shell_command">echo "biocLite(installme)" >> $INSTALL_DIR/runme.R</action> | 
|  | 21 				<action type="shell_command">echo "install.packages(c('stringr','gplots'),dependencies=T,repos='http://cran.us.r-project.org')" >> $INSTALL_DIR/runme.R</action> | 
|  | 22 				<action type="shell_command">echo "quit(save='no')" >> $INSTALL_DIR/runme.R</action> | 
|  | 23 				<action type="shell_command">export PATH=$PATH && export R_HOME=$R_HOME && export R_LIBS=$R_LIBS && R CMD BATCH $INSTALL_DIR/runme.R </action> | 
|  | 24 			</actions> | 
|  | 25 		</install> | 
|  | 26 		<readme> | 
| 66 | 27 			Installs the latest bioc packages: edgeR & Limma | 
| 24 | 28 	   </readme> | 
|  | 29 	</package> | 
|  | 30 | 
| 71 | 31 	<!-- instead of using "convert", make use of "gm convert" --> | 
|  | 32 	<package name="graphicsmagick" version="1.3.18"> | 
| 83 | 33 		<repository changeset_revision="bff3f66adff2" name="package_graphicsmagick_1_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" /> | 
| 79 | 34 	</package> | 
|  | 35 | 
|  | 36 	<package name="design_matrix_creator" version="1.0.0"> | 
|  | 37 		<install version="1.0"> | 
|  | 38 			<actions> | 
| 84 | 39 				<!--<action type="move_file"> | 
| 79 | 40 					<source>$REPOSITORY_INSTALL_DIR/design_matrix_creator</source> | 
|  | 41 					<destination>$INSTALL_DIR/bin/</destination> | 
| 84 | 42 				</action>--> | 
|  | 43 				<action type="shell_command">cp $REPOSITORY_INSTALL_DIR/design_matrix_creator $INSTALL_DIR/bin/</action> | 
| 79 | 44 				<action type="chmod"> | 
|  | 45 					<file mode="755">$INSTALL_DIR/bin/design_matrix_creator</file> | 
|  | 46 				</action> | 
|  | 47 				<action type="set_environment"> | 
| 83 | 48 					<environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | 
|  | 49 					<environment_variable action="prepend_to" name="PATH">$REPOSITORY_INSTALL_DIR</environment_variable> | 
| 79 | 50 				</action> | 
|  | 51 			</actions> | 
|  | 52 		</install> | 
| 71 | 53 	</package> | 
| 24 | 54 </tool_dependency> |