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