annotate hyphy_annotate.xml @ 12:6efabd37807b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
author iuc
date Tue, 07 Oct 2025 20:44:41 +0000
parents d088a1cca4a7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
d088a1cca4a7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit e7a89841d59689e87db592e112f9c8fb5331d954
iuc
parents: 8
diff changeset
1 <tool id="hyphy_annotate" name="Annotate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
2 <description>a newick tree with HyPhy</description>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
3 <macros>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
5 </macros>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
8 cp '$input_tree' input.nhx &&
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
9 hyphy label-tree
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
10 --tree input.nhx
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
11 --output labeled_tree.nhx
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
12 #if $regexp:
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
13 --regexp '$regexp'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
14 #else:
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
15 --list '$list_file'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
16 #end if
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
17 --label '$label'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
18 --reroot '$reroot'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
19 '$invert'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
20 --internal-nodes '$internal_nodes'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
21 --leaf-nodes '$leaf_nodes'
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
22 > annotate_stdout.md 2>/dev/null
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
23 @ERRORS@
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
24 ]]></command>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
25 <inputs>
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
26 <param name="input_tree" type="data" format="nhx" label="Input tree" help="The tree to annotate (Newick format)" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
27 <conditional name="selection_method">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
28 <param name="method" type="select" label="Select branches by">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
29 <option value="regexp">Regular Expression</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
30 <option value="list">List of Sequences</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
31 </param>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
32 <when value="regexp">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
33 <param name="regexp" type="text" optional="false" label="Regular expression" help="Use the following regular expression to select a subset of leaves">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
34 <expand macro="regex_sanitizer"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
35 </param>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
36 </when>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
37 <when value="list">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
38 <param name="list_file" type="data" format="txt" optional="false" label="List of sequences" help="Line list of sequences to include in the set"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
39 </when>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
40 </conditional>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
41 <param name="label" type="text" value="Foreground" label="Label for annotation" help="Use the following label for annotation" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
42 <param name="reroot" type="text" value="None" label="Reroot the tree on this node" help="Reroot the tree on this node ('None' to skip rerooting)" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
43 <param argument="--invert" type="boolean" truevalue="--invert Yes" falsevalue="--invert No" label="Invert selection" help="Invert selection" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
44 <param name="internal_nodes" type="select" label="Strategy for labeling internal nodes" help="Strategy for labeling internal nodes">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
45 <option value="All descendants">All descendants</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
46 <option value="None">None</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
47 <option value="All descendants, no MRCA">All descendants, no MRCA</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
48 <option value="Some descendants">Some descendants</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
49 <option value="Parsimony">Parsimony</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
50 </param>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
51 <param name="leaf_nodes" type="select" label="Strategy for labeling selected leaves" help="Strategy for labeling selected leaves">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
52 <option value="Label">Label</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
53 <option value="Skip">Skip</option>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
54 </param>
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
55 </inputs>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
56 <outputs>
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
57 <data name="labeled_tree" format="nhx" from_work_dir="labeled_tree.nhx" label="${tool.name} on ${on_string}: Labeled tree" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
58 <data name="annotate_md_report" format="markdown" from_work_dir="annotate_stdout.md" label="Annotate Report (Markdown) for ${tool.name} on ${on_string}" />
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
59 </outputs>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
60 <tests>
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
61 <test expect_num_outputs="2">
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
62 <param name="input_tree" ftype="nhx" value="annotate-in1.nhx"/>
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
63 <conditional name="selection_method">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
64 <param name="method" value="regexp"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
65 <param name="regexp" value="USA"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
66 </conditional>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
67 <param name="label" value="Annotated"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
68 <param name="reroot" value="None"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
69 <param name="invert" value="No"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
70 <param name="internal_nodes" value="All descendants"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
71 <param name="leaf_nodes" value="Label"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
72 <output name="labeled_tree" file="annotate-out1-full.nhx" />
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
73 <output name="annotate_md_report">
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
74 <assert_contents>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
75 <has_text text="Analysis Description"/>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
76 </assert_contents>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
77 </output>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
78
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
79 </test>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
80 </tests>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
81 <help><![CDATA[
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
82 HyPhy Annotate (label-tree)
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
83 ===========================
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
84
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
85 Brief description
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
86 -----------------
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
87
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
88 This tool uses the `label-tree` function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selected branches. The tool also provides options for rerooting the tree, inverting the selection, and defining strategies for labeling internal and leaf nodes. This functionality is crucial for customizing tree visualizations and focusing on specific evolutionary events or clades.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
89
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
90 Input
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
91 -----
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
92
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
93 1. A phylogenetic tree in Newick format.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
94 2. A regular expression or a list of sequence names to define the subset of leaves for annotation.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
95
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
96 Output
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
97 ------
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
98
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
99 1. Labeled tree: A Newick file containing the annotated phylogenetic tree.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
100 2. Annotate Report: A Markdown file with a summary of the analysis.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
101
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
102 Tool options
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
103 ------------
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
104 ::
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
105
12
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
106 --tree The tree to annotate (Newick format).
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
107
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
108 --regexp Use the following regular expression to select a subset of leaves.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
109
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
110 --list Line list of sequences to include in the set (required if --regexp is not supplied).
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
111
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
112 --label Use the following label for annotation.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
113
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
114 --reroot Reroot the tree on this node ('None' to skip rerooting).
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
115
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
116 --invert Invert selection.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
117
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
118 --internal-nodes Strategy for labeling internal nodes.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
119 None: Do not label internal nodes.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
120 All descendants: Label all descendants of the selected internal node.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
121 All descendants, no MRCA: Label all descendants of the selected internal node, excluding the most recent common ancestor.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
122 Some descendants: Label some descendants of the selected internal node.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
123 Parsimony: Label internal nodes based on parsimony.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
124
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
125 --leaf-nodes Strategy for labeling selected leaves.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
126 Label: Apply the specified label to selected leaf nodes.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
127 Skip: Do not label leaf nodes.
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
128 ]]>
6efabd37807b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit d97b1b98a3a621c93a7ed9e7db16bda47eefcb92
iuc
parents: 11
diff changeset
129 </help>
0
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
130 <expand macro="citations">
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
131 <citation type="doi">10.1093/molbev/msv022</citation>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
132 </expand>
be1650bef38c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hyphy/ commit 2742ee3b4e90f65352845265d2f85c4263e0eabb"
iuc
parents:
diff changeset
133 </tool>