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