comparison qiime2/qiime_sample-classifier_classify-samples-from-dist.xml @ 5:a025a4a89e07 draft

Uploaded
author florianbegusch
date Mon, 05 Aug 2019 01:29:30 -0400
parents 370e0b6e9826
children f190567fe3f6
comparison
equal deleted inserted replaced
4:914fa4daf16a 5:a025a4a89e07
8 qiime sample-classifier classify-samples-from-dist 8 qiime sample-classifier classify-samples-from-dist
9 9
10 --i-distance-matrix=$idistancematrix 10 --i-distance-matrix=$idistancematrix
11 --m-metadata-column="$mmetadatacolumn" 11 --m-metadata-column="$mmetadatacolumn"
12 12
13 #if $pk: 13 #if str($pk):
14 --p-k=$pk 14 --p-k=$pk
15 #end if 15 #end if
16 16
17 #if str($ppalette) != 'None': 17 #if str($ppalette) != 'None':
18 --p-palette=$ppalette 18 --p-palette=$ppalette
19 #end if 19 #end if
20 20
21 21
22 #if $input_files_mmetadatafile: 22 #if $metadatafile:
23 #def list_dict_to_string(list_dict): 23 --m-metadata-file=$metadatafile
24 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
25 #for d in list_dict[1:]:
26 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
27 #end for
28 #return $file_list
29 #end def
30 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
31 #end if 24 #end if
32 25
33 26
34 --o-predictions=opredictions 27 --o-predictions=opredictions
35 --o-accuracy-results=oaccuracyresults 28 --o-accuracy-results=oaccuracyresults
75 <option value="deepblue">deepblue</option> 68 <option value="deepblue">deepblue</option>
76 <option value="verve">verve</option> 69 <option value="verve">verve</option>
77 <option value="greyscale">greyscale</option> 70 <option value="greyscale">greyscale</option>
78 </param> 71 </param>
79 72
80 <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file"> 73 <param label="--m-metadata-file METADATA" name="metadatafile" type="data" format="tabular,qza,no_unzip.zip" />
81 <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" />
82 </repeat>
83 74
84 </inputs> 75 </inputs>
85 <outputs> 76 <outputs>
86 <data format="qza" label="${tool.name} on ${on_string}: predictions.qza" name="opredictions"/> 77 <data format="qza" label="${tool.name} on ${on_string}: predictions.qza" name="opredictions"/>
87 <data format="html" label="${tool.name} on ${on_string}: accuracyresults.qzv" name="oaccuracyresults"/> 78 <data format="html" label="${tool.name} on ${on_string}: accuracyresults.qzv" name="oaccuracyresults"/>