view qiime2/qiime_feature-table_merge-taxa.xml @ 10:21c7954105a9 draft

Fix
author florianbegusch
date Sun, 25 Aug 2019 10:26:27 -0400
parents f190567fe3f6
children a0a8d77a991c
line wrap: on
line source

<?xml version="1.0" ?>
<tool id="qiime_feature-table_merge-taxa" name="qiime feature-table merge-taxa" version="2019.7">
	<description> - Combine collections of feature taxonomies</description>
	<requirements>
		<requirement type="package" version="2019.7">qiime2</requirement>
	</requirements>
	<command><![CDATA[
qiime feature-table merge-taxa


#if $input_files_idata:
#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 + ' --i-data=' + d['additional_input'].__getattr__('file_name')
	#end for
	#return $file_list
#end def
 --i-data=$list_dict_to_string($input_files_idata)
#end if


--o-merged-data=omergeddata
;
cp omergeddata.qza $omergeddata
	]]></command>
	<inputs>
		<repeat name="input_files_idata" optional="False" title="--i-data">
			<param format="qza,no_unzip.zip" label="--i-data: PATH List[FeatureData[Taxonomy]] The collection of feature taxonomies to be merged.  [required]" name="additional_input" type="data"/>
		</repeat>
	</inputs>
	<outputs>
		<data format="qza" label="${tool.name} on ${on_string}: mergeddata.qza" name="omergeddata"/>
	</outputs>
	<help><![CDATA[
Combine collections of feature taxonomies
#########################################

Combines a pair of feature data objects which may or may not contain data
for the same features. If different feature data is present for the same
feature id in the inputs, the data from the first will be propagated to the
result.

Parameters
----------
data : List[FeatureData[Taxonomy]]
    The collection of feature taxonomies to be merged.

Returns
-------
merged_data : FeatureData[Taxonomy]
    The resulting collection of feature taxonomies containing all feature
    taxonomies provided.
	]]></help>
<macros>
    <import>qiime_citation.xml</import>
</macros>
<expand macro="qiime_citation"/>
</tool>