comparison upgma_cluster.xml @ 0:e7324235f49e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit c9bf747b23b4a9d6adc20c7740b9247c22654862
author iuc
date Thu, 18 May 2017 09:35:03 -0400
parents
children 4e9b6a0fcb78
comparison
equal deleted inserted replaced
-1:000000000000 0:e7324235f49e
1 <tool id="qiime_upgma_cluster" name="Build UPGMA tree" version="@WRAPPER_VERSION@.0">
2 <description>comparing samples</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <version_command>upgma_cluster.py -v</version_command>
8 <command detect_errors="aggressive"><![CDATA[
9 mkdir input
10 &&
11 #for $i, $matrix in enumerate($input_path)
12 cp '$matrix' 'input/dataset_$i' &&
13 #end for
14 upgma_cluster.py
15 --input_path input
16 --output_path output
17 ]]></command>
18 <inputs>
19 <param argument="--input_path" type="data" format="txt" label="Distance matrix" multiple="true"/>
20 </inputs>
21 <outputs>
22 <collection type="list" name="output_trees" label="${tool.name} on ${on_string}: UPGMA trees">
23 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.tre" directory="output"/>
24 </collection>
25 </outputs>
26 <tests>
27 <test>
28 <param name="input_path" value="upgma_cluster/beta_div_1.txt,upgma_cluster/beta_div_2.txt,upgma_cluster/beta_div_3.txt,upgma_cluster/beta_div_4.txt"/>
29 <output_collection name="output_trees" type="list" count="4">
30 <element name="upgma_dataset_0">
31 <assert_contents>
32 <has_text text="PC.636" />
33 </assert_contents>
34 </element>
35 <element name="upgma_dataset_3">
36 <assert_contents>
37 <has_text text="PC.355" />
38 </assert_contents>
39 </element>
40 </output_collection>
41 </test>
42 </tests>
43 <help><![CDATA[
44 **What it does**
45
46 In addition to using PCoA, it can be useful to cluster samples using UPGMA (Unweighted Pair Group Method with Arithmetic mean, also known as average linkage). As with PCoA, the input to this step is a distance matrix (i.e. resulting file from beta_diversity.py).
47 The output is a newick formatted tree compatible with most standard tree viewing programs. Batch processing is also available, allowing the analysis of an entire directory of distance matrices.
48 ]]></help>
49 <citations>
50 <expand macro="citations"/>
51 </citations>
52 </tool>