0
|
1 <?xml version='1.0'?>
|
|
2 <tool_dependency>
|
|
3 <package name="uclust" version="1.22.2">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <!-- Download the binaries for uclust compatible with 64-bit OSX. -->
|
|
7 <actions os="darwin" architecture="x86_64">
|
|
8 <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86darwin64</action>
|
|
9 <action type="move_directory_files">
|
|
10 <source_directory>.</source_directory>
|
|
11 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
12 </action>
|
|
13 <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86darwin64 $INSTALL_DIR/uclust</action>
|
|
14 </actions>
|
|
15 <!-- Download the binaries for uclust compatible with 32-bit OSX. -->
|
|
16 <actions os="darwin" architecture="i386">
|
|
17 <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86darwin32</action>
|
|
18 <action type="move_directory_files">
|
|
19 <source_directory>.</source_directory>
|
|
20 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
21 </action>
|
|
22 <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86darwin32 $INSTALL_DIR/uclust</action>
|
|
23 </actions>
|
|
24 <!-- Download the binaries for uclust compatible with 64-bit Linux. -->
|
|
25 <actions os="linux" architecture="x86_64">
|
|
26 <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86linux64</action>
|
|
27 <action type="move_directory_files">
|
|
28 <source_directory>.</source_directory>
|
|
29 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
30 </action>
|
|
31 <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86linux64 $INSTALL_DIR/uclust</action>
|
|
32 </actions>
|
|
33 <!-- Download the binaries for uclust compatible with 32-bit Linux. -->
|
|
34 <actions os="linux" architecture="i386">
|
|
35 <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86linux32</action>
|
|
36 <action type="move_directory_files">
|
|
37 <source_directory>.</source_directory>
|
|
38 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
39 </action>
|
|
40 <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86linux32 $INSTALL_DIR/uclust</action>
|
|
41 </actions>
|
|
42 <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
|
|
43 <actions>
|
|
44 <action type="shell_command">echo ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported.</action>
|
|
45 <action type="shell_command">echo Your machine details (the output from 'uname' and 'arch'):</action>
|
|
46 <action type="shell_command">uname</action>
|
|
47 <action type="shell_command">arch</action>
|
|
48 <action type="shell_command">echo Please report this via support@qfab.org - thank you!</action>
|
|
49 <action type="shell_command">false</action>
|
|
50 <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
|
|
51 </actions>
|
|
52 <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
|
|
53 <action type="shell_command">chmod ugo+x $INSTALL_DIR/uclust</action>
|
|
54 <action type="set_environment">
|
|
55 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
|
|
56 </action>
|
|
57 </actions_group>
|
|
58 </install>
|
|
59 <readme>
|
|
60 Downloads the precompiled 32bit Linux, 64bit Linux, or Mac 64-bit OS X mothur binaries, which is faster than performing a local compliation, avoids any issues with build dependencies, and is more reproducible between installations as there is no variability from the compiler or library versions.
|
|
61 </readme>
|
|
62 </package>
|
|
63 </tool_dependency>
|