16
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
17
|
3 <package name="libgd" version="2.1.0">
|
21
|
4 <repository changeset_revision="55e3d764c6c2" name="package_libgd_2_1" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
16
|
5 </package>
|
19
|
6 <package name="perl" version="5.18.1">
|
21
|
7 <repository changeset_revision="ab58b9f990c5" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
19
|
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="http://testtoolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
21
|
12 <package name="bzlib" version="1.0.6">
|
|
13 <repository changeset_revision="04e1967b1722" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
14 </package>
|
|
15 <package name="libpng" version="1.2.5">
|
|
16 <repository changeset_revision="a80a3062f066" name="package_libpng_1_2" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
17 </package>
|
17
|
18 <package name="trans_proteomic_pipeline" version="4.6.3">
|
16
|
19 <install version="1.0">
|
|
20 <actions>
|
18
|
21 <action type="setup_perl_environment">
|
21
|
22 <repository changeset_revision="ab58b9f990c5" name="package_perl_5_18" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
18
|
23 <package name="perl" version="5.18.1" />
|
|
24 </repository>
|
21
|
25 <repository changeset_revision="8fc96166cddd" name="package_expat_2_1" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
26 <package name="expat" version="2.1.0" />
|
|
27 </repository>
|
19
|
28 <!-- allow downloading and installing an Perl package from cpan.org-->
|
18
|
29
|
19
|
30 <package>http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz</package>
|
|
31 <!-- Also possible but not reproducible, due to the fact that always the latest version is installed.
|
|
32 <package>XML::Parser</package>
|
|
33 -->
|
18
|
34 <package>http://search.cpan.org/CPAN/authors/id/L/LD/LDS/CGI.pm-3.43.tar.gz</package>
|
|
35 </action>
|
19
|
36 <action type="change_directory">..</action>
|
18
|
37 <action type="download_file">https://downloads.sourceforge.net/project/sashimi/Trans-Proteomic%20Pipeline%20%28TPP%29/TPP%20v4.6%20%28occupy%29%20rev%203/TPP-4.6.3.tgz</action>
|
16
|
38 <!-- populate the environment variables from the dependend repos -->
|
|
39 <action type="set_environment_for_install">
|
21
|
40 <repository changeset_revision="55e3d764c6c2" name="package_libgd_2_1" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
17
|
41 <package name="libgd" version="2.1.0" />
|
16
|
42 </repository>
|
21
|
43 <repository changeset_revision="a80a3062f066" name="package_libpng_1_2" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
44 <package name="libpng" version="1.2.5" />
|
|
45 </repository>
|
|
46 <repository changeset_revision="04e1967b1722" name="package_bzlib_1_0" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
47 <package name="bzlib" version="1.0.6" />
|
|
48 </repository>
|
16
|
49 </action>
|
18
|
50 <action type="shell_command">tar xfz TPP-4.6.3.tgz</action>
|
|
51 <!-- doanload patched version of htmldoc to prevent a TPP crashed during compilation -->
|
19
|
52 <action type="download_file">https://github.com/bgruening/download_store/raw/master/htmldoc/htmldoc_1.8.27-8ubuntu1.debian.tar.gz</action>
|
|
53 <action type="shell_command">rm ./TPP-4.6.3/trans_proteomic_pipeline/extern/htmldoc.tgz</action>
|
|
54 <action type="shell_command">mv htmldoc_1.8.27-8ubuntu1.debian.tar.gz ./TPP-4.6.3/trans_proteomic_pipeline/extern/htmldoc.tgz</action>
|
|
55 <!--
|
|
56 <action type="move_file" rename_to="htmldoc.tgz">
|
18
|
57 <source>htmldoc-1.8.27-8.debian.patched.tar.gz</source>
|
19
|
58 <destination>./TPP-4.6.3/trans_proteomic_pipeline/extern/</destination>
|
18
|
59 </action>
|
19
|
60 -->
|
18
|
61 <action type="change_directory">./TPP-4.6.3/trans_proteomic_pipeline/src/</action>
|
19
|
62 <action type="shell_command">echo 'TPP_ROOT=$INSTALL_DIR/tpp/' > Makefile.config.incl</action>
|
|
63 <action type="shell_command">echo 'TPP_WEB=/tpp/' >> Makefile.config.incl</action>
|
|
64 <action type="shell_command">echo 'CGI_USER_DIR=$INSTALL_DIR/cgi-bin/' >> Makefile.config.incl</action>
|
|
65
|
|
66 <!--
|
|
67 TPP is fails with a error due to an deprecated use of qw()
|
|
68 See the rant @ http://blogs.perl.org/users/rurban/2010/09/qw-in-list-context-deprecated.html
|
|
69 -->
|
20
|
70 <action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../perl/tpp_models.pl</action>
|
19
|
71 <action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../CGI/show_nspbin.pl</action>
|
|
72 <action type="shell_command">sed -i -e 's/qw(.*) /(&) /' ../perl/exporTPP.pl</action>
|
|
73
|
|
74 <action type="shell_command">export PERL5LIB=$INSTALL_DIR/lib/perl5/:$PERL5LIB && export PATH=$PERL_ROOT_DIR/bin/:$PATH && export PERL5LIB=$PERL_ROOT_DIR/lib/perl5:$PERL5LIB && make</action>
|
18
|
75 <action type="shell_command">make install</action>
|
16
|
76 <action type="set_environment">
|
19
|
77 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/tpp/bin</environment_variable>
|
|
78 <environment_variable action="prepend_to" name="PERL5LIB">$INSTALL_DIR/lib/perl5</environment_variable>
|
17
|
79 <environment_variable action="set_to" name="TPP_ROOT_PATH">$INSTALL_DIR</environment_variable>
|
16
|
80 </action>
|
|
81 </actions>
|
|
82 </install>
|
|
83 <readme>
|
17
|
84 Installs and complils the trans proteomic pipeline in version 4.6.3.
|
|
85 The Trans-Proteomic Pipeline (TPP) is a collection of integrated tools for MS/MS proteomics, developed at the SPC.
|
|
86
|
|
87 http://tools.proteomecenter.org/
|
|
88
|
19
|
89 Dependencies: e2fslibs-dev (e2fsprogs-devel)
|
|
90
|
17
|
91 PATH will be set.
|
|
92 TPP_ROOT_PATH will point to the root path of the installation.
|
|
93 </readme>
|
|
94 </package>
|
16
|
95 </tool_dependency>
|