annotate macros.xml @ 9:7b552f5cb694 draft

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