annotate tool_dependencies.xml @ 10:9d9ce3f5a383 draft

Uploaded
author nilesh
date Fri, 28 Jun 2013 16:36:32 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
1 <?xml version="1.0"?>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
2 <tool_dependency>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
3 <package name="somatic-sniper" version="unstable">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
4 <install version="1.0">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
5 <actions>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
6 <!-- CMake -->
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
7 <action type="download_by_url">http://www.cmake.org/files/v2.8/cmake-2.8.11.1.tar.gz</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
8 <action type="shell_command">./bootstrap</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
9 <action type="shell_command">make</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
10 <action type="shell_command">make install</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
11 <action type="move_directory_files">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
12 <source_directory>.</source_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
13 <destination_directory>$INSTALL_DIR/cmake</destination_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
14 </action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
15
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
16 <!-- Samtools -->
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
17 <action type="download_by_url">http://downloads.sourceforge.net/project/samtools/samtools/0.1.6/samtools-0.1.6.tar.bz2</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
18 <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' Makefile</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
19 <action type="shell_command">sed -i.bak 's/-lz -L. -lbam/-lbam -lz -L./' Makefile</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
20 <action type="shell_command">make</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
21 <action type="move_directory_files">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
22 <source_directory>.</source_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
23 <destination_directory>$INSTALL_DIR/bin/samtools</destination_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
24 </action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
25
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
26 <!-- Somatic Sniper -->
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
27 <action type="download_file">https://github.com/genome/somatic-sniper/archive/master.zip</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
28 <action type="download_file">https://github.com/genome/build-common/tarball/master</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
29 <action type="shell_command">unzip master.zip</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
30 <action type="shell_command">tar -xzvf master</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
31 <action type="shell_command">rm -rf somatic-sniper-master/build-common/</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
32 <action type="shell_command">mv genome-build-common-077bd57/ somatic-sniper-master/build-common/</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
33 <action type="shell_command">cmake -D Samtools_INCLUDE_DIR:PATH=$INSTALL_DIR/bin/samtools somatic-sniper-master/ &amp;&amp; make</action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
34 <action type="move_directory_files">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
35 <source_directory>bin</source_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
36 <destination_directory>$INSTALL_DIR/bin</destination_directory>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
37 </action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
38 <action type="set_environment">
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
39 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
40 </action>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
41 </actions>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
42 </install>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
43 <readme>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
44 Somatic-sniper compiled version is unstable, for stable version use debian package system apt-get, this install requires cmake and zlib (for samtools)
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
45 </readme>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
46 </package>
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
47
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
48
9d9ce3f5a383 Uploaded
nilesh
parents:
diff changeset
49 </tool_dependency>