0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="stacks" version="1.18">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <!-- compile stacks -->
|
|
7 <action type="download_by_url">http://creskolab.uoregon.edu/stacks/source/stacks-1.18.tar.gz</action>
|
|
8 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
9 <action type="shell_command">make</action>
|
|
10 <action type="shell_command">make install</action>
|
|
11
|
|
12 <!-- move binary into $INSTALL_dir -->
|
|
13 <!--action type="move_file">
|
|
14 <source>ustacks</source>
|
|
15 <destination>$INSTALL_DIR</destination>
|
|
16 </action>
|
|
17 <action type="move_file">
|
|
18 <source>pstacks</source>
|
|
19 <destination>$INSTALL_DIR</destination>
|
|
20 </action>
|
|
21 <action type="move_file">
|
|
22 <source>estacks</source>
|
|
23 <destination>$INSTALL_DIR</destination>
|
|
24 </action>
|
|
25 <action type="move_file">
|
|
26 <source>cstacks</source>
|
|
27 <destination>$INSTALL_DIR</destination>
|
|
28 </action>
|
|
29 <action type="move_file">
|
|
30 <source>sstacks</source>
|
|
31 <destination>$INSTALL_DIR</destination>
|
|
32 </action>
|
|
33 <action type="move_file">
|
|
34 <source>hstacks</source>
|
|
35 <destination>$INSTALL_DIR</destination>
|
|
36 </action>
|
|
37 <action type="move_file">
|
|
38 <source>process_radtags</source>
|
|
39 <destination>$INSTALL_DIR</destination>
|
|
40 </action>
|
|
41 <action type="move_file">
|
|
42 <source>process_shortreads</source>
|
|
43 <destination>$INSTALL_DIR</destination>
|
|
44 </action>
|
|
45 <action type="move_file">
|
|
46 <source>kmer_filter</source>
|
|
47 <destination>$INSTALL_DIR</destination>
|
|
48 </action>
|
|
49 <action type="move_file">
|
|
50 <source>clone_filter</source>
|
|
51 <destination>$INSTALL_DIR</destination>
|
|
52 </action>
|
|
53 <action type="move_file">
|
|
54 <source>genotypes</source>
|
|
55 <destination>$INSTALL_DIR</destination>
|
|
56 </action>
|
|
57 <action type="move_file">
|
|
58 <source>populations</source>
|
|
59 <destination>$INSTALL_DIR</destination>
|
|
60 </action>
|
|
61 <action type="move_file">
|
|
62 <source>phasedstacks</source>
|
|
63 <destination>$INSTALL_DIR</destination>
|
|
64 </action-->
|
|
65
|
|
66 <!-- create env.sh -->
|
|
67 <action type="set_environment">
|
|
68 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin/</environment_variable>
|
|
69 <environment_variable name="INSTALL_DIR" action="set_to">$INSTALL_DIR/</environment_variable>
|
|
70 </action>
|
|
71
|
|
72 </actions>
|
|
73
|
|
74 </install>
|
|
75 <readme>
|
|
76 This package installs STACKS from the sources available
|
|
77 </readme>
|
|
78 </package>
|
|
79 </tool_dependency>
|