annotate qiime2-2020.8/qiime_phylogeny_robinson-foulds.xml @ 27:a917731ff917 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 12:59:12 +0000
parents d93d8888f0b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_phylogeny_robinson-foulds" name="qiime phylogeny robinson-foulds"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Calculate Robinson-Foulds distance between phylogenetic trees.</description>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
9 qiime phylogeny robinson-foulds
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-trees=$itrees
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 #if str($plabels):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 --p-labels=$plabels
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 #if str($pmissingtips) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 --p-missing-tips=$pmissingtips
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 --o-distance-matrix=odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 cp odistancematrix.qza $odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 <param format="qza,no_unzip.zip" label="--i-trees: ARTIFACTS... List[Phylogeny[Rooted | Unrooted]] Phylogenetic trees to compare with Robinson-Foulds. Rooting information and branch lengths are ignored by this metric. [required]" name="itrees" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 <param label="--p-labels: TEXT... Labels to use for the tree names in the distance List[Str] matrix. If ommited, labels will be \'tree_n\' where \'n\' ranges from 1..N. The number of labels must match the number of trees. [optional]" name="plabels" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 <param label="--p-missing-tips: " name="pmissingtips" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 <option value="error">error</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 <option value="intersect-all">intersect-all</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43 <data format="qza" label="${tool.name} on ${on_string}: distancematrix.qza" name="odistancematrix" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 Calculate Robinson-Foulds distance between phylogenetic trees.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 Calculate the Robinson-Foulds symmetric difference metric between two or
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 more phylogenetic trees.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56 trees : List[Phylogeny[Rooted | Unrooted]]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 Phylogenetic trees to compare with Robinson-Foulds. Rooting information
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 and branch lengths are ignored by this metric.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 labels : List[Str], optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 Labels to use for the tree names in the distance matrix. If ommited,
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 labels will be "tree_n" where "n" ranges from 1..N. The number of
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 labels must match the number of trees.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 missing_tips : Str % Choices('error', 'intersect-all'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 How to handle tips that are not shared between trees. "error" will
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 raise an error if the set of tips is not identical between all input
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 trees. "intersect-all" will remove tips that are not shared between all
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 trees before computing distances beteen trees.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 distance_matrix : DistanceMatrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 The distances between trees as a symmetric matrix.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 </tool>