0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
|
4 <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="cython" version="0.20.1">
|
|
7 <repository changeset_revision="749f11b9358a" name="package_cython_0_20_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="cistrome" version="2014-09-29">
|
|
10 <install version="1.0">
|
|
11 <actions>
|
|
12 <action type="shell_command">hg clone https://bitbucket.org/jjohnson/cistrome-applications-harvard cistrome</action>
|
|
13 <action type="shell_command">hg update -d 2014-09-29</action>
|
|
14 <action type="shell_command">cd cistrome-extra-apps && python setup.py install --home=$INSTALL_DIR</action>
|
|
15 <action type="shell_command">cd published-packages/CEAS && python setup.py install --home=$INSTALL_DIR</action>
|
|
16 <action type="shell_command">cd published-packages/MA2C && python setup.py install --home=$INSTALL_DIR</action>
|
|
17 <!-- needs numpy -->
|
|
18 <action type="set_environment_for_install">
|
|
19 <repository changeset_revision="84125ffacb90" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
20 <package name="numpy" version="1.7.1" />
|
|
21 </repository>
|
|
22 </action>
|
|
23 <action type="shell_command">cd published-packages/MACS && python setup.py install --home=$INSTALL_DIR</action>
|
|
24 <action type="shell_command">cd published-packages/MAT && python setup.py install --home=$INSTALL_DIR</action>
|
|
25 <action type="shell_command">cd published-packages/NPS && python setup.py install --home=$INSTALL_DIR</action>
|
|
26 <!-- needs numpy Cython -->
|
|
27 <action type="set_environment_for_install">
|
|
28 <repository changeset_revision="749f11b9358a" name="package_cython_0_20_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
29 <package name="cython" version="0.20.1" />
|
|
30 </repository>
|
|
31 </action>
|
|
32 <action type="shell_command">
|
|
33 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
34 cd mdseqpos &&
|
|
35 sed "s#/data/static_libraries/assembly/#$INSTALL_DIR/assembly/#" lib/settings.py.example > lib/settings.py &&
|
|
36 sed -i".tmp" "s#NUMPY_PATH = numpy#global NUMPY_PATH; NUMPY_PATH = numpy#" setup.py &&
|
|
37 python setup.py install --home=$INSTALL_DIR
|
|
38 </action>
|
|
39 <action type="set_environment">
|
|
40 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
41 </action>
|
|
42 <!-- this includes CistromeAP -->
|
|
43 <action type="set_environment">
|
|
44 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
45 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib64/python</environment_variable>
|
|
46 </action>
|
|
47 </actions>
|
|
48 </install>
|
|
49 <readme>
|
|
50 Installs the cistrome applications code from https://bitbucket.org/cistrome/cistrome-applications-harvard
|
|
51 ( branch for genome_dir option to override settings.py https://bitbucket.org/jjohnson/cistrome-applications-harvard )
|
|
52 Runtime dependencies: bx-python, biopython, PIL, jinja2, MySQLdb
|
|
53 </readme>
|
|
54 </package>
|
|
55 </tool_dependency>
|