Mercurial > repos > lparsons > htseq_count
annotate tool_dependencies.xml @ 1:14e18dc9ed13
Build htseq package from source
author | Lance Parsons <lparsons@princeton.edu> |
---|---|
date | Tue, 04 Sep 2012 14:00:14 -0400 |
parents | 3fdeebd7e710 |
children | 265ca0f35789 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <tool_dependency> | |
3 <package name="htseq" version="0.5.3p9"> | |
4 <install version="1.0"> | |
5 <actions> | |
6 <action type="download_by_url">http://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.3p9.tar.gz</action> | |
7 <action type="shell_command">mkdir -p $INSTALL_DIR/lib/python</action> | |
8 <action type="set_environment"> | |
9 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable> | |
10 </action> | |
1
14e18dc9ed13
Build htseq package from source
Lance Parsons <lparsons@princeton.edu>
parents:
0
diff
changeset
|
11 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py build</action> |
0 | 12 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> |
13 <action type="set_environment"> | |
14 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | |
15 </action> | |
16 </actions> | |
17 </install> | |
18 <readme> | |
19 Installation of HTSeq requires Python 2.5+ (does not yet work with Python 3), and the Nympy Python package. | |
20 </readme> | |
21 </package> | |
22 <package name="samtools" version="0.1.18"> | |
23 <install version="1.0"> | |
24 <actions> | |
25 <action type="download_by_url">http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2</action> | |
26 <action type="shell_command">sed -i.bak -e 's/-lcurses/-lncurses/g' Makefile</action> | |
27 <action type="shell_command">make</action> | |
28 <action type="move_file"> | |
29 <source>samtools</source> | |
30 <destination>$INSTALL_DIR/bin</destination> | |
31 </action> | |
32 <action type="move_file"> | |
33 <source>misc/maq2sam-long</source> | |
34 <destination>$INSTALL_DIR/bin</destination> | |
35 </action> | |
36 <action type="set_environment"> | |
37 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> | |
38 </action> | |
39 </actions> | |
40 </install> | |
41 <readme> | |
42 Compiling SAMtools requires the ncurses and zlib development libraries. | |
43 </readme> | |
44 </package> | |
45 </tool_dependency> |