annotate merge.files.xml @ 10:bc20680d28d5 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
author iuc
date Mon, 17 Jun 2024 12:34:35 +0000
parents 669032cdc951
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_merge_files" name="Merge.files" version="@WRAPPER_VERSION@.0">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
2 <description>Merge data</description>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
3 <macros>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
4 <import>macros.xml</import>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
5 </macros>
10
bc20680d28d5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
iuc
parents: 2
diff changeset
6 <expand macro="biotools"/>
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
10 <command><![CDATA[
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
11 @SHELL_OPTIONS@
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
12
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
13 ## create symlinks to input datasets
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
14 #for $i in $merge.inputs:
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
15 ln -s '$i' input${merge.inputs.index($i)}.dat &&
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
16 #end for
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
17
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
18 echo 'merge.files(
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
19 input=#for $i in $merge.inputs#input${merge.inputs.index($i)}.dat-#end for#,
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
20 output=$output
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
21 )'
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
22 | sed 's/ //g' ## mothur trips over whitespace
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
23 | sed 's/-,/,/g'
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
24 | mothur
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
25 | tee mothur.out.log
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
26 ]]></command>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
27 <inputs>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
28 <conditional name="merge">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
29 <param name="type" type="select" format="fasta,qual,mothur.groups,mothur.names,mothur.accnos" label="Merge">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
30 <option value="fasta">fasta files</option>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
31 <option value="qual">qual files</option>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
32 <option value="groups">group files</option>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
33 <option value="names">name files</option>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
34 <option value="accnos">accnos files</option>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
35 </param>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
36 <when value="fasta">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
37 <param name="inputs" type="data" format="fasta" multiple="true" label="inputs - fasta"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
38 </when> <!-- fasta -->
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
39 <when value="qual">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
40 <param name="inputs" type="data" format="qual" multiple="true" label="inputs - qual"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
41 </when> <!-- qual -->
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
42 <when value="groups">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
43 <param name="inputs" type="data" format="mothur.groups" multiple="true" label="inputs - groups"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
44 </when> <!-- groups -->
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
45 <when value="names">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
46 <param name="inputs" type="data" format="mothur.names" multiple="true" label="inputs - names"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
47 </when> <!-- names -->
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
48 <when value="accnos">
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
49 <param name="inputs" type="data" format="mothur.accnos" multiple="true" label="inputs - accnos"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
50 </when> <!-- fasta -->
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
51 </conditional> <!-- merge -->
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
52 <expand macro="param-savelog"/>
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
53 </inputs>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
54 <outputs>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
55 <expand macro="logfile-output"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
56 <data format_source="inputs" name="output" label="${tool.name} on ${on_string}: ${merge.type}"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
57 </outputs>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
58 <tests>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
59 <test>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
60 <param name="type" value="fasta"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
61 <param name="inputs" value="sample1.fa,sample2.fa,sample3.fa" ftype="fasta"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
62 <output name="output" file="output.fa" ftype="fasta"/>
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
63 <param name="savelog" value="true"/>
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
64 <expand macro="logfile-test"/>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
65 </test>
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
66 </tests>
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
67 <help><![CDATA[
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
68 @MOTHUR_OVERVIEW@
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
69
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
70 **Command Documentation**
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
71
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
72 The merge.files_ command merge inputs into a single output.
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
73
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
74 .. _merge.files: https://www.mothur.org/wiki/Merge.files
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
75
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
76
2
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
77 ]]></help>
669032cdc951 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
iuc
parents: 0
diff changeset
78 <expand macro="citations"/>
0
28a135978ed0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
diff changeset
79 </tool>