annotate samtools_bedcov.xml @ 2:12749212f61b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
author iuc
date Tue, 09 May 2017 11:17:25 -0400
parents 8c3472790020
children 9149ad20699a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
1 <tool id="samtools_bedcov" name="BedCov" version="2.0.1">
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[
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
10 ## Ensure simlinks have unique filenames
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 #for $i, $bam in enumerate( $input_bams ):
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 ln -s -f '${bam}' '${i}.bam' &&
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
13 ln -s -f '${bam.metadata.bam_index}' '${i}.bam.bai' &&
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
14 #end for
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
15
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
16 samtools bedcov
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 )):
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
19 '${i}.bam'
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)" />
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
26 </inputs>
c04bee391baa Uploaded
devteam
parents:
diff changeset
27 <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
28 <data name="output" format="tabular" label="${tool.name} on ${on_string}" />
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
29 </outputs>
c04bee391baa Uploaded
devteam
parents:
diff changeset
30 <tests>
c04bee391baa Uploaded
devteam
parents:
diff changeset
31 <test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
32 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
33 <param name="input_bams" value="eboVir3.bam" ftype="bam" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
34 <output name="output" file="samtools_bedcov_out1.tab" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
35 </test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
36 <test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
37 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
38 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
39 <output name="output" file="samtools_bedcov_out2.tab" />
c04bee391baa Uploaded
devteam
parents:
diff changeset
40 </test>
c04bee391baa Uploaded
devteam
parents:
diff changeset
41 </tests>
c04bee391baa Uploaded
devteam
parents:
diff changeset
42 <help>
c04bee391baa Uploaded
devteam
parents:
diff changeset
43 **What it does**
c04bee391baa Uploaded
devteam
parents:
diff changeset
44
1
8c3472790020 Uploaded
devteam
parents: 0
diff changeset
45 Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command::
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
46
1
8c3472790020 Uploaded
devteam
parents: 0
diff changeset
47 samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT]
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
48 </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
49 <expand macro="citations"/>
0
c04bee391baa Uploaded
devteam
parents:
diff changeset
50 </tool>