annotate bedtools-galaxy/coverageBed_counts.xml @ 1:41bba3e648d1 default tip

Deleted selected files
author aaronquinlan
date Thu, 29 Dec 2011 10:20:44 -0500
parents 26c21c634c51
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
1 <tool id="bedtools_coveragebed_counts" name="Count intervals in one file overlapping intervals in another file" version="0.1.0">
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
2
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
3 <description>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
4 </description>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
5
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
6 <requirements>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
7 <requirement type="binary">coverageBed</requirement>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
8 </requirements>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
9
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
10 <command>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
11 coverageBed
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
12 #if $inputA.ext == "bam"
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
13 -abam '$inputA'
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
14 #else
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
15 -a '$inputA'
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
16 #end if
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
17 -b '$inputB'
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
18 -counts
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
19 $split
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
20 $strand
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
21 | sort -k1,1 -k2,2n
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
22 &gt; '$output'
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
23 </command>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
24
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
25 <inputs>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
26 <param format="bed,bam" name="inputA" type="data" label="Count how many intervals in this BED or BAM file (source)">
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
27 <validator type="unspecified_build" />
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
28 </param>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
29 <param format="bed" name="inputB" type="data" label="overlap the intervals in this BED file (target)">
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
30 <validator type="unspecified_build" />
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
31 </param>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
32 <param name="split" type="boolean" checked="false" truevalue="-split" falsevalue="" label="Treat split/spliced BAM or BED12 entries as distinct BED intervals when computing coverage." help="If set, the coverage will be calculated based the spliced intervals only. For BAM files, this inspects the CIGAR N operation to infer the blocks for computing coverage. For BED12 files, this inspects the BlockCount, BlockStarts, and BlockEnds fields (i.e., columns 10,11,12). If this option is not set, coverage will be calculated based on the interval's START/END coordinates, and would include introns in the case of RNAseq data." />
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
33
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
34 <param name="strand" type="select" label="Count">
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
35 <option value="">overlaps on either strand</option>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
36 <option value="-s">only overlaps occurring on the **same** strand.</option>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
37 <option value="-S">only overlaps occurring on the **opposite** strand.</option>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
38 </param>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
39 </inputs>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
40
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
41 <outputs>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
42 <data format="bed" name="output" metadata_source="inputB" label="count of overlaps in ${inputA.name} on ${inputB.name}"/>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
43 </outputs>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
44
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
45 <help>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
46
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
47 **What it does**
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
48
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
49 This tool converts counts the number of intervals in a BAM or BED file (the source) that overlap another BED file (the target).
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
50
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
51 .. class:: infomark
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
52
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
53 The output file will be comprised of each interval from your original target BED file, plus an additional column indicating the number of intervals in your source file that overlapped that target interval.
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
54
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
55 .. class:: warningmark
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
56
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
57 This tool requires that `bedtools`__ has been installed on your system.
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
58
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
59 ------
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
60
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
61 This tool is part of the `bedtools package`__ from the `Quinlan laboratory`__. If you use this tool, please cite `Quinlan AR, and Hall I.M. BEDTools: A flexible framework for comparing genomic features. Bioinformatics, 2010, 26, 6.`__
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
62
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
63 .. __: http://code.google.com/p/bedtools/
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
64 .. __: http://code.google.com/p/bedtools/
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
65 .. __: http://cphg.virginia.edu/quinlan/
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
66 .. __: http://bioinformatics.oxfordjournals.org/content/26/6/841.short
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
67
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
68 </help>
26c21c634c51 Uploaded
aaronquinlan
parents:
diff changeset
69 </tool>