annotate qiime2/qiime_diversity_alpha-correlation.xml @ 12:33e7a3470046 draft

Deleted selected files
author florianbegusch
date Thu, 03 Sep 2020 09:44:28 +0000
parents f190567fe3f6
children a0a8d77a991c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 4
diff changeset
2 <tool id="qiime_diversity_alpha-correlation" name="qiime diversity alpha-correlation" version="2019.7">
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
3 <description> - Alpha diversity correlation</description>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
9
f190567fe3f6 Uploaded
florianbegusch
parents: 4
diff changeset
5 <requirement type="package" version="2019.7">qiime2</requirement>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
8 qiime diversity alpha-correlation
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10 --i-alpha-diversity=$ialphadiversity
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
12 #if $input_files_mmetadatafile:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
13 #def list_dict_to_string(list_dict):
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
14 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
15 #for d in list_dict[1:]:
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
16 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
17 #end for
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
18 #return $file_list
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
19 #end def
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
20 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
21 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 #if str($pmethod) != 'None':
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
24 --p-method=$pmethod
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
25 #end if
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
26
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
27 --o-visualization=ovisualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
28 ;
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 qiime tools export --input-path ovisualization.qzv --output-path out && mkdir -p '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
30 && cp -r out/* '$ovisualization.files_path'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
31 && mv '$ovisualization.files_path/index.html' '$ovisualization'
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
32 ]]></command>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
33 <inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
34 <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"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 <param label="--p-method: " name="pmethod" optional="True" type="select">
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
36 <option selected="True" value="None">Selection is Optional</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37 <option value="spearman">spearman</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
38 <option value="pearson">pearson</option>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
39 </param>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
40
4
florianbegusch
parents: 0
diff changeset
41 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file [required]">
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
42 <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" />
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43 </repeat>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
44 </inputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
45 <outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
46 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
47 </outputs>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
48 <help><![CDATA[
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
49 Alpha diversity correlation
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
50 ###########################
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
51
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
52 Determine whether numeric sample metadata columns are correlated with alpha
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
53 diversity.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
54
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
55 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
56 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
57 alpha_diversity : SampleData[AlphaDiversity]
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
58 Vector of alpha diversity values by sample.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
59 metadata : Metadata
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 The sample metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
61 method : Str % Choices('spearman', 'pearson'), optional
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62 The correlation test to be applied.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 visualization : Visualization
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 ]]></help>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68 <macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69 <import>qiime_citation.xml</import>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
70 </macros>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
71 <expand macro="qiime_citation"/>
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
72 </tool>