Mercurial > repos > gga > chado_feature_load_go
annotate feature_load_go.xml @ 7:fd8417b7e190 draft
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 1640878827bdc3870b6f34eded3a3f7571a1849f"
author | gga |
---|---|
date | Wed, 21 Aug 2019 05:13:40 -0400 |
parents | 0ff787a87407 |
children |
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"?> |
7
fd8417b7e190
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 1640878827bdc3870b6f34eded3a3f7571a1849f"
gga
parents:
6
diff
changeset
|
2 <tool id="feature_load_go" name="Chado load GO annotation" version="@WRAPPER_VERSION@"> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
3 <description></description> |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
4 <macros> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
5 <import>macros.xml</import> |
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 </macros> |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
7 <code file="chado.py"/> |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
8 <expand macro="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 <command detect_errors="aggressive"><![CDATA[ |
5
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
10 @START_PSQL@ && |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
11 |
7
fd8417b7e190
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 1640878827bdc3870b6f34eded3a3f7571a1849f"
gga
parents:
6
diff
changeset
|
12 chakin load go |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
13 '$input' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
14 '$organism_id' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
15 '$analysis_id' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
16 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
17 --query_type '$query_type' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
18 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
19 $match_on_name |
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 --name_column '$name_column' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
22 --go_column '$go_column' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
23 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
24 #if $re_name: |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
25 --re_name '$re_name' |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
26 #end if |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
27 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
28 $skip_missing |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
29 |
4
a69e00e985da
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 35c5eff77b573a66f3611b4906417df9a440c857
gga
parents:
2
diff
changeset
|
30 > '$results' |
5
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
31 |
6
0ff787a87407
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents:
5
diff
changeset
|
32 @ZIP_PSQL@ |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
33 ]]></command> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
34 <inputs> |
5
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
35 <expand macro="psql_target"/> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
36 <!-- arguments --> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
37 <param name="input" label="GO annotation" argument="input" type="data" format="tabular" help="Path to the GO annotation file to load" /> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
38 <param argument="analysis_id" type="select" dynamic_options="list_analyses()" label="Analysis" /> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
39 <param argument="organism_id" type="select" dynamic_options="list_organisms()" label="Organism" /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
40 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
41 <!-- options --> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
42 <param name="query_type" label="Query type" argument="--query_type" type="text" help="The feature type (e.g. 'gene', 'mRNA', 'polypeptide', 'contig') of the query. It must be a valid Sequence Ontology term." value="polypeptide" /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
43 |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
44 <param name="match_on_name" label="Match On Name" argument="--match_on_name" type="boolean" truevalue="--match_on_name" falsevalue="" help="Match features using their name instead of their uniquename" /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
45 |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
46 <param name="name_column" label="Identifier column" argument="--name_column" type="integer" value="2" help="Column containing the feature identifiers." /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
47 |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
48 <param name="go_column" label="GO column" argument="--go_column" type="integer" value="5" help="Column containing the GO id." /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
49 |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
50 <param name="re_name" label="Name regular expression" argument="--re_name" type="text" help="Regular expression to extract the feature name from the input file (first capturing group will be used)." optional="true"> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
51 <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
|
52 </param> |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
53 |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
54 <param name="skip_missing" label="Skip Missing" argument="--skip_missing" type="boolean" truevalue="--skip_missing" falsevalue="" help="Skip lines with unknown features or GO id instead of aborting everything." /> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
55 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
56 <expand macro="wait_for"/> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
57 </inputs> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
58 <outputs> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
59 <data format="txt" name="results"/> |
5
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
60 <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" label="${tool.name} on ${on_string}"> |
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
61 <filter>psql_target['method'] == "pgtools"</filter> |
bde9421d7918
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents:
4
diff
changeset
|
62 </data> |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
63 </outputs> |
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
64 <help> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
65 Load GO annotation from a tabular file |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
66 |
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
67 @HELP@ |
2
602218d4eef5
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents:
0
diff
changeset
|
68 </help> |
0
cdf222d77b32
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 3c4fb887c809face4fbe4602617d6dc094b15864
gga
parents:
diff
changeset
|
69 </tool> |