0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="sambamba" version="0.3.3">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="shell_command">git clone --recursive https://github.com/lomereiter/sambamba</action>
|
|
7 <action type="shell_command">git checkout v0.3.3</action>
|
|
8 <action type="shell_command">git submodule update --recursive</action>
|
|
9 <action type="shell_command">make</action>
|
|
10 <action type="move_directory_files">
|
|
11 <source_directory>build</source_directory>
|
|
12 <destination_directory>$INSTALL_DIR/bin</destination_directory>
|
|
13 </action>
|
|
14 <action type="set_environment">
|
|
15 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
16 </action>
|
|
17 </actions>
|
|
18 </install>
|
|
19 <readme>
|
|
20 Sambamba requires a D2 compiler (dmd >= 2.062). The automated installation will attempt to use the dmd compiler and thus will not be optimized.
|
|
21
|
|
22 For performance reasons, the sambamba developers recommend you use either GDC or LDC as they use GCC and LLVM backends and do a much better job at optimization.You should then use the sambamba-ldmd2-64 make target. See https://github.com/lomereiter/sambamba/wiki/Command-line-tools for more information.
|
|
23
|
|
24 You may wish to simply use a precompiled binary of sambamba available at https://www.dropbox.com/sh/v05fsb5aarob3xe/iUHgyud31a/sambamba. This may be installed as a "Managed Dependency" in Galaxy's "tool_dependency_dir". See http://wiki.galaxyproject.org/Admin/Config/Tool%20Dependencies.
|
|
25
|
|
26 See the sambamba repository on github for complete details: https://github.com/lomereiter/sambamba.
|
|
27 </readme>
|
|
28 </package>
|
|
29 </tool_dependency>
|