annotate phylogeny_load_tree.xml @ 12:4812a8770a8c draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
author gga
date Wed, 27 Mar 2019 17:32:01 -0400
parents 8f3b6bb4c05c
children 8d44d72730ed
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"?>
12
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
2 <tool id="phylogeny_load_tree" name="Chado load trees" version="@WRAPPER_VERSION@.1">
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[
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
10 #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
11 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
12 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
13 #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
14
12
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
15 @AUTH@
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
16
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
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
12
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
29 #if $input.input_type == "file":
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
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
12
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
43 '$analysis_id' > '$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
44 ]]></command>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
45 <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
46 <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
47 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
48 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
49 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
50
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
51 <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
52 <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
53 <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
54 <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
55 </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
56 <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
57 <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
58 <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
59 <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
60 </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
61 <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
62 <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
63 </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
64 </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
65
0
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
66 <!-- 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
67 <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
68 <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
69 <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
70 <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
71
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
72 </inputs>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
73 <outputs>
12
4812a8770a8c planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 703eb9ed2bdf6380db14c0af6a7cb1a85fab6d3f
gga
parents: 11
diff changeset
74 <data format="txt" name="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
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 <help>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
77 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
78
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
79 @HELP@
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
80 </help>
b44be6289549 planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
gga
parents:
diff changeset
81 </tool>