diff qiime2/qiime_gneiss_gradient-clustering.xml @ 9:f190567fe3f6 draft

Uploaded
author florianbegusch
date Wed, 14 Aug 2019 15:12:48 -0400
parents 51025741f326
children a0a8d77a991c
line wrap: on
line diff
--- a/qiime2/qiime_gneiss_gradient-clustering.xml	Tue Aug 13 07:57:53 2019 -0400
+++ b/qiime2/qiime_gneiss_gradient-clustering.xml	Wed Aug 14 15:12:48 2019 -0400
@@ -1,8 +1,8 @@
 <?xml version="1.0" ?>
-<tool id="qiime_gneiss_gradient-clustering" name="qiime gneiss gradient-clustering" version="2019.4">
+<tool id="qiime_gneiss_gradient-clustering" name="qiime gneiss gradient-clustering" version="2019.7">
 	<description> - Hierarchical clustering using gradient information.</description>
 	<requirements>
-		<requirement type="package" version="2019.4">qiime2</requirement>
+		<requirement type="package" version="2019.7">qiime2</requirement>
 	</requirements>
 	<command><![CDATA[
 qiime gneiss gradient-clustering
@@ -11,15 +11,8 @@
 --m-gradient-column="$mgradientcolumn"
 
 
-#if $input_files_mgradientfile:
-#def list_dict_to_string(list_dict):
-	#set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
-	#for d in list_dict[1:]:
-		#set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
-	#end for
-	#return $file_list
-#end def
---m-gradient-file=$list_dict_to_string($input_files_mgradientfile)
+#if $mgradientfile:
+--m-gradient-file=$mgradientfile
 #end if
 
 #if $pnoweighted:
@@ -35,9 +28,7 @@
 		<param label="--m-gradient-column: COLUMN  MetadataColumn[Numeric] Contains gradient values to sort the features and samples.                                     [required]" name="mgradientcolumn" optional="False" type="text"/>
 		<param label="--p-no-weighted : Specifies if abundance or presence/absence information should be used to perform the clustering. [default: False]" name="pnoweighted" selected="False" type="boolean"/>
 
-		<repeat name="input_files_mgradientfile" optional="False" title="--m-gradient-file">
-			<param label="--m-gradient-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
-		</repeat>
+		<param label="--m-gradient-file: " name="mgradientfile" optional="True" type="data" format="tabular,qza,no_unzip.zip" />
 
 	</inputs>
 	<outputs>