|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
2
|
3 <package name="numpy" version="1.7.1">
|
|
17
|
4 <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
5 </package>
|
|
4
|
6 <package name="scipy" version="0.12.0">
|
|
17
|
7 <repository changeset_revision="4b2ef8519550" name="package_scipy_0_12" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
2
|
8 </package>
|
|
17
|
9 <package name="R_3_0_1" version="3.0.1">
|
|
20
|
10 <repository changeset_revision="1c0e86a44f73" name="package_r_3_0_1" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
11 </package>
|
|
17
|
12 <package name="gnu_awk" version="4.1.0">
|
|
|
13 <repository changeset_revision="cbe9f1c8c98b" name="package_gnu_awk_4_1_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
16
|
14 </package>
|
|
17
|
15 <set_environment version="1.0">
|
|
|
16 <environment_variable action="set_to" name="MACS2_SCRIPT_PATH">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
|
17 </set_environment>
|
|
|
18 <!-- 2.0.10 12162013 -->
|
|
|
19 <package name="macs2" version="2.0.10.3">
|
|
0
|
20 <install version="1.0">
|
|
|
21 <actions>
|
|
17
|
22 <action type="shell_command">git clone --recursive https://github.com/taoliu/MACS.git</action>
|
|
|
23 <!-- Galaxy tries to change automatically to the directory "macs2" (name of the package).
|
|
|
24 But we need to change to MACS. Go one level back and enter MACS -->
|
|
|
25 <action type="change_directory">../MACS</action>
|
|
|
26 <action type="shell_command">git checkout 7ccb571d2f2dcb5be1d75f323b1d17a59b926deb</action>
|
|
|
27 <action type="shell_command">git submodule update --recursive</action>
|
|
12
|
28
|
|
3
|
29 <action type="set_environment_for_install">
|
|
|
30 <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
31 <package name="numpy" version="1.7.1" />
|
|
|
32 </repository>
|
|
4
|
33 <repository changeset_revision="4b2ef8519550" name="package_scipy_0_12" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
34 <package name="scipy" version="0.12.0" />
|
|
3
|
35 </repository>
|
|
|
36 </action>
|
|
|
37 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
19
|
38 <!-- exporting the CFLAGS and CPPFLAGS are due to http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa -->
|
|
3
|
39 <action type="shell_command">
|
|
19
|
40 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
6
|
41 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
3
|
42 </action>
|
|
|
43 <action type="set_environment">
|
|
17
|
44 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
45 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
|
|
|
46 <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
|
|
5
|
47 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
17
|
48 <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_SCIPY]</environment_variable>
|
|
|
49 <environment_variable action="set_to" name="PYTHONPATH_MACS2">$INSTALL_DIR/lib/python</environment_variable>
|
|
|
50 </action>
|
|
|
51 </actions>
|
|
|
52 </install>
|
|
|
53 <readme>Macs2 installation instructions. MACS2 can be found at https://github.com/taoliu/MACS</readme>
|
|
|
54 </package>
|
|
0
|
55 </tool_dependency>
|