annotate bsmap.xml @ 9:385d004f3cb1 draft

Uploaded
author eiriche
date Fri, 30 Nov 2012 05:10:53 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
1 <tool id="bsmap" name="BSMAP Mapper">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
2 <requirements>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
3 <requirement type='package'>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
4 bsmap
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
5 </requirement>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
6 </requirements>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
7 <command interpreter="bash">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
8 bsmap_wrapper.sh
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
9 ##Reference genome
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
10 ##ref="${reference.fields.path}"
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
11 #if $refGenomeSource.genomeSource == "history":
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
12 ref="${refGenomeSource.myFile.extra_files_path}/${refGenomeSource.myFile.metadata.base_name}"
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
13 #else
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
14 ref="${refGenomeSource.builtin.fields.path}"
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
15 #end if
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
16 ##Output files (SAM output, BSMAP summary)
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
17 mapped=$mapped
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
18 ##Temp directory
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
19 tempdir=$mapped.files_path
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
20 summary=$summary
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
21 #if str($singlePaired.sPaired) == "single":
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
22 library="single"
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
23 mate1=$singlePaired.sInput1
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
24 #if str($singlePaired.sParams.sSettingsType) == "full":
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
25 fullparam=true
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
26 qual=$singlePaired.sParams.qual
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
27 threshold=$singlePaired.sParams.threshold
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
28 lowqual=$singlePaired.sParams.lowqual
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
29 adapter=$singlePaired.sParams.adapter
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
30 firstn=$singlePaired.sParams.firstn
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
31 repeat_reads=$singlePaired.sParams.repeat_reads
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
32 seed_size=$singlePaired.sParams.seed_size
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
33 mismatch=$singlePaired.sParams.mismatch
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
34 equal_best=$singlePaired.sParams.equal_best
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
35 start=$singlePaired.sParams.start
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
36 end=$singlePaired.sParams.end
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
37 index_interval=$singlePaired.sParams.index_interval
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
38 seed_random=$singlePaired.sParams.seed_random
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
39 rrbs=$singlePaired.sParams.rrbs
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
40 mode=$singlePaired.sParams.mode
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
41 align_info=$singlePaired.sParams.align_info
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
42 #end if
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
43 #else:
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
44 library="paired"
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
45 mate1=$singlePaired.pInput1
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
46 mate2=$singlePaired.pInput2
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
47 unpaired=$unpaired
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
48 #if str($singlePaired.pParams.pSettingsType) == "full":
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
49 fullparam=true
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
50 qual=$singlePaired.pParams.qual
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
51 threshold=$singlePaired.pParams.threshold
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
52 lowqual=$singlePaired.pParams.lowqual
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
53 adapter=$singlePaired.pParams.adapter
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
54 firstn=$singlePaired.pParams.firstn
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
55 repeat_reads=$singlePaired.pParams.repeat_reads
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
56 seed_size=$singlePaired.pParams.seed_size
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
57 mismatch=$singlePaired.pParams.mismatch
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
58 equal_best=$singlePaired.pParams.equal_best
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
59 start=$singlePaired.pParams.start
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
60 end=$singlePaired.pParams.end
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
61 index_interval=$singlePaired.pParams.index_interval
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
62 seed_random=$singlePaired.pParams.seed_random
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
63 rrbs=$singlePaired.pParams.rrbs
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
64 mode=$singlePaired.pParams.mode
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
65 align_info=$singlePaired.pParams.align_info
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
66 maxinsert=$singlePaired.pParams.maxinsert
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
67 mininsert=$singlePaired.pParams.mininsert
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
68 #end if
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
69 #end if
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
70 </command>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
71 <inputs>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
72
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
73 <conditional name="refGenomeSource">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
74 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in reference?">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
75 <option value="builtin">Use a built-in index</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
76 <option value="history">Use one from the history</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
77 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
78 <when value="builtin">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
79 <param name="index" type="select" label="Select a reference genome">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
80 <options from_data_table="bsmap_fasta">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
81 <filter type="sort_by" column="2" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
82 <validator type="no_options" message="No reference genomes are available" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
83 </options>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
84 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
85 </when>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
86 <when value="history">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
87 <param name="myFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
88 </when>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
89 </conditional>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
90
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
91 <conditional name="singlePaired">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
92 <param name="sPaired" type="select" label="Is this library mate-paired?">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
93 <option value="single">Single-end</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
94 <option value="paired">Paired-end</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
95 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
96 <when value="single">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
97 <param name="sInput1" type="data" format="fastq,fasta" label="FASTQ file" help="Must have ASCII encoded quality scores"/>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
98 <conditional name="sParams">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
99 <param name="sSettingsType" type="select" label="BSMAP settings to use" help="For most mapping needs use Commonly used settings. If you want full control use Full parameter list">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
100 <option value="preSet">Commonly used</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
101 <option value="full">Full parameter list</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
102 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
103 <when value="preSet" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
104 <when value="full">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
105 <param name="qual" type="select" label="Select the type of FastQ qualities">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
106 <option value="33">phred33-quals</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
107 <option value="64">phred64-quals</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
108 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
109 <param name="threshold" type="integer" value="0" label="Quality threshold in trimming" help="0-40, default=0 (no trim)" min="0" max="40" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
110 <param name="lowqual" type="integer" value="5" label="Filter low-quality reads containing >n Ns" help="default=5" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
111 <param name="adapter" type="text" value="none" label="3-end adapter sequence" help="default: none (no trim)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
112 <param name="firstn" type="integer" value="144" label="Map the first N nucleotides of the read" help="default:144 (map the whole read)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
113
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
114 <param name="repeat_reads" type="select" label="How to report repeat hits">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
115 <option value="0">none(unique hit only)</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
116 <option value="1">random one</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
117 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
118
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
119 <param name="seed_size" type="integer" value="16" label="Seed size" min="8" max="16" help="default=16(WGBS mode), 12(RRBS mode)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
120 <param name="mismatch" type="integer" value="2" label="Maximum number of mismatches allowed on a read" max="15" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
121 <param name="equal_best" type="integer" value="20" label="Maximum number of equal best hits to count" max="1000" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
122 <param name="start" type="integer" value="1" label="Start from the Nth read or read pair" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
123 <param name="end" type="integer" value="4294967295" label="End at the Nth read or read pair" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
124 <param name="index_interval" type="integer" value="4" label="Index interval" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
125 <param name="seed_random" type="integer" value="-1" label="Seed for random number generation used in selecting multiple hits" help="other seed values generate pseudo random number based on read index number, to allow reproducible mapping results" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
126 <param name="rrbs" type="text" value="none" label="Activating RRBS mapping mode and set restriction enzyme digestion sites" help="digestion position marked by '-', example: -D C-CGG for MspI digestion. default: none (whole genome shotgun bisulfite mapping mode)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
127 <param name="mode" type="select" label="Set mapping strand information">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
128 <option value="0">only map to 2 forward strands</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
129 <option value="1">map SE or PE reads to all 4 strands</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
130 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
131 <param name="align_info" type="text" value="none" label="Set alignment information for the additional nucleotide transition" help="is in the form of two different nucleotides N1N2,indicating N1 in the reads could be mapped to N2 in the reference sequences. default: -M TC, corresponds to C=>U(T) transition in bisulfite conversion. example: -M GA could be used to detect A=>I(G) transition in RNA editing." />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
132 </when> <!-- full -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
133 </conditional> <!-- sParams -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
134 </when> <!-- single -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
135
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
136 <when value="paired">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
137 <param name="pInput1" type="data" format="fastq,fasta" label="Forward FASTQ file" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
138 <param name="pInput2" type="data" format="fastq,fasta" label="Reverse FASTQ file" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
139
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
140 <conditional name="pParams">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
141 <param name="pSettingsType" type="select" label="BSMAP settings to use" help="For most mapping needs use Commonly used settings. If you want full control use Full parameter list">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
142 <option value="preSet">Commonly used</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
143 <option value="full">Full parameter list</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
144 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
145 <when value="preSet" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
146 <when value="full">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
147 <param name="qual" type="select" label="Select the type of FastQ qualities">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
148 <option value="33">phred33-quals</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
149 <option value="64">phred64-quals</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
150 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
151
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
152 <param name="mininsert" type="integer" value="28" label="Minimal insert size allowed" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
153 <param name="maxinsert" type="integer" value="500" label="Maximal insert size allowed" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
154
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
155 <param name="threshold" type="integer" value="0" label="Quality threshold in trimming" help="0-40, default=0 (no trim)" min="0" max="40" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
156 <param name="lowqual" type="integer" value="5" label="Filter low-quality reads containing >n Ns" help="default=5" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
157 <param name="adapter" type="text" value="none" label="3-end adapter sequence" help="default: none (no trim)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
158 <param name="firstn" type="integer" value="144" label="Map the first N nucleotides of the read" help="default:144 (map the whole read)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
159
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
160 <param name="repeat_reads" type="select" label="How to report repeat hits">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
161 <option value="0">none(unique hit only)</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
162 <option value="1">random one</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
163 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
164
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
165 <param name="seed_size" type="integer" value="16" label="Seed size" min="8" max="16" help="default=16(WGBS mode), 12(RRBS mode)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
166 <param name="mismatch" type="integer" value="2" label="Maximum number of mismatches allowed on a read" max="15" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
167 <param name="equal_best" type="integer" value="20" label="Maximum number of equal best hits to count" max="1000" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
168 <param name="start" type="integer" value="1" label="Start from the Nth read or read pair" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
169 <param name="end" type="integer" value="4294967295" label="End at the Nth read or read pair" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
170 <param name="index_interval" type="integer" value="4" label="Index interval" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
171 <param name="seed_random" type="integer" value="-1" label="Seed for random number generation used in selecting multiple hits" help="other seed values generate pseudo random number based on read index number, to allow reproducible mapping results" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
172 <param name="rrbs" type="text" value="none" label="Activating RRBS mapping mode and set restriction enzyme digestion sites" help="digestion position marked by '-', example: -D C-CGG for MspI digestion. default: none (whole genome shotgun bisulfite mapping mode)" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
173 <param name="mode" type="select" label="Set mapping strand information">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
174 <option value="0">only map to 2 forward strands</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
175 <option value="1">map SE or PE reads to all 4 strands</option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
176 </param>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
177 <param name="align_info" type="text" value="none" label="Set alignment information for the additional nucleotide transition" help="is in the form of two different nucleotides N1N2,indicating N1 in the reads could be mapped to N2 in the reference sequences. default: -M TC, corresponds to C=>U(T) transition in bisulfite conversion. example: -M GA could be used to detect A=>I(G) transition in RNA editing." />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
178
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
179
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
180 </when> <!-- full -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
181 </conditional> <!-- pParams -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
182 </when> <!-- paired -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
183 </conditional> <!-- singlePaired -->
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
184
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
185
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
186 </inputs>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
187 <outputs>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
188 <data name="mapped" format="sam" label="BSMAP Mapped Reads">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
189 <actions>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
190 <action type="metadata" name="dbkey">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
191 <option type="from_data_table" name="bsmap_fasta" column="1" offset="0">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
192 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
193 <filter type="param_value" ref="reference" column="0"/>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
194 </option>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
195 </action>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
196 </actions>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
197 </data>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
198 <data name="summary" format="txt" label="BSMAP Mapping Summary" />
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
199 <data name="unpaired" format ="sam" label="BSMAP Unpaired Hits">
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
200 <filter>(singlePaired['sPaired'] == 'paired')</filter>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
201 </data>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
202
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
203 </outputs>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
204 <help>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
205 **What it does**
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
206
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
207 BSMAP is a short reads mapping software for bisulfite sequencing reads. It has the following features:
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
208
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
209 - read length up to 144 nt, allow up to 15 mismatches, gap size up to 3 bp.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
210
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
211 - support single end and pair end mapping. support multi-thread mapping.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
212
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
213 - support both "Lister protocol" (sequence 2 forward strands only) and "Cokus protocol" (sequence all 4 bisulfite converted strands)
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
214
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
215 - reads are directly mapped to original reference genome sequence, no need to preprocess the reads and reference genome to convert C to T.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
216
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
217 - support both whole genome bisulfite sequencing (WGBS) mode and reduced representation bisulfite sequencing (RRBS) mode, allow changing the digestion site information to support different digestion enzymes for RRBS.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
218
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
219 - allow trimming adapter sequences and low quality nucleotides from the 3'end of reads
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
220
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
221 - allow trade off between speed/memory usage/mapping sensitivity. For human genome, the RRBS mode uses ~3GB. In WGBS mode, the typical memory usage is ~9GB, but can be as low as 5GB.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
222
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
223 - allow alignment for other nucleotide transitions, for example, can be set to detect the A=>I(G) transition in RNA editing.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
224
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
225 .. _BSMAP: http://code.google.com/p/bsmap/
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
226
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
227 **Input formats**
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
228
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
229 BSMAP accepts files in FASTA/FASTQ format.
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
230
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
231 **Outputs**
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
232
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
233 The output contains the following files:
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
234
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
235 - mapped reads in SAM format
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
236
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
237 - mapping summary
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
238
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
239 - unpaired hits (only for paired-end mapping)
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
240
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
241 </help>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
242
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
243 <tests>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
244 </tests>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
245 </tool>
385d004f3cb1 Uploaded
eiriche
parents:
diff changeset
246