annotate phylogeny_load_tree.xml @ 11:8f3b6bb4c05c 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:12:24 -0500
parents 2e38005d5205
children 4812a8770a8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b44be6289549 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"?>
11
8f3b6bb4c05c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 35c5eff77b573a66f3611b4906417df9a440c857
gga
parents: 10
diff changeset
2 <tool id="phylogeny_load_tree" name="Chado load trees" version="@WRAPPER_VERSION@.0">
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
3 <description>for phylogeny module</description>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
4 <macros>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
5 <import>macros.xml</import>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
6 </macros>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
7 <expand macro="requirements"/>
b44be6289549 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"/>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
9 <command detect_errors="aggressive"><![CDATA[
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
10 @AUTH@
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
11
10
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
12 #if $input.input_type == "archive":
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
13 mkdir 'newick_arch/' &&
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
14 tar -C 'newick_arch/' -xzvf '${input.newick_arch}' > /dev/null &&
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
15 #end if
10
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
16
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
17 chakin phylogeny load_tree
5
31f6e0f70e41 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit a1460ea4dbbd5c6ff6576b2d6db8aaa04b0061a7
gga
parents: 0
diff changeset
18
31f6e0f70e41 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit a1460ea4dbbd5c6ff6576b2d6db8aaa04b0061a7
gga
parents: 0
diff changeset
19 $match_on_name
31f6e0f70e41 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit a1460ea4dbbd5c6ff6576b2d6db8aaa04b0061a7
gga
parents: 0
diff changeset
20
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
21 #if $prefix:
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
22 --prefix '$prefix'
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
23 #end if
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
24
10
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
25 #if $xref_db:
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
26 --xref_db '$xref_db'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
27 #end if
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
28
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
29 #if $input.input_type == "archive":
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
30 #if $name:
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
31 --name '$name'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
32 #end if
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
33
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
34 #if $xref_accession:
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
35 --xref_accession '$xref_accession'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
36 #end if
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
37
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
38 '$newick'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
39 #else
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
40 'newick_arch/'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
41 #end if
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
42
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
43 '$analysis_id'
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
44
11
8f3b6bb4c05c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 35c5eff77b573a66f3611b4906417df9a440c857
gga
parents: 10
diff changeset
45 | jq -S . > '$results'
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
46 ]]></command>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
47 <inputs>
8
2b4c9d801a1e planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
48 <param argument="analysis_id"
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
49 type="select"
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
50 dynamic_options="list_analyses()"
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
51 label="Analysis" />
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
52
10
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
53 <conditional name="input">
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
54 <param name="input_type" type="select" label="Input type">
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
55 <option value="file" selected="true">Newick file</option>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
56 <option value="archive">Tar.gz archive of Newick files</option>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
57 </param>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
58 <when value="file">
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
59 <param name="newick" label="Newick" argument="newick" type="data" format="newick" help="Newick file to load" />
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
60 <param name="name" label="Name" argument="--name" type="text" help="The name given to the phylotree entry in the database" />
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
61 <param name="xref_accession" label="Xref Accession" argument="--xref_accession" type="text" help="The accession to use for dbxrefs for the trees (assumed same as name unless otherwise specified)" />
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
62 </when>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
63 <when value="archive">
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
64 <param name="newick_arch" label="Newicks archive" type="data" format="tar" help="Archive of Newick files to load (must be at the root of the archive)" />
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
65 </when>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
66 </conditional>
2e38005d5205 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 690532f4a8e36a334b2d4e15b832532fc1bb8d39
gga
parents: 8
diff changeset
67
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
68 <!-- options -->
8
2b4c9d801a1e planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
69 <param name="xref_db" label="Xref db" argument="--xref_db" value="null" type="text" help="The name of the db to link dbxrefs for the trees" />
2b4c9d801a1e planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
70 <param name="match_on_name" label="Match On Name" argument="--match_on_name" type="boolean" truevalue="--match_on_name" falsevalue="" help="Match polypeptide features using their name instead of their uniquename" />
2b4c9d801a1e planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit f5c5d81fc9781371e12b91c0d609b9201587cda5
gga
parents: 5
diff changeset
71 <param name="prefix" label="Prefix" argument="--prefix" type="text" help="Comma-separated list of prefix to be removed from identifiers (e.g species prefixes when loading OrthoFinder output)" />
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
72 <expand macro="wait_for"/>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
73
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
74 </inputs>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
75 <outputs>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
76 <data format="json" name="results"/>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
77 </outputs>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
78 <help>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
79 Load a phylogenetic tree (Newick format) into Chado db
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
80
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
81 @HELP@
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
82 </help>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
83 </tool>