annotate ete-treeviewer.xml @ 0:7a598c88bd46 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
author iuc
date Tue, 10 Dec 2024 09:55:02 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
1 <tool id="ete_treeviewer" name="ETE tree viewer" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01" license="MIT">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
2 <description>visualize a phylogenetic tree</description>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
3 <macros>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">3.1.3</token>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
6 </macros>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
7 <edam_topics>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
8 <edam_topic>topic_3293</edam_topic> <!-- phylogenetics -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
9 </edam_topics>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
10 <edam_operations>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
11 <edam_operation>operation_0567</edam_operation> <!-- phylogenetic tree visualisation -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
12 </edam_operations>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
13 <xrefs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
14 <xref type="bio.tools">ete</xref>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
15 </xrefs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
16 <requirements>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
17 <!--<requirement type="package" version="@TOOL_VERSION@">ete3</requirement>-->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
18 <requirement type="package" version="8.10.1">curl</requirement>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
19 <requirement type="package" version="1.6.1">xmlstarlet</requirement>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
20 <requirement type="package" version="2.58.4">librsvg</requirement>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
21 </requirements>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
22 <command detect_errors="exit_code"><![CDATA[
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
23
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
24 curl http://etetoolkit.org/get_svg/
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
25 -X POST
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
26 --retry 10
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
27 #if $align.align_choice == 'yes'
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
28 -d "tree=\$(cat '$input_tree');fasta=\$(cat '$align.input_alignment');alg_type=$align.alg_type;$ncbitaxa" | xml format - > tree.svg
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
29 #else
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
30 -d "tree=\$(cat '$input_tree');$ncbitaxa" | xml format - > tree.svg
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
31 #end if
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
32
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
33 #if $output_format == 'png'
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
34 && rsvg-convert -o tree.png tree.svg
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
35 && mv tree.png '$output_tree_image'
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
36 #else
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
37 && mv tree.svg '$output_tree_image'
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
38 #end if
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
39
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
40 ]]></command>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
41 <inputs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
42 <param name="input_tree" type="data" format="newick" label="Newick Tree to visualise" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
43 <conditional name="align">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
44 <param name="align_choice" type="select" label="Add alignment information to image?" help="Will display alignments in the tree view">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
45 <option value="yes">yes</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
46 <option value="no" selected="true">no</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
47 </param>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
48 <when value="yes">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
49 <param name="input_alignment" type="data" format="fasta" optional="true" label="Multiple Alignment FASTA file" help="If provided, will add alignment visualisation to tree image" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
50 <param name="alg_type" type="select" multiple="false" label="Alignment display style" help="Will be ignored if no alignment file provided.">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
51 <option value="block">Aligned blocks</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
52 <option value="condensed" selected="true">Condensed format</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
53 </param>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
54 </when>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
55 <when value="no"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
56 </conditional>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
57
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
58 <param name="ncbitaxa" type="boolean" checked="true" truevalue="ncbitaxa=true;" falsevalue="" label="Resolve Taxonomic IDs?" help="Use NCBI numeric taxids as leaf names (or in the format TaxID.sequenceName) in your tree." />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
59 <param name="output_format" type="select" multiple="false" label="Format of the output image." help="SVG or PNG">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
60 <option value="svg" selected="true">SVG</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
61 <option value="png">PNG</option>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
62 </param>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
63 </inputs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
64 <outputs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
65 <data name="output_tree_image" format="svg" label="${tool.name} on ${on_string}: Tree Image">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
66 <change_format>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
67 <when input="output_format" value="png" format="png"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
68 </change_format>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
69 </data>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
70 </outputs>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
71 <tests>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
72 <test expect_num_outputs="1"><!-- test 1: with NCBI TaxIDs -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
73 <param name="input_tree" value="quicktree_alignment_VARL_NCBI.tre" ftype="newick"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
74 <output name="output_tree_image" file="quicktree_VARL_NCBI.svg" ftype="svg" lines_diff="500" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
75 </test>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
76 <test expect_num_outputs="1"><!-- test 2: with alignment file -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
77 <param name="input_tree" value="example-tree-ncbi.tree" ftype="newick"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
78 <param name="align_choice" value="yes" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
79 <param name="input_alignment" value="example-alignment.fa" ftype="fasta"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
80 <output name="output_tree_image" ftype="svg">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
81 <assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
82 <has_text text="Generated with ETE http://ete.cgenomics.org"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
83 <has_text text="Branchiostoma floridae"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
84 <has_n_lines min="150000" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
85 </assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
86 </output>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
87 </test>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
88 <test expect_num_outputs="1"><!-- test 3: with aligment style set -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
89 <param name="input_tree" value="example-tree-ncbi.tree" ftype="newick"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
90 <param name="align_choice" value="yes" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
91 <param name="input_alignment" value="example-alignment.fa" ftype="fasta"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
92 <param name="alg_type" value="block"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
93 <output name="output_tree_image" ftype="svg">
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
94 <assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
95 <has_text text="Generated with ETE http://ete.cgenomics.org"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
96 <has_text text="Branchiostoma floridae"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
97 <has_n_lines min="25000" max="30000" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
98 </assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
99 </output>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
100 </test>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
101 <test expect_num_outputs="1"><!-- test 4: minimal tree, no taxonomy, no alignment -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
102 <param name="input_tree" value="quicktree_alignment_VARL.tre" ftype="newick"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
103 <param name="align_choice" value="no" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
104 <output name="output_tree_image" file="minimal-tree-out.svg" ftype="svg" lines_diff="0"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
105 </test>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
106 <test expect_num_outputs="1"><!-- test 5: png output -->
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
107 <param name="input_tree" value="quicktree_alignment_VARL.tre" ftype="newick"/>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
108 <param name="output_format" value="png" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
109 <output name="output_tree_image" ftype="png" >
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
110 <assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
111 <has_image_width min="500" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
112 <has_image_height min="500" />
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
113 </assert_contents>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
114 </output>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
115 </test>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
116 </tests>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
117 <help><![CDATA[
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
118
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
119 .. class:: infomark
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
120
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
121 **What it does**
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
122
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
123 This is a tool for phylogenetic tree view (newick format) that allows multiple sequence alignments to be shown together with the trees (fasta format). It uses the tree drawing engine implemented in the ETE toolkit, and offers transparent integration with the NCBI taxonomy database. Currently, alignments can be displayed in condensed or block-based format.
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
124
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
125 **Input**
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
126
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
127 Input trees should be in Newick format. Optionally a fasta alignment may also be provided. Leaf names in the newick tree should match those in the fasta alignment.
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
128
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
129 Tip: Use NCBI numeric taxids as leaf names (or in the format TaxID.sequenceName) to get on-the-fly translation of species names and lineages.
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
130
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
131 For example::
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
132
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
133 ((6669.DappuP312785:1.24473,(((7739.JGI126010:4.02e-06,7739.JGI126021:0.168081)0.99985:0.848895, [..]
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
134
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
135 where 66969 and 7739 are NCBI TaXIDs.
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
136
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
137 **Output**
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
138
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
139 The tool will output a tree image in SVG or PNG format.
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
140
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
141 .. image:: $PATH_TO_IMAGES/example-treeview.png
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
142 :width: 50%
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
143 :alt: example tree image
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
144
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
145 ]]></help>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
146 <citations>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
147 <citation type="doi">10.1093/molbev/msw046</citation>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
148 </citations>
7a598c88bd46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ete-toolkit commit d2208e858d6486dd2e832978aca30ca67837cfd6
iuc
parents:
diff changeset
149 </tool>