annotate PileOMeth.xml @ 2:cda51d96a9bc draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
author bgruening
date Mon, 13 Feb 2017 07:09:59 -0500
parents d1b66015effd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
1 <tool id="pileometh" name="PileOMeth" version="0.1.13">
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
2 <description>A tool for processing bisulfite sequencing alignments</description>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
3 <requirements>
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
4 <requirement type="package" version="0.1.13">pileometh</requirement>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
5 </requirements>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
6 <stdio>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
7 <!-- Anything other than zero is an error -->
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
8 <exit_code range="1:" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
9 <exit_code range=":-1" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
10 <!-- In case the return code has not been set propery check stderr too -->
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
11 <regex match="Error:" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
12 <regex match="Exception:" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
13 </stdio>
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
14 <version_command><![CDATA[PileOMeth --version]]></version_command>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
15 <command><![CDATA[
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
16 #if $reference_source.reference_source_selector == "cached":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
17 ln -s $reference_source.ref_file.fields.path reference.fasta &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
18 #else:
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
19 ln -s $reference_source.ref_file reference.fasta &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
20 #end if
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
21
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
22 PileOMeth
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
23 $main_task.task
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
24
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
25 #if $main_task.task == "extract":
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
26 -o output
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
27 $main_task.mergeContext
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
28 #if str($main_task.OT).strip() != "":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
29 --OT $main_task.OT
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
30 #end if
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
31 #if str($main_task.OB).strip() != "":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
32 --OB $main_task.OB
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
33 #end if
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
34 #if str($main_task.CTOT).strip() != "":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
35 --CTOT $main_task.CTOT
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
36 #end if
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
37 #if str($main_task.CTOB).strip() != "":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
38 --CTOB $main_task.CTOB
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
39 #end if
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
40 $main_task.keepSingleton
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
41 $main_task.keepDiscordant
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
42 $main_task.fraction
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
43 #end if
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
44
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
45 #if $advanced_options.options=="yes":
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
46 #if $advanced_options.mbias_regionString:
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
47 -r $advanced_options.mbias_regionString
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
48 #end if
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
49 $advanced_options.keepDupes
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
50 $advanced_options.keepSingleton
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
51 -q $advanced_options.min_mapq
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
52 -p $advanced_options.min_phred
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
53 -D $advanced_options.max_pbdepth
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
54 #if $main_task.task == "extract":
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
55 -d $advanced_options.min_pbdepth
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
56 #end if
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
57 $advanced_options.CHG
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
58 $advanced_options.CHH
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
59 #end if
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
60
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
61 reference.fasta
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
62
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
63 $input_sortedAlignBAM
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
64
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
65 #if $main_task.task == "mbias":
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
66 $main_task.keepSingleton_mbias
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
67 $main_task.keepDiscordant_mbias
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
68 out_mbias &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
69 touch out_mbias_OT.svg &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
70 touch out_mbias_OB.svg &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
71 touch out_mbias_CTOT.svg &&
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
72 touch out_mbias_CTOB.svg
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
73 #end if
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
74 ]]></command>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
75 <inputs>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
76 <conditional name="reference_source">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
77 <param name="reference_source_selector" type="select" label="Load reference genome from">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
78 <option value="cached">Local cache</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
79 <option value="history">History</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
80 </param>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
81 <when value="cached">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
82 <param name="ref_file" type="select" label="Using reference genome" help="Reference sequence">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
83 <options from_data_table="all_fasta"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
84 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
85 </param>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
86 </when>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
87 <when value="history">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
88 <param name="ref_file" type="data" format="fasta" label="Use the folloing dataset as the reference sequence" help="REFERENCE_SEQUENCE; You can upload a FASTA sequence to the history and use it as reference" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
89 </when>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
90 </conditional>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
91
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
92 <param name="input_sortedAlignBAM" multiple="False" type="data" format="bam" label="sorted_alignments.bam"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
93 <conditional name="main_task">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
94 <param name="task" type="select" label="What do you want to do?" >
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
95 <option value="extract">Extract methylation metrics from an alignment file in BAM/CRAM format</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
96 <option value="mbias">Determine the position-dependent methylation bias in a dataset, producing diagnostic SVG images</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
97 </param>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
98 <when value="extract">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
99 <param name="mergeContext" type="boolean" checked="false" truevalue="--mergeContext" falsevalue=""
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
100 label="Merge per-Cytosine metrics from CpG and CHG contexts into per-CPG or per-CHG metrics" help="(--mergeContext)" />
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
101 <param name="OT" type="text" value="" label="Original top strand bounds (comma-separated, no spaces)"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
102 help="Inclusion bounds for methylation calls from reads/pairs
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
103 origination from the original top strand. Suggested values can
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
104 be obtained from the MBias program. Each integer represents a
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
105 1-based position on a read. For example --OT A,B,C,D
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
106 translates to, 'Include calls at positions from A through B
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
107 on read #1 and C through D on read #2'. If a 0 is used a any
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
108 position then that is translated to mean start/end of the
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
109 alignment, as appropriate. For example, --OT 5,0,0,0 would
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
110 include all but the first 4 bases on read #1. Users are
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
111 strongly advised to consult a methylation bias plot, for
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
112 example by using the MBias program." />
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
113 <param name="OB" type="text" value="" label="Original bottom strand bounds (comma-separated, no spaces)" />
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
114 <param name="CTOT" type="text" value="" label="Complementary to the original bottom strand bounds (comma-separated, no spaces)" />
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
115 <param name="CTOB" type="text" value="" label="Complementary to the original bottom strand bounds (comma-separated, no spaces)" />
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
116 <param name="keepSingleton" type="boolean" checked="false" truevalue="--keepSingleton" falsevalue="" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
117 <param name="keepDiscordant" type="boolean" checked="false" truevalue="--keepDiscordant" falsevalue="" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
118 <param name="fraction" type="boolean" checked="false" truevalue="--fraction" falsevalue="" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
119
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
120 </when>
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
121 <when value="mbias">
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
122 <param name="keepSingleton_mbias" type="boolean" checked="false" truevalue="--keepSingleton" falsevalue="" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
123 <param name="keepDiscordant_mbias" type="boolean" checked="false" truevalue="--keepDiscordant" falsevalue="" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
124 </when>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
125 </conditional>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
126 <conditional name="advanced_options">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
127 <param name="options" type="select" label="Advanced options">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
128 <option value="">Hide advanced options</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
129 <option value="yes">Display advanced options</option>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
130 </param>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
131 <when value="yes">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
132 <param name="mbias_regionString" type="text" value="" label="Region string in which to extract methylation"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
133 <param name="keepDupes" type="boolean" checked="false" truevalue="--keepDupes" falsevalue=""
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
134 label="By default, any alignment marked as a duplicate is ignored. This option causes them to be incorporated" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
135 <param name="keepSingleton" type="boolean" checked="false" truevalue="--keepSingleton" falsevalue=""
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
136 label="By default, if only one read in a pair aligns (a singleton) then it's ignored." />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
137 <param name="min_mapq" type="integer" value="10" label="Minimum MAPQ threshold to include an alignment (default 10)"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
138 <param name="min_phred" type="integer" value="5" label="Minimum Phred threshold to include a base (default 5). This must be >0."/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
139 <param name="max_pbdepth" type="integer" value="2000" label="Maximum per-base depth (default 2000)"/>
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
140 <param name="min_pbdepth" type="integer" value="1" min="1" label="Minimum per-base depth"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
141 help="Minimum per-base dpeth for reporting output. If you use --mergeContext (above), then this applies to the merged CpG/CHG (default 1). (-d)" />
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
142
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
143 <param name="CHG" type="boolean" checked="false" truevalue="--CHG" falsevalue=""
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
144 label="Additional output file with CHG methylation metrics" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
145 <param name="CHH" type="boolean" checked="false" truevalue="--CHH" falsevalue=""
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
146 label="Additional output file with CHH methylation metrics" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
147 </when>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
148 <when value=""/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
149 </conditional>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
150 </inputs>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
151 <outputs>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
152 <data name="outFileExtractCpG" format="bedgraph" from_work_dir="output_CpG.bedGraph"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
153 label="${tool.name} on ${on_string}">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
154 <filter>main_task['task'] == "extract"</filter>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
155 </data>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
156 <data name="outFileExtractCHG" format="bedgraph" from_work_dir="output_CHG.bedGraph"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
157 label="${tool.name} on ${on_string} (CHG)">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
158 <filter>main_task['task'] == 'extract'</filter>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
159 <filter>advanced_options['options'] == "yes"</filter>
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
160 <filter>advanced_options['CHG']</filter>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
161 </data>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
162 <data name="outFileExtractCHH" format="bedgraph" from_work_dir="output_CHH.bedGraph"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
163 label="${tool.name} on ${on_string} (CHH)">
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
164 <filter>main_task['task'] == 'extract'</filter>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
165 <filter>advanced_options['options'] == "yes"</filter>
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
166 <filter>advanced_options['CHH']</filter>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
167 </data>
1
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
168 <data name="outFileMbiasCpGOT" format="svg" from_work_dir="out_mbias_OT.svg"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
169 label="${tool.name} on ${on_string} (methylation bias, original top strand)">
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
170 <filter>main_task['task'] == 'mbias'</filter>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
171 </data>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
172 <data name="outFileMbiasCpGOB" format="svg" from_work_dir="out_mbias_OB.svg"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
173 label="${tool.name} on ${on_string} (methylation bias, original bottom strand)">
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
174 <filter>main_task['task'] == 'mbias'</filter>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
175 </data>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
176 <data name="outFileMbiasCpGCTOT" format="svg" from_work_dir="out_mbias_CTOT.svg"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
177 label="${tool.name} on ${on_string} (methylation bias, complementary to the original top strand)">
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
178 <filter>main_task['task'] == 'mbias'</filter>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
179 </data>
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
180 <data name="outFileMbiasCpGCTOB" format="svg" from_work_dir="out_mbias_CTOB.svg"
d1b66015effd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit fc3727b1b39cd5654a523d03e0df2b9ac87ddcda
bgruening
parents: 0
diff changeset
181 label="${tool.name} on ${on_string} (methylation bias, complementary to the original bottom strand)">
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
182 <filter>main_task['task'] == 'mbias'</filter>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
183 </data>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
184 </outputs>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
185 <tests>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
186 <test>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
187 <param name="task" value="extract" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
188 <param name="min_mapq" value="2" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
189 <param name="reference_source_selector" value="history" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
190 <param name="ref_file" value="cg100.fa" ftype="fasta" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
191 <param name="input_sortedAlignBAM" value="cg_aln.bam" ftype="bam"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
192 <param name="mergeContext" value="false"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
193 <param name="options" value="yes"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
194 <output name="outFileExtractCpG" file="test_1.bedGraph" ftype="bedgraph" compare="diff"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
195 </test>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
196 <test>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
197 <param name="task" value="mbias" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
198 <param name="min_mapq" value="2" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
199 <param name="options" value="yes"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
200 <param name="reference_source_selector" value="history" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
201 <param name="ref_file" value="cg100.fa" ftype="fasta" />
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
202 <param name="input_sortedAlignBAM" value="cg_aln.bam" ftype="bam"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
203 <output name="outFileMbiasCpG" file="test_2_output.svg" ftype="svg" compare="diff"/>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
204 </test>
2
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
205 <test>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
206 <param name="task" value="extract" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
207 <param name="min_mapq" value="2" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
208 <param name="options" value="yes"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
209 <param name="CHH" value="True"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
210 <param name="reference_source_selector" value="history" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
211 <param name="ref_file" value="cg100.fa" ftype="fasta" />
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
212 <param name="input_sortedAlignBAM" value="cg_aln.bam" ftype="bam"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
213 <param name="mergeContext" value="false"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
214 <param name="options" value="yes"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
215 <output name="outFileExtractCpG" file="test_1.bedGraph" ftype="bedgraph" compare="diff"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
216 <output name="outFileExtractCHH" file="test_2.bedGraph" ftype="bedgraph" compare="diff"/>
cda51d96a9bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit bff5ba839e2cb63792b0d25018460d76eb398002
bgruening
parents: 1
diff changeset
217 </test>
0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
218 </tests>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
219 <help><![CDATA[
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
220 **What it does**
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
221
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
222 PileOMeth (using a PILEup to extract METHylation metrics) will process a coordinate-sorted and indexed BAM or CRAM file containing some form of BS-seq alignments and extract per-base methylation metrics from them. PileOMeth requires an indexed fasta file containing the reference genome as well.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
223
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
224 By default, PileOMeth will only calculate metrics for Cytosines in a CpG context, but metrics for those in CHG and CHH contexts are supported as well.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
225
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
226 **Methylation context**
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
227
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
228 PileOMeth groups all Cytosines into one of three sequence contexts: CpG, CHG, and CHH. Here, H is the IUPAC ambiguity code for any nucleotide other than G. If an N is encountered in the reference sequence, then the context will be assigned to CHG or CHH, as appropriate (e.g., CNG would be categorized as in a CHG context and CNC as in a CHH context). If a Cytosine is close enough to the end of a chromosome/contig such that its context can't be inferred, then it is categorized as CHH (e.g., a Cytosine as the last base of a chromosome is considered as being in a CHH context).
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
229
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
230
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
231 **Output information**
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
232
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
233 If no methylation can be found, the output will be empty.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
234
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
235 Otherwise a variant of bedGraph that's similar to the "coverage" file is produced. In short, each line consists of 6 tab separated columns:
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
236
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
237 1. The chromosome/contig/scaffold name
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
238 2. The start coordinate
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
239 3. The end coordinate
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
240 4. The methylation percentage rounded to an integer
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
241 5. The number of alignments/pairs reporting methylated bases
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
242 6. The number of alignments/pairs reporting unmethylated bases
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
243
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
244 All coordinates are 0-based half open, which conforms to the bedGraph definition. When paired-end reads are aligned, it can often occur that their alignments overlap. In such cases, PileOMeth will not count both reads of the pair in its output, as doing so would lead to incorrect downstream statistical results.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
245
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
246 An example of the output is below::
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
247
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
248 #track type="bedGraph" description="SRR1182519.sorted CpG methylation levels"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
249 #1 25115 25116 100 3 0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
250 #1 29336 29337 50 1 1
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
251
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
252 Note the header line, which starts with "track". The "description" field is used as a label in programs such as IGV. Each of the subsequent lines describe single Cytosines, the 25116th and 29337th base on chromosome 1, respectively. The first position has 3 alignments (or pairs of alignments) indicating methylation and 0 indicating unmethylation (100% methylation) and the second position has 1 alignment each supporting methylation and unmethylation (50% methylation).
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
253
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
254 **Per-CpG/CHG metrics**
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
255
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
256 In many circumstances, it's desireable for metrics from individual Cytosines in a CpG to be merged, producing per-CpG metrics rather than per-Cytosine metrics. This can be accomplished with the **Merge per-Cytosine** parameter. If this is used, then this output::
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
257
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
258 #track type="bedGraph" description="SRR1182519.sorted CpG methylation levels"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
259 #1 25114 25115 100 2 1
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
260 #1 25115 25116 100 3 0
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
261
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
262 is changed to this::
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
263
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
264 #track type="bedGraph" description="SRR1182519.sorted merged CpG methylation levels"
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
265 #1 25114 25116 100 5 1
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
266
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
267 This also works for CHG-level metrics. If bedGraph files containing per-Cytosine metrics already exist, they can be converted to instead contain per-CpG/CHG metrics with PileOMeth mergeContext.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
268
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
269 **Methylation bias plotting and correction**
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
270
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
271 In an ideal experiment, we expect that the probability of observing a methylated C is constant across the length of any given read. In practice, however, there are often increases/decreases in observed methylation rate at the ends of reads and/or more global changes. These are termed methylation bias and including such regions in the extracted methylation metrics will result in noisier and less accurate data. For this reason, users are strongly encouraged to make a methylation bias plot.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
272
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
273 That command will create a methylation bias (mbias for short) plot for each of the strands for which there are valid alignments.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
274 The resulting mbias graphs are in SVG format and can be viewed in most modern web browsers:
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
275
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
276 .. image:: example.svg
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
277
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
278
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
279 If you have paired-end data, both reads in the pair will be shown separately, as is the case above. The program will suggest regions for inclusion ("--OT 2,0,0,98" above) and mark them on the plot, if applicable. The format of this output is described in PileOMeth extract -h. These suggestions should not be accepted blindly; users are strongly encouraged to have a look for themselves and tweak the actual bounds as appropriate. The lines indicate the average methylation percentage at a given position and the shaded regions the 99.9% confidence interval around it. This is useful in gauging how many methylation calls a given position has relative to its neighbors. Note the spike in methylation at the end of read #2 and the corresponding dip at the beginning of read #1. This is common and these regions can be ignored with the suggested trimming bounds. Note also that the numbers refer to the first and last base that should be included during methylation extraction, not the last and first base to ignore!.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
280
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
281 -----
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
282
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
283 **PileOMeth** is a Free and Open Source Software, see more details on the PileOMeth_ Website.
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
284
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
285 .. _PileOMeth: https://github.com/dpryan79/PileOMeth
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
286 ]]></help>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
287 <citations>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
288 </citations>
65575e70af7e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff changeset
289 </tool>