diff tool_dependencies.xml @ 16:1c0abb798dcb draft

Uploaded
author nilesh
date Mon, 08 Jul 2013 13:35:51 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Mon Jul 08 13:35:51 2013 -0400
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="somatic-sniper" version="unstable">
+        <install version="1.0">
+            <actions>
+
+                <!-- Samtools -->
+            	<action type="download_by_url">http://downloads.sourceforge.net/project/samtools/samtools/0.1.6/samtools-0.1.6.tar.bz2</action>
+                <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' Makefile</action>
+                <action type="shell_command">sed -i.bak 's/-lz -L. -lbam/-lbam -lz -L./' Makefile</action>
+                <action type="shell_command">make</action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR/lib/samtools</destination_directory>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="SAMTOOLS_ROOT" action="set_to">$INSTALL_DIR/lib/samtools</environment_variable>
+                </action>
+
+                <!-- Somatic Sniper -->
+                <action type="shell_command">git clone --recursive git://github.com/genome/somatic-sniper.git</action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR/lib/somatic-sniper</destination_directory>
+                </action>
+                <action type="make directory">$INSTALL_DIR/build</action>
+                <action type="shell_command">cmake $INSTALL_DIR/lib/somatic-sniper</action>
+                <action type="move_directory_files">
+                    <source_directory>$INSTALL_DIR/build/bin</source_directory>
+                    <destination_directory>$INSTALL_DIR/bin</destination_directory>
+                </action> 
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+        	Somatic-sniper compiled version is unstable, for stable version use debian package system apt-get, this install requires cmake and zlib (for samtools)
+        </readme>
+    </package>
+    
+    
+</tool_dependency>