Mercurial > repos > bgruening > sambamba_merge
comparison Sambamba_merge.xml @ 0:305a4f796bd3 draft default tip
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
author | bgruening |
---|---|
date | Mon, 10 Feb 2025 19:11:44 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:305a4f796bd3 |
---|---|
1 <tool id="sambamba_merge" name="Sambamba merge" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT"> | |
2 <description>Merge several BAM files into one</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <command><![CDATA[ | |
8 sambamba merge | |
9 -l $compression_level | |
10 '${output}' | |
11 #for $infile in $input_bam: | |
12 '${infile}' | |
13 #end for | |
14 --nthreads \${GALAXY_SLOTS:-8} | |
15 ]]></command> | |
16 <inputs> | |
17 <param name="input_bam" type="data" format="qname_sorted.bam,bam" multiple="true" label="Input BAM files to be merged" help="Please note that the sorting order of all input files must be the same"/> | |
18 <param argument="--compression-level" type="integer" value="5" min="0" max="9" label="Level of compression for merged BAM file, number from 0 to 9"/> | |
19 </inputs> | |
20 <outputs> | |
21 <data name="output" format_source="input_files"/> | |
22 </outputs> | |
23 <tests> | |
24 <test expect_num_outputs="1"> | |
25 <param name="input_bam" value="qname_sorted.bam,qname_sorted.bam"/> | |
26 <param name="compression_level" value="5"/> | |
27 <output name="output" file="qname_sorted_merged.bam" lines_diff="4"/> | |
28 </test> | |
29 <test expect_num_outputs="1"> | |
30 <param name="input_bam" value="coordinate_sorted.bam,coordinate_sorted.bam"/> | |
31 <param name="compression_level" value="5"/> | |
32 <output name="output" file="coordinate_sorted_merged.bam" lines_diff="4"/> | |
33 </test> | |
34 </tests> | |
35 <help> | |
36 <![CDATA[ | |
37 | |
38 sambamba_merge is used to merge several sorted BAM files into one. The sorting order of all the files must be the same, and it is maintained in the output file. | |
39 | |
40 SAM headers are merged automatically like in Picard merging tool. | |
41 ]]> | |
42 </help> | |
43 <expand macro="citations" /> | |
44 </tool> |