Mercurial > repos > iuc > bedtools
annotate coverageBed.xml @ 46:64e2edfe7a2c draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
author | iuc |
---|---|
date | Sat, 18 May 2024 23:28:38 +0000 |
parents | a1a923cd89e8 |
children |
rev | line source |
---|---|
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
1 <tool id="bedtools_coveragebed" name="bedtools Compute both the depth and breadth of coverage" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> |
9
2ab422b551df
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit bad476ff5076338f3eebdf0c25bb5a6c745e5592
iuc
parents:
8
diff
changeset
|
2 <description>of features in file B on the features in file A (bedtools coverage)</description> |
0 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
6 <expand macro="bio_tools"/> |
27
a33db97b220c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 1ec398a9421f016b852fe59d46961c12321ee5c8
iuc
parents:
26
diff
changeset
|
7 <expand macro="requirements"> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
8 <requirement type="package" version="1.18">samtools</requirement> |
27
a33db97b220c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 1ec398a9421f016b852fe59d46961c12321ee5c8
iuc
parents:
26
diff
changeset
|
9 </expand> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
10 <expand macro="stdio"/> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
11 <command><![CDATA[ |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
12 bedtools coverage |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
13 $d |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
14 $hist |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
15 $split |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
16 $strandedness |
45
a1a923cd89e8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit d1ee301a39e9830693eedb6ca089456081540f28
iuc
parents:
41
diff
changeset
|
17 $mean |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
18 #if str($overlap_a): |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
19 -f $overlap_a |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
20 #end if |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
21 #if str($overlap_b): |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
22 -F $overlap_b |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
23 #end if |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
24 $reciprocal_overlap |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
25 $a_or_b |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
26 -a '$inputA' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
27 #if str($reduce_or_iterate.reduce_or_iterate_selector) == 'iterate': |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
28 -b '$reduce_or_iterate.inputB' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
29 #else: |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
30 -b |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
31 #for $file in $reduce_or_iterate.inputB |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
32 '$file' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
33 #end for |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
34 #end if |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
35 @SORTED@ |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
36 #if $inputA.is_of_type('gff'): |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
37 | sort -k1,1 -k4,2n |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
38 #else: |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
39 | sort -k1,1 -k2,2n |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
40 #end if |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
41 > '$output' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
42 ]]></command> |
0 | 43 <inputs> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
44 <param name="inputA" argument="-a" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="File A (on which coverage is calculated)" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format"/> |
20
df56e1b12d0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
19
diff
changeset
|
45 <conditional name="reduce_or_iterate"> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
46 <param name="reduce_or_iterate_selector" type="select" label="Combined or separate output files"> |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
47 <option value="iterate" selected="true">One output file per 'input B' file</option> |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
48 <option value="reduce">Single output containing results for all 'input B' files</option> |
20
df56e1b12d0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
19
diff
changeset
|
49 </param> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
50 <when value="iterate"> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
51 <param name="inputB" argument="-b" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="File B (for which coverage is calculated)" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format"/> |
20
df56e1b12d0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
19
diff
changeset
|
52 </when> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
53 <when value="reduce"> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
54 <param name="inputB" argument="-b" type="data" format="bam,@STD_BEDTOOLS_INPUTS@" label="File(s) B (for which coverage is calculated)" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format" multiple="true"/> |
20
df56e1b12d0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
19
diff
changeset
|
55 </when> |
df56e1b12d0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents:
19
diff
changeset
|
56 </conditional> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
57 <expand macro="split"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
58 <param name="strandedness" argument="-s" type="boolean" truevalue="-s" falsevalue="" checked="false" label="Force strandedness" help="Only report hits in B that overlap A on the same strand. By default, overlaps are reported without respect to strand"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
59 <param argument="-d" type="boolean" truevalue="-d" falsevalue="" checked="false" label="Report the depth at each position in each A feature" help="Positions reported are one based. Each position and depth follow the complete B feature"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
60 <param argument="-hist" type="boolean" truevalue="-hist" falsevalue="" checked="false" label="Report a histogram of coverage for each feature in A as well as a summary histogram for all features in A" help="Additional columns after each feature in A: 1) depth 2) # bases at depth 3) size of A 4) % of A at depth"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
61 <param argument="-mean" type="boolean" truevalue="-mean" falsevalue="" checked="false" label="Mean depth" help="Report the mean depth of all positions in each A feature."/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
62 <expand macro="overlap" name="overlap_a"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
63 <expand macro="overlap" name="overlap_b" argument="-F" fracof="B"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
64 <param name="reciprocal_overlap" argument="-r" type="boolean" truevalue="-r" falsevalue="" checked="false" label="Require that the fraction overlap be reciprocal for A AND B." 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"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
65 <param name="a_or_b" argument="-e" type="boolean" truevalue="-e" falsevalue="" checked="false" label="Require that the minimum fraction be satisfied for A OR B." 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"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
66 <!-- -sorted -g --> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
67 <expand macro="sorted"/> |
0 | 68 </inputs> |
69 <outputs> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
70 <data name="output" format="bed" metadata_source="inputA" label="Count of overlaps on ${inputA.name}"/> |
0 | 71 </outputs> |
1 | 72 <tests> |
73 <test> | |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
74 <param name="inputA" value="coverageBedA.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
75 <param name="inputB" value="coverageBedB.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
76 <output name="output" file="coverageBed_result1.bed" ftype="bed"/> |
1 | 77 </test> |
18
18aeac3cd1db
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
11
diff
changeset
|
78 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
79 <param name="inputA" value="multiCov1.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
80 <param name="inputB" value="srma_in3.bam" ftype="bam"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
81 <param name="sorted" value="true"/> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
82 <output name="output" file="multicov1_by_srma_in3.cov.bed" ftype="bed"/> |
29
6bb3cd018203
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 69394918e7a50dad3ae578e932cbac27b96e0d3b
iuc
parents:
27
diff
changeset
|
83 </test> |
6bb3cd018203
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 69394918e7a50dad3ae578e932cbac27b96e0d3b
iuc
parents:
27
diff
changeset
|
84 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
85 <param name="inputA" value="multiCov1.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
86 <param name="reduce_or_iterate_selector" value="reduce"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
87 <param name="inputB" value="srma_in3.bam" ftype="bam"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
88 <param name="sorted" value="true"/> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
89 <output name="output" file="multicov1_by_srma_in3.cov.bed" ftype="bed"/> |
29
6bb3cd018203
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 69394918e7a50dad3ae578e932cbac27b96e0d3b
iuc
parents:
27
diff
changeset
|
90 </test> |
6bb3cd018203
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 69394918e7a50dad3ae578e932cbac27b96e0d3b
iuc
parents:
27
diff
changeset
|
91 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
92 <param name="inputA" value="coverageBedA.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
93 <param name="inputB" value="coverageBedB.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
94 <param name="overlap_b" value="1"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
95 <output name="output" file="coverageBed_result2_F1.bed" ftype="bed"/> |
18
18aeac3cd1db
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
11
diff
changeset
|
96 </test> |
18aeac3cd1db
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
11
diff
changeset
|
97 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
98 <param name="inputA" value="coverageBedA.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
99 <param name="inputB" value="coverageBedB.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
100 <param name="overlap_a" value="1E-5"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
101 <param name="reciprocal_overlap" value="true"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
102 <output name="output" file="coverageBed_result3_f1r.bed" ftype="bed"/> |
18
18aeac3cd1db
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit dc0d10f28180ec2b2d1b0beac637601ea859e8f2
iuc
parents:
11
diff
changeset
|
103 </test> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
104 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
105 <param name="inputA" value="multiCov1.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
106 <param name="reduce_or_iterate_selector" value="reduce"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
107 <param name="inputB" value="srma_in3.bam,coverageBed.bam" ftype="bam"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
108 <param name="sorted" value="true"/> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
109 <output name="output" file="coverageBed_result4_2bam.bed" ftype="bed"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
110 </test> |
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
111 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
112 <param name="inputA" value="coverageBedA2.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
113 <param name="inputB" value="coverageBed.bam" ftype="bam"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
114 <output name="output" file="coverageBed_result5_unsorted.bed" ftype="bed"/> |
37
ce3c7f062223
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents:
35
diff
changeset
|
115 </test> |
45
a1a923cd89e8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit d1ee301a39e9830693eedb6ca089456081540f28
iuc
parents:
41
diff
changeset
|
116 <test> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
117 <param name="inputA" value="coverageBedA2.bed" ftype="bed"/> |
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
118 <param name="inputB" value="coverageBed.bam" ftype="bam"/> |
45
a1a923cd89e8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit d1ee301a39e9830693eedb6ca089456081540f28
iuc
parents:
41
diff
changeset
|
119 <param name="mean" value="true"/> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
120 <output name="output" file="mean_coverage.bed" ftype="bed"/> |
45
a1a923cd89e8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit d1ee301a39e9830693eedb6ca089456081540f28
iuc
parents:
41
diff
changeset
|
121 </test> |
1 | 122 </tests> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
123 <help><![CDATA[ |
0 | 124 **What it does** |
125 | |
11
7308cc546a36
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
9
diff
changeset
|
126 `bedtools coverage`_ computes both the *depth* and *breadth* of coverage of features in |
7308cc546a36
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
9
diff
changeset
|
127 file B on the features in file A. For example, ``bedtools coverage`` can compute the coverage of sequence alignments |
7308cc546a36
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
9
diff
changeset
|
128 (file B) across 1 kilobase (arbitrary) windows (file A) tiling a genome of interest. |
7308cc546a36
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
9
diff
changeset
|
129 One advantage that ``bedtools coverage`` offers is that it not only *counts* the number of features that |
6
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
130 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. |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
131 Thus, ``bedtools coverage`` also computes the *breadth* of coverage for each interval in A. |
0 | 132 |
6
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
133 .. _bedtools coverage: http://bedtools.readthedocs.org/en/latest/content/tools/coverage.html |
0 | 134 |
135 .. class:: infomark | |
136 | |
6
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
137 The lines in the output will be comprised of each interval in A, followed by: |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
138 |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
139 1. The number of features in B that overlapped (by at least one base pair) the A interval. |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
140 2. The number of bases in A that had non-zero coverage from features in B. |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
141 3. The length of the entry in A. |
d25966c8ddeb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6ce9a5a91d803b9ac9e743d9721ff0ccd2a5a59f-dirty
iuc
parents:
1
diff
changeset
|
142 4. The fraction of bases in A that had non-zero coverage from features in B. |
0 | 143 |
144 @REFERENCES@ | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
145 ]]></help> |
46
64e2edfe7a2c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents:
45
diff
changeset
|
146 <expand macro="citations"/> |
0 | 147 </tool> |