annotate qiime2/qiime_diversity_bioenv.xml @ 14:a0a8d77a991c draft

Uploaded
author florianbegusch
date Thu, 03 Sep 2020 09:51:29 +0000
parents f190567fe3f6
children
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" ?>
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
2 <tool id="qiime_diversity_bioenv" name="qiime diversity bioenv"
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
3 version="2020.8">
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
4 <description>bioenv</description>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
5 <requirements>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
7 </requirements>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
8 <command><![CDATA[
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
9 qiime diversity bioenv
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
10
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
11 --i-distance-matrix=$idistancematrix
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
12 # if $input_files_mmetadatafile:
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
13 # def list_dict_to_string(list_dict):
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
14 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
15 # for d in list_dict[1:]:
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
16 # set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
17 # end for
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
18 # return $file_list
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
19 # end def
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
20 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
21 # end if
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
22
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
23 --o-visualization=ovisualization
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
24
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
25 #if str($examples) != 'None':
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
26 --examples=$examples
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
27 #end if
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
28
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
29 ;
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
30 cp odistancematrix.qza $odistancematrix
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
31
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
32 ;
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
33 qiime tools export ovisualization.qzv --output-path out
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
34 && mkdir -p '$ovisualization.files_path'
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
35 && cp -r out/* '$ovisualization.files_path'
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
36 && mv '$ovisualization.files_path/index.html' '$ovisualization'
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
37
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
38 ;
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
39 qiime tools export ovisualization.qzv --output-path out
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
40 && mkdir -p '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
41 && cp -r out/* '$ovisualization.files_path'
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
42 && mv '$ovisualization.files_path/index.html' '$ovisualization'
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
43
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
44 ]]></command>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
45 <inputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
46 <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" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
47 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
48 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple The sample metadata. arguments will be merged) [required]" name="additional_input" optional="False" type="data" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
49 </repeat>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
50 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
51
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
52 </inputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
53
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
54 <outputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
55 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
56
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
57 </outputs>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
58
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
59 <help><![CDATA[
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
60 bioenv
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
61 ###############################################################
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
62
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
63 Find the subsets of variables in metadata whose Euclidean distances are
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
64 maximally rank-correlated with distance matrix. All numeric variables in
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
65 metadata will be considered, and samples which are missing data will be
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
66 dropped. The output visualization will indicate how many samples were
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
67 dropped due to missing data, if any were dropped.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
68
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
69 Parameters
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
70 ----------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
71 distance_matrix : DistanceMatrix
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
72 Matrix of distances between pairs of samples.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
73 metadata : Metadata
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
74 The sample metadata.
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
75
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
76 Returns
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
77 -------
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
78 visualization : Visualization
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
79 ]]></help>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
80 <macros>
0
370e0b6e9826 Uploaded
florianbegusch
parents:
diff changeset
81 <import>qiime_citation.xml</import>
14
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
82 </macros>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
83 <expand macro="qiime_citation"/>
a0a8d77a991c Uploaded
florianbegusch
parents: 9
diff changeset
84 </tool>