Mercurial > repos > bgruening > pileometh
annotate PileOMeth.xml @ 0:65575e70af7e draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
author | bgruening |
---|---|
date | Fri, 18 Sep 2015 11:39:55 -0400 |
parents | |
children | d1b66015effd |
rev | line source |
---|---|
0
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
1 <tool id="pileometh" name="PileOMeth" version="0.1.5"> |
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> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
4 <requirement type="package" version="0.1.5">pileometh</requirement> |
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> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
14 <version_command><![CDATA[PileOMeth 2>&1 | head -n 2 | tail -n 1]]></version_command> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
15 <command><![CDATA[ |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
16 ln -s $reference_source.ref_file reference.fasta && |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
17 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
18 PileOMeth |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
19 $main_task.task |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
20 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
21 #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
|
22 -o output |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
23 $main_task.mergeContext |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
24 #end if |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
25 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
26 #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
|
27 #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
|
28 -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
|
29 #end if |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
30 $advanced_options.keepDupes |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
31 $advanced_options.keepSingleton |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
32 -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
|
33 -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
|
34 -D $advanced_options.max_pbdepth |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
35 $advanced_options.CHG |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
36 $advanced_options.CHH |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
37 #end if |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
38 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
39 reference.fasta |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
40 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
41 $input_sortedAlignBAM |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
42 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
43 #if $main_task.task == "mbias": |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
44 out_mbias |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
45 #end if |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
46 ]]></command> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
47 <inputs> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
48 <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
|
49 <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
|
50 <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
|
51 <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
|
52 </param> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
53 <when value="cached"> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
54 <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
|
55 <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
|
56 <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
|
57 </param> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
58 </when> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
59 <when value="history"> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
60 <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
|
61 </when> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
62 </conditional> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
63 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
64 <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
|
65 <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
|
66 <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
|
67 <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
|
68 <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
|
69 </param> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
70 <when value="extract"> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
71 <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
|
72 label="Merge per-Cytosine metrics from CpG and CHG contexts into per-CPG or per-CHG metrics" help="(--mergeContext)" /> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
73 </when> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
74 <when value="mbias"/> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
75 </conditional> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
76 <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
|
77 <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
|
78 <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
|
79 <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
|
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="yes"> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
82 <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
|
83 <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
|
84 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
|
85 <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
|
86 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
|
87 <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
|
88 <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
|
89 <param name="max_pbdepth" type="integer" value="2000" label="Maximum per-base depth (default 2000)"/> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
90 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
91 <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
|
92 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
|
93 <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
|
94 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
|
95 </when> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
96 <when value=""/> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
97 </conditional> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
98 </inputs> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
99 <outputs> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
100 <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
|
101 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
|
102 <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
|
103 </data> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
104 <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
|
105 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
|
106 <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
|
107 <filter>advanced_options['options'] == "yes"</filter> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
108 <filter>advanced_options['CHG'] == "--CHG"</filter> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
109 </data> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
110 <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
|
111 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
|
112 <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
|
113 <filter>advanced_options['options'] == "yes"</filter> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
114 <filter>advanced_options['CHH'] == "--CHH" </filter> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
115 </data> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
116 <data name="outFileMbiasCpG" format="svg" from_work_dir="out_mbias_OT.svg" |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
117 label="${tool.name} on ${on_string} (methylation bias)"> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
118 <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
|
119 </data> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
120 </outputs> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
121 <tests> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
122 <test> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
123 <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
|
124 <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
|
125 <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
|
126 <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
|
127 <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
|
128 <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
|
129 <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
|
130 <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
|
131 </test> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
132 <test> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
133 <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
|
134 <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
|
135 <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
|
136 <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
|
137 <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
|
138 <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
|
139 <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
|
140 </test> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
141 </tests> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
142 <help><![CDATA[ |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
143 **What it does** |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
144 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
145 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
|
146 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
147 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
|
148 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
149 **Methylation context** |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
150 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
151 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
|
152 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
153 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
154 **Output information** |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
155 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
156 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
|
157 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
158 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
|
159 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
160 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
|
161 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
|
162 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
|
163 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
|
164 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
|
165 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
|
166 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
167 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
|
168 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
169 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
|
170 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
171 #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
|
172 #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
|
173 #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
|
174 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
175 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
|
176 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
177 **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
|
178 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
179 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
|
180 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
181 #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
|
182 #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
|
183 #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
|
184 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
185 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
|
186 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
187 #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
|
188 #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
|
189 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
190 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
|
191 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
192 **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
|
193 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
194 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
|
195 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
196 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
|
197 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
|
198 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
199 .. image:: example.svg |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
200 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
201 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
202 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
|
203 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
204 ----- |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
205 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
206 **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
|
207 |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
208 .. _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
|
209 ]]></help> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
210 <citations> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
211 </citations> |
65575e70af7e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/pileometh commit 033c712216994524fdd120b771052ac4ca9e51c0-dirty
bgruening
parents:
diff
changeset
|
212 </tool> |