0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="velvet" version="1.2.10">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="shell_command">git clone git://github.com/dzerbino/velvet.git velvet</action>
|
|
7 <action type="shell_command">git reset --hard 5cea317b4ec5c3f0fd2931321bc7231d8a250682</action>
|
|
8 <action type="shell_command">make -i CATEGORIES=4 MAXKMERLENGTH=191 OPENMP=1</action>
|
|
9 <action type="shell_command">mkdir scripts</action>
|
|
10 <action type="shell_command">find contrib/[a-z]* -type f -name '*.p?' -exec cp -p {} scripts ";"</action>
|
|
11 <action type="shell_command">cp -rp contrib/VelvetOptimiser*/VelvetOpt* scripts</action>
|
|
12 <action type="shell_command">ls scripts</action>
|
|
13 <action type="move_file">
|
|
14 <source>velvetg</source>
|
|
15 <destination>$INSTALL_DIR/bin</destination>
|
|
16 </action>
|
|
17 <action type="move_file">
|
|
18 <source>velveth</source>
|
|
19 <destination>$INSTALL_DIR/bin</destination>
|
|
20 </action>
|
|
21 <action type="move_directory_files">
|
|
22 <source_directory>scripts</source_directory>
|
|
23 <destination_directory>$INSTALL_DIR/scripts</destination_directory>
|
|
24 </action>
|
|
25 <action type="set_environment">
|
|
26 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
27 </action>
|
|
28 <action type="set_environment">
|
|
29 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/scripts</environment_variable>
|
|
30 </action>
|
|
31 <action type="set_environment">
|
|
32 <environment_variable name="MAXKMERLENGTH" action="set_to">191</environment_variable>
|
|
33 </action>
|
|
34 <action type="set_environment">
|
|
35 <environment_variable name="CATEGORIES" action="set_to">4</environment_variable>
|
|
36 </action>
|
|
37 </actions>
|
|
38 </install>
|
|
39 <readme>
|
|
40 Velvet is a sequence assembler for very short reads.
|
|
41 http://www.ebi.ac.uk/~zerbino/velvet/
|
|
42 This installs the velvet assembler version 1.2.10 and contributed scripts including VelvetOptimiser.pl
|
|
43 </readme>
|
|
44 </package>
|
|
45 </tool_dependency>
|