annotate cloudmap.xml @ 6:85214e4428fd

upgrade to mimodd version 0.1.7.0
author Wolfgang Maier
date Fri, 11 Sep 2015 16:25:49 +0200
parents bdd1995c9e66
children 3619e85a5477
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
1 <tool id="nacreousmap" name="NacreousMap" version="0.1.7.0">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
2 <description>Map causative mutations by multi-variant linkage analysis.</description>
2
72d20758ba2c final upload
wolma
parents: 1
diff changeset
3 <macros>
72d20758ba2c final upload
wolma
parents: 1
diff changeset
4 <import>toolshed_macros.xml</import>
72d20758ba2c final upload
wolma
parents: 1
diff changeset
5 </macros>
72d20758ba2c final upload
wolma
parents: 1
diff changeset
6 <expand macro="requirements"/>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
7 <version_command>mimodd version -q</version_command>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
8 <command>
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
9 mimodd map "${opt.source.ifile}" ${opt.mode}
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
10 #if $str($opt.source.sample):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
11 -m "${opt.source.sample}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
12 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
13 #if $str($opt.source.related_parent_sample):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
14 -r "${opt.source.related_parent_sample}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
15 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
16 #if $str($opt.source.unrelated_parent_sample):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
17 -u "${opt.source.unrelated_parent_sample}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
18 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
19 $opt.source.infer_missing
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
20 -o "$ofile"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
21 #if $str($opt.source.seqdict_required.required) == "yes":
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
22 -s "${opt.source.seqdict_required.seqdict}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
23 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
24 $opt.source.norm
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
25 #if $len($opt.source.bin_sizes):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
26 --bin-sizes
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
27 #for $size in $opt.source.bin_sizes:
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
28 "${size.bin_size}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
29 #end for
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
30 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
31 #if $str($opt.source.tabfile):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
32 $str($opt.source.tabfile) $tfile
4
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
33 #end if
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
34 #if $str($opt.source.plotopts.plots):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
35 $str($opt.source.plotopts.plots) "$pfile"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
36 $str($opt.source.plotopts.xlim)
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
37 #if $str($opt.source.plotopts.hylim):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
38 --ylim-hist $str($opt.source.plotopts.hylim)
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
39 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
40 #if $str($opt.source.plotopts.hcols) and $len($opt.source.plotopts.hcols):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
41 --hist-colors
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
42 #for $color in $opt.source.plotopts.hcols:
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
43 "${color.hcolor}"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
44 #end for
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
45 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
46 #if $str($opt.source.plotopts.sylim):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
47 --ylim-scatter $str($opt.source.plotopts.sylim)
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
48 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
49 #if $str($opt.source.plotopts.pcol):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
50 --points-color "$str($opt.source.plotopts.pcol)"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
51 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
52 #if $str($opt.source.plotopts.lcol):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
53 --loess-color "$str($opt.source.plotopts.lcol)"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
54 #end if
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
55 #if $str($opt.source.plotopts.span):
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
56 --loess-span "$str($opt.source.plotopts.span)"
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
57 #end if
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
58 #end if
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
59
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
60 </command>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
61
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
62 <macros>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
63 <macro name="svd_unconditional">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
64 <expand macro="hidden_vaf_algo_params" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
65 <expand macro="seqdict_param" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
66 <expand macro="bins" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
67 <param name="norm" type="boolean" label="normalize variant counts to bin-width" truevalue="" falsevalue="--no-normalize" checked="true" help="without normalization the tool will just report the number of nucleotides per bin; with normalization the results for different bin-widths will be comparable." />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
68 <conditional name="plotopts">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
69 <param name="plots" type="select" label="graphical output settings">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
70 <option value="">Do not generate graphs.</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
71 <option value="-p">Give me graphics.</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
72 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
73 <when value="-p">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
74 <expand macro="scatter_default" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
75 <param name="hylim" type="text" label="upper limit for the histogram y-axis (leave blank for automatic scaling)" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
76 <param name="xlim" type="select" label="x-axis scaling">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
77 <option value="">preserve relative contig sizes</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
78 <option value="--fit-width">scale each contig to fit the plot width</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
79 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
80 <expand macro="hist_colors" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
81 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
82 </conditional>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
83 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
84 <macro name="vaf_unconditional">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
85 <expand macro="bins" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
86 <param name="norm" type="boolean" label="normalize variant counts to bin-width" truevalue="" falsevalue="--no-normalize" checked="true" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
87 <conditional name="plotopts">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
88 <param name="plots" type="select" label="graphical output settings">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
89 <option value="">Do not generate graphs.</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
90 <option value="--no-scatter -p">Generate only histograms</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
91 <option value="--no-hist -p">Generate only scatter plots</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
92 <option value="-p">Give me everything (scatter plots and histograms)</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
93 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
94 <when value="--no-scatter -p">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
95 <expand macro="scatter_default" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
96 <param name="hylim" type="text" label="upper limit for the histogram y-axis (leave blank for automatic scaling)" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
97 <param name="xlim" type="select" label="x-axis scaling">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
98 <option value="">preserve relative contig sizes</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
99 <option value="--fit-width">scale each contig to fit the plot width</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
100 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
101 <expand macro="hist_colors" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
102 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
103 <when value="--no-hist -p">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
104 <expand macro="hist_default" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
105 <param name="sylim" type="text" label="upper limit for the scatter plot y-axis (default: 1)" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
106 <param name="xlim" type="select" label="x-axis scaling">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
107 <option value="">preserve relative contig sizes</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
108 <option value="--fit-width">scale each contig to fit the plot width</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
109 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
110 <param name="span" type="text" label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1)" help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
111 <expand macro="scatter_colors" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
112 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
113 <when value="-p">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
114 <expand macro="plot_all" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
115 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
116 </conditional>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
117 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
118 <macro name="hidden_vaf_algo_params">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
119 <param name="sample" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
120 <param name="related_parent_sample" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
121 <param name="unrelated_parent_sample" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
122 <param name="infer_missing" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
123 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
124 <macro name="bins">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
125 <repeat name="bin_sizes" title="bin sizes to analyze variants in (defaults to: 1Mb and 500Kb" default="0" min="0" help="Values can be entered in bases (e.g., 1000000), kilobases (e.g., 500Kb) or megabases (e.g., 1Mb), but must be integral, i.e. no decimal numbers are allowed.">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
126 <param name="bin_size" type="text" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
127 </repeat>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
128 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
129 <macro name="scatter_default">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
130 <param name="sylim" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
131 <param name="span" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
132 <param name="pcol" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
133 <param name="lcol" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
134 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
135 <macro name="hist_default">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
136 <param name="hylim" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
137 <param name="hcols" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
138 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
139 <macro name="hist_colors">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
140 <repeat name="hcols" title="histogram colors" default="0" min="0" help="For each bin size chosen above a histogram will be generated with its color selected from the list provided here (defaults to alternating darkgrey, red).">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
141 <param name="hcolor" type="color" value="darkgrey">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
142 <sanitizer><valid><add value="#" /></valid></sanitizer>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
143 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
144 </repeat>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
145 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
146 <macro name="scatter_colors">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
147 <param name="pcol" type="color" value="#454545" label="color to be used for the scatter plot data points (default: gray27)">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
148 <sanitizer><valid><add value="#" /></valid></sanitizer>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
149 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
150 <param name="lcol" type="color" value="red" label="color to be used for the regression line (default: red)">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
151 <sanitizer><valid><add value="#" /></valid></sanitizer>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
152 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
153 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
154 <macro name="plot_all">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
155 <param name="hylim" type="text" label="upper limit for the histogram y-axis (leave blank for automatic scaling)" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
156 <param name="sylim" type="text" label="upper limit for the scatter plot y-axis (default: 1)" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
157 <param name="xlim" type="select" label="x-axis scaling">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
158 <option value="">preserve relative contig sizes</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
159 <option value="--fit-width">scale each contig to fit the plot width</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
160 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
161 <param name="span" type="text" label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1)" help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
162 <expand macro="hist_colors" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
163 <expand macro="scatter_colors" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
164 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
165 <macro name="seqdict_param">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
166 <conditional name="seqdict_required">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
167 <param name="required" type="select" label="does this input file require a CloudMap-style sequence dictionary?" help="A sequence dictionary file is required ONLY if the input file does not provide information about the sizes of the chromosomes defined in it. It is NEVER needed for MiModD-generated input files.">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
168 <option value="no">No</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
169 <option value="yes">Yes</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
170 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
171 <when value="yes">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
172 <param name="seqdict" type="data" format="tabular" label="CloudMap-style sequence dictionary file" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
173 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
174 </conditional>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
175 </macro>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
176 </macros>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
177
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
178 <inputs>
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
179 <conditional name="opt">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
180 <param name="mode" type="select" label="type of mapping analysis to perform" help="Select Simple Variant Density (SVD) Mapping to map mutations based on linked inheritance in near isogenic populations, Variant Allele Frequency (VAF) Mapping for bulk segregant analysis. Select Reprocess for rapidly replotting the result of a previous VAF analysis.">
4
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
181 <option value="SVD">Simple Variant Density Mapping</option>
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
182 <option value="VAF">Variant Allele Frequency Mapping</option>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
183 </param>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
184 <when value="SVD">
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
185 <conditional name="source">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
186 <param name="inputtype" type="select" label="data source to use">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
187 <option value="vcf">VCF file of variants (for de-novo mapping)</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
188 <option value="rep">per-variant report file (for remapping a previous analysis)</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
189 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
190 <when value="vcf">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
191 <param name="ifile" type="data" format="vcf" label="input file with variants to analyze" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
192 <expand macro="svd_unconditional" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
193 <param name="tabfile" type="select" label="additional per-variant output file" help="You can either choose to produce a tabular per-variant report, which is useful for fast replotting with different plot settings or a vcf-like CloudMap-compatibility file that can be used as input for the CloudMap EMS Variant Density Mapping tool as an alternative plotting tool.">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
194 <option value="">Do not generate per-variant output</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
195 <option value="-t">Tabular per-variant report</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
196 <option value="--cloudmap -t">CloudMap compatibility file</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
197 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
198 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
199 <when value="rep">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
200 <param name="ifile" type="data" format="tabular" label="input file with variants to analyze" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
201 <param name="tabfile" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
202 <expand macro="svd_unconditional" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
203 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
204 </conditional>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
205 </when>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
206 <when value="VAF">
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
207 <conditional name="source">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
208 <param name="inputtype" type="select" label="data source to use">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
209 <option value="vcf">VCF file of variants (for de-novo mapping)</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
210 <option value="rep">per-variant report file (for remapping a previous analysis)</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
211 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
212 <when value="vcf">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
213 <param name="ifile" type="data" format="vcf" label="input file with variants to analyze" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
214 <expand macro="seqdict_param" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
215 <param name="sample" type="text" label="mapping sample name" help="the sample to perform mutation mapping for" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
216 <param name="related_parent_sample" type="text" label="name of the related parent sample" help="the sample that provides variants present in your original mutant strain or in an ancestor (like the pre-mutagenesis strain); leave blank if not available" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
217 <param name="unrelated_parent_sample" type="text" label="name of the unrelated parent sample" help="the sample that provides variants present in the unrelated mapping strain (or in an ancestor of it) used in the mapping cross; leave blank if not available" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
218 <param name="infer_missing" type="boolean" checked="false" truevalue="--infer-missing" falsevalue="" label="Infer alleles for missing parent" help="if variant data for either the related or the unrelated parent strain is not available, the tool can try to infer the alleles present in that parent from the allele spectrum found in the mapping sample. This is an EXPERIMENTAL option that will give a benefit only in certain situations. Enable at your own risk." />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
219 <expand macro="vaf_unconditional" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
220 <param name="tabfile" type="select" label="additional per-variant output file" help="You can either choose to produce a tabular per-variant report, which is useful for fast replotting with different plot settings or a vcf-like CloudMap-compatibility file that can be used as input for the CloudMap Hawaiian Variant Mapping tool as an alternative plotting tool.">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
221 <option value="">Do not generate per-variant output</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
222 <option value="-t">Tabular per-variant report</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
223 <option value="--cloudmap -t">CloudMap compatibility file</option>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
224 </param>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
225 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
226 <when value="rep">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
227 <param name="ifile" type="data" format="tabular" label="input file with variants to analyze" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
228 <expand macro="seqdict_param" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
229 <param name="tabfile" type="hidden" value="" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
230 <expand macro="hidden_vaf_algo_params" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
231 <expand macro="vaf_unconditional" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
232 </when>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
233 </conditional>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
234 </when>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
235 </conditional>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
236 </inputs>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
237
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
238 <outputs>
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
239 <data name="ofile" format="tabular" label="MiModD ${opt.mode} Mapping - binned variant counts for ${on_string}" />
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
240 <data name="tfile" format="tabular" label="MiModD ${opt.mode} Mapping - per-variant report for ${on_string}">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
241 <filter>(opt['source']['tabfile'])</filter>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
242 </data>
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
243 <data name="pfile" format="pdf" label="MiModD ${opt.mode} Mapping - linkage plots for ${on_string}">
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
244 <filter>(opt['source']['plotopts']['plots'])</filter>
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
245 </data>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
246 </outputs>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
247
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
248 <help>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
249 .. class:: infomark
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
250
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
251 **What it does**
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
252
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
253 This tool is a complete rewrite of and improves the EMS Variant Density and Hawaiian Variant Mapping tools of `CloudMap`_. It is the most downstream tool in `mapping-by-sequencing analysis workflows in MiModD`_.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
254
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
255 It can be used to analyze and visualize the inheritance pattern of variants detected and selected by other MiModD tools or as an alternative (and more versatile) plotting engine for data generated with `CloudMap`_.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
256
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
257 -------------
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
258
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
259 **Usage Modes:**
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
260
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
261 This tool can be run in one of two different modes depending on the type of mapping analysis that should be performed:
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
262
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
263 1) *Simple Variant Density (SVD) Mapping* mode analyzes the density of variants along the reference genome by dividing each chromosome into regions of user-defined size (bins) and counting the variants found in each bin.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
264
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
265 All variants listed in the input file are analyzed in this mode, which means that as input you will typically want to use filtered lists of variants (as produced by the VCF Filter tool).
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
266
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
267 The aim of SVD analysis is to identify clusters of variants in an outcrossed strain carrying a selectable unknown mutation, which is interpreted as linkage between the corresponding genomic region and the unknown mutation.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
268
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
269 This mode corresponds roughly to EMS Variant Density Mapping in CloudMap.
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
270
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
271 2) *Variant Allele Frequency (VAF) Mapping** mode analyzes the inheritance pattern in cross-progeny at sites, at which the parents are homozygous for different alleles.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
272
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
273 The aim of VAF analysis is to identify clusters of variants with (near) homozygous inheritance in a F2 (or later generation) population obtained from a cross between a strain carrying a selectable unknown mutation and an unrelated mapping strain. Such a cluster is interpreted as linkage between the corresponding genomic region and the unknown mutation selected for in the F2 generation.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
274
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
275 This mode corresponds roughly to Hawaiian Variant Mapping in CloudMap, but can simultaneously take into account non-reference alleles found in either parent strain (CloudMap users may think of this as a combined Hawaiian Variant and Variant Discovery Mapping analysis).
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
276
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
277 -------------
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
278
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
279 **Input:**
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
280
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
281 Valid input for this tool are VCF files (any VCF file in SVD mode, a MiModD-generated multi-sample VCF file in VAF mode) or a CloudMap tabular report file as generated by the Hawaiian Variant Mapping tool. Alternatively, the tool can generate (in both modes) its own tabular report file, which can be used as input instead of the original VCF file when rerunning the tool with different plotting parameters to reduce analysis time.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
282
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
283 .. class:: infomark
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
284
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
285 CloudMap-generated tabular input files require, as additional input, a CloudMap-style sequence dictionary (even if the original CloudMap analysis was possible without one) as described in the original CloudMap paper. This file has a simple two-column tab-delimited format, in which each line lists the chromosome name (as it appears in the input VCF file) and the up-rounded length of the chromosome in megabases.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
286
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
287 -------------
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
288
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
289 **Output:**
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
290
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
291 The tool produces up to three output files:
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
292
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
293 1) a default tabular file of binned variant counts that can be used to plot the data with external software such as Excel,
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
294
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
295
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
296 2) an optional pdf containing linkage plots, which should look just like the plots produced by CloudMap, but are optimized for file size and display speed and offer more user-configurable parameters and
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
297
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
298
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
299 3) an optional tabular per-variant report file, which can be configured to be either a valid input file for the corresponding original CloudMap tool (for users who really, really want to continue using CloudMap for plotting) or to be reusable in fast reruns of the tool (which can be useful to experiment with different plotting parameters).
4
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
300
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
301 -------------
4
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
302
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
303 **Settings:**
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
304
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
305 1) Analysis settings
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
306
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
307 *bin size to analyze variants in* - determines the width of the regions along each chromosome, in which variants are counted and analyzed together.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
308
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
309 Several bin sizes can be specified and for each size you will get a corresponding report section in the binned variant counts file and a histogram plot in the linkage plots file.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
310
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
311 *normalize variant counts to bin-width* - if selected (as per default) the variant counts for different bin sizes are not absolute, but normalized to the bin width
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
312
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
313 *sample names (in VAF mode only)* - to analyze inheritance patterns, VAF mode needs information about the relationship between the samples defined in the input VCF file:
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
314
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
315 The *mapping sample name* should be set to the name of the sample for which the inheritance pattern is to be analyzed (the pooled progeny population).
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
316
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
317 The *name of the related sample* should be that of the parent sample that carried and brought in the unknown mutation to be mapped (or, alternatively, that of a closely related ancestor).
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
318
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
319 Finally, the *name of the unrelated sample* should be that of the other parent strain used in the cross.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
320
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
321 At least one of the parent samples MUST be specified, but if the input file contains variant information for both parents, they can be analyzed together for higher mapping accuracy. If you are reanalyzing a tabular report file from a previous tool run or from CloudMap, the association between variants and samples is already incorporated into the input file and cannot be specified again.
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
322
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
323 2) Graphical output settings
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
324
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
325 .. class:: warningmark
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
326
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
327 To be able to generate plots the system running MiModD needs to have the statistical programming environment R and its Python interface rpy2 installed.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
328
4
ffee8534a5c4 upgrade to mimodd version 0.1.6
Wolfgang Maier
parents: 2
diff changeset
329
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
330 *y-axes scaling* - if you want to override the defaults
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
331
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
332 *x-axis scaling* - choose *preserve relative contig sizes* if you want the largest chromosome to fit the page width and smaller chromosomes to appear according to their relative size or choose *scale each contig to fit the plot width* if all chromosomes should exploit the available space
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
333
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
334 *span value to be used in calculating the Loess regression line* - this value determines the degree of smoothing of the regression line through the scatterplot data. Information on loess regression and the loess span parameter can be found at http://en.wikipedia.org/wiki/Local_regression. The default is 0.1 as in CloudMap.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
335
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
336 *colors used for plotting* - can be selected freely from the offered palette. For histogram colors, the list of selected colors will be used to provide the colors for the different histograms plotted. If less colors than histograms (determined by the number of bin sizes selected) are specified, colors from the list will be recycled.
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
337
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
338
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
339 .. _CloudMap: https://usegalaxy.org/u/gm2123/p/cloudmap
6
85214e4428fd upgrade to mimodd version 0.1.7.0
Wolfgang Maier
parents: 5
diff changeset
340 .. _mapping-by-sequencing analysis workflows in MiModD: http://mimodd.readthedocs.org/en/latest/cloudmap.html
0
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
341 </help>
6231ae8f87b8 Uploaded
wolma
parents:
diff changeset
342 </tool>