annotate parsewig.xml @ 31:35cfb51eb545 draft

Uploaded
author eiriche
date Mon, 03 Dec 2012 03:10:13 -0500
parents 781b796c6b9c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
1 <tool id="parsewig" name="WIG parser">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
2 <command interpreter="bash">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
3 parsewig.sh
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
4 input=$input
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
5 extract=$extract
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
6 #if str($selectContext.context) == "yes":
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
7 context="$selectContext.cpg,$selectContext.chg,$selectContext.chh"
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
8 #end if
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
9 depth=$depth
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
10 cov_out=$coverage
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
11 meth_out=$methylation
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
12 </command>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
13 <inputs>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
14 <param name="input" format="text" type="data" label="Methylation calling output file" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
15 <param name="extract" type="select" label="Which files should be extracted?">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
16 <option value="m">Methylation</option>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
17 <option value="c">Coverage</option>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
18 <option value="b">Methylation and Coverage</option>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
19 </param>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
20
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
21 <conditional name="selectContext">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
22 <param name="context" type="select" label="Limit the output to a specific context?">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
23 <option value="no">No, report all</option>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
24 <option value="yes">Yes</option>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
25 </param>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
26 <when value="no" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
27 <when value="yes">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
28 <param name="cpg" type="boolean" truevalue="cpg" falsevalue="" checked="False" label="report loci in CpG context" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
29 <param name="chg" type="boolean" truevalue="chg" falsevalue="" checked="False" label="report loci in CHG context" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
30 <param name="chh" type="boolean" truevalue="chh" falsevalue="" checked="False" label="report loci in CHH context" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
31 </when>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
32 </conditional>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
33 <param name="depth" type="integer" value="1" label="Minimum sequencing depth to report loci" />
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
34 </inputs>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
35 <outputs>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
36 <data name="methylation" format ="wig" label="WIG parser: Methylation">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
37 <filter>(extract == 'm' or extract == 'b' )</filter>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
38 </data>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
39 <data name="coverage" format ="wig" label="WIG parser: Coverage">
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
40 <filter>(extract == 'c' or extract == 'b' )</filter>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
41 </data>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
42
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
43 </outputs>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
44 <help>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
45 **What it does**
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
46
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
47 This is a parser for the output files coming from "Bismark Methylation Caller" or "BSMAP Methylation Caller". The data is parsed into WIGGLE format.
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
48
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
49 Other options:
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
50 - define context of cytosines should be reported (CpG, CHG, CHH)
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
51 - define the minimum sequencing depth (coverage) of cytosines should be reported
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
52
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
53 **Output format**
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
54
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
55 You get one file for methylation and/or coverage (depending on what you choose under "Which files should be etracted?").
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
56
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
57 The output has the following columns::
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
58
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
59 Column Description
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
60 ------ --------------------------------------------------------
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
61 1 cytosine position
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
62 2 methylation state (in %) / coverage
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
63 (positive value for plus strand / negative value for minus strand)
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
64
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
65 </help>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
66 </tool>
781b796c6b9c Uploaded
eiriche
parents:
diff changeset
67