|
4
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="samtools" version="0.1.6">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="download_by_url">http://downloads.sourceforge.net/project/samtools/samtools/0.1.6/samtools-0.1.6.tar.bz2</action>
|
|
|
7 <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' Makefile</action>
|
|
|
8 <action type="shell_command">sed -i.bak 's/-lz -L. -lbam/-lbam -lz -L./' Makefile</action>
|
|
|
9 <action type="shell_command">make</action>
|
|
|
10 <action type="move_file">
|
|
|
11 <source>samtools</source>
|
|
|
12 <destination>$INSTALL_DIR/bin</destination>
|
|
|
13 </action>
|
|
|
14 <action type="set_environment">
|
|
|
15 <environment_variable name="SAMTOOLS_ROOT" action="set_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
16 </action>
|
|
|
17 </actions>
|
|
|
18 </install>
|
|
|
19 <readme>
|
|
|
20 Somatic-sniper only builds with samtools version 0.1.6
|
|
|
21 </readme>
|
|
|
22 </package>
|
|
|
23
|
|
|
24 <package name="somatic-sniper" version="unstable">
|
|
|
25 <install version="1.0">
|
|
|
26 <actions>
|
|
9
|
27 <action type="download_file">https://github.com/genome/somatic-sniper/archive/master.zip</action>
|
|
|
28 <action type="download_file">https://github.com/genome/build-common/tarball/master</action>
|
|
|
29 <action type="shell_command">unzip master.zip</action>
|
|
11
|
30 <action type="shell_command">tar -xzvf master</action>
|
|
9
|
31 <action type="shell_command">rm -rf somatic-sniper-master/build-common</action>
|
|
10
|
32 <action type="shell_command">echo $SAMTOOLS_PATH</action>
|
|
9
|
33 <action type="move_directory_files">
|
|
|
34 <source_directory>genome-build-common-077bd57</source_directory>
|
|
|
35 <destination_directory>somatic-sniper-master/build-common</destination_directory>
|
|
|
36 </action>
|
|
|
37
|
|
|
38
|
|
|
39 <action type="shell_command">cmake somatic-sniper-master/</action>
|
|
|
40 <action type="shell_command">make somatic-sniper-master/</action>
|
|
4
|
41 <action type="move_file">
|
|
9
|
42 <source>somatic-sniper-master/bin/bam-somaticsniper</source>
|
|
4
|
43 <destination>$INSTALL_DIR/bin</destination>
|
|
|
44 </action>
|
|
|
45 <action type="set_environment">
|
|
|
46 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
47 </action>
|
|
|
48 </actions>
|
|
|
49 </install>
|
|
|
50 <readme>
|
|
|
51 Somatic-sniper compiled version is unstable, for stable version use debian package system apt-get
|
|
|
52 </readme>
|
|
|
53 </package>
|
|
|
54
|
|
|
55
|
|
|
56 </tool_dependency>
|