annotate genomeCoverageBed_histogram.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children
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_genomecoveragebed_histogram" name="Create a histogram of genome coverage" version="@WRAPPER_VERSION@.0">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
2 <description>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 </description>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <expand macro="stdio" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
9 <command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
10 genomeCoverageBed
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 #if $input.ext == "bam"
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
12 -ibam '$input'
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 #else
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 -i '$input'
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 -g ${chromInfo}
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 #end if
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 #if str($max):
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 -max $max
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 #end if
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 &gt; '$output'
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <param format="bed,bam" name="input" type="data" label="The BAM or BED file from which coverage should be computed"></param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 <param name="max" type="text" optional="true" label="Max depth" help="Combine all positions with a depth >= max into a single bin in the histogram."/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
28 <outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <data format="tabular" name="output" metadata_source="input" label="${input.name} (Genome Coverage Histogram)" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 </outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 <help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
35 This tool calculates a histogram of genome coverage depth based on mapped reads in BAM format or intervals in BED format.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 ------
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41 .. class:: infomark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43 The output file will contain five columns:
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 * 1. Chromosome name (or 'genome' for whole-genome coverage)
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 * 2. Coverage depth
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47 * 3. The number of bases on chromosome (or genome) with depth equal to column 2.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48 * 4. The size of chromosome (or entire genome) in base pairs
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
49 * 5. The fraction of bases on chromosome (or entire genome) with depth equal to column 2.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
50
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 **Example Output**::
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
52
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
53 chr2L 0 1379895 23011544 0.0599653
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
54 chr2L 1 837250 23011544 0.0363839
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
55 chr2L 2 904442 23011544 0.0393038
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
56 chr2L 3 913723 23011544 0.0397072
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
57 chr2L 4 952166 23011544 0.0413778
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
58 chr2L 5 967763 23011544 0.0420555
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
59 chr2L 6 986331 23011544 0.0428624
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
60 chr2L 7 998244 23011544 0.0433801
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
61 chr2L 8 995791 23011544 0.0432735
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
62 chr2L 9 996398 23011544 0.0432999
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
63
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
64
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
65 @REFERENCES@
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
66 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
67 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
68 </tool>