annotate blat_coverage_report.xml @ 0:028232b595b4 draft default tip

Imported from capsule None
author devteam
date Mon, 19 May 2014 10:59:50 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="generate_coverage_report" name="Polymorphism of the Reads" version="1.0.0">
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
2 <description>the percentage of reads supporting each nucleotide at each location</description>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
3 <command interpreter="python">blat_coverage_report.py $input1 $output1</command>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
4 <inputs>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
5 <param name="input1" type="data" format="tabular" label="Alignment result"/>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
6 </inputs>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
7 <outputs>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
8 <data name="output1" format="tabular"/>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
9 </outputs>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
10 <tests>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
11 <test>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
12 <param name="input1" value="blat_coverage_report_test1.txt" ftype="tabular" />
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
13 <output name="output1" file="blat_coverage_report_test1.out" />
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
14 </test>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
15 </tests>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
16 <help>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
17
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
18 .. class:: warningmark
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
19
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
20 **IMPORTANT**. Only works for BLAT **standard** or **pslx** output formats (hint: to output pslx format, add **-out=pslx** in the command).
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
21
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
22 -----
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
23
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
24 **What it does**
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
25
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
26 The tool will generate a table of 6 columns as following:
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
27
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
28 - 1st column: chromosome id.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
29
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
30 - 2nd column: chromosome location.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
31
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
32 - 3rd column: the nucleotide from reference genome at the chromosome location (2nd column).
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
33
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
34 - 4th column: total coverage of the reads (number of reads that were mapped to the chromosome location).
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
35
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
36 - 5th column: percentage of reads that support nucleotide **A** at this location.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
37
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
38 - 6th column: percentage of reads that support nucleotide **T** at this location.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
39
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
40 - 7th column: percentage of reads that support nucleotide **C** at this location.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
41
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
42 - 8th column: percentage of reads that support nucleotide **G** at this location.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
43
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
44
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
45 -----
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
46
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
47 **Example**
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
48
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
49 - The BLAT pslx results look like the following (tab separated with sequence at the end)::
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
50
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
51 30 0 0 0 0 0 0 0 + seq0 30 0 30 chr 4639675 4549207 4549237 1 30, 0, 4549207, cggacagcgccgccaccaacaaagccacca, cggacagcgccgccaccaacaaagccacca,
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
52 30 0 0 0 0 0 0 0 + seq1 30 0 30 chr 4639675 614777 614807 1 30, 0, 614777, aaaacaccggatgctccggcgctggcagat, aaaacaccggatgctccggcgctggcagat,
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
53 28 1 0 0 0 0 0 0 + seq2 30 0 29 chr 4639675 3289283 3289312 1 29, 0, 3289283, tttgcttttagtacaccggattcagaacc, tttgctttcagtacaccggattcagaacc,
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
54 30 0 0 0 0 0 0 0 + seq4 30 0 30 chr 4639675 2665584 2665614 1 30, 0, 2665584, cacgctacgtgcgcccccgcccagaaggcg, cacgctacgtgcgcccccgcccagaaggcg,
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
55
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
56 The 14th column is the chromosome id, and the 16th and 17th columns shows the reads were mapped to chromosome start and end locations.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
57
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
58 - The report showed overall coverage of reads on each chromosome location (partial result)::
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
59
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
60 +-------+----------+------+------+--------+------+--------+------+
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
61 | title | location | ref. | cov. | A | T | C | G |
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
62 +-------+----------+------+------+--------+------+--------+------+
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
63 | chr | 614777 | A | 1 | A(100) | T(0) | C(0) | G(0) |
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
64 | chr | 614778 | A | 1 | A(100) | T(0) | C(0) | G(0) |
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
65 | chr | 614779 | A | 1 | A(100) | T(0) | C(0) | G(0) |
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
66 +-------+----------+------+------+--------+------+--------+------+
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
67
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
68 -----
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
69
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
70 **Reference**
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
71
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
72 **BLAT**: Kent, W James, BLAT--the BLAST-like alignment tool. (2002) Genome Research:12(4) 656-664.
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
73
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
74 </help>
028232b595b4 Imported from capsule None
devteam
parents:
diff changeset
75 </tool>