annotate feature_load_featureprops.xml @ 16:3f30070b77ab draft

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 7bf18c69becc57152efdadedf7ebd0bcfa382a15"
author gga
date Mon, 29 Jun 2020 09:30:52 -0400
parents 9db01be25d5b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"?>
13
9db01be25d5b "planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 1640878827bdc3870b6f34eded3a3f7571a1849f"
gga
parents: 12
diff changeset
2 <tool id="feature_load_featureprops" name="Chado load feature properties" version="@WRAPPER_VERSION@">
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
3 <description></description>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
4 <macros>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
5 <import>macros.xml</import>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
6 </macros>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
7 <expand macro="requirements"/>
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
8 <code file="chado.py"/>
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
11
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
10 @START_PSQL@ &&
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
11
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
12 chakin feature load_featureprops
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
13 '$tab_file'
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
14 '$analysis_id'
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
15 '$organism'
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
16 '$prop_type'
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
17
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
18 #if $feature_type:
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
19 --feature_type '$feature_type'
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
20 #end if
5
1f90fb200b4d planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit a1460ea4dbbd5c6ff6576b2d6db8aaa04b0061a7
gga
parents: 0
diff changeset
21
1f90fb200b4d planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit a1460ea4dbbd5c6ff6576b2d6db8aaa04b0061a7
gga
parents: 0
diff changeset
22 $match_on_name
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
23
10
46b3ccaa24ca planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 35c5eff77b573a66f3611b4906417df9a440c857
gga
parents: 8
diff changeset
24 | jq -S . > '$results'
11
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
25
12
23550bf28405 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
gga
parents: 11
diff changeset
26 @ZIP_PSQL@
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
27 ]]></command>
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
28 <inputs>
11
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
29 <expand macro="psql_target"/>
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
30 <!-- arguments -->
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
31 <param name="tab_file" label="Tab File" argument="tab_file" type="data" format="tabular" help="Path to the tabular file to load" />
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
32 <param argument="analysis_id" type="select" dynamic_options="list_analyses()" label="Analysis" />
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
33 <param argument="organism" type="select" dynamic_options="list_organisms()" label="Organism" />
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
34 <param name="prop_type" label="Property type" argument="prop_type" type="text" help="Type of the feature property (cvterm will be created if it doesn't exist)" />
0
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 <!-- options -->
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
37 <param name="feature_type" label="Feature type" argument="--feature_type" type="text" help="Type of the target features in sequence ontology (will speed up loading if specified)" optional="true" />
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
38 <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
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
39
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
40 <expand macro="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
41
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
42 </inputs>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
43 <outputs>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
44 <data format="json" name="results"/>
11
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
45 <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" label="${tool.name} on ${on_string}">
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
46 <filter>psql_target['method'] == "pgtools"</filter>
ae5af24183a6 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
gga
parents: 10
diff changeset
47 </data>
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
48 </outputs>
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
49 <help>
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
50 Load feature properties from a tabular file (Column1: feature name or uniquename, Column2: property value)
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 @HELP@
8
402032cb55a1 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
53 </help>
0
b5d8e6e26d01 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
54 </tool>