annotate SVDetect_run_parallel.xml @ 5:ba8c5e544948 draft

Uploaded
author bzeitouni
date Mon, 11 Jun 2012 12:31:07 -0400
parents f7a84d31bd83
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
1 <tool id="svdetect_run_parallel" name="Detect clusters of anomalously mapped pairs">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
2
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
3 <description>and identify structural variants</description>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
4
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
5 <command interpreter="perl">SVDetect_run_parallel.pl
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
6
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
7 #if $getLinks.linking == "linking"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
8 linking
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
9 <!-- -out1 '$links_file' -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
10 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
11 #if $getFilteredLinks.filtering == "filtering"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
12 filtering
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
13 <!--- out2 '$flinks_file' -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
14 #if str($getFilteredLinks.links2SV) == "create"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
15 links2SV
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
16 -out3 '$sv_file'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
17 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
18 #if $getFilteredLinks.file_conversion.file_conversion_select=="convert" and str($getFilteredLinks.file_conversion.links2circos) == "create"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
19 links2circos
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
20 -out4 '$circos_file'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
21 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
22 #if $getFilteredLinks.file_conversion.file_conversion_select=="convert" and str($getFilteredLinks.file_conversion.links2bed) == "create"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
23 links2bed
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
24 -out5 '$bed_file'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
25 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
26 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
27 -conf '$config_file'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
28 -l '$log_file'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
29 -N '$sample_name'
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
30
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
31 </command>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
32
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
33 <inputs>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
34 <param name="sample_name" type="text" value="sample" label="Sample Name"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
35 <param name="mates_file" format="bam" type="data" label="Input BAM file (.ab.bam)"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
36 <param name="cmap_file" format="len" type="data" label="Chromosomes list file (.len)" help="Tabulated file format with Chromosome ID (integer from 1), name and length"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
37 <param name="mates_orientation" type="select" format="txt" label="Type of sequencing technology and libraries">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
38 <option value="FR">Illumina paired-ends</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
39 <option value="RF">Illumina mate-pairs</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
40 <option value="FR">SOLiD paired-ends</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
41 <option value="RR">SOLiD mate-pairs</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
42 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
43 <param name="read1_length" type="integer" size="10" value="50" label="Read 1 length (bp)" help="Length of the first read in a pair (left read)"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
44 <param name="read2_length" type="integer" size="10" value="50" label="Read 2 length (bp)" help="Length of the second read in a pair (right read)"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
45 <param name="sv_type" type="select" format="txt" label="Type of SV to detect">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
46 <option value="all">all types of SVs</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
47 <option value="intra">intrachromosomal SVs only</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
48 <option value="inter">interchromosomal SVs only</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
49 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
50
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
51 <conditional name="getLinks">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
52 <param name="linking" type="select" label="Linking procedure" help="Detection and isolation of links">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
53 <option value="linking">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
54 <option value="">No, already done</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
55 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
56 <when value="">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
57 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
58 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
59 <when value="linking">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
60 <param name="splitmate" label="Do you want to split the original mate file per chromosome for parallel computing?" type="boolean" truevalue="split" falsevalue="do_not_split" checked="True" help="Untick it if already done"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
61 <param name="window_size" type="integer" size="20" value="3000" label="Window size (bp)" help="Equal to at least “2µ+2√2σ"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
62 <param name="step_length" type="integer" size="20" value="250" label="Step length size (bp)" help="Equal to 1/2 or 1/4 of the window size"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
63 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
64 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
65
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
66 <conditional name="getFilteredLinks">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
67 <param name="filtering" type="select" label="Filtering procedure" help="Filtering of links according different parameters and thresholds">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
68 <option value="filtering">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
69 <option value="">No</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
70 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
71 <when value="">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
72 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
73 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
74 <when value="filtering">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
75
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
76 <param name="splitlink" label="Do you want to split the original link file per chromosome for parallel computing?" type="boolean" truevalue="split" falsevalue="do_not_split" checked="False" help="Untick it if (the linking is) already done"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
77 <param name="chromosomes" type="text" size="20" label="List of chromosome names to keep or exclude"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
78 <param name="nb_pairs_threshold" type="integer" size="20" value="5" label="Minimum number of pairs in a cluster"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
79
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
80 <conditional name="filter1">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
81 <param name="strand_filtering" type="select" label="Strand filtering procedure">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
82 <option value="strand">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
83 <option value="">No</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
84 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
85 <when value="">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
86 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
87 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
88 <when value="strand">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
89
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
90 <conditional name="filter2">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
91 <param name="order_filtering" type="select" label="Order filtering procedure">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
92 <option value="order">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
93 <option value="">No</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
94 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
95 <when value="">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
96 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
97 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
98 <when value="order">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
99
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
100 <conditional name="filter3">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
101 <param name="insert_size_filtering" type="select" label="Insert-size filtering procedure">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
102 <option value="insert">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
103 <option value="">No</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
104 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
105 <when value="">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
106 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
107 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
108 <when value="insert">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
109 <param name="indel_sigma_threshold" type="float" size="20" value="3" label="Minimal number of sigma fold for the insert size filtering and to call insertions and deletions"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
110 <param name="dup_sigma_threshold" type="float" size="20" value="3" label="minimal number of sigma fold for the insert size filtering to call tandem duplications"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
111 <param name="singleton_sigma_threshold" type="float" size="20" value="4" label="Minimal number of sigma fold for the insert size filtering to call singletons" help="for Illumina mate-pairs only"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
112 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
113 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
114
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
115 <param name="mu_length" type="integer" size="20" value="3000" label="Mean insert size value (µ) of normally mapped mate-pairs, in bp"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
116 <param name="sigma_length" type="integer" size="20" value="250" label="Calculated sd value (σ) from the distribution of normally mapped mate-pairs, in bp"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
117 <param name="nb_pairs_order_threshold" type="integer" size="20" value="2" label="Minimal number of pairs in a subgroup of paired-end reads for balanced events"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
118 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
119 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
120
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
121 <param name="final_score_threshold" type="float" size="20" value="1.0" label="Minimal final filtering score for calling SVs" help="A value of 1 means all the pairs in a cluster were consistent between each other after applying filters"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
122 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
123 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
124
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
125 <param name="links2SV" label="Do you want to have filtered links in a tabulated file format showing significant SVs?" type="boolean" truevalue="create" falsevalue="do_not_create" checked="True"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
126
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
127 <conditional name="file_conversion">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
128 <param name="file_conversion_select" type="select" label="Output file conversion" help="Converts filtered links to Circos/BED files format for graphical view of SVs">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
129 <option value="do_not_convert">No</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
130 <option value="convert">Yes</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
131 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
132 <when value="do_not_convert">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
133 <!-- do nothing here -->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
134 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
135 <when value="convert">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
136 <param name="links2circos" label="Converts the link list to the Circos link format" type="boolean" truevalue="create" falsevalue="do_not_create" checked="True"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
137 <param name="links2bed" label="Converts the link list to the UCSC BED format" type="boolean" truevalue="create" falsevalue="do_not_create" checked="False"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
138 <param name="organism_id" type="text" size="10" value="hs" label="Organism ID"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
139 <repeat name="color_code" title="Color-code" min="1" max="7">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
140 <param name="color" type="select" label="Color">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
141 <option value="grey">grey</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
142 <option value="black">black</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
143 <option value="blue">blue</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
144 <option value="green">green</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
145 <option value="purple">purple</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
146 <option value="orange">orange</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
147 <option value="red">red</option>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
148 </param>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
149 <param name="interval" type="text" value="1,3" label="Interval"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
150 </repeat>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
151 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
152 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
153 </when>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
154 </conditional>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
155 </inputs>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
156
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
157
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
158 <outputs>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
159 <!--<data format="txt" name="links_file" label="svdetect.links">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
160 <filter>getLinks['linking']=="linking"</filter>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
161 </data>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
162 <data format="txt" name="flinks_file" label="svdetect.links.filtered">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
163 <filter>getFilteredLinks['filtering']=="filtering"</filter>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
164 </data>-->
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
165 <data format="sv" name="sv_file" label="${sample_name}.sv">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
166 <filter>(
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
167 getFilteredLinks['filtering']=="filtering" and
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
168 getFilteredLinks['links2SV'] is True
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
169 )
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
170 </filter>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
171 </data>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
172 <data format="segdup" name="circos_file" label="${sample_name}.segdup">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
173 <filter>(
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
174 getFilteredLinks['filtering']=="filtering" and
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
175 getFilteredLinks['file_conversion']['file_conversion_select']=="convert" and
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
176 getFilteredLinks['file_conversion']['links2circos'] is True
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
177 )
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
178 </filter>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
179 </data>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
180 <data format="bed" name="bed_file" label="${sample_name}.bed">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
181 <filter>(
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
182 getFilteredLinks['filtering']=="filtering" and
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
183 getFilteredLinks['file_conversion']['file_conversion_select']=="convert" and
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
184 getFilteredLinks['file_conversion']['links2bed'] is True
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
185 )
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
186 </filter>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
187 </data>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
188 <data format="txt" name="log_file" label="${sample_name}.svdetect_run.log"/>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
189 </outputs>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
190
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
191
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
192
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
193 <configfiles>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
194 <configfile name="config_file">
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
195 &lt;general&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
196 input_format = bam
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
197 sv_type = ${sv_type}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
198 mates_orientation=${mates_orientation}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
199 read1_length=${read1_length}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
200 read2_length=${read2_length}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
201 mates_file=${mates_file}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
202 cmap_file=${cmap_file}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
203 tmp_dir=$__new_file_path__/svdetect/tmp
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
204 output_dir=$__new_file_path__/svdetect
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
205 num_threads=8
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
206 &lt;/general&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
207
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
208 #if $getLinks.linking == "linking"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
209 &lt;detection&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
210 #if str($getLinks.splitmate) == "split"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
211 split_mate_file=1
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
212 #else
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
213 split_mate_file=0
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
214 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
215 window_size=${getLinks.window_size}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
216 step_length=${getLinks.step_length}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
217 &lt;/detection&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
218 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
219
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
220 #if $getFilteredLinks.filtering == "filtering"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
221 &lt;filtering&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
222 #if str($getFilteredLinks.splitlink) == "split"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
223 split_link_file=1
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
224 #else
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
225 split_link_file=0
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
226 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
227 #if str($getFilteredLinks.chromosomes) != ""
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
228 chromosomes=${getFilteredLinks.chromosomes}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
229 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
230 nb_pairs_threshold=${getFilteredLinks.nb_pairs_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
231 #if $getFilteredLinks.filter1.strand_filtering == "strand"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
232 strand_filtering=1
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
233 final_score_threshold=${getFilteredLinks.filter1.final_score_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
234 #if $getFilteredLinks.filter1.filter2.order_filtering == "order"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
235 order_filtering=1
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
236 mu_length=${getFilteredLinks.filter1.filter2.mu_length}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
237 sigma_length=${getFilteredLinks.filter1.filter2.sigma_length}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
238 nb_pairs_order_threshold=${getFilteredLinks.filter1.filter2.nb_pairs_order_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
239 #if $getFilteredLinks.filter1.filter2.filter3.insert_size_filtering == "insert"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
240 insert_size_filtering=1
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
241 indel_sigma_threshold=${getFilteredLinks.filter1.filter2.filter3.indel_sigma_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
242 dup_sigma_threshold=${getFilteredLinks.filter1.filter2.filter3.dup_sigma_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
243 singleton_sigma_threshold=${getFilteredLinks.filter1.filter2.filter3.singleton_sigma_threshold}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
244 #else
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
245 insert_size_filtering=0
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
246 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
247 #else
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
248 order_filtering=0
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
249 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
250 #else
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
251 strand_filtering=0
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
252 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
253 &lt;/filtering&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
254 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
255
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
256 #if $getFilteredLinks.filtering == "filtering"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
257 #if $getFilteredLinks.file_conversion.file_conversion_select == "convert"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
258 #if str($getFilteredLinks.file_conversion.links2circos) == "create"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
259 &lt;circos&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
260 organism_id=${getFilteredLinks.file_conversion.organism_id}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
261 &lt;colorcode&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
262 #for $color_repeat in $getFilteredLinks.file_conversion.color_code
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
263 ${color_repeat.color}=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
264 #end for
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
265 &lt;/colorcode&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
266 &lt;/circos&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
267 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
268 #if str($getFilteredLinks.file_conversion.links2bed) == "create"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
269 &lt;bed&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
270 &lt;colorcode&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
271 #for $color_repeat in $getFilteredLinks.file_conversion.color_code
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
272 #if str($color_repeat.color)== "grey"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
273 190,190,190=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
274 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
275 #if str($color_repeat.color)== "black"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
276 0,0,0=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
277 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
278 #if str($color_repeat.color)== "blue"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
279 0,0,255=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
280 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
281 #if str($color_repeat.color)== "green"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
282 0,255,0=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
283 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
284 #if str($color_repeat.color)== "purple"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
285 153,50,205=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
286 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
287 #if str($color_repeat.color)== "orange"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
288 255,140,0=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
289 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
290 #if str($color_repeat.color)== "red"
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
291 255,0,0=${color_repeat.interval}
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
292 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
293 #end for
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
294 &lt;/colorcode&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
295 &lt;/bed&gt;
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
296 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
297 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
298 #end if
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
299 </configfile>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
300 </configfiles>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
301
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
302 <help>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
303 **What it does**
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
304
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
305 SVDetect - Version : 0.8
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
306
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
307 Parallel version (nCPU=8)
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
308
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
309 SVDetect is a application for the isolation and the type prediction of intra- and inter-chromosomal rearrangements from paired-end/mate-pair sequencing data provided by the high-throughput sequencing technologies
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
310
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
311 This tool aims to identifying structural variations (SVs) with both clustering and sliding-window strategies, and helping in their visualization at the genome scale.
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
312 SVDetect is compatible with SOLiD and Illumina (>=1.3) reads.
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
313
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
314 Manual documentation available at the http://svdetect.sourceforge.net/Site/Manual.html
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
315
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
316 -----
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
317
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
318 .. class:: infomark
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
319
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
320 Contact Bruno Zeitouni (bruno.zeitouni@curie.fr) for any questions or concerns about the Galaxy implementation of SVDetect.
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
321
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
322 </help>
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
323
f7a84d31bd83 Uploaded
bzeitouni
parents:
diff changeset
324 </tool>