comparison Sambamba_markdup.xml @ 1:a348429b6fec draft default tip

planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
author bgruening
date Mon, 10 Feb 2025 19:12:43 +0000
parents 6c916a5a6afb
children
comparison
equal deleted inserted replaced
0:6c916a5a6afb 1:a348429b6fec
10 -l $compression_level 10 -l $compression_level
11 '${input_bam}' 11 '${input_bam}'
12 '${output}' 12 '${output}'
13 --nthreads \${GALAXY_SLOTS:-4} 13 --nthreads \${GALAXY_SLOTS:-4}
14 --tmpdir '\${TMPDIR:-.}' 14 --tmpdir '\${TMPDIR:-.}'
15 #if $log_out
16 2>&1 | tee '${log}'
17 #end if
15 ]]></command> 18 ]]></command>
16 <inputs> 19 <inputs>
17 <!-- For deduplication the input bam needs to be coordinate sorted, hence the input file is expected to be coordinate sorted --> 20 <!-- For deduplication the input bam needs to be coordinate sorted, hence the input file is expected to be coordinate sorted -->
18 <param name="input_bam" type="data" format="bam" label="Input BAM file"/> 21 <param name="input_bam" type="data" format="bam" label="Input BAM file"/>
19 <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"/> 22 <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"/>
20 <param argument="--remove-duplicates" type="boolean" truevalue="-r" falsevalue="" label="Remove duplicates instead of just marking them"/> 23 <param argument="--remove-duplicates" type="boolean" truevalue="-r" falsevalue="" label="Remove duplicates instead of just marking them"/>
24 <param name="log_out" type="boolean" label="Output log file?" truevalue="yes" falsevalue="no"/>
21 </inputs> 25 </inputs>
22 <outputs> 26 <outputs>
23 <data name="output" format="bam"/> 27 <data name="output" format="bam" label="${tool.name} on ${on_string}: Output BAM"/>
28 <data name="log" format="txt" label="${tool.name} on ${on_string}: Output Log">
29 <filter>log_out</filter>
30 </data>
24 </outputs> 31 </outputs>
25 <tests> 32 <tests>
26 <!-- sambamba markdup without dropped reads --> 33 <!-- sambamba markdup without dropped reads -->
27 <test expect_num_outputs="1"> 34 <test expect_num_outputs="2">
28 <param name="input_bam" value="2.bam" ftype="bam"/> 35 <param name="input_bam" value="2.bam" ftype="bam"/>
29 <param name="compression_level" value="5"/> 36 <param name="compression_level" value="5"/>
30 <param name="remove_duplicates" value="false"/> 37 <param name="remove_duplicates" value="false"/>
38 <param name="log_out" value="yes"/>
31 <output name="output" file="2.markdup.bam" ftype="bam" lines_diff="4"/> 39 <output name="output" file="2.markdup.bam" ftype="bam" lines_diff="4"/>
40 <output name="log" file="2.markdup.txt" ftype="txt"/>
32 </test> 41 </test>
33 <!-- sambamba markdup with dropped reads --> 42 <!-- sambamba markdup with dropped reads -->
34 <test expect_num_outputs="1"> 43 <test expect_num_outputs="1">
35 <param name="input_bam" value="2.bam" ftype="bam"/> 44 <param name="input_bam" value="2.bam" ftype="bam"/>
36 <param name="compression_level" value="5"/> 45 <param name="compression_level" value="5"/>
37 <param name="remove_duplicates" value="true"/> 46 <param name="remove_duplicates" value="true"/>
47 <param name="log_out" value="no"/>
38 <output name="output" file="2.markdup_removed.bam" ftype="bam" lines_diff="4"/> 48 <output name="output" file="2.markdup_removed.bam" ftype="bam" lines_diff="4"/>
39 </test> 49 </test>
40 </tests> 50 </tests>
41 <help> 51 <help>
42 <![CDATA[ 52 <![CDATA[