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