annotate install.sh @ 20:46257c870179 draft

New installation procedure added
author Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
date Mon, 08 Oct 2012 12:55:08 +0200
parents cc270db37d33
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
cc270db37d33 Directories re-arranged
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents:
diff changeset
1 #!/bin/sh
cc270db37d33 Directories re-arranged
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents:
diff changeset
2
20
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
3 # Shell script for installing OPPL-Galaxy
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
4
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
5 # This script assumes that it is living in galaxy-dist/tools/oppl/
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
6 # if that is not the case, simply edit the var $jars bellow
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
7
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
8 jars="../../tool-data/shared/jars/"
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
9
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
10 cp oppl_galaxy.jar $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
11 cp inference.jar $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
12 cp query.jar $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
13 cp oppl_query.jar $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
14 cp merge.jar $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
15
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
16 cp -r FaCT++-linux-v1.5.2 $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
17 cp -r oppl_galaxy_lib $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
18 cp -r inference_lib $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
19 cp -r query_lib $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
20 cp -r oppl_query_lib $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
21 cp -r merge_lib $jars
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
22
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
23 echo 'Now you should edit /galaxy-dist/tool_conf.xml:'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
24 echo ' <section name="Ontology Pre Processor Language" id="oppl">'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
25 echo ' <tool file="oppl/oppl.xml"/>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
26 echo ' <tool file="oppl/inference.xml"/>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
27 echo ' <tool file="oppl/query.xml"/>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
28 echo ' <tool file="oppl/oppl_query.xml"/>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
29 echo ' <tool file="oppl/merge.xml"/>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
30 echo ' </section>'
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
31
46257c870179 New installation procedure added
Mikel Egana Aranguren <mikel-egana-aranguren@toolshed.g2.bx.psu.edu>
parents: 19
diff changeset
32 # Foreseen feature: directly edit /galaxy-dist/tool_conf.xml with sed or something