annotate pileup_parser.xml @ 2:85bedbea8a12 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
author devteam
date Wed, 05 Oct 2016 06:30:36 -0400
parents 1670f0565000
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
1 <tool id="pileup_parser" name="Filter pileup" version="1.0.2">
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description>on coverage and SNPs</description>
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
3 <requirements>
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
4 <requirement type="package" version="5.22.0">perl</requirement>
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
5 </requirements>
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
6 <command interpreter="perl">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
7 #if $pileup_type.type_select == "six" #pileup_parser.pl $input "3" "5" "6" "4" $qv_cutoff $cvrg_cutoff $snps_only $interval "2" $out_file1 $diff $qc_base
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
8 #elif $pileup_type.type_select == "ten" #pileup_parser.pl $input "3" "9" "10" "8" $qv_cutoff $cvrg_cutoff $snps_only $interval "2" $out_file1 $diff $qc_base
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
9 #elif $pileup_type.type_select == "manual" #pileup_parser.pl $input $pileup_type.ref_base_column $pileup_type.read_bases_column $pileup_type.read_qv_column $pileup_type.cvrg_column $qv_cutoff $cvrg_cutoff $snps_only $interval $pileup_type.coord_column $out_file1 $diff $qc_base
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
10 #end if#
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
11 </command>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
12 <inputs>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
13 <param name="input" type="data" format="pileup" label="Select dataset"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
14 <conditional name="pileup_type">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
15 <param name="type_select" type="select" label="which contains" help="See &quot;Types of pileup datasets&quot; below for examples">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
16 <option value="six" selected="true">Pileup with six columns (simple)</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
17 <option value="ten">Pileup with ten columns (with consensus)</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
18 <option value="manual">Set columns manually</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
19 </param>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
20 <when value="manual">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
21 <param name="ref_base_column" label="Select column with reference base" type="data_column" numerical="false" data_ref="input" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
22 <param name="read_bases_column" label="Select column with read bases" type="data_column" numerical="false" data_ref="input" help="something like this: ..,a.."/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
23 <param name="read_qv_column" label="Select column with base qualities" type="data_column" numerical="false" data_ref="input" help="something like this: IIIGIAI"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
24 <param name="cvrg_column" label="Select column with coverage" type="data_column" numerical="true" data_ref="input" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
25 <param name="coord_column" label="Select coordinate column" type="data_column" numerical="true" data_ref="input" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
26 </when>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
27 <when value="six">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
28 </when>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
29 <when value="ten">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
30 </when>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
31 </conditional>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
32 <param name="qv_cutoff" label="Do not consider read bases with quality lower than" type="integer" value="20" help="No variants with quality below this value will be reported"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
33 <param name="cvrg_cutoff" label="Do not report positions with coverage lower than" type="integer" value="3" help="Pileup lines with coverage lower than this value will be skipped"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
34 <param name="snps_only" label="Only report variants?" type="select" help="See &quot;Examples 1 and 2&quot; below for explanation">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
35 <option value="No">No</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
36 <option value="Yes" selected="true">Yes</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
37 </param>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
38 <param name="interval" label="Convert coordinates to intervals?" type="select" help="See &quot;Output format&quot; below for explanation">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
39 <option value="No" selected="true">No</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
40 <option value="Yes">Yes</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
41 </param>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
42 <param name="diff" label="Print total number of differences?" type="select" help="See &quot;Example 3&quot; below for explanation">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
43 <option value="No" selected="true">No</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
44 <option value="Yes">Yes</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
45 </param>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
46 <param name="qc_base" label="Print quality and base string?" type="select" help="See &quot;Example 4&quot; below for explanation">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
47 <option value="No">No</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
48 <option value="Yes" selected="true">Yes</option>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
49 </param>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
50 </inputs>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
51 <outputs>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
52 <data format="tabular" name="out_file1">
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
53 <change_format>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
54 <when input="interval" value="Yes" format="interval" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
55 </change_format>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
56 </data>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
57 </outputs>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
58 <tests>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
59 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
60 <param name="input" value="pileup_parser.6col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
61 <output name="out_file1" file="pileup_parser.6col.20-3-yes-yes.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
62 <param name="type_select" value="six"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
63 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
64 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
65 <param name="snps_only" value="Yes"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
66 <param name="interval" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
67 <param name="diff" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
68 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
69 </test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
70 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
71 <param name="input" value="pileup_parser.6col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
72 <output name="out_file1" file="pileup_parser.6col.20-3-yes-no.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
73 <param name="type_select" value="six"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
74 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
75 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
76 <param name="snps_only" value="Yes"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
77 <param name="interval" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
78 <param name="diff" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
79 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
80 </test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
81 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
82 <param name="input" value="pileup_parser.6col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
83 <output name="out_file1" file="pileup_parser.6col.20-3-no-no.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
84 <param name="type_select" value="six"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
85 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
86 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
87 <param name="snps_only" value="No"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
88 <param name="interval" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
89 <param name="diff" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
90 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
91 </test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
92 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
93 <param name="input" value="pileup_parser.10col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
94 <output name="out_file1" file="pileup_parser.10col.20-3-yes-yes.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
95 <param name="type_select" value="ten"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
96 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
97 <param name="cvrg_cutoff" value="3" />
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
98 <param name="snps_only" value="Yes"/>
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
99 <param name="interval" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
100 <param name="diff" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
101 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
102 </test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
103 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
104 <param name="input" value="pileup_parser.10col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
105 <output name="out_file1" file="pileup_parser.10col.20-3-yes-yes.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
106 <param name="type_select" value="manual"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
107 <param name="ref_base_column" value="3"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
108 <param name="read_bases_column" value="9"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
109 <param name="read_qv_column" value="10"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
110 <param name="cvrg_column" value="8"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
111 <param name="coord_column" value="2"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
112 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
113 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
114 <param name="snps_only" value="Yes"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
115 <param name="interval" value="Yes" />
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
116 <param name="diff" value="No" />
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
117 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
118 </test>
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
119 <test>
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
120 <param name="input" value="pileup_parser.10col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
121 <output name="out_file1" file="pileup_parser.10col.20-3-yes-yes-yes-yes.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
122 <param name="type_select" value="manual"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
123 <param name="ref_base_column" value="3"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
124 <param name="read_bases_column" value="9"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
125 <param name="read_qv_column" value="10"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
126 <param name="cvrg_column" value="8"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
127 <param name="coord_column" value="2"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
128 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
129 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
130 <param name="snps_only" value="Yes"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
131 <param name="interval" value="Yes" />
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
132 <param name="diff" value="Yes" />
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
133 <param name="qc_base" value="Yes" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
134 </test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
135 <test>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
136 <param name="input" value="pileup_parser.10col.pileup"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
137 <output name="out_file1" file="pileup_parser.10col.20-3-yes-yes-yes-no.pileup.out"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
138 <param name="type_select" value="manual"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
139 <param name="ref_base_column" value="3"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
140 <param name="read_bases_column" value="9"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
141 <param name="read_qv_column" value="10"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
142 <param name="cvrg_column" value="8"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
143 <param name="coord_column" value="2"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
144 <param name="qv_cutoff" value="20" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
145 <param name="cvrg_cutoff" value="3" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
146 <param name="snps_only" value="Yes"/>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
147 <param name="interval" value="Yes" />
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
148 <param name="diff" value="Yes" />
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
149 <param name="qc_base" value="No" />
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
150 </test>
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
151 </tests>
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
152 <help>
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
153
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
154 **What it does**
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
155
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
156 Allows one to find sequence variants and/or sites covered by a specified number of reads with bases above a set quality threshold. The tool works on six and ten column pileup formats produced with *samtools pileup* command. However, it also allows you to specify columns in the input file manually. The tool assumes the following:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
157
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
158 - the quality scores follow phred33 convention, where input qualities are ASCII characters equal to the Phred quality plus 33.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
159 - the pileup dataset was produced by the *samtools pileup* command (although you can override this by setting column assignments manually).
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
160
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
161 --------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
162
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
163 **Types of pileup datasets**
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
164
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
165 The descriptions of the following pileup formats are largely based on information that can be found on the SAMTools_ documentation page. The 6- and 10-column variants are described below.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
166
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
167 .. _SAMTools: http://samtools.sourceforge.net/pileup.shtml
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
168
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
169 **Six column pileup**::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
170
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
171 1 2 3 4 5 6
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
172 ---------------------------------
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
173 chrM 412 A 2 ., II
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
174 chrM 413 G 4 ..t, IIIH
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
175 chrM 414 C 4 ..Ta III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
176 chrM 415 C 4 TTTt III7
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
177
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
178 where::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
179
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
180 Column Definition
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
181 ------- ----------------------------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
182 1 Chromosome
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
183 2 Position (1-based)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
184 3 Reference base at that position
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
185 4 Coverage (# reads aligning over that position)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
186 5 Bases within reads
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
187 6 Quality values (phred33 scale, see Galaxy wiki for more)
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
188
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
189 **Ten column pileup**
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
190
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
191 The `ten-column`__ pileup incorporates additional consensus information generated with the *-c* option of the *samtools pileup* command::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
192
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
193
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
194 1 2 3 4 5 6 7 8 9 10
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
195 ------------------------------------------------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
196 chrM 412 A A 75 0 25 2 ., II
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
197 chrM 413 G G 72 0 25 4 ..t, IIIH
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
198 chrM 414 C C 75 0 25 4 ..Ta III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
199 chrM 415 C T 75 75 25 4 TTTt III7
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
200
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
201 where::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
202
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
203 Column Definition
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
204 ------- ----------------------------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
205 1 Chromosome
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
206 2 Position (1-based)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
207 3 Reference base at that position
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
208 4 Consensus bases
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
209 5 Consensus quality
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
210 6 SNP quality
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
211 7 Maximum mapping quality
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
212 8 Coverage (# reads aligning over that position)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
213 9 Bases within reads
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
214 10 Quality values (phred33 scale, see Galaxy wiki for more)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
215
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
216
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
217 .. __: http://samtools.sourceforge.net/cns0.shtml
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
218
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
219 ------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
220
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
221 **The output format**
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
222
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
223 The tool modifies the input dataset in two ways:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
224
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
225 1. It appends five columns to the end of every reported line:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
226
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
227 - Number of **A** variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
228 - Number of **C** variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
229 - Number of **G** variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
230 - Number of **T** variants
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
231 - Number of read bases covering this position, where quality is equal to or higher than the value set by **Do not consider read bases with quality lower than** option.
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
232
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
233 Optionally, if **Print total number of differences?** is set to **Yes**, the tool will append the sixth column with the total number of deviants (see below).
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
234
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
235 2. If **Convert coordinates to intervals?** is set to **Yes**, the tool replaces the position column (typically the second column) with a pair of tab-delimited start/end values.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
236
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
237 For example, if you are calling variants with base quality above 20 on this dataset::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
238
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
239 chrM 412 A 2 ., II
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
240 chrM 413 G 4 ..t, III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
241 chrM 414 C 4 ..Ta III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
242 chrM 415 C 4 TTTt III7
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
243
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
244 you will get::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
245
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
246 chrM 413 G 4 ..t, IIIH 0 0 2 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
247 chrM 414 C 4 ..Ta III2 1 1 0 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
248 chrM 415 C 4 TTTt III7 0 0 0 4 4
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
249
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
250 where::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
251
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
252 Column Definition
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
253 ------- ----------------------------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
254 1 Chromosome
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
255 2 Position (1-based)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
256 3 Reference base at that position
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
257 4 Coverage (# reads aligning over that position)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
258 5 Bases within reads where
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
259 6 Quality values (phred33 scale, see Galaxy wiki for more)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
260 7 Number of A variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
261 8 Number of C variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
262 9 Number of G variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
263 10 Number of T variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
264 11 Quality adjusted coverage:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
265 12 Number of read bases (i.e., # of reads) with quality above the set threshold
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
266 13 Total number of deviants (if Convert coordinates to intervals? is set to yes)
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
267
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
268 if **Print total number of differences?** is set to **Yes**, you will get::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
269
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
270 chrM 413 G 4 ..t, IIIH 0 0 2 1 3 1
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
271 chrM 414 C 4 ..Ta III2 1 2 0 1 3 2
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
272 chrM 415 C 4 TTTt III7 0 0 0 4 4 0
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
273
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
274 Note the additional column 13, that contains the number of deviant reads (e.g., there are two deviants, T and a, for position 414).
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
275
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
276 Finally, if **Convert coordinates to intervals?** is set to **Yes**, you will get one additional column with the end coordinate::
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
277
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
278 chrM 412 413 G 4 ..t, III2 0 0 2 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
279 chrM 414 415 C 4 ..Ta III2 1 2 0 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
280 chrM 414 415 C 4 TTTt III7 0 0 0 4 4
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
281
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
282 where::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
283
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
284 Column Definition
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
285 ------- ----------------------------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
286 1 Chromosome
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
287 2 Start position (0-based)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
288 3 End position (1-based)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
289 4 Reference base at that position
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
290 5 Coverage (# reads aligning over that position)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
291 6 Bases within reads
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
292 7 Quality values (phred33 scale, see Galaxy wiki for more)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
293 8 Number of A variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
294 9 Number of C variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
295 10 Number of G variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
296 11 Number of T variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
297 12 Quality adjusted coverage
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
298 13 Total number of deviants (if Convert coordinates to intervals? is set to yes)
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
299
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
300
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
301 Note that in this case the coordinates of SNPs were converted to intervals, where the start coordinate is 0-based and the end coordinate in 1-based using the UCSC Table Browser convention.
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
302
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
303 Although three positions have variants in the original file (413, 414, and 415), only 413 and 415 are reported because the quality values associated with these two SNPs are above the threshold of 20. In the case of 414 the **a** allele has a quality value of 17 ( ord("2")-33 ), and is therefore not reported. Note that five columns have been added to each of the reported lines::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
304
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
305 chrM 413 G 4 ..t, IIIH 0 0 2 1 3
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
306
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
307 Here, there is one variant, **t**. Because the fourth column represents **T** counts, it is incremented by 1. The last column shows that at this position, three reads have bases above the quality threshold of 20.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
308
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
309 -----
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
310
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
311 **Example 1**: Just variants
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
312
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
313 In this mode, the tool only outputs the lines from the input datasets where at least one read contains a sequence variant with quality above the threshold set by the **Do not consider read bases with quality lower than** option. For example, suppose one has a pileup dataset like the following::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
314
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
315 chrM 412 A 2 ., II
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
316 chrM 413 G 4 ..t, III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
317 chrM 414 C 4 ..Ta III2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
318 chrM 415 C 4 TTTt III7
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
319
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
320 To call all variants (with no restriction by coverage) with quality above phred value of 20, we will need to set the parameters as follows:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
321
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
322 .. image:: pileup_parser_help1.png
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
323
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
324 Running the tool with these parameters will return::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
325
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
326 chrM 413 G 4 ..t, IIIH 0 0 0 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
327 chrM 414 C 4 ..Ta III2 0 2 0 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
328 chrM 415 C 4 TTTt III7 0 0 0 4 4
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
329
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
330 **Note** that position 414 is not reported because the *a* variant has associated quality value of 17 (because ord('2')-33 = 17) and is below the phred threshold of 20 set by the **Count variants with quality above this value** parameter.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
331
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
332 -----
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
333
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
334 **Example 2**: Report everything
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
335
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
336 In addition to calling variants, it is often useful to know the quality adjusted coverage. Running the tool with these parameters:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
337
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
338 .. image:: pileup_parser_help2.png
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
339
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
340 will report everything from the original file::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
341
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
342 chrM 412 A 2 ., II 2 0 0 0 2
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
343 chrM 413 G 4 ..t, III2 0 0 2 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
344 chrM 414 C 4 ..Ta III2 0 2 0 1 3
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
345 chrM 415 C 4 TTTt III7 0 0 0 4 4
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
346
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
347 Here, you can see that although the total coverage at position 414 is 4 (column 4), the quality adjusted coverage is 3 (last column). This is because only three out of four reads have bases with quality above the set threshold of 20 (the actual qualities are III2 or, after conversion, 40, 40, 40, 17).
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
348
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
349 One can use the last column of this dataset to filter out (using Galaxy's **Filter** tool) positions where quality adjusted coverage (last column) is below a set threshold.
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
350
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
351 ------
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
352
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
353 **Example 3**: Report everything and print total number of differences
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
354
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
355 If you set the **Print total number of differences?** to **Yes** the tool will print an additional column with the total number of reads where a devinat base is above the quality threshold. So, seetiing parametrs like this:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
356
1
1670f0565000 Uploaded tool help images.
devteam
parents: 0
diff changeset
357 .. image:: pileup_parser_help3.png
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
358
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
359 will produce this::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
360
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
361 chrM 412 A 2 ., II 2 0 0 0 2 0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
362 chrM 413 G 4 ..t, III2 0 0 2 1 3 1
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
363 chrM 414 C 4 ..Ta III2 0 2 0 1 3 1
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
364 chrM 415 C 4 TTTt III7 0 0 0 4 4 0
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
365
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
366 -----
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
367
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
368 **Example 4**: Report everything, print total number of differences, and ignore qualities and read bases
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
369
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
370 Setting **Print quality and base string?** to **Yes** as shown here:
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
371
1
1670f0565000 Uploaded tool help images.
devteam
parents: 0
diff changeset
372 .. image:: pileup_parser_help4.png
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
373
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
374 will produce this::
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
375
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
376 chrM 412 A 2 2 0 0 0 2 0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
377 chrM 413 G 4 0 0 2 1 3 1
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
378 chrM 414 C 4 0 2 0 1 3 1
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
379 chrM 415 C 4 0 0 0 4 4 0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
380 </help>
2
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
381 <citations>
85bedbea8a12 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/pileup_parser commit ab627176cd4f6efe6d1fe4b85baa679aaa651eb1
devteam
parents: 1
diff changeset
382 </citations>
0
ff1ba9b75337 Uploaded tool tarball.
devteam
parents:
diff changeset
383 </tool>