comparison qiime2/qiime_diversity_core-metrics.xml @ 4:914fa4daf16a draft

Fixes
author florianbegusch
date Wed, 31 Jul 2019 03:06:00 -0400
parents 51025741f326
children de4c22a52df4
comparison
equal deleted inserted replaced
3:558645416841 4:914fa4daf16a
17 17
18 #if $input_files_mmetadatafile: 18 #if $input_files_mmetadatafile:
19 #def list_dict_to_string(list_dict): 19 #def list_dict_to_string(list_dict):
20 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') 20 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
21 #for d in list_dict[1:]: 21 #for d in list_dict[1:]:
22 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name') 22 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
23 #end for 23 #end for
24 #return $file_list 24 #return $file_list
25 #end def 25 #end def
26
27 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) 26 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
28 #end if 27 #end if
29 28
30 --o-rarefied-table=orarefiedtable 29 --o-rarefied-table=orarefiedtable
31 --o-observed-otus-vector=oobservedotusvector 30 --o-observed-otus-vector=oobservedotusvector
55 ]]></command> 54 ]]></command>
56 <inputs> 55 <inputs>
57 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table containing the samples over which diversity metrics should be computed. [required]" name="itable" optional="False" type="data"/> 56 <param format="qza,no_unzip.zip" label="--i-table: ARTIFACT FeatureTable[Frequency] The feature table containing the samples over which diversity metrics should be computed. [required]" name="itable" optional="False" type="data"/>
58 <param label="--p-sampling-depth: INTEGER Range(1, None) The total frequency that each sample should be rarefied to prior to computing diversity metrics. [required]" name="psamplingdepth" optional="False" min="1" value="" type="integer"/> 57 <param label="--p-sampling-depth: INTEGER Range(1, None) The total frequency that each sample should be rarefied to prior to computing diversity metrics. [required]" name="psamplingdepth" optional="False" min="1" value="" type="integer"/>
59 58
60 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file"> 59 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file [required]">
61 <param label="--m-metadata-file: METADATA... (multiple arguments will be merged) The sample metadata to use in the emperor plots. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" /> 60 <param label="--m-metadata-file: METADATA... (multiple arguments will be merged) The sample metadata to use in the emperor plots. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
62 </repeat> 61 </repeat>
63 62
64 </inputs> 63 </inputs>
65 <outputs> 64 <outputs>