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