annotate samtools_bedcov.xml @ 3:9149ad20699a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
author iuc
date Mon, 29 Jul 2019 08:47:23 -0400
parents 12749212f61b
children 46c6639921f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
1 <tool id="samtools_bedcov" name="BedCov" version="2.0.2">
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
2 <description>calculate read depth for a set of genomic intervals</description>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
3 <macros>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
4 <import>macros.xml</import>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
5 </macros>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
6 <expand macro="requirements"/>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
7 <expand macro="stdio"/>
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
8 <expand macro="version_command"/>
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
9 <command><![CDATA[
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
10 @PREPARE_IDX_MULTIPLE@
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
11
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
12 samtools bedcov
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
13 #if $mapq:
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
14 -Q $mapq
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
15 #end if
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
16 $countdel
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
17 '${input_bed}'
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
18 #for $i in range(len( $input_bams )):
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
19 '${i}'
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
20 #end for
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
21 > '${output}'
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
22 ]]></command>
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
23 <inputs>
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
24 <param name="input_bed" type="data" format="bed" label="Genemic intervals (in BED format)" />
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
25 <param name="input_bams" type="data" format="bam" multiple="true" label="BAM file(s)" />
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
26 <param name="mapq" argument="-Q" type="integer" value="" optional="true" label="Minimum MAPQ" help="Only count reads with mapping quality greater than this value" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
27 <param name="countdel" argument="-j" type="boolean" checked="false" truevalue="-j" falsevalue="" label="Exclude deletions and ref skips" help=" Do not include deletions (D) and ref skips (N) in bedcov computation" />
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
28 </inputs>
c04bee391baa Uploaded
devteam
parents:
diff changeset
29 <outputs>
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
30 <data name="output" format="tabular" label="${tool.name} on ${on_string}" />
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
31 </outputs>
c04bee391baa Uploaded
devteam
parents:
diff changeset
32 <tests>
c04bee391baa Uploaded
devteam
parents:
diff changeset
33 <test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
34 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
35 <param name="input_bams" value="eboVir3.bam" ftype="bam" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
36 <output name="output" file="samtools_bedcov_out1.tab" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
37 </test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
38 <test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
39 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
40 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
41 <output name="output" file="samtools_bedcov_out2.tab" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
42 </test>
3
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
43 <test>
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
44 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
45 <param name="input_bams" value="eboVir3.bam" ftype="bam" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
46 <param name="mapq" value="40"/>
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
47 <output name="output" file="samtools_bedcov_out1.tab" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
48 </test>
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
49 <test>
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
50 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
51 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
52 <param name="countdel" value="-j" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
53 <output name="output" file="samtools_bedcov_out2.tab" />
9149ad20699a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
54 </test>
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
55 </tests>
c04bee391baa Uploaded
devteam
parents:
diff changeset
56 <help>
c04bee391baa Uploaded
devteam
parents:
diff changeset
57 **What it does**
c04bee391baa Uploaded
devteam
parents:
diff changeset
58
1
8c3472790020 Uploaded
devteam
parents: 0
diff changeset
59 Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command::
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
60
1
8c3472790020 Uploaded
devteam
parents: 0
diff changeset
61 samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT]
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
62 </help>
2
12749212f61b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
63 <expand macro="citations"/>
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
64 </tool>