annotate ComMet_wrapper.xml @ 0:dfdfbdd47b32 default tip

migrate from GitHub
author yutaka-saito
date Sun, 19 Apr 2015 20:55:17 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
1 <tool id="ComMet" name="ComMet" version="1.0.0">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
2 <description>Detection of differentially methylated regions from bisulfite-seq mapping data</description>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
3 <!--
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
4 <version_command></version_command>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
5 -->
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
6
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
7 <requirements>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
8 <requirement type="set_environment">TOOLDIR</requirement>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
9 </requirements>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
10
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
11 <command interpreter="perl">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
12 ComMet_wrapper.pl TOOLDIR $intype.mapper
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
13
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
14 #if $intype.mapper=="bsf-call"
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
15 $in1 $in2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
16 #else if $intype.mapper=="commet"
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
17 $in
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
18 #else
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
19
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
20 #end if
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
21
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
22 $outdmc $outdmr
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
23 </command>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
24
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
25 <inputs>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
26 <conditional name="intype">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
27 <param name="mapper" type="select" label="input type">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
28 <option value="bsf-call">bsf-call</option>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
29 <option value="commet">commet</option>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
30 </param>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
31 <when value="bsf-call">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
32 <param name="in1" type="data" format="tabular" label="bsf-call file for sample 1"/>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
33 <param name="in2" type="data" format="tabular" label="bsf-call file for sample 2"/>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
34 </when>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
35 <when value="commet">
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
36 <param name="in" type="data" format="tabular" label="commet input file"/>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
37 </when>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
38 </conditional>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
39
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
40 </inputs>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
41
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
42 <outputs>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
43 <data name="outdmc" format="tabular" label="${tool.name} on ${on_string}: differential methylation at individual cytosine sites"/>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
44 <data name="outdmr" format="tabular" label="${tool.name} on ${on_string}: differentially methylated regions"/>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
45 </outputs>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
46
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
47 <help>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
48 **ComMet**
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
49
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
50 Detection of differentially methylated regions from bisulfite-seq mapping data
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
51
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
52 ------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
53
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
54 **Input format**
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
55
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
56 Let us consider that we detect differentially methylated regions by comparing sample1 and sample2.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
57 Inputs are a pair of two files, each of which contain bisulfite-seq mapping data obtained from sample1 or sample2.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
58 Each file should be in the format supported by the bsf-call tool::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
59
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
60 Col.| Description
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
61 ----+--------------------------------------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
62 1 | chromosome label (e.g. chr1)
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
63 2 | genomic position (0-based)
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
64 3 | strand (+,-)
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
65 4 | mC context (CG, CHG, CHH)
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
66 5 | mC rate (float)
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
67 6 | read coverage
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
68
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
69 Alternatively, you can use one input file, which contains bisulfite-seq mapping data for both samples (commet format)::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
70
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
71 Col.| Description
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
72 ----+--------------------------------------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
73 1 | chromosome name
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
74 2 | 0-based genomic position
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
75 3 | number of reads supporting mC in sample1
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
76 4 | number of reads not supporting mC in sample1
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
77 5 | number of reads supporting mC in sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
78 6 | number of reads not supporting mC in sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
79
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
80 reads supporting mC = C-C matches
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
81 reads not supporting mC = otherwise
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
82
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
83 Make sure chromosome names and genomic positions are sorted by "sort -k1,1 -k2,2n".
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
84
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
85 Note that input files do not contain strand information.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
86 Normally, you should integrate both strands by summing the read counts at two neighbor CpGs,
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
87 i.e. the 5'-CpG-3' in the plus strand, and the neighboring 3'-GpC-5' in the minus strand.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
88 Alternatively, if you are interested in strand-specific DMRs, you can prepare two input files
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
89 for plus and minus strands, and apply them to ComMet separately.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
90
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
91
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
92 ------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
93
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
94 **Output format**
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
95
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
96 Output1 contains information of differential methylation at individual cytosine sites::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
97
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
98 Col.| Description
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
99 ----+--------------------------------------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
100 1 | chromosome name
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
101 2 | 0-based genomic position
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
102 3 | mC ratio in sample1
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
103 4 | mC ratio in sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
104 5 | prob. for hypermethylation (UP) in sample1 against sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
105 6 | prob. for hypomethylation (DOWN) in sample1 against sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
106 7 | prob. for no methylation change (NoCh) between sample1 and sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
107
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
108 Output2 contains information of detected DMRs::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
109
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
110 Col.| Description
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
111 ----+--------------------------------------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
112 1 | chromosome name
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
113 2 | 0-based genomic start position
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
114 3 | 0-based genomic stop position
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
115 4 | direction of differential methylation (UP/DOWN) comparing sample1 to sample2
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
116 5 | log-likelihood ratio score
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
117 6 | log-likelihood ratio score divided by DMR length
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
118
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
119 Make sure output1 and output2 are used properly considering the purpose of your study.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
120 You should use output1 if you are interested only in differential methylation at
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
121 individual cytosine sites (Note that it is the purpose of most existing packages for
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
122 bisulfite sequencing data analysis developed by other groups).
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
123 ComMet is mainly designed for DMR detection, i.e. determining precise boundaries of
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
124 regional differential methylation, even if DMRs include some cytosine sites whose
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
125 observed methylation changes are relatively weak due to limited sequencing depth.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
126 Such an analysis is useful for identifying biologically important DMRs such as
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
127 cis regulatory elements; output2 is suitable for this purpose.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
128
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
129 ------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
130
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
131 **FAQ**
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
132
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
133 \Q. What is the meaning of the error "distance between neighbor CpGs must not be less than 2"?
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
134 ::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
135
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
136 A.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
137 Your input file contains invalid genomic positions.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
138 By definition of CpG, the base next to C must be G, and therefore two neighbor CpGs should be
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
139 separated by at least two bases. Your input file may violate this rule for several reasons.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
140 First, the input file may contain two neighbor CpGs from different strands,
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
141 i.e. the 5'-CpG-3' in the plus strand, and the neighboring 3'-GpC-5' in the minus strand.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
142 See the "Input format" section above for this issue.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
143 Second, the input file may contain cytosines in non-CpG context; just remove them.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
144
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
145
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
146 \Q. The read counts in the example input file are decimals rather than integers. Why?
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
147 ::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
148
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
149 A.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
150 Either decimals or integers can be used for read counts in input files.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
151 The reason that the example input file contains decimals is that some alignment tools produce
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
152 probability-weighted read counts. Of course, you can use your favorite aligners for preparing
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
153 input files that may contain integers only.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
154
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
155
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
156 \Q. Can ComMet compute statistical significance (p-values) rather than likelihood ratio scores?
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
157 ::
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
158
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
159 A.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
160 No. But we are planning to address this issue in the next version of ComMet.
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
161
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
162 ------
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
163
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
164 **Contact**
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
165
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
166 Yutaka Saito
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
167
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
168 yutaka.saito AT aist.go.jp
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
169 </help>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
170
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
171 <citations>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
172 <citation type="doi">10.1093/nar/gkt1373</citation>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
173 </citations>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
174
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
175 </tool>
dfdfbdd47b32 migrate from GitHub
yutaka-saito
parents:
diff changeset
176