Mercurial > repos > gga > chado_expression_delete_all_biomaterials
annotate macros.xml @ 16:ded53bbfd8ab draft default tip
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 20d8d84d66eb27f870cadb94a02c97806090df24
author | gga |
---|---|
date | Wed, 11 May 2022 14:42:26 +0000 |
parents | 70395bd66708 |
children |
rev | line source |
---|---|
0
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
2 <macros> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
3 <xml name="requirements"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
4 <requirements> |
7
24b13e012f3e
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 1640878827bdc3870b6f34eded3a3f7571a1849f"
gga
parents:
6
diff
changeset
|
5 <requirement type="package" version="@LIB_VERSION@">python-chado</requirement> |
0
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
6 <requirement type="package" version="1.5">jq</requirement> |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
7 <requirement type="package" version="@PG_VERSION@">postgresql</requirement> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
8 <requirement type="package" version="0.1">pglite</requirement> |
0
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
9 <yield/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
10 </requirements> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
11 </xml> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
12 |
16
ded53bbfd8ab
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 20d8d84d66eb27f870cadb94a02c97806090df24
gga
parents:
15
diff
changeset
|
13 <token name="@LIB_VERSION@">2.3.9</token> |
11
85bda68998c7
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0a8b62b6cdce301067cba25d30171d5f6ec04f40"
gga
parents:
10
diff
changeset
|
14 <token name="@WRAPPER_VERSION@">@LIB_VERSION@+galaxy0</token> |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
15 <token name="@PG_VERSION@">11.2</token> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
16 |
0
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
17 <xml name="stdio"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
18 <stdio> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
19 <regex level="fatal" match="Exception:" source="stderr" /> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
20 <regex level="fatal" match="error" source="stderr" /> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
21 <exit_code range="1:" /> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
22 </stdio> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
23 </xml> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
24 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
25 <xml name="citation"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
26 <citations> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
27 </citations> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
28 </xml> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
29 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
30 <token name="@HELP_OVERVIEW@"><![CDATA[ |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
31 **Python-chado Overview** |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
32 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
33 Python-cado provides several tools allowing to load data into a remote Chado database. |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
34 ]]></token> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
35 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
36 <token name="@HELP@"><![CDATA[ |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
37 ]]></token> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
38 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
39 <xml name="sanitized"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
40 <sanitizer> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
41 <valid initial="string.printable"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
42 <remove value="'"/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
43 </valid> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
44 <mapping initial="none"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
45 <add source="'" target="'"'"'"/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
46 <add source="(" target="\("/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
47 <add source=")" target="\)"/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
48 </mapping> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
49 </sanitizer> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
50 </xml> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
51 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
52 <!-- I'm not proud of it, but it is needed for workflows --> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
53 <xml name="wait_for"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
54 <param name="wait_for" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
55 type="data" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
56 format="data" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
57 optional="true" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
58 label="Run this only after the following dataset is ready" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
59 help="Use this if you want to delay the job execution until some data is already loaded. The selected dataset will not be used for anything else."/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
60 </xml> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
61 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
62 <xml name="feature_rel"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
63 <param name="rel_subject_re" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
64 argument="--rel-subject-re" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
65 type="text" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
66 label="Regular expression to extract the unique name of the parent feature" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
67 help="this regex will be applied on the fasta definition line to generate the unique name of the parent feature"> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
68 <expand macro="sanitized"/> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
69 </param> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
70 |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
71 <param name="rel_subject_type" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
72 argument="--rel-subject-type" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
73 type="text" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
74 label="Sequence type of the parent" |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
75 help="this should be a Sequence Ontology term" /> |
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
76 </xml> |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
77 |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
78 <xml name="psql_target"> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
79 <conditional name="psql_target"> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
80 <param name="method" type="select" label="Chado Database" help="If you select 'Remote database' make sure credentials are defined in environment variables"> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
81 <option value="remote">Remote database</option> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
82 <option value="pgtools">Database from history</option> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
83 </param> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
84 <when value="remote"/> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
85 <when value="pgtools"> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
86 <param name="infile" type="data" format="postgresql" label="Input database" /> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
87 <param name="schema" type="text" label="Schema containing Chado tables" value="public" help="Can be 'chado' for a Tripal database"/> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
88 </when> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
89 </conditional> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
90 </xml> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
91 |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
92 <token name="@START_PSQL@"><![CDATA[ |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
93 #if $psql_target.method == 'pgtools' |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
94 tar -xjvf '$psql_target.infile' > /dev/null && |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
95 . '$__tool_directory__/prepare_psql.sh' '$psql_target.schema' |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
96 #else |
6
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
97 if [ -z "\$CHAKIN_GLOBAL_CONFIG_PATH" ]; then |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
98 echo "__default: local" > '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
99 echo "local:" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
100 echo " dbhost: \"\$GALAXY_CHADO_DBHOST\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
101 echo " dbname: \"\$GALAXY_CHADO_DBNAME\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
102 echo " dbpass: \"\$GALAXY_CHADO_DBPASS\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
103 echo " dbuser: \"\$GALAXY_CHADO_DBUSER\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
104 echo " dbschema: \"\$GALAXY_CHADO_DBSCHEMA\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
105 echo " dbport: \"\$GALAXY_CHADO_DBPORT\"" >> '.auth.yml' && |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
106 |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
107 export CHAKIN_GLOBAL_CONFIG_PATH='.auth.yml' |
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
108 ; fi |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
109 #end if |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
110 ]]></token> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
111 |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
112 <token name="@STOP_PSQL@"><![CDATA[ |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
113 #if $psql_target.method == 'pgtools' |
6
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
114 && |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
115 pglite stop -d ./postgresql && |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
116 timeout 60 bash -c 'until pglite status -d ./postgresql | grep -F -q "no server running"; do sleep 1; done' |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
117 ; |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
118 ## Make sure psql is stopped even if loading script failed |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
119 pglite stop -d ./postgresql || true |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
120 #end if |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
121 ]]></token> |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
122 |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
123 <token name="@ZIP_PSQL@"><![CDATA[ |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
124 #if $psql_target.method == 'pgtools' |
6
596d9834ac30
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
125 && |
5
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
126 pglite stop -d ./postgresql && |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
127 timeout 60 bash -c 'until pglite status -d ./postgresql | grep -F -q "no server running"; do sleep 1; done' && |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
128 tar -cvjf postgresql_out.tar.bz2 postgresql > /dev/null |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
129 ; |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
130 ## Make sure psql is stopped even if loading script failed |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
131 pglite stop -d ./postgresql || true |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
132 #end if |
3a3791f72693
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
3
diff
changeset
|
133 ]]></token> |
0
db7db54dd2d8
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
134 </macros> |