Mercurial > repos > iuc > bedtools
annotate coverageBed.xml @ 36:1133660b0f9d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
author | iuc |
---|---|
date | Wed, 10 Jan 2018 19:21:14 -0500 |
parents | ac2040a5e6ff |
children | 58451dcd076d |
rev | line source |
---|---|
36
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
1 <tool id="bedtools_coveragebed" name="Compute both the depth and breadth of coverage" version="@WRAPPER_VERSION@.1"> |
25
6c6963cf9136
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit bad476ff5076338f3eebdf0c25bb5a6c745e5592
iuc
parents:
24
diff
changeset
|
2 <description>of features in file B on the features in file A (bedtools coverage)</description> |
8 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="stdio" /> | |
8 <command> | |
9 <![CDATA[ | |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
10 bedtools coverage |
8 | 11 $d |
12 $hist | |
13 $split | |
14 $strandedness | |
34
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
15 #if str($overlap_a) != "None" and str($overlap_a): |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
16 -f '$overlap_a' |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
17 #end if |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
18 #if str($overlap_b) != "None" and str($overlap_b): |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
19 -F '$overlap_b' |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
20 #end if |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
21 $reciprocal_overlap |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
22 $a_or_b |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
23 -a '$inputA' |
36
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
24 #if str($reduce_or_iterate.reduce_or_iterate_selector) == 'iterate': |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
25 -b '$reduce_or_iterate.inputB' |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
26 #else: |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
27 #set inputBs = "' '".join([str($file) for $file in $reduce_or_iterate.inputB]) |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
28 -b '$inputBs' |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
29 #end if |
8 | 30 | sort -k1,1 -k2,2n |
31 > '$output' | |
32 ]]> | |
33 </command> | |
34 <inputs> | |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
35 <param format="bam,bed,gff,gff3,vcf" name="inputA" type="data" label="File A (on which coverage is calculated)" help="BAM/BED/GFF/VCF format" /> |
36
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
36 <conditional name="reduce_or_iterate"> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
37 <param name='reduce_or_iterate_selector' type='select' label='Combined or separate output files'> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
38 <option value='iterate' selected='true'>One output file per 'input B' file</option> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
39 <option value='reduce'>Single output containing results for all 'input B' files</option> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
40 </param> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
41 <when value='iterate'> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
42 <param format="bam,bed,gff,gff3,vcf" name="inputB" type="data" |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
43 label="File(s) B (for which coverage is calculated)" help="BAM/BED/GFF/VCF format"/> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
44 </when> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
45 <when value='reduce'> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
46 <param format="bam,bed,gff,gff3,vcf" name="inputB" type="data" multiple="true" |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
47 label="File(s) B (for which coverage is calculated)" help="BAM/BED/GFF/VCF format"/> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
48 </when> |
1133660b0f9d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
35
diff
changeset
|
49 </conditional> |
8 | 50 <expand macro="split" /> |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
25
diff
changeset
|
51 <param name="strandedness" type="boolean" label="Force strandedness" truevalue="-s" falsevalue="" checked="false" |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
52 help="Only report hits in B that overlap A on the same strand. By default, overlaps are reported without respect to strand (-s)"/> |
8 | 53 <param name="d" type="boolean" checked="false" truevalue="-d" falsevalue="" |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
54 label="Report the depth at each position in each A feature" |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
55 help="Positions reported are one based. Each position and depth follow the complete B feature (-d)" /> |
8 | 56 <param name="hist" type="boolean" checked="false" truevalue="-hist" falsevalue="" |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
57 label="Report a histogram of coverage for each feature in A as well as a summary histogram for all features in A" |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
58 help="Additional columns after each feature in A: 1) depth 2) # bases at depth 3) size of A 4) % of A at depth (-hist)" /> |
34
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
59 <param name="overlap_a" type="text" |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
60 label="Minimum overlap required as a fraction of A." |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
61 help="Default is 1E-9 (i.e., 1bp). (-f)"> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
62 <sanitizer invalid_char=""> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
63 <valid initial="string.digits"><add value=",."/></valid> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
64 </sanitizer> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
65 </param> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
66 <param name="overlap_b" type="text" |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
67 label="Minimum overlap required as a fraction of B." |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
68 help="Default is 1E-9 (i.e., 1bp). (-F)"> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
69 <sanitizer invalid_char=""> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
70 <valid initial="string.digits"><add value=",."/></valid> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
71 </sanitizer> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
72 </param> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
73 <param name="reciprocal_overlap" type="boolean" checked="false" truevalue="-r" falsevalue="" |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
74 label="Require that the fraction overlap be reciprocal for A AND B." |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
75 help="if -f is 0.90 and -r is used, this requires that B overlap 90% of A and A _also_ overlaps 90% of B (-r)" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
76 <param name="a_or_b" type="boolean" checked="false" truevalue="-e" falsevalue="" |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
77 label="Require that the minimum fraction be satisfied for A OR B." |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
78 help="if -e is used with -f 0.90 and -F 0.10 this requires that either 90% of A is covered OR 10% of B is covered. Without -e, both fractions would have to be satisfied. (-e)" /> |
8 | 79 </inputs> |
80 <outputs> | |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
81 <data format="bed" name="output" metadata_source="inputA" label="Count of overlaps on ${inputA.name}"/> |
8 | 82 </outputs> |
83 <tests> | |
84 <test> | |
85 <param name="inputA" value="coverageBedA.bed" ftype="bed" /> | |
34
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
86 <param name="inputB" value="coverageBedB.bed" ftype="bed" /> |
8 | 87 <output name="output" file="coverageBed_result1.bed" ftype="bed" /> |
88 </test> | |
34
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
89 <test> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
90 <param name="inputA" value="coverageBedA.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
91 <param name="inputB" value="coverageBedB.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
92 <param name="overlap_b" value="1" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
93 <output name="output" file="coverageBed_result2_F1.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
94 </test> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
95 <test> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
96 <param name="inputA" value="coverageBedA.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
97 <param name="inputB" value="coverageBedB.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
98 <param name="overlap_a" value="1" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
99 <param name="reciprocal_overlap" value="true" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
100 <output name="output" file="coverageBed_result3_f1r.bed" ftype="bed" /> |
ada98688209b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
26
diff
changeset
|
101 </test> |
8 | 102 </tests> |
103 <help> | |
104 <![CDATA[ | |
105 **What it does** | |
106 | |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
25
diff
changeset
|
107 `bedtools coverage`_ computes both the *depth* and *breadth* of coverage of features in |
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
25
diff
changeset
|
108 file B on the features in file A. For example, ``bedtools coverage`` can compute the coverage of sequence alignments |
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
25
diff
changeset
|
109 (file B) across 1 kilobase (arbitrary) windows (file A) tiling a genome of interest. |
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
25
diff
changeset
|
110 One advantage that ``bedtools coverage`` offers is that it not only *counts* the number of features that |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
111 overlap an interval in file A, it also computes the fraction of bases in the interval in A that were overlapped by one or more features. |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
112 Thus, ``bedtools coverage`` also computes the *breadth* of coverage for each interval in A. |
8 | 113 |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
114 .. _bedtools coverage: http://bedtools.readthedocs.org/en/latest/content/tools/coverage.html |
8 | 115 |
116 .. class:: infomark | |
117 | |
22
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
118 The lines in the output will be comprised of each interval in A, followed by: |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
119 |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
120 1. The number of features in B that overlapped (by at least one base pair) the A interval. |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
121 2. The number of bases in A that had non-zero coverage from features in B. |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
122 3. The length of the entry in A. |
ac8b17b66663
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f
iuc
parents:
8
diff
changeset
|
123 4. The fraction of bases in A that had non-zero coverage from features in B. |
8 | 124 |
125 @REFERENCES@ | |
126 ]]> | |
127 </help> | |
128 <expand macro="citations" /> | |
129 </tool> |