comparison tool_dependencies.xml @ 4:cc0f4b49b6f1 draft default tip

Uploaded
author iuc
date Tue, 18 Feb 2014 12:52:26 -0500
parents b355179ea459
children
comparison
equal deleted inserted replaced
3:b355179ea459 4:cc0f4b49b6f1
1 <?xml version="1.0"?>
1 <tool_dependency> 2 <tool_dependency>
3 <package name="libpng" version="1.6.7">
4 <repository changeset_revision="51f77dcf27bd" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
5 </package>
2 <package name="blat" version="35x1"> 6 <package name="blat" version="35x1">
3 <install version="1.0"> 7 <install version="1.0">
4 <actions> 8 <actions>
5 9 <!-- finally go back to the original version and compile blat and the entire server from source
6 <action type="download_binary"> 10 Thanks to Nicola Soranzo.
7 <url_template os="linux" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/blat/blat</url_template> 11 The problem is that the binaries are not versioned and we can't guarantee reproducibility.
8 <url_template os="darwin" architecture="i686">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/blat/blat</url_template> 12 The only way to download the source code of minor releases is from the git repository.
9 <url_template os="darwin" architecture="i386">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.i386/blat/blat</url_template> 13 -->
10 <url_template os="darwin" architecture="x86_64">http://hgdownload.cse.ucsc.edu/admin/exe/macOSX.x86_64/blat/blat</url_template> 14 <action type="shell_command">git clone git://genome-source.cse.ucsc.edu/kent.git blat</action>
15 <action type="shell_command">git reset --hard 84614918e462d7750a8f56e5ce9540c623b87b48</action>
16 <action type="set_environment_for_install">
17 <repository changeset_revision="51f77dcf27bd" name="package_libpng_1_6_7" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu">
18 <package name="libpng" version="1.6.7" />
19 </repository>
11 </action> 20 </action>
12 21 <action type="shell_command">export HOME=$INSTALL_DIR &amp;&amp; export MACHTYPE=`uname -m` &amp;&amp; export PNGINCL=-I${LIBPNG_ROOT}/include &amp;&amp; export PNGLIB="-L${LIBPNG_ROOT}/lib -lpng" &amp;&amp; mkdir -p $HOME/bin/$MACHTYPE &amp;&amp; make -C src/lib/ &amp;&amp; make -C src/jkOwnLib/ &amp;&amp; make -C src/blat/ &amp;&amp; mv $INSTALL_DIR/bin/$MACHTYPE/* $INSTALL_DIR/bin/ &amp;&amp; rm -rf $INSTALL_DIR/.ccache/</action>
13 <action type="move_file"> 22 <action type="set_environment">
14 <source>$INSTALL_DIR/blat</source> 23 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin/</environment_variable>
15 <destination>$INSTALL_DIR/blat</destination> 24 <environment_variable action="set_to" name="BLAT_PATH">$INSTALL_DIR</environment_variable>
16 </action> 25 </action>
17 <action type="chmod">
18 <file mode="755">$INSTALL_DIR/blat</file>
19 </action>
20 <action type="set_environment">
21 <environment_variable name="PATH" action="append_to">$INSTALL_DIR</environment_variable>
22 <environment_variable name="BLAT_PATH" action="append_to">$INSTALL_DIR</environment_variable>
23 </action>
24
25 <!--
26 Alternative version from Nicola Soranzo.
27 <action type="download_by_url" target_filename="blatSrc.zip">http://hgwdev.cse.ucsc.edu/~kent/src/blatSrc35.zip</action>
28 <action type="shell_command">export MACHTYPE=`uname -m` &amp;&amp; export HOME=$INSTALL_DIR &amp;&amp; mkdir -p $HOME/bin/$MACHTYPE &amp;&amp; make</action>
29 <action type="set_environment">
30 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin/`uname -m`</environment_variable>
31 </action>
32 -->
33
34 </actions> 26 </actions>
35 </install> 27 </install>
36 <readme> 28 <readme>
37 BLAT sequence aligner from the UCSC: http://genome.ucsc.edu/FAQ/FAQblat.html 29 BLAT sequence aligner from the UCSC: http://genome.ucsc.edu/FAQ/FAQblat.html
38 Git development repository: http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git 30 Git development repository: http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git