|
10
|
1 <tool id="bismark_meth_caller" name="Bismark Methylation Caller">
|
|
|
2 <requirements>
|
|
|
3 <requirement type="package">
|
|
|
4 Bismark
|
|
|
5 </requirement>
|
|
|
6 </requirements>
|
|
|
7 <command interpreter="bash">
|
|
|
8 bismark_meth_caller.sh
|
|
|
9 input=$bismark_sam
|
|
|
10 method=$single_paired
|
|
|
11 output=$output
|
|
|
12 tempdir=$output.files_path
|
|
|
13
|
|
|
14 </command>
|
|
|
15 <inputs>
|
|
|
16 <param name="single_paired" type="select" label="Please select whether Reads are single-end or paired-end">
|
|
|
17 <option value="s">Single-end</option>
|
|
|
18 <option value="p">Paired-end</option>
|
|
|
19 </param>
|
|
|
20 <param format="sam" name="bismark_sam" type="data" label="Bismark mapping output file" help="Must be in SAM format"/>
|
|
|
21 </inputs>
|
|
|
22 <outputs>
|
|
|
23 <data name="output" format ="bed" label="Bismark methylation output" />
|
|
|
24 </outputs>
|
|
|
25 <tests>
|
|
|
26 <test>
|
|
|
27 <param name="bismark_sam" value="bismark_mapped_reads_single.sam" ftype="sam"/>
|
|
|
28 <param name="single_paired" value="s"/>
|
|
|
29 <output name="output" file="bismark_methylation_output_single.bed"/>
|
|
|
30 </test>
|
|
|
31 <test>
|
|
|
32 <param name="bismark_sam" value="bismark_mapped_reads_single.sam" ftype="sam"/>
|
|
|
33 <param name="single_paired" value="p"/>
|
|
|
34 <output name="output" file="bismark_methylation_output_paired.bed"/>
|
|
|
35 </test>
|
|
|
36 </tests>
|
|
|
37 <help>
|
|
|
38 **What it does**
|
|
|
39
|
|
|
40 This methylation caller parses the Bismark SAM output file into bed format. You only need to specify whether the reads are single-end or paired-end
|
|
|
41
|
|
|
42
|
|
|
43 **Output format** ::
|
|
|
44
|
|
|
45
|
|
|
46 Column Description
|
|
|
47 ---------------------- --------------------------------------
|
|
|
48 1 chr chromosome
|
|
|
49 2 pos position
|
|
|
50 3 strand strand
|
|
|
51 4 context context (CHH,CHG,CpG)
|
|
|
52 5 coverage totally sequenced Cs at that position
|
|
|
53 6 methylated methylated Cs at that position
|
|
|
54 7 percentage methylated percentage of 6
|
|
|
55 </help>
|
|
|
56 </tool>
|
|
|
57
|