view qiime2/qiime_feature-table_merge-taxa.xml @ 0:370e0b6e9826 draft

Uploaded
author florianbegusch
date Wed, 17 Jul 2019 03:05:17 -0400
parents
children 51025741f326
line wrap: on
line source

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

#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)


--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>