Mercurial > repos > iuc > astral
annotate astral.xml @ 0:7c60c0620fb3 draft default tip
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
author | iuc |
---|---|
date | Wed, 28 Aug 2024 12:53:33 +0000 |
parents | |
children |
rev | line source |
---|---|
0
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
1 <tool id="astral" name="ASTRAL-III" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.00"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
2 <description>Estimating an unrooted species tree given a set of unrooted gene trees</description> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
3 <macros> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">5.7.8</token> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
6 </macros> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
7 <requirements> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
8 <requirement type="package" version="@TOOL_VERSION@">astral-tree</requirement> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
9 </requirements> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
10 <version_command><![CDATA[ |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
11 python '$__tool_directory__/version_command.py' |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
12 ]]></version_command> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
13 <command detect_errors="exit_code"><![CDATA[ |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
14 astral |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
15 --input '$input' |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
16 --branch-annotate ${branch_annotate} |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
17 --output ./output.tre |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
18 --lambda $lambda 2>&1 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
19 | tee '$log_output' |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
20 && |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
21 mv ./output.tre '$output' |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
22 #if $branch_annotate == "16" or $branch_annotate == "32" |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
23 && |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
24 mv freqQuad.csv '$branch_annotations' |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
25 #end if |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
26 ]]></command> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
27 <inputs> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
28 <param type="data" argument="--input" format="newick" label="Tree file" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
29 <param argument="--branch-annotate" type="select" label="Amount of annotations that should be added to each branch (-t)"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
30 <option value="0">0: no annotations</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
31 <option value="1">1: only the quartet support for the main resolution</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
32 <option value="2">2: full annotation</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
33 <option value="3" selected="true">3 (default): only the posterior probability for the main resolution</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
34 <option value="4">4: three alternative posterior probabilities</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
35 <option value="8">8: three alternative quartet scores</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
36 <option value="16">16: for file export of branch annotations to freqQuad.csv (see below)</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
37 <option value="32">32: for file export of branch annotations to freqQuad.csv (see below)</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
38 <option value="10">10: p-values of a polytomy null hypothesis test (default: 3)</option> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
39 </param> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
40 <param argument="--lambda" type="float" min="0.0" max="10.0" value="0.5" optional="true" label="Lambda parameter for the Yule prior" |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
41 help="Used in the calculations of branch lengths and posterior probabilities."> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
42 <validator type="in_range" min="0.0" max="10.0"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
43 </param> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
44 </inputs> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
45 <outputs> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
46 <data name="output" format="newick" label="Output tree file"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
47 <data name="log_output" format="txt" label="Astral log"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
48 <data name="branch_annotations" format="tabular" label="Branch annotations file."> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
49 <filter>branch_annotate == '16' or branch_annotate == '32'</filter> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
50 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
51 </data> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
52 </outputs> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
53 <tests> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
54 <test expect_num_outputs="3"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
55 <param name="input" value="song_mammals.424.gene.tre" ftype="newick"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
56 <param name="branch_annotate" value="16" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
57 <param name="lambda" value="2.0" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
58 <output name="output" file="song_mammals.tre" ftype="newick"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
59 <output name="log_output"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
60 <assert_contents> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
61 <has_line line="Number of taxa: 37 (37 species)" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
62 <has_line line="gradient0: 1933" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
63 <has_line line="Number of Clusters after addition by distance: 1933" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
64 <has_line line="Final quartet score is: 25526915" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
65 </assert_contents> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
66 </output> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
67 <output name="branch_annotations" file="freqQuad.csv" ftype="tabular"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
68 <assert_command_version> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
69 <has_text text="@TOOL_VERSION@"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
70 </assert_command_version> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
71 </test> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
72 <test expect_num_outputs="2"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
73 <param name="input" value="song_primates.424.gene.tre"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
74 <param name="branch_annotate" value="0" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
75 <param name="lambda" value="2.0" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
76 <output name="output" file="song_primates.tre" ftype="newick"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
77 <output name="log_output"> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
78 <assert_contents> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
79 <has_line line="Number of taxa: 14 (14 species)" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
80 <has_line line="gradient0: 339" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
81 <has_line line="Number of Clusters after addition by distance: 339" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
82 <has_line line="Final quartet score is: 389734" /> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
83 </assert_contents> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
84 </output> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
85 <assert_command_version> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
86 <has_text text="@TOOL_VERSION@"/> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
87 </assert_command_version> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
88 </test> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
89 </tests> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
90 <help><![CDATA[ |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
91 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
92 ASTRAL is a tool for estimating an unrooted species tree given a set of unrooted gene trees. ASTRAL is statistically consistent under the multi-species coalescent model (and thus is useful for handling incomplete lineage sorting, i.e., ILS). ASTRAL finds the species tree that has the maximum number of shared induced quartet trees with the set of gene trees, subject to the constraint that the set of bipartitions in the species tree comes from a predefined set of bipartitions. This predefined set is empirically decided by ASTRAL (but see tutorial on how to expand it). The current code corresponds to ASTRAL-III (see below for the publication). |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
93 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
94 The algorithm was designed by Tandy Warnow and Siavash Mirarab originally. ASTRAL-III incorporates many ideas by Chao Zhang and Maryam Rabiee. Code developers are mainly Siavash Mirarab, Chao Zhang, Maryam Rabiee, and Erfan Sayyari. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
95 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
96 Github: https://github.com/smirarab/ASTRAL |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
97 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
98 ---- |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
99 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
100 **input** |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
101 - The input gene trees are in the Newick format. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
102 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
103 **output** |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
104 - The output is in Newick format. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
105 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
106 **Newick annotations** |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
107 - No annotations (-t 0): This turns off calculation and reporting of posterior probabilities and branch lengths. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
108 - Quartet support (-t 1): The percentage of quartets in your gene trees that agree with a branch (normalized quartet support) give use a nice way of measuring the amount of gene tree conflict around a branch. Note that the local posterior probabilities are computed based on a transformation of normalized quartet scores (see Figure 2 of the paper). |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
109 - Alternative quartet topologies (-t 8): Outputs q1, q2, q3; these three values show quartet support (as defined above) for the main topology (LR|SO), first alternative (RS|LO) and second alternative (RO|LS), respectively. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
110 - Local posterior (-t 3): is the default where we show local posterior probability for the main topology. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
111 - Alternative posteriors (-t 4): The output includes three local posterior probabilities: one for the main topology, and one for each of the two alternatives (RS|LO and RO|LS, in that order). The posterior of the three topologies adds up to 1. This is because of our locality assumption, which basically asserts that we assume the four groups around the branch (L, R, S, and O) are each correct and therefore, there are only three possible alternatives. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
112 - Full annotation (-t 2): When you use this option, for each branch you get a lot of different measurements. The values q1, q2 and q3 show quartet support (as defined in the description of -t 1) for the main topology, the first alternative, and the second alternative, respectively. The values f1, f2 and f3 show the total number of quartet trees in all the gene trees that support the main topology, the first alternative, and the second alternative, respectively. The values pp1, pp2 and pp3 show the local posterior probabilities (as defined in the description of -t 4) for the main topology, the first alternative, and the second alternative, respectively. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
113 - QC: this shows the total number of quartets defined around each branch (this is what the paper calls *m*). |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
114 - EN: this is the effective number of genes for the branch. If you don't have any missing data, this would be the number of branches in your tree. When there are missing data, some gene trees might have nothing to say about a branch. Thus, the effective number of genes might be smaller than the total number of genes. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
115 - Polytomy test (-t 10): runs an experimental test to see if a null hypothesis that the branch is a polytomy could be rejected. See this paper: doi:10.3390/genes9030132. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
116 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
117 **File export of branch annotations** |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
118 Since it is often hard to know which branch is L and which branch is R, understanding branch annotations is a bit hard for most users. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
119 To help, we have added a feature for outputting some of the branch annotations into a .csv file. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
120 Note that we strongly suggest using DiscoVista to visualize the quartet frequencies. If you find DiscoVista hard to install and use, you can instead use these .csv files. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
121 To get the .csv outputs, you can use -t 16 and -t 32. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
122 The .csv output has the following format: |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
123 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
124 - The output file is always called freqQuad.csv and is written to the same directory as the input file (sorry for the ugliness!) |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
125 - The file is tab-delimited. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
126 - 1st column: a dummy name for the node. Note that each three lines in a row have the same node number. Around each node, we have three possible unrooted toplogies (NNI rearrangements). We show stats for these three rearrangements. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
127 - 2nd column: the topology name for which we are giving the scores. Here, t1 is always the main topology (observed in your species tree) and t2 and t3 are the two alternatives. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
128 - 3rd column: Gives the actual topology with the format: {A}|{B}#{C}|{D}. This means that the quartet topology being scored is putting groups A and B together on one side, and groups C and D on the other side. Please remember that quartets are unrooted trees. Each of the groups is a comma-separate list of species. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
129 - 5th column: number of gene trees that match the the topology in this line. You will note that this number is not always an integer number. The reason is that in each gene tree, groups A, B, C, and D may not be together. Those gene trees still count as 1 unit, but they can contribute a fraction of that total of 1 to each of the tree topologies. So a gene tree may count as 0.7 for one topology, 0.2 for another, and 0.1 for the third. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
130 - 6th column: This is the total number of gene trees that had any useful information about this branch. If you have no missing data, this should equal the total number of gene trees. If you have missing data, some genes may be missing one of groups A, B, C, or D entirely. Those genes will be agnostic about this branch. This column gives the number of genes that have at least one species from each of A, B, C, and D. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
131 - 4th column is likely you are interested in and it depends on whether you used -t 16 or -t 32. The -t 16 column is the local posterior for the topology given in this line. Note that the local posterior probability is different from normalized quartet score. See Figure 2 of the paper. The -t 32 column is simply 5th column divided by the 6th column. Thus, it gives the normalized quartet score for that topology. Note that the three lines with the same node name (1st column) will add up to one in their 4th column. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
132 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
133 Prior hyper-parameter |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
134 Our calculations of the local posterior probabilities and branch lengths use a Yule prior model for the branch lengths of the species tree. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
135 The speciation rate (in coalescent units) of the Yule process (lambda) is by default set to 0.5, which results in a flat prior for the quartet frequencies in the [1/3,1] range. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
136 Using -c option one can adjust the hyper-parameter for the prior. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
137 For example, you might want to estimate lambda from the data after one run and plug the estimate prior in a subsequent run. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
138 We have not yet fully explored the impact of lambda on the posterior. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
139 For branch lengths, lambda acts as a pseudocount and can have a substantial impact on the estimated branch length for very long branches. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
140 More specifically, if there is no, or very little discordance around a branch, |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
141 the MAP lengths of the branch (which is what we report) is almost fully determined by the prior. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
142 |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
143 Note that setting lambda to 0 results in reporting ML estimates of the branch lengths instead of MAP. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
144 However, for branches with no discordance, we cannot compute a branch lengths. |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
145 For these, we currently arbitrarily set ML to 10 coalescent units (we might change this in future versions). |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
146 ]]></help> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
147 <citations> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
148 <citation type="doi">doi:10.1186/s12859-018-2129-y</citation> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
149 </citations> |
7c60c0620fb3
planemo upload for repository https://github.com/usegalaxy-be/galaxytools/tree/main/astral commit 10aeeb461530c00256dc13695f45eba8d8c6ccb5
iuc
parents:
diff
changeset
|
150 </tool> |