Commit message:
planemo upload for repository https://github.com/biod/sambamba commit 13ed0b409cf2c5de007e0a6fa93391cbbb21795d |
added:
Sambamba_markdup.xml macros.xml test-data/1.bam test-data/1.coord.sorted.bam test-data/1.qname.sorted.bam test-data/2.bam test-data/2.markdup.bam test-data/2.markdup_removed.bam test-data/coordinate_sorted.bam test-data/coordinate_sorted_merged.bam test-data/qname_sorted.bam test-data/qname_sorted_merged.bam |
b |
diff -r 000000000000 -r 6c916a5a6afb Sambamba_markdup.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sambamba_markdup.xml Wed Jun 12 15:01:25 2024 +0000 |
[ |
@@ -0,0 +1,49 @@ +<tool id="sambamba_markdup" name="Sambamba markdup" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT"> + <description>Finds and marks duplicate reads in BAM files</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements"/> + <command detect_errors="exit_code"><![CDATA[ + sambamba markdup + $remove_duplicates + -l $compression_level + '${input_bam}' + '${output}' + --nthreads \${GALAXY_SLOTS:-4} + --tmpdir '\${TMPDIR:-.}' + ]]></command> + <inputs> + <!-- For deduplication the input bam needs to be coordinate sorted, hence the input file is expected to be coordinate sorted --> + <param name="input_bam" type="data" format="bam" label="Input BAM file"/> + <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"/> + <param argument="--remove-duplicates" type="boolean" truevalue="-r" falsevalue="" label="Remove duplicates instead of just marking them"/> + </inputs> + <outputs> + <data name="output" format="bam"/> + </outputs> + <tests> + <!-- sambamba markdup without dropped reads --> + <test expect_num_outputs="1"> + <param name="input_bam" value="2.bam" ftype="bam"/> + <param name="compression_level" value="5"/> + <param name="remove_duplicates" value="false"/> + <output name="output" file="2.markdup.bam" ftype="bam" lines_diff="4"/> + </test> + <!-- sambamba markdup with dropped reads --> + <test expect_num_outputs="1"> + <param name="input_bam" value="2.bam" ftype="bam"/> + <param name="compression_level" value="5"/> + <param name="remove_duplicates" value="true"/> + <output name="output" file="2.markdup_removed.bam" ftype="bam" lines_diff="4"/> + </test> + </tests> + <help> +<![CDATA[ + +Sambamba_markdup marks (by default) or removes duplicate reads. To determine whether a read is a duplicate or not, the same criteria as in Picard are used. + +]]> + </help> + <expand macro="citations"/> +</tool> |
b |
diff -r 000000000000 -r 6c916a5a6afb macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Wed Jun 12 15:01:25 2024 +0000 |
b |
@@ -0,0 +1,17 @@ +<macros> + <token name="@TOOL_VERSION@">1.0.1</token> + <token name="@SUFFIX_VERSION@">1</token> + <xml name="requirements"> + <requirements> + <requirement type="package" version="1.0.1">sambamba</requirement> + <yield/> + </requirements> + </xml> + + <xml name="citations"> + <citations> + <citation type="doi">10.1093/bioinformatics/btv098</citation> + <yield /> + </citations> + </xml> +</macros> |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/1.bam |
b |
Binary file test-data/1.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/1.coord.sorted.bam |
b |
Binary file test-data/1.coord.sorted.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/1.qname.sorted.bam |
b |
Binary file test-data/1.qname.sorted.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/2.bam |
b |
Binary file test-data/2.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/2.markdup.bam |
b |
Binary file test-data/2.markdup.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/2.markdup_removed.bam |
b |
Binary file test-data/2.markdup_removed.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/coordinate_sorted.bam |
b |
Binary file test-data/coordinate_sorted.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/coordinate_sorted_merged.bam |
b |
Binary file test-data/coordinate_sorted_merged.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/qname_sorted.bam |
b |
Binary file test-data/qname_sorted.bam has changed |
b |
diff -r 000000000000 -r 6c916a5a6afb test-data/qname_sorted_merged.bam |
b |
Binary file test-data/qname_sorted_merged.bam has changed |