annotate tool_dependencies.xml @ 24:1daa0a000425 draft

Uploaded
author nilesh
date Mon, 08 Jul 2013 14:29:33 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
1 <?xml version="1.0"?>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
2 <tool_dependency>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
3 <package name="somatic-sniper" version="unstable">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
4 <install version="1.0">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
5 <actions>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
6
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
7 <!-- Samtools -->
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
8 <action type="download_by_url">http://downloads.sourceforge.net/project/samtools/samtools/0.1.6/samtools-0.1.6.tar.bz2</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
9 <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' Makefile</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
10 <action type="shell_command">sed -i.bak 's/-lz -L. -lbam/-lbam -lz -L./' Makefile</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
11 <action type="shell_command">make</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
12 <action type="move_directory_files">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
13 <source_directory>.</source_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
14 <destination_directory>$INSTALL_DIR/lib/samtools</destination_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
15 </action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
16
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
17 <!-- Somatic Sniper -->
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
18 <action type="shell_command">git clone --recursive git://github.com/genome/somatic-sniper.git</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
19 <action type="move_directory_files">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
20 <source_directory>.</source_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
21 <destination_directory>$INSTALL_DIR/lib</destination_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
22 </action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
23 <action type="make_directory">$INSTALL_DIR/build</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
24 <action type="shell_command">cmake -D Samtools_INCLUDE_DIR:PATH=$INSTALL_DIR/lib/samtools $INSTALL_DIR/lib/somatic-sniper</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
25 <action type="shell_command">make</action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
26 <action type="move_directory_files">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
27 <source_directory>bin</source_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
28 <destination_directory>$INSTALL_DIR</destination_directory>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
29 </action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
30 <action type="set_environment">
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
31 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
32 </action>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
33 </actions>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
34 </install>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
35 <readme>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
36 Somatic-sniper compiled version is unstable, for stable version use debian package system apt-get, this install requires cmake and zlib (for samtools)
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
37 </readme>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
38 </package>
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
39
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
40
1daa0a000425 Uploaded
nilesh
parents:
diff changeset
41 </tool_dependency>