comparison qiime2/qiime_sample-classifier_classify-samples-ncv.xml @ 2:51025741f326 draft

Uploaded
author florianbegusch
date Thu, 18 Jul 2019 12:19:15 -0400
parents 370e0b6e9826
children a025a4a89e07
comparison
equal deleted inserted replaced
1:255f48db74f8 2:51025741f326
8 qiime sample-classifier classify-samples-ncv 8 qiime sample-classifier classify-samples-ncv
9 9
10 --i-table=$itable 10 --i-table=$itable
11 --m-metadata-column="$mmetadatacolumn" 11 --m-metadata-column="$mmetadatacolumn"
12 12
13
13 #if $input_files_mmetadatafile: 14 #if $input_files_mmetadatafile:
14 #def list_dict_to_string(list_dict): 15 #def list_dict_to_string(list_dict):
15 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') 16 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
16 #for d in list_dict[1:]: 17 #for d in list_dict[1:]:
17 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') 18 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
18 #end for 19 #end for
19 #return $file_list 20 #return $file_list
20 #end def 21 #end def
21 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) 22 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
22 #end if 23 #end if
24
23 25
24 #if $pcv: 26 #if $pcv:
25 --p-cv=$pcv 27 --p-cv=$pcv
26 #end if 28 #end if
27 29