0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <!-- Local version of R 3.1.2 dependency -->
|
|
4 <package name="R" version="3.1.2">
|
|
5 <install version="1.0">
|
|
6 <actions>
|
|
7 <action type="download_by_url">http://cran.r-project.org/src/base/R-3/R-3.1.2.tar.gz</action>
|
|
8 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
9 <action type="make_install" />
|
|
10 <action type="set_environment">
|
|
11 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
12 </action>
|
|
13 </actions>
|
|
14 </install>
|
|
15 </package>
|
|
16 <!-- Python mysqldb package -->
|
|
17 <package name="python_mysqldb" version="1.2.5">
|
|
18 <install version="1.0">
|
|
19 <actions>
|
|
20 <action type="download_by_url">https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip</action>
|
|
21 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
22 <action type="shell_command">
|
|
23 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
24 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
25 </action>
|
|
26 <action type="set_environment">
|
|
27 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
29 </action>
|
|
30 </actions>
|
|
31 </install>
|
|
32 <readme>Installs Python module MySQLdb 1.2.5</readme>
|
|
33 </package>
|
|
34 <!-- bx_python
|
|
35 This is cribbed from devteam's 'package_bx_python_0_7' in the main
|
|
36 toolshed:
|
|
37 https://toolshed.g2.bx.psu.edu/view/devteam/package_bx_python_0_7
|
|
38 -->
|
|
39 <package name="bx_python" version="0.7.1">
|
|
40 <install version="1.0">
|
|
41 <actions>
|
|
42 <action type="setup_virtualenv">
|
|
43 numpy==1.7.1
|
|
44 bx-python==0.7.1
|
|
45 </action>
|
|
46 <action type="set_environment">
|
|
47 <environment_variable action="set_to" name="BX_PYTHON_PATH">$INSTALL_DIR</environment_variable>
|
|
48 </action>
|
|
49 </actions>
|
|
50 </install>
|
|
51 <readme>
|
|
52 Installation of bx-python 0.7.1 along with numpy 1.7.1. The installation can be
|
|
53 accessed via BX_PYTHON_PATH.
|
|
54 </readme>
|
|
55 </package>
|
|
56 <!-- cistrome_ceas
|
|
57 Installs the version of CEAS package found in the Cistrome
|
|
58 distribution:
|
|
59 https://bitbucket.org/cistrome/cistrome-applications-harvard/overview
|
|
60 -->
|
|
61 <package name="cistrome_ceas" version="1.0.2.d8c0751">
|
|
62 <install version="1.0">
|
|
63 <actions>
|
|
64 <action type="shell_command">
|
|
65 hg clone https://bitbucket.org/cistrome/cistrome-applications-harvard cistrome_ceas
|
|
66 </action>
|
|
67 <action type="shell_command">
|
|
68 hg update d8c0751
|
|
69 </action>
|
|
70 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
71 <action type="shell_command">
|
|
72 cd published-packages/CEAS/
|
|
73 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&
|
|
74 python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
|
|
75 </action>
|
|
76 <action type="set_environment">
|
|
77 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
78 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
79 </action>
|
|
80 </actions>
|
|
81 </install>
|
|
82 <readme>Installs version 1.0.2 of CEAS from cistrome (commit id d8c0751,
|
|
83 datestamp 20140929), which includes ceasBW (a version of ceas which can
|
|
84 handle bigWig file input from MACS2.
|
|
85
|
|
86 Cistrome code is at
|
|
87 https://bitbucket.org/cistrome/cistrome-applications-harvard/overview
|
|
88
|
|
89 The CEAS code is under the published-packages/CEAS/ subdirectory
|
|
90
|
|
91 Cistrome data files and documentation can be found at
|
|
92 http://liulab.dfci.harvard.edu/CEAS/index.html
|
|
93 </readme>
|
|
94 </package>
|
|
95 <!-- fetchChromSize from UCSC tools -->
|
|
96 <package name="ucsc_fetchChromSizes" version="1.0">
|
|
97 <install version="1.0">
|
|
98 <actions>
|
|
99 <action type="download_binary">
|
|
100 <url_template architecture="x86_64" os="linux">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/fetchChromSizes</url_template>
|
|
101 </action>
|
|
102 <action type="chmod">
|
|
103 <file mode="755">$INSTALL_DIR/fetchChromSizes</file>
|
|
104 </action>
|
|
105 <action type="set_environment">
|
|
106 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
|
|
107 </action>
|
|
108 </actions>
|
|
109 </install>
|
|
110 <readme>Installs the binary executable for the fetchChromSizes utility
|
|
111 from UCSC tools
|
|
112 </readme>
|
|
113 </package>
|
|
114 </tool_dependency>
|