0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_feature-table_merge-seqs" name="qiime feature-table merge-seqs" version="2019.4">
|
|
3 <description> - Combine collections of feature sequences</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime feature-table merge-seqs
|
|
9
|
|
10 #def list_dict_to_string(list_dict):
|
|
11 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
|
|
12 #for d in list_dict[1:]:
|
|
13 #set $file_list = $file_list + ' --i-data=' + d['additional_input'].__getattr__('file_name')
|
|
14 #end for
|
|
15 #return $file_list
|
|
16 #end def
|
|
17 --i-data=$list_dict_to_string($input_files_idata)
|
|
18
|
|
19
|
|
20 --o-merged-data=omergeddata
|
|
21 ;
|
|
22 cp omergeddata.qza $omergeddata
|
|
23 ]]></command>
|
|
24 <inputs>
|
|
25 <repeat name="input_files_idata" optional="False" title="--i-data">
|
|
26 <param format="qza,no_unzip.zip" label="--i-data: PATH List[FeatureData[Sequence]] The collection of feature sequences to be merged. [required]" name="additional_input" type="data"/>
|
|
27 </repeat>
|
|
28
|
|
29 </inputs>
|
|
30 <outputs>
|
|
31 <data format="qza" label="${tool.name} on ${on_string}: mergeddata.qza" name="omergeddata"/>
|
|
32 </outputs>
|
|
33 <help><![CDATA[
|
|
34 Combine collections of feature sequences
|
|
35 ########################################
|
|
36
|
|
37 Combines feature data objects which may or may not contain data for the
|
|
38 same features. If different feature data is present for the same feature id
|
|
39 in the inputs, the data from the first will be propagated to the result.
|
|
40
|
|
41 Parameters
|
|
42 ----------
|
|
43 data : List[FeatureData[Sequence]]
|
|
44 The collection of feature sequences to be merged.
|
|
45
|
|
46 Returns
|
|
47 -------
|
|
48 merged_data : FeatureData[Sequence]
|
|
49 The resulting collection of feature sequences containing all feature
|
|
50 sequences provided.
|
|
51 ]]></help>
|
|
52 <macros>
|
|
53 <import>qiime_citation.xml</import>
|
|
54 </macros>
|
|
55 <expand macro="qiime_citation"/>
|
|
56 </tool>
|