|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="libgd" version="2.1.0">
|
|
|
4 <repository changeset_revision="dfaacc4bf896" name="package_libgd_2_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
|
6 <package name="perl" version="5.18.1">
|
|
|
7 <repository changeset_revision="f6efd799dc70" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
8 </package>
|
|
|
9 <package name="expat" version="2.1.0">
|
|
|
10 <repository changeset_revision="8fc96166cddd" name="package_expat_2_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
11 </package>
|
|
|
12 <package name="bzlib" version="1.0.6">
|
|
|
13 <repository changeset_revision="087298adb1fa" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
14 </package>
|
|
|
15 <package name="libpng" version="1.2.5">
|
|
|
16 <repository changeset_revision="821c27341c0e" name="package_libpng_1_2" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
17 </package>
|
|
|
18 <package name="boost" version="1.55.0">
|
|
|
19 <repository changeset_revision="336ab080d1d4" name="package_boost_1_55" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
20 </package>
|
|
|
21 <package name="e2fsprogs" version="1.42.9">
|
|
|
22 <repository changeset_revision="13445e8c7fd8" name="package_e2fsprogs_1_42_9" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
23 </package>
|
|
|
24 <package name="trans_proteomic_pipeline" version="4.7.0">
|
|
|
25 <install version="1.0">
|
|
|
26 <actions>
|
|
|
27 <action type="setup_perl_environment">
|
|
|
28 <repository changeset_revision="f6efd799dc70" name="package_perl_5_18" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
29 <package name="perl" version="5.18.1" />
|
|
|
30 </repository>
|
|
|
31 <repository changeset_revision="8fc96166cddd" name="package_expat_2_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
32 <package name="expat" version="2.1.0" />
|
|
|
33 </repository>
|
|
|
34 <!-- allow downloading and installing an Perl package from cpan.org-->
|
|
|
35
|
|
|
36 <package>http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz</package>
|
|
|
37 <!-- Also possible but not reproducible, due to the fact that always the latest version is installed.
|
|
|
38 <package>XML::Parser</package>
|
|
|
39 -->
|
|
|
40 <package>http://search.cpan.org/CPAN/authors/id/L/LD/LDS/CGI.pm-3.43.tar.gz</package>
|
|
|
41 <!--<package>http://search.cpan.org/CPAN/authors/id/S/SK/SKIMO/FCGI-0.67.tar.gz</package>-->
|
|
|
42 </action>
|
|
|
43 <action type="change_directory">..</action>
|
|
|
44 <action type="download_file">http://downloads.sourceforge.net/project/sashimi/Trans-Proteomic%20Pipeline%20%28TPP%29/TPP%20v4.7%20%28polar%20vortex%29%20rev%200/TPP_4.7.0-src.tgz</action>
|
|
|
45 <!-- populate the environment variables from the dependend repos -->
|
|
|
46 <action type="set_environment_for_install">
|
|
|
47 <repository changeset_revision="dfaacc4bf896" name="package_libgd_2_1" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
48 <package name="libgd" version="2.1.0" />
|
|
|
49 </repository>
|
|
|
50 <repository changeset_revision="821c27341c0e" name="package_libpng_1_2" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
51 <package name="libpng" version="1.2.5" />
|
|
|
52 </repository>
|
|
|
53 <repository changeset_revision="087298adb1fa" name="package_bzlib_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
54 <package name="bzlib" version="1.0.6" />
|
|
|
55 </repository>
|
|
|
56 <repository changeset_revision="336ab080d1d4" name="package_boost_1_55" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
57 <package name="boost" version="1.55.0" />
|
|
|
58 </repository>
|
|
|
59 <repository changeset_revision="8fc96166cddd" name="package_expat_2_1" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
60 <package name="expat" version="2.1.0" />
|
|
|
61 </repository>
|
|
|
62 <repository changeset_revision="13445e8c7fd8" name="package_e2fsprogs_1_42_9" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
63 <package name="e2fsprogs" version="1.42.9" />
|
|
|
64 </repository>
|
|
|
65 </action>
|
|
|
66 <action type="shell_command">tar xfz TPP_4.7.0-src.tgz</action>
|
|
|
67
|
|
|
68 <action type="change_directory">./TPP-4.7.0/trans_proteomic_pipeline/src/</action>
|
|
|
69 <action type="make_directory">../build/</action>
|
|
|
70 <action type="shell_command">echo 'TPP_ROOT=$INSTALL_DIR/tpp/' > Makefile.config.incl</action>
|
|
|
71 <action type="shell_command">echo 'TPP_WEB=/tpp/' >> Makefile.config.incl</action>
|
|
|
72 <action type="shell_command">echo 'CGI_USER_DIR=$INSTALL_DIR/cgi-bin/' >> Makefile.config.incl</action>
|
|
|
73 <action type="shell_command">echo 'OBJ_ARCH=../build' >> Makefile.config.incl</action>
|
|
|
74
|
|
|
75 <!-- define some BOOST variables to link against the toolshed boost version -->
|
|
|
76 <action type="shell_command">echo "BOOST_DIR=$BOOST_ROOT_DIR" >> Makefile.config.incl</action>
|
|
|
77 <action type="shell_command">echo "BOOST_LIBDIR=$BOOST_ROOT_DIR/lib/" >> Makefile.config.incl</action>
|
|
|
78 <action type="shell_command">echo 'BOOST_LIB_EXT=so' >> Makefile.config.incl</action>
|
|
|
79 <action type="shell_command">echo 'BOOST_INCL=-isystem $(BOOST_DIR) -isystem $(BOOST_DIR)/.. -I$(SRC_ROOT).' >> Makefile.config.incl</action>
|
|
|
80 <action type="shell_command">echo 'BOOST_LIBS=$(BOOST_LIBDIR)*' >> Makefile.config.incl</action>
|
|
|
81 <action type="shell_command">echo 'HTMLDOC_BIN=' >> Makefile.config.incl</action>
|
|
|
82
|
|
|
83 <action type="shell_command">echo 'LINK=shared' >> Makefile.config.incl</action>
|
|
|
84 <action type="shell_command">echo 'LIBEXT=a' >> Makefile.config.incl</action>
|
|
|
85 <!--action type="shell_command">echo "BZ2_LIB=$BZLIB_LIB_DIR/libbz2.a" >> Makefile.config.incl</action-->
|
|
|
86
|
|
|
87 <action type="shell_command">echo "EXPAT_LIB=$EXPAT_ROOT_DIR/lib/libexpat.a" >> Makefile.config.incl</action>
|
|
|
88 <action type="shell_command">echo "EXPAT_INCL=$EXPAT_ROOT_DIR/include/" >> Makefile.config.incl</action>
|
|
|
89
|
|
|
90 <action type="shell_command">cat Makefile.config.incl > /home/bag/blablabla.txt</action>
|
|
|
91
|
|
|
92
|
|
|
93 <!-- do not use the build-in boost version
|
|
|
94 Boost version 1.54 is known to have a build bug and can't be used on some systems without a patch.
|
|
|
95 -->
|
|
|
96 <action type="shell_command">sed -i -e 's/# www.boost.org/ifeq "$(strip $(BOOST_LIBDIR))" ""/' Makefile.incl</action>
|
|
|
97 <action type="shell_command">sed -i -e 's/# Proteowizrd/endif/' Makefile.incl</action>
|
|
|
98 <!-- replace build-in expat library with the more recent toolshed one -->
|
|
|
99 <action type="shell_command">sed -i -e 's/# Build expat library/ifeq "$(strip $(EXPAT_LIB))" ""/' Makefile.incl</action>
|
|
|
100 <action type="shell_command">sed -i -e 's/# Build HDF5/endif\n# Build HDF5/' Makefile.incl</action>
|
|
|
101
|
|
|
102 <action type="shell_command">sed -i -e 's/# HTMLDOC/ifeq "$(strip $(HTMLDOC_BIN))" "not-needed"/' Makefile.incl</action>
|
|
|
103 <action type="shell_command">sed -i -e 's/# put common.*/endif/' Makefile.incl</action>
|
|
|
104
|
|
|
105 <action type="shell_command">cat Makefile.incl > /home/bag/makefile.incl.txt</action>
|
|
|
106
|
|
|
107
|
|
|
108
|
|
|
109 <!--
|
|
|
110 TPP is fails with a error due to an deprecated use of qw()
|
|
|
111 See the rant @ http://blogs.perl.org/users/rurban/2010/09/qw-in-list-context-deprecated.html
|
|
|
112 -->
|
|
|
113 <!--<action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../perl/tpp_models.pl</action>-->
|
|
|
114 <action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../CGI/show_nspbin.pl</action>
|
|
|
115 <action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../perl/exporTPP.pl</action>
|
|
|
116 <action type="shell_command">echo '' > ../perl/tpp_models.pl</action>
|
|
|
117
|
|
|
118 <action type="shell_command">make</action>
|
|
|
119 <action type="shell_command">make install</action>
|
|
|
120 <action type="set_environment">
|
|
|
121 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/tpp/bin</environment_variable>
|
|
|
122 <environment_variable action="prepend_to" name="PERL5LIB">$INSTALL_DIR/lib/perl5</environment_variable>
|
|
|
123 <environment_variable action="set_to" name="TPP_ROOT_PATH">$INSTALL_DIR</environment_variable>
|
|
|
124 </action>
|
|
|
125 </actions>
|
|
|
126 </install>
|
|
|
127 <readme>
|
|
|
128 Installs and complils the trans proteomic pipeline in version 4.7.0.
|
|
|
129 The Trans-Proteomic Pipeline (TPP) is a collection of integrated tools for MS/MS proteomics, developed at the SPC.
|
|
|
130
|
|
|
131 http://tools.proteomecenter.org/
|
|
|
132
|
|
|
133 PATH will be set.
|
|
|
134 TPP_ROOT_PATH will point to the root path of the installation.
|
|
|
135 </readme>
|
|
|
136 </package>
|
|
|
137 </tool_dependency>
|