annotate qiime2-2020.8/qiime_longitudinal_nmit.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_longitudinal_nmit" name="qiime longitudinal nmit"
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Nonparametric microbial interdependence test</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 longitudinal nmit
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
10
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
11 --i-table=$itable
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($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
24 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__ob__', '[')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
25 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
26 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
27 #if '__cb__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
28 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__cb__', ']')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
29 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
31 #if 'X' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
32 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('X', '\\')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
33 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
35 #if '__sq__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
36 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__sq__', "'")
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
37 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
39 #if '__db__' in str($pindividualidcolumn):
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
40 #set $pindividualidcolumn_temp = $pindividualidcolumn.replace('__db__', '"')
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
41 #set $pindividualidcolumn = $pindividualidcolumn_temp
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
42 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
43
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
44 --p-individual-id-column=$pindividualidcolumn
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
45
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
46
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
47 #if str($pcorrmethod) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
48 --p-corr-method=$pcorrmethod
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
49 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
50
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
51 #if str($pdistmethod) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
52 --p-dist-method=$pdistmethod
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
53 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
54
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
55 --o-distance-matrix=odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
56
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
57 #if str($examples) != 'None':
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
58 --examples=$examples
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
59 #end if
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
60
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
61 ;
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
62 cp odistancematrix.qza $odistancematrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
63
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
64 ]]></command>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
65 <inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
66 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[RelativeFrequency] Feature table to use for microbial interdependence test. [required]" name="itable" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
67 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
68 <param format="tabular,qza,no_unzip.zip" label="--m-metadata-file: METADATA... (multiple Sample metadata file containing individual-id-column. arguments will be merged) [required]" name="additional_input" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
69 </repeat>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
70 <param label="--p-individual-id-column: TEXT Metadata column containing IDs for individual subjects. [required]" name="pindividualidcolumn" optional="False" type="text" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
71 <param label="--p-corr-method: " name="pcorrmethod" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
72 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
73 <option value="kendall">kendall</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
74 <option value="pearson">pearson</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
75 <option value="spearman">spearman</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
76 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
77 <param label="--p-dist-method: " name="pdistmethod" optional="True" type="select">
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
78 <option selected="True" value="None">Selection is Optional</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
79 <option value="fro">fro</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
80 <option value="nuc">nuc</option>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
81 </param>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
82 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
83
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
84 </inputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
85
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
86 <outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
87 <data format="qza" label="${tool.name} on ${on_string}: distancematrix.qza" name="odistancematrix" />
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
88
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
89 </outputs>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
90
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
91 <help><![CDATA[
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
92 Nonparametric microbial interdependence test
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
93 ###############################################################
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
94
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
95 Perform nonparametric microbial interdependence test to determine
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
96 longitudinal sample similarity as a function of temporal microbial
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
97 composition. For more details and citation, please see
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
98 doi.org/10.1002/gepi.22065
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
99
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
100 Parameters
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
101 ----------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
102 table : FeatureTable[RelativeFrequency]
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
103 Feature table to use for microbial interdependence test.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
104 metadata : Metadata
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
105 Sample metadata file containing individual_id_column.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
106 individual_id_column : Str
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
107 Metadata column containing IDs for individual subjects.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
108 corr_method : Str % Choices('kendall', 'pearson', 'spearman'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
109 The temporal correlation test to be applied.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
110 dist_method : Str % Choices('fro', 'nuc'), optional
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
111 Temporal distance method, see numpy.linalg.norm for details.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
112
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
113 Returns
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
114 -------
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
115 distance_matrix : DistanceMatrix
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
116 The resulting distance matrix.
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
117 ]]></help>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
118 <macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
119 <import>qiime_citation.xml</import>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
120 </macros>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
121 <expand macro="qiime_citation"/>
d93d8888f0b0 Uploaded
florianbegusch
parents:
diff changeset
122 </tool>