0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_diversity_alpha-group-significance" name="qiime diversity alpha-group-significance" version="2019.4">
|
|
3 <description> - Alpha diversity comparisons</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime diversity alpha-group-significance
|
|
9
|
|
10 --i-alpha-diversity=$ialphadiversity
|
|
11
|
|
12
|
|
13 #def list_dict_to_string(list_dict):
|
|
14 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
|
|
15 #for d in list_dict[1:]:
|
|
16 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
|
|
17 #end for
|
|
18 #return $file_list
|
|
19 #end def
|
|
20
|
|
21 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
|
|
22
|
|
23 --o-visualization=ovisualization
|
|
24 ;
|
|
25 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
|
|
26 && cp -r out/* '$ovisualization.files_path'
|
|
27 && mv '$ovisualization.files_path/index.html' '$ovisualization';
|
|
28 ]]></command>
|
|
29 <inputs>
|
|
30 <param format="qza,no_unzip.zip" label="--i-alpha-diversity: ARTIFACT SampleData[AlphaDiversity] Vector of alpha diversity values by sample. [required]" name="ialphadiversity" optional="False" type="data"/>
|
|
31
|
|
32 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
|
|
33 <param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
|
|
34 </repeat>
|
|
35 </inputs>
|
|
36 <outputs>
|
|
37 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
|
|
38 </outputs>
|
|
39 <help><![CDATA[
|
|
40 Beta diversity group significance
|
|
41 #################################
|
|
42
|
|
43 Determine whether groups of samples are significantly different from one
|
|
44 another using a permutation-based statistical test.
|
|
45
|
|
46 Parameters
|
|
47 ----------
|
|
48 distance_matrix : DistanceMatrix
|
|
49 Matrix of distances between pairs of samples.
|
|
50 metadata : MetadataColumn[Categorical]
|
|
51 Categorical sample metadata column.
|
|
52 method : Str % Choices('permanova', 'anosim', 'permdisp'), optional
|
|
53 The group significance test to be applied.
|
|
54 pairwise : Bool, optional
|
|
55 Perform pairwise tests between all pairs of groups in addition to the
|
|
56 test across all groups. This can be very slow if there are a lot of
|
|
57 groups in the metadata column.
|
|
58 permutations : Int, optional
|
|
59 The number of permutations to be run when computing p-values.
|
|
60
|
|
61 Returns
|
|
62 -------
|
|
63 visualization : Visualization
|
|
64 ]]></help>
|
|
65 <macros>
|
|
66 <import>qiime_citation.xml</import>
|
|
67 </macros>
|
|
68 <expand macro="qiime_citation"/>
|
|
69 </tool>
|