annotate bismark_methylation_extractor.xml @ 4:243e8f9fb75b draft

Uploaded
author bgruening
date Mon, 09 Feb 2015 18:24:41 -0500
parents 91f07ff056ca
children b100248c35b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
91f07ff056ca Uploaded
bgruening
parents: 0
diff changeset
1 <tool id="bismark_methylation_extractor" name="Bismark Meth. Extractor" version="0.10.1">
91f07ff056ca Uploaded
bgruening
parents: 0
diff changeset
2 <!-- Wrapper compatible with Bismark version 0.10 -->
91f07ff056ca Uploaded
bgruening
parents: 0
diff changeset
3 <description>Reports on methylation status of reads mapped by Bismark</description>
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
4 <!--<version_command>bismark_methylation_extractor version</version_command>-->
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
5 <requirements>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
6 <requirement type="set_environment">SCRIPT_PATH</requirement>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
7 <requirement type="package" version="0.12.8">bowtie</requirement>
3
91f07ff056ca Uploaded
bgruening
parents: 0
diff changeset
8 <requirement type="package" version="2.1.0">bowtie2</requirement>
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
9 </requirements>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
10 <parallelism method="basic"></parallelism>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
11 <command interpreter="python">
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
12 <![CDATA[
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
13 bismark_methylation_extractor.py
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
14
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
15 --infile $input
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
16
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
17 #--bismark_path \$SCRIPT_PATH
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
18
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
19 #if $singlePaired.sPaired == "single":
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
20 --single-end
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
21 #else:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
22 --paired-end
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
23 $singlePaired.no_overlap
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
24 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
25
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
26 #if str($ignore_bps) != "0":
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
27 --ignore $ignore_bps
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
28 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
29
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
30 #if $report:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
31 --report-file $o_report
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
32 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
33
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
34 #if $comprehensive:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
35 --comprehensive
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
36 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
37
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
38 #if $merge_non_cpg:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
39 --merge-non-cpg
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
40 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
41
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
42 #if $compress:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
43 --compress $compressed_output
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
44 #else:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
45 #if $comprehensive == False and $merge_non_cpg == False:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
46 ##twelfe files
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
47 --cpg_ot $cpg_ot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
48 --chg_ot $chg_ot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
49 --chh_ot $chh_ot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
50 --cpg_ctot $cpg_ctot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
51 --chg_ctot $chg_ctot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
52 --chh_ctot $chh_ctot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
53 --cpg_ob $cpg_ob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
54 --chg_ob $chg_ob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
55 --chh_ob $chh_ob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
56 --cpg_ctob $cpg_ctob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
57 --chg_ctob $chg_ctob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
58 --chh_ctob $chh_ctob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
59 #elif $merge_non_cpg and $comprehensive:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
60 ## two files
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
61 --non_cpg_context $non_cpg_context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
62 --cpg_context $cpg_context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
63 #elif $comprehensive:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
64 ## three files
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
65 --cpg_context $cpg_context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
66 --chg_context $chg_context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
67 --chh_context $chh_context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
68 #elif $merge_non_cpg:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
69 ## eight files
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
70 --non_cpg_context_ctot $non_cpg_context_ctot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
71 --non_cpg_context_ot $non_cpg_context_ot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
72 --non_cpg_context_ob $non_cpg_context_ob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
73 --non_cpg_context_ctob $non_cpg_context_ctob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
74 --cpg_ot $cpg_ot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
75 --cpg_ctot $cpg_ctot
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
76 --cpg_ob $cpg_ob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
77 --cpg_ctob $cpg_ctob
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
78 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
79 ## end compress
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
80 #end if
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
81
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
82 ]]>
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
83 </command>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
84 <inputs>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
85 <!-- Input Parameters -->
3
91f07ff056ca Uploaded
bgruening
parents: 0
diff changeset
86 <param name="input" type="data" format="sam,bam" label="SAM/BAM file from Bismark bisulfite mapper" />
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
87 <conditional name="singlePaired">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
88 <param name="sPaired" type="select" label="Is this library mate-paired?">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
89 <option value="single">Single-end</option>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
90 <option value="paired">Paired-end</option>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
91 </param>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
92 <when value="single" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
93 <when value="paired">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
94 <param name="no_overlap" type="boolean" truevalue="--no-overlap" falsevalue="" checked="False" label="This option avoids scoring overlapping methylation calls twice, in case of overlapping read one and read two" help="" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
95 </when>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
96 </conditional>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
97 <param name="ignore_bps" type="integer" value="0" label="Ignore the first N bp when processing the methylation call string" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
98 <param name="comprehensive" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Merge all four possible strand-specific methylation info
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
99 into context-dependent output files" help="" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
100 <param name="merge_non_cpg" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Merge all non-CpG contexts into one file" help="This will produce eight strand-specific output files, or two output files in comprehensive mode." />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
101 <param name="report" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Short methylation summary output" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
102 <param name="compress" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Compress all result files and output one single file" />
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
103
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
104 </inputs>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
105 <outputs>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
106 <!--
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
107 OT – original top strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
108 CTOT – complementary to original top strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
109 OB – original bottom strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
110 CTOB – complementary to original bottom strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
111 -->
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
112 <data format="tabular" name="o_report" label="${tool.name} on ${on_string}: Report file">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
113 <filter> ( report is True ) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
114 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
115
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
116 <!-- default output 12 files -->
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
117 <data format="tabular" name="cpg_ot" label="${tool.name} on ${on_string}: CpG original top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
118 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
119 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
120 <data format="tabular" name="chg_ot" label="${tool.name} on ${on_string}: CHG original top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
121 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
122 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
123 <data format="tabular" name="chh_ot" label="${tool.name} on ${on_string}: CHH original top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
124 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
125 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
126 <data format="tabular" name="cpg_ctot" label="${tool.name} on ${on_string}: CpG complementary to top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
127 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
128 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
129 <data format="tabular" name="chg_ctot" label="${tool.name} on ${on_string}: CHG complementary to top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
130 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
131 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
132 <data format="tabular" name="chh_ctot" label="${tool.name} on ${on_string}: CHH complementary to top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
133 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
134 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
135
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
136 <data format="tabular" name="cpg_ob" label="${tool.name} on ${on_string}: CpG original bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
137 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
138 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
139 <data format="tabular" name="chg_ob" label="${tool.name} on ${on_string}: CHG original bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
140 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
141 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
142 <data format="tabular" name="chh_ob" label="${tool.name} on ${on_string}: CHH original bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
143 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
144 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
145 <data format="tabular" name="cpg_ctob" label="${tool.name} on ${on_string}: CpG complementary to bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
146 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
147 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
148 <data format="tabular" name="chg_ctob" label="${tool.name} on ${on_string}: CHG complementary to bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
149 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
150 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
151 <data format="tabular" name="chh_ctob" label="${tool.name} on ${on_string}: CHH complementary to bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
152 <filter> ( compress == False and comprehensive == False and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
153 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
154
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
155 <!-- Context-dependent methylation output files (comprehensive option) -->
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
156 <data format="tabular" name="cpg_context" label="${tool.name} on ${on_string}: CpG context dependent">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
157 <filter> ( compress == False and comprehensive) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
158 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
159 <data format="tabular" name="chg_context" label="${tool.name} on ${on_string}: CHG context dependent">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
160 <filter> ( compress == False and comprehensive and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
161 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
162 <data format="tabular" name="chh_context" label="${tool.name} on ${on_string}: CHH context dependent">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
163 <filter> ( compress == False and comprehensive and merge_non_CpG == False) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
164 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
165
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
166 <data format="tabular" name="non_cpg_context" label="${tool.name} on ${on_string}: Non CpG context dependent">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
167 <filter> ( compress == False and comprehensive and merge_non_cpg) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
168 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
169
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
170 <data format="tabular" name="non_cpg_context_ot" label="${tool.name} on ${on_string}: Non CpG context dependent on original top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
171 <filter> ( compress == False and comprehensive == False and merge_non_cpg) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
172 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
173 <data format="tabular" name="non_cpg_context_ctot" label="${tool.name} on ${on_string}: Non CpG context dependent on complementary to top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
174 <filter> ( compress == False and comprehensive == False and merge_non_cpg) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
175 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
176 <data format="tabular" name="non_cpg_context_ob" label="${tool.name} on ${on_string}: Non CpG context dependent on bottom top strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
177 <filter> ( compress == False and comprehensive == False and merge_non_cpg) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
178 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
179 <data format="tabular" name="non_cpg_context_ctob" label="${tool.name} on ${on_string}: Non CpG context dependent on complementary to bottom strand">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
180 <filter> ( compress == False and comprehensive == False and merge_non_cpg) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
181 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
182
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
183 <data format="gzipped" name="compressed_output" label="${tool.name} on ${on_string}: Result archive.">
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
184 <filter> ( compress ) </filter>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
185 </data>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
186 </outputs>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
187
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
188 <tests>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
189 </tests>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
190
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
191 <help>
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
192 <![CDATA[
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
193
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
194 **What it does**
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
195
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
196 The following is a brief description of all options to control the Bismark_
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
197 methylation extractor. The script reads in a bisulfite read alignment results file
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
198 produced by the Bismark bisulfite mapper and extracts the methylation information
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
199 for individual cytosines. This information is found in the methylation call field
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
200 which can contain the following characters:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
201
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
202
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
203 - X = for methylated C in CHG context (was protected)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
204 - x = for not methylated C CHG (was converted)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
205 - H = for methylated C in CHH context (was protected)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
206 - h = for not methylated C in CHH context (was converted)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
207 - Z = for methylated C in CpG context (was protected)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
208 - z = for not methylated C in CpG context (was converted)
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
209 - . = for any bases not involving cytosines
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
210
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
211
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
212 The methylation extractor outputs result files for cytosines in CpG, CHG and CHH
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
213 context (this distinction is actually already made in Bismark itself). As the methylation
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
214 information for every C analysed can produce files which easily have tens or even hundreds of
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
215 millions of lines, file sizes can become very large and more difficult to handle. The C
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
216 methylation info additionally splits cytosine methylation calls up into one of the four possible
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
217 strands a given bisulfite read aligned against:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
218
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
219 - OT = original top strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
220 - CTOT = complementary to original top strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
221
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
222 - OB = original bottom strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
223 - CTOB = complementary to original bottom strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
224
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
225 Thus, by default twelve individual output files are being generated per input file (unless
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
226 --comprehensive is specified, see below). The output files can be imported into a genome
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
227 viewer, such as SeqMonk, and re-combined into a single data group if desired (in fact
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
228 unless the bisulfite reads were generated preserving directionality it doesn't make any
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
229 sense to look at the data in a strand-specific manner). Strand-specific output files can
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
230 optionally be skipped, in which case only three output files for CpG, CHG or CHH context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
231 will be generated. For both the strand-specific and comprehensive outputs there is also
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
232 the option to merge both non-CpG contexts (CHG and CHH) into one single non-CpG context.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
233
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
234
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
235 .. _Bismark: http://www.bioinformatics.babraham.ac.uk/projects/bismark/
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
236
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
237
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
238 It is developed by Krueger F and Andrews SR. at the Babraham Institute. Krueger F, Andrews SR. (2011) Bismark: a flexible aligner and methylation caller for Bisulfite-Seq applications. Bioinformatics, 27, 1571-2.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
239
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
240 -------
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
241
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
242 **Bismark settings**
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
243
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
244 All of the options have a default value. You can change any of them. If any Bismark function is missing please contact the tool author or your Galaxy admin.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
245
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
246 ------
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
247
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
248 **Outputs**
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
249
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
250 The output files are in the following format (tab delimited)::
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
251
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
252
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
253 Column Description
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
254 -------- --------------------------------------------------------
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
255 1 seq-ID
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
256 2 strand
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
257 3 chromosome
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
258 4 position
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
259 5 methylation call
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
260
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
261
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
262 * Methylated cytosines receive a '+' orientation,
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
263 * Unmethylated cytosines receive a '-' orientation.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
264
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
265 ------
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
266
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
267 **OPTIONS**
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
268
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
269 Input::
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
270
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
271 -s/--single-end Input file(s) are Bismark result file(s) generated from single-end
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
272 read data. Specifying either --single-end or --paired-end is
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
273 mandatory.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
274
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
275 -p/--paired-end Input file(s) are Bismark result file(s) generated from paired-end
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
276 read data. Specifying either --paired-end or --single-end is
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
277 mandatory.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
278
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
279 --no_overlap For paired-end reads it is theoretically possible that read_1 and
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
280 read_2 overlap. This option avoids scoring overlapping methylation
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
281 calls twice. Whilst this removes a bias towards more methylation calls
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
282 towards the center of sequenced fragments it can de facto remove
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
283 a good proportion of the data.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
284
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
285 --ignore INT Ignore the first INT bp at the 5' end of each read when processing the
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
286 methylation call string. This can remove e.g. a restriction enzyme site
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
287 at the start of each read.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
288
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
289 Output::
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
290
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
291 --comprehensive Specifying this option will merge all four possible strand-specific
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
292 methylation info into context-dependent output files. The default
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
293 contexts are:
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
294 - CpG context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
295 - CHG context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
296 - CHH context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
297
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
298 --merge_non_CpG This will produce two output files (in --comprehensive mode) or eight
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
299 strand-specific output files (default) for Cs in
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
300 - CpG context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
301 - non-CpG context
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
302
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
303 --report Prints out a short methylation summary as well as the paramaters used to run
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
304 this script.
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
305
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
306
4
243e8f9fb75b Uploaded
bgruening
parents: 3
diff changeset
307 ]]>
0
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
308 </help>
62c6da72dd4a Uploaded
bgruening
parents:
diff changeset
309 </tool>