annotate macros.xml @ 2:602218d4eef5 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
author gga
date Fri, 23 Nov 2018 11:11:53 -0500
parents bc1940bf58f2
children eb73aabf7641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cdf222d77b32 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"?>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
2 <macros>
cdf222d77b32 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">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
4 <requirements>
2
602218d4eef5 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 1
diff changeset
5 <requirement type="package" version="2.2.3">python-chado</requirement>
0
cdf222d77b32 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>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
7 <yield/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
8 </requirements>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
9 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
10
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
11 <xml name="stdio">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
12 <stdio>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
13 <regex level="fatal" match="Exception:" source="stderr" />
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
14 <regex level="fatal" match="error" source="stderr" />
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
15 <exit_code range="1:" />
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
16 </stdio>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
17 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
18
2
602218d4eef5 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 1
diff changeset
19 <token name="@WRAPPER_VERSION@">2.2.3</token>
0
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
20
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
21 <xml name="citation">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
22 <citations>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
23 </citations>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
24 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
25
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
26 <token name="@HELP_OVERVIEW@"><![CDATA[
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
27 **Python-chado Overview**
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
28
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
29 Python-cado provides several tools allowing to load data into a remote Chado database.
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
30 ]]></token>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
31
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
32 <token name="@HELP@"><![CDATA[
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
33 ]]></token>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
34
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
35 <token name="@AUTH@"><![CDATA[
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
36 echo "__default: local" > '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
37 echo "local:" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
38 echo " dbhost: \"\$GALAXY_CHADO_DBHOST\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
39 echo " dbname: \"\$GALAXY_CHADO_DBNAME\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
40 echo " dbpass: \"\$GALAXY_CHADO_DBPASS\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
41 echo " dbuser: \"\$GALAXY_CHADO_DBUSER\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
42 echo " dbschema: \"\$GALAXY_CHADO_DBSCHEMA\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
43 echo " dbport: \"\$GALAXY_CHADO_DBPORT\"" >> '.auth.yml' &&
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
44
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
45 CHAKIN_GLOBAL_CONFIG_PATH='.auth.yml'
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
46 ]]></token>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
47
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
48 <xml name="sanitized">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
49 <sanitizer>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
50 <valid initial="string.printable">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
51 <remove value="&apos;"/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
52 </valid>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
53 <mapping initial="none">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
54 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;"/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
55 <add source="(" target="\("/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
56 <add source=")" target="\)"/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
57 </mapping>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
58 </sanitizer>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
59 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
60
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
61 <!-- I'm not proud of it, but it is needed for workflows -->
cdf222d77b32 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="wait_for">
cdf222d77b32 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="wait_for"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
64 type="data"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
65 format="data"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
66 optional="true"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
67 label="Run this only after the following dataset is ready"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
68 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."/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
69 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
70
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
71 <xml name="feature_rel">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
72 <param name="rel_subject_re"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
73 argument="--rel-subject-re"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
74 type="text"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
75 label="Regular expression to extract the unique name of the parent feature"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
76 help="this regex will be applied on the fasta definition line to generate the unique name of the parent feature">
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
77 <expand macro="sanitized"/>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
78 </param>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
79
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
80 <param name="rel_subject_type"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
81 argument="--rel-subject-type"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
82 type="text"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
83 label="Sequence type of the parent"
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
84 help="this should be a Sequence Ontology term" />
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
85 </xml>
cdf222d77b32 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff changeset
86 </macros>