annotate multiCov.xml @ 9:2ab422b551df draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit bad476ff5076338f3eebdf0c25bb5a6c745e5592
author iuc
date Wed, 14 Sep 2016 17:30:10 -0400
parents 607c0576c6ab
children c78cf6fe3018
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="bedtools_multicovtbed" name="MultiCovBed" version="@WRAPPER_VERSION@.0">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
2 <description>counts coverage from multiple BAMs at specific intervals</description>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="stdio" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <command>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
9 <![CDATA[
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
10 #for $i, $bam in enumerate( $bams ):
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
11 ln -s -f $bam ${i}.bam &&
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
12 ln -s -f $bam.metadata.bam_index ${i}.bam.bai &&
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 #end for
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
14
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
15 bedtools multicov
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
16 -bed $input
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
17 -bams
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
18 #for $i, $bam in enumerate( $bams ):
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
19 ${i}.bam
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
20 #end for
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
21 $strand
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
22 -f $overlap
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
23 $reciprocal
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
24 $split
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
25 -q $q
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
26 $duplicate
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
27 $failed
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
28 $proper
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
29 > $output
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
30 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 <inputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
33 <param name="input" format="bed" type="data" label="Sorted BED file" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 <!-- Additional files, if the user needs more -->
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 <param name="bams" format="bam" type="data" multiple="True" label="BAM file" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
36
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37 <expand macro="strand2" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 <expand macro="overlap" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
39 <expand macro="reciprocal" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 <expand macro="split" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
41 <param name="q" type="integer" value="0" label="Minimum mapping quality (MAPQ) allowed" help="(-q)" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
42 <param name="duplicate" type="boolean" checked="False" truevalue="-D" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
43 label="Include duplicate reads"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
44 help="Default counts non-duplicates only. (-D)" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
45 <param name="failed" type="boolean" checked="false" truevalue="-F" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
46 label="Include failed-QC reads"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
47 help="Default counts pass-QC reads only (-F)"/>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
48 <param name="proper" type="boolean" checked="false" truevalue="-p" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
49 label="Only count proper pairs"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
50 help="Default counts all alignments with MAPQ > -q argument, regardless of the BAM FLAG field. (-p)" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
52 <outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
53 <data name="output" metadata_source="input" format_source="input" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
54 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
55 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
56 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
57 <param name="input" value="multiCov1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
58 <param name="bams" value="srma_in3.bam,srma_in3.bam" ftpye="bam"/>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
59 <param name="q" value="1"/>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
60 <param name="split" value="False"/>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
61 <output name="output" file="multiCovBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
62 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
63 </tests>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
64 <help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
65 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
66 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
67
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
68 bedtools multicov, reports the count of alignments from multiple position-sorted and indexed BAM files that overlap intervals in a BED file. Specifically, for each BED interval provided, it reports a separate count of overlapping alignments from each BAM file.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
69
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
70
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
71 @REFERENCES@
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
72 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
73 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
74 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
75 </tool>