|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <!--<set_environment version="1.0">
|
|
|
4 <environment_variable name="SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
|
5 </set_environment>-->
|
|
|
6 <package name="macs2" version="2.0.10.2">
|
|
|
7 <install version="1.0">
|
|
|
8 <actions>
|
|
|
9 <action type="download_by_url">http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2</action>
|
|
4
|
10 <action type="shell_command">`pwd` > ~/test.out</action>
|
|
0
|
11 <action type="shell_command">cd Python-2.7.3</action>
|
|
|
12 <action type="shell_command">./configure</action>
|
|
|
13 <action type="shell_command">make -j</action>
|
|
|
14 <action type="shell_command">sudo make install</action>
|
|
|
15 <action type="shell_command">sudo chmod ag+w /usr/local/lib/python2.7/site-packages</action>
|
|
|
16 <action type="shell_command">sudo chmod ag+wx /usr/local/bin</action>
|
|
|
17 </actions>
|
|
|
18 <actions>
|
|
|
19 <action type="download_by_url">https://github.com/modENCODE-DCC/Galaxy/blob/master/toolshed/dependencies/macs2/macs2pkg.tar?raw=true</action>
|
|
|
20 <action type="move_directory_files">
|
|
|
21 <source_directory>bin</source_directory>
|
|
|
22 <destination_directory>$INSTALL_DIR/bin</destination_directory>
|
|
|
23 </action>
|
|
|
24 <action type="move_directory_files">
|
|
|
25 <source_directory>lib</source_directory>
|
|
|
26 <destination_directory>$INSTALL_DIR/lib</destination_directory>
|
|
|
27 </action>
|
|
|
28 <action type="set_environment">
|
|
|
29 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
30 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python2.7/site-packages</environment_variable>
|
|
|
31 </action>
|
|
|
32 </actions>
|
|
|
33 </install>
|
|
|
34 <readme>Macs2 depends on having python2.7 installed on all nodes of the work cluster</readme>
|
|
|
35 </package>
|
|
|
36 </tool_dependency>
|