Mercurial > repos > bgruening > sambamba_markdup
annotate Sambamba_markdup.xml @ 0:72025d7986cc draft default tip
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
| author | bgruening | 
|---|---|
| date | Mon, 10 Feb 2025 19:12:03 +0000 | 
| parents | |
| children | 
| rev | line source | 
|---|---|
| 
0
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
1 <tool id="sambamba_markdup" name="Sambamba markdup" version="@TOOL_VERSION@+galaxy@SUFFIX_VERSION@" profile="23.2" license="MIT"> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
2 <description>Finds and marks duplicate reads in BAM files</description> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
3 <macros> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
4 <import>macros.xml</import> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
5 </macros> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
6 <expand macro="requirements"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
7 <command detect_errors="exit_code"><![CDATA[ | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
8 sambamba markdup | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
9 $remove_duplicates | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
10 -l $compression_level | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
11 '${input_bam}' | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
12 '${output}' | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
13 --nthreads \${GALAXY_SLOTS:-4} | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
14 --tmpdir '\${TMPDIR:-.}' | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
15 #if $log_out | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
16 2>&1 | tee '${log}' | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
17 #end if | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
18 ]]></command> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
19 <inputs> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
20 <!-- For deduplication the input bam needs to be coordinate sorted, hence the input file is expected to be coordinate sorted --> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
21 <param name="input_bam" type="data" format="bam" label="Input BAM file"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
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"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
23 <param argument="--remove-duplicates" type="boolean" truevalue="-r" falsevalue="" label="Remove duplicates instead of just marking them"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
24 <param name="log_out" type="boolean" label="Output log file?" truevalue="yes" falsevalue="no"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
25 </inputs> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
26 <outputs> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
27 <data name="output" format="bam" label="${tool.name} on ${on_string}: Output BAM"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
28 <data name="log" format="txt" label="${tool.name} on ${on_string}: Output Log"> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
29 <filter>log_out</filter> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
30 </data> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
31 </outputs> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
32 <tests> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
33 <!-- sambamba markdup without dropped reads --> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
34 <test expect_num_outputs="2"> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
35 <param name="input_bam" value="2.bam" ftype="bam"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
36 <param name="compression_level" value="5"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
37 <param name="remove_duplicates" value="false"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
38 <param name="log_out" value="yes"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
39 <output name="output" file="2.markdup.bam" ftype="bam" lines_diff="4"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
40 <output name="log" file="2.markdup.txt" ftype="txt"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
41 </test> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
42 <!-- sambamba markdup with dropped reads --> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
43 <test expect_num_outputs="1"> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
44 <param name="input_bam" value="2.bam" ftype="bam"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
45 <param name="compression_level" value="5"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
46 <param name="remove_duplicates" value="true"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
47 <param name="log_out" value="no"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
48 <output name="output" file="2.markdup_removed.bam" ftype="bam" lines_diff="4"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
49 </test> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
50 </tests> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
51 <help> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
52 <![CDATA[ | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
53 | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
54 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. | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
55 | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
56 ]]> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
57 </help> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
58 <expand macro="citations"/> | 
| 
 
72025d7986cc
planemo upload for repository https://github.com/biod/sambamba commit 99bb4ed496a9cce79ab0a7e613230cf63a44d9f9
 
bgruening 
parents:  
diff
changeset
 | 
59 </tool> | 
