diff tool_dependencies.xml @ 0:cada2d2f0a7c draft

Uploaded
author yhoogstrate
date Wed, 26 Mar 2014 09:12:30 -0400
parents
children 9fcffbe6c206
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed Mar 26 09:12:30 2014 -0400
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<tool_dependency>
+	<package name="featurecounts" version="1.4.4">
+		<install version="1.0">
+			<actions>
+				<action type="shell_command">wget http://sourceforge.net/projects/subread/files/subread-1.4.4/subread-1.4.4-source.tar.gz &amp;&amp; tar -zxvf subread-1.4.4-source.tar.gz &amp;&amp; cd subread-1.4.4-source/src/ &amp;&amp; make -f Makefile.Linux &amp;&amp; cd ../../</action>
+				<action type="move_file">
+					<source>../subread-1.4.4-source/bin/featureCounts</source>
+					<destination>$INSTALL_DIR/bin</destination>
+				</action>
+				<action type="set_environment">
+					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR</environment_variable>
+				</action>
+			</actions>
+		</install>
+		<readme>
+			Downloads and installs featureCounts; requires WGET, GNU AUTOTOOLS and TAR to be installed!
+		</readme>
+	</package>
+	
+	<package name="featurecounts2bed" version="1.0.0">
+		<install version="1.0">
+			<actions>
+				<action type="shell_command">wget http://yhoogstrate@toolshed.dtls.nl/repos/yhoogstrate/featurecounts/raw-file/tip/featurecounts2bed.sh &amp;&amp; chmod 755 *.sh</action>
+				<action type="move_file">
+					<source>../featurecounts2bed.sh</source>
+					<destination>$INSTALL_DIR/bin</destination>
+				</action>
+				<action type="set_environment">
+					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR</environment_variable>
+				</action>
+			</actions>
+		</install>
+	</package>
+</tool_dependency>