comparison QDNAseq-plot.xml @ 27:f89205f51e27 draft default tip

Uploaded
author stef
date Mon, 06 Jul 2015 05:41:08 -0400
parents 4943308e95fc
children
comparison
equal deleted inserted replaced
26:069289631381 27:f89205f51e27
13 <!-- change to /full/path/to/Rscript if required (eg /ccagc/lib/R/R-3.1.0/bin/Rscript) --> 13 <!-- change to /full/path/to/Rscript if required (eg /ccagc/lib/R/R-3.1.0/bin/Rscript) -->
14 <command interpreter="Rscript"> 14 <command interpreter="Rscript">
15 QDNAseq-plot.R 15 QDNAseq-plot.R
16 $cfg 16 $cfg
17 </command> 17 </command>
18
19 <version_command interpreter="Rscript">QDNAseq-version.R</version_command>
18 20
19 <stdio> 21 <stdio>
20 <!-- Anything higher than 0 means the R script didnt finish (correctly) --> 22 <!-- Anything higher than 0 means the R script didnt finish (correctly) -->
21 <!-- Because different R packages deal with err/warn differently unable to waterproof this --> 23 <!-- Because different R packages deal with err/warn differently unable to waterproof this -->
22 <exit_code range="1:" level="fatal" description="R script finished too early, check log" /> 24 <exit_code range="1:" level="fatal" description="R script finished too early, check log" />
55 <param name="plotAll" type="hidden" value="" /> 57 <param name="plotAll" type="hidden" value="" />
56 </when> 58 </when>
57 59
58 </conditional> 60 </conditional>
59 --> 61 -->
60 <param name="sample_index" type="integer" required="True" value="1" label="Sample-index (integer)" help="The RDS input object can contain data from multiple individuals, this number tells the script which one to plot. Plotting multiple at the same time is not supported." /> 62 <param name="sample_index" type="integer" required="True" value="1" label="Sample-index (integer)" help="The RDS input object can contain data from multiple samples, this index tells the script which one to plot. Plotting multiple samples at the same time is not supported." />
63
64 <conditional name="subset_selection">
65 <param name="what_to_plot" type="select" label="What to plot" help="Instead of plotting everything in the object you can also select certain chromosomes or set a genomic region">
66 <option value="everything">Everything</option>
67 <option value="chromosomes">Selected chromosomes</option>
68 <option value="region">Genomic region</option>
69 </param>
70 <when value="everything">
71 <!-- ==================== -->
72 <param name="chr_name" type="hidden" value="NA" />
73 <param name="chr_start" type="hidden" value="NA" />
74 <param name="chr_end" type="hidden" value="NA" />
75 <param name="chromosomes" type="hidden" value="NA" />
76 </when>
77 <when value="chromosomes">
78 <!-- ==================== -->
79 <param name="chromosomes" type="select" multiple="true" optional="false" label="Select chromosomes to plot" help="To zoom in on a particular chromosome you can select one or more here">
80 <option value="1">1</option><option value="2">2</option>
81 <option value="3">3</option><option value="4">4</option>
82 <option value="5">5</option><option value="6">6</option>
83 <option value="7">7</option><option value="8">8</option>
84 <option value="9">9</option><option value="10">10</option>
85 <option value="11">11</option><option value="12">12</option>
86 <option value="13">13</option><option value="14">14</option>
87 <option value="15">15</option><option value="16">16</option>
88 <option value="17">17</option><option value="18">18</option>
89 <option value="19">19</option><option value="20">20</option>
90 <option value="21">21</option><option value="22">22</option>
91 <!--<option value="X" selected="true">X</option>-->
92 <!--<option value="Y" selected="true">Y</option>-->
93 </param>
94 <param name="chr_name" type="hidden" value="NA" />
95 <param name="chr_start" type="hidden" value="NA" />
96 <param name="chr_end" type="hidden" value="NA" />
97 </when>
98 <when value="region">
99 <!-- ==================== -->
100 <!--
101 <param name="genomic_region" type="text" optional="false" label="Genomic region" help="Supply a genomic region in format chr1:12345-23456" value="chr1:12345-23456" size="30">
102 <validator type="regex" message="No whitespace characters allowed">^[^\s\\]*$</validator>
103 <validator type="regex" message="String is not of correct format">^chr\d+\:\d+\-\d+$</validator>
104 </param>
105 -->
106 <param name="chr_name" size="2" type="integer" optional="false" value="" label="Chromosome" />
107 <param name="chr_start" size="15" type="integer" optional="false" value="" label="Start position on chromosome" />
108 <param name="chr_end" size="15" type="integer" optional="false" value="" label="End position on chromosome" />
109 <param name="chromosomes" type="hidden" value="NA" />
110 </when>
111
112 </conditional>
61 113
62 <!-- ==================== --> 114 <!-- ==================== -->
63 <!-- Optional advanced options --> 115 <!-- Optional advanced options -->
64 <!-- ==================== --> 116 <!-- ==================== -->
65 <conditional name="advanced"> 117 <conditional name="advanced">
96 ## ----- 148 ## -----
97 "${jobName}" -> outputName 149 "${jobName}" -> outputName
98 "${outputPng}" -> outputPngPath 150 "${outputPng}" -> outputPngPath
99 "${rdsFile}" -> rdsFilePath 151 "${rdsFile}" -> rdsFilePath
100 as.integer( "${sample_index}" ) -> SAMPLE_INDEX 152 as.integer( "${sample_index}" ) -> SAMPLE_INDEX
153 "${subset_selection.what_to_plot}" -> whatToPlot
154 "${subset_selection.chromosomes}" -> chromosomesToPlotString
155 as.integer( "${subset_selection.chr_name}" ) -> chrName
156 as.integer( "${subset_selection.chr_start}" ) -> chrStart
157 as.integer( "${subset_selection.chr_end}" ) -> chrEnd
101 158
102 ## ----- 159 ## -----
103 ## extra options 160 ## extra options
104 ## ----- 161 ## -----
105 as.integer( "${advanced.plot_width}" ) -> PLOT_WIDTH 162 as.integer( "${advanced.plot_width}" ) -> PLOT_WIDTH