annotate mash_paste.xml @ 2:e0c0fda064eb draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mash commit ff9564c2e6924fab084b6e02a3a196650041636a
author iuc
date Thu, 16 Oct 2025 16:43:41 +0000
parents 8f32dcfde5d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
1 <tool id="mash_paste" name="mash paste" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
2 <description>Create a single sketch file from multiple sketch files.</description>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
3 <macros>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
4 <import>macros.xml</import>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
5 </macros>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
6 <expand macro="xref"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
10 #set $list_inputs = []
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
11 #for $file in $msh_files
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
12 ln -s $file "${file.element_identifier}.${file.ext}" &&
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
13 $list_inputs.append("%s.%s" % ($file.element_identifier, $file.ext))
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
14 #end for
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
15
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
16 #set list_files=' '.join([ '\'%s\'' % $input for $input in $list_inputs])
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
17 mash paste result.msh $list_files &&
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
18 mv result.msh $output
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
19 ]]></command>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
20 <inputs>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
21 <param name="msh_files" type="data" format='msh' multiple="true" label="Sketch files to merge"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
22 </inputs>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
23 <outputs>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
24 <data name="output" format="msh" label="${tool.name} on ${on_string}: Output Sketch File"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
25 </outputs>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
26 <tests>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
27 <test expect_num_outputs="1">
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
28 <param name="msh_files" value="test_01_mash_sketch.msh,test_02_mash_sketch.msh"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
29 <output name="output" file="res_paste.msh" compare="sim_size" />
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
30 </test>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
31 </tests>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
32 <help><![CDATA[
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
33 Create a single sketch file from multiple sketch files.
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
34 ]]></help>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
35 <expand macro="citations"/>
8f32dcfde5d9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mash commit 344ee746d6e93c583331c0f74d234ab200a8ce43
iuc
parents:
diff changeset
36 </tool>