Mercurial > repos > devteam > samtools_rmdup
annotate samtools_rmdup.xml @ 5:49ed010c7eef draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
author | iuc |
---|---|
date | Mon, 29 Jul 2019 08:40:14 -0400 |
parents | c2549832fb33 |
children |
rev | line source |
---|---|
4
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
1 <tool id="samtools_rmdup" name="RmDup" version="2.0.1"> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
2 <description>remove PCR duplicates</description> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
3 <macros> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
4 <import>macros.xml</import> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
5 </macros> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
6 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
7 <expand macro="requirements" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
8 <expand macro="stdio"/> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
9 <expand macro="version_command"/> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
10 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
11 <command><![CDATA[ |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
12 samtools rmdup |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
13 #if str( $bam_paired_end_type.bam_paired_end_type_selector ) == "PE" |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
14 ${bam_paired_end_type.force_se} |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
15 #else: |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
16 -s |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
17 #end if |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
18 '$input1' |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
19 '$output1' |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
20 ]]></command> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
21 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
22 <inputs> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
23 <param name="input1" type="data" format="bam" label="BAM File" /> |
0 | 24 |
4
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
25 <conditional name="bam_paired_end_type"> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
26 <param name="bam_paired_end_type_selector" type="select" label="Is this paired-end or single end data"> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
27 <option value="PE" selected="True">BAM is paired-end</option> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
28 <option value="SE">BAM is single-end (-s)</option> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
29 </param> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
30 <when value="PE"> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
31 <param name="force_se" argument="-S" type="boolean" truevalue="-S" falsevalue="" checked="False" label="Treat as single-end"/> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
32 </when> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
33 <when value="SE" /> <!-- No extra parameters here --> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
34 </conditional> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
35 </inputs> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
36 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
37 <outputs> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
38 <data name="output1" format="bam" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
39 </outputs> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
40 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
41 <tests> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
42 <test> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
43 <param name="input1" value="samtools-rmdup-input1.bam" ftype="bam" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
44 <param name="bam_paired_end_type_selector" value="PE" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
45 <param name="force_se" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
46 |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
47 <output name="output1" file="samtools-rmdup-test1.bam" ftype="bam" sort="True" /> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
48 </test> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
49 </tests> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
50 <help> |
0 | 51 **What it does** |
52 | |
4
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
53 Remove potential PCR duplicates: if multiple read pairs have identical external coordinates, only retain the pair with highest mapping quality. In the paired-end mode, this command ONLY works with FR orientation and requires ISIZE is correctly set. It does not work for unpaired reads (e.g. two ends mapped to different chromosomes or orphan reads). |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
54 </help> |
c2549832fb33
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_rmdup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
3
diff
changeset
|
55 <expand macro="citations"/> |
0 | 56 </tool> |