annotate qiime2-2020.8/qiime_diversity_beta-group-significance.xml @ 25:499916460746 draft

Deleted selected files
author florianbegusch
date Fri, 04 Sep 2020 12:56:26 +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_diversity_beta-group-significance" name="qiime diversity beta-group-significance"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Beta diversity group significance</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 diversity beta-group-significance
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-distance-matrix=$idistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
12 # if $input_files_mmetadatafile:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
13 # def list_dict_to_string(list_dict):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
14 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
15 # for d in list_dict[1:]:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
16 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
17 # end for
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
18 # return $file_list
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
19 # end def
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
20 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
21 # end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
22
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
23 #if '__ob__' in str($mmetadatacolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 #set $mmetadatacolumn_temp = $mmetadatacolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 #set $mmetadatacolumn = $mmetadatacolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #if '__cb__' in str($mmetadatacolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 #set $mmetadatacolumn_temp = $mmetadatacolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #set $mmetadatacolumn = $mmetadatacolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if 'X' in str($mmetadatacolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 #set $mmetadatacolumn_temp = $mmetadatacolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #set $mmetadatacolumn = $mmetadatacolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 #if '__sq__' in str($mmetadatacolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #set $mmetadatacolumn_temp = $mmetadatacolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 #set $mmetadatacolumn = $mmetadatacolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 #if '__db__' in str($mmetadatacolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 #set $mmetadatacolumn_temp = $mmetadatacolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 #set $mmetadatacolumn = $mmetadatacolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 --m-metadata-column=$mmetadatacolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 #if str($pmethod) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 --p-method=$pmethod
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 #if $ppairwise:
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 --p-pairwise
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 --p-permutations=$ppermutations
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 --o-visualization=ovisualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 cp odistancematrix.qza $odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 qiime tools export omantelscattervisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 && mkdir -p '$omantelscattervisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 && cp -r out/* '$omantelscattervisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 && mv '$omantelscattervisualization.files_path/index.html' '$omantelscattervisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 qiime tools export ovisualization.qzv --output-path out
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 && mkdir -p '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 && cp -r out/* '$ovisualization.files_path'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 && mv '$ovisualization.files_path/index.html' '$ovisualization'
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 <param format="qza,no_unzip.zip" label="--i-distance-matrix: ARTIFACT DistanceMatrix Matrix of distances between pairs of samples. [required]" name="idistancematrix" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA" name="additional_input" optional="True" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 <param label="--m-metadata-column: COLUMN MetadataColumn[Categorical] Categorical sample metadata column. [required]" name="mmetadatacolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85 <param label="--p-method: " name="pmethod" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 <option value="permanova">permanova</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88 <option value="anosim">anosim</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 <option value="permdisp">permdisp</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 <param label="--p-pairwise: --p-pairwise: / --p-no-pairwise Perform pairwise tests between all pairs of groups in addition to the test across all groups. This can be very slow if there are a lot of groups in the metadata column. [default: False]" name="ppairwise" selected="False" type="boolean" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 <param label="--p-permutations: INTEGER The number of permutations to be run when computing p-values. [default: 999]" name="ppermutations" optional="True" type="integer" value="999" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 Beta diversity group significance
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 Determine whether groups of samples are significantly different from one
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 another using a permutation-based statistical test.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 distance_matrix : DistanceMatrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112 Matrix of distances between pairs of samples.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 metadata : MetadataColumn[Categorical]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 Categorical sample metadata column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 method : Str % Choices('permanova', 'anosim', 'permdisp'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 The group significance test to be applied.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 pairwise : Bool, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 Perform pairwise tests between all pairs of groups in addition to the
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 test across all groups. This can be very slow if there are a lot of
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 groups in the metadata column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121 permutations : Int, optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 The number of permutations to be run when computing p-values.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
123
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
124 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
125 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
126 visualization : Visualization
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
127 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
128 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
129 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
130 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
131 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
132 </tool>