Mercurial > repos > devteam > samtools_rmdup
annotate samtools_rmdup.xml @ 5:586f9e1cdb2b 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:45:55 -0400 |
parents | 9129584416e2 |
children |
rev | line source |
---|---|
4
9129584416e2
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"> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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 |
9129584416e2
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" /> |
9129584416e2
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"/> |
9129584416e2
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"/> |
9129584416e2
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 |
9129584416e2
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[ |
9129584416e2
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 |
9129584416e2
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" |
9129584416e2
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} |
9129584416e2
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: |
9129584416e2
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 |
9129584416e2
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 |
9129584416e2
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' |
9129584416e2
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' |
9129584416e2
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> |
9129584416e2
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 |
9129584416e2
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> |
9129584416e2
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
9129584416e2
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"> |
9129584416e2
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"> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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"> |
9129584416e2
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"/> |
9129584416e2
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> |
9129584416e2
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 --> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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 |
9129584416e2
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> |
9129584416e2
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" /> |
9129584416e2
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> |
9129584416e2
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 |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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" /> |
9129584416e2
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" /> |
9129584416e2
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" /> |
9129584416e2
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 |
9129584416e2
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" /> |
9129584416e2
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> |
9129584416e2
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> |
9129584416e2
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
9129584416e2
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). |
9129584416e2
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> |
9129584416e2
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> |