5801 |
19 Dec 19 |
nicklas |
1 |
<%@ page |
5801 |
19 Dec 19 |
nicklas |
2 |
pageEncoding="UTF-8" |
5801 |
19 Dec 19 |
nicklas |
3 |
session="false" |
5801 |
19 Dec 19 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
5801 |
19 Dec 19 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
5801 |
19 Dec 19 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
5801 |
19 Dec 19 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
5801 |
19 Dec 19 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
5801 |
19 Dec 19 |
nicklas |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
5801 |
19 Dec 19 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
5801 |
19 Dec 19 |
nicklas |
11 |
%> |
5801 |
19 Dec 19 |
nicklas |
12 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
5801 |
19 Dec 19 |
nicklas |
13 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
5801 |
19 Dec 19 |
nicklas |
14 |
<% |
5801 |
19 Dec 19 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
5801 |
19 Dec 19 |
nicklas |
16 |
final String ID = sc.getId(); |
5801 |
19 Dec 19 |
nicklas |
17 |
final float scale = Base.getScale(sc); |
5801 |
19 Dec 19 |
nicklas |
18 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
5801 |
19 Dec 19 |
nicklas |
19 |
final String pipeline = request.getParameter("pipeline"); |
5801 |
19 Dec 19 |
nicklas |
20 |
DbControl dc = null; |
5801 |
19 Dec 19 |
nicklas |
21 |
try |
5801 |
19 Dec 19 |
nicklas |
22 |
{ |
5801 |
19 Dec 19 |
nicklas |
23 |
dc = sc.newDbControl(); |
5801 |
19 Dec 19 |
nicklas |
24 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
5801 |
19 Dec 19 |
nicklas |
25 |
%> |
5801 |
19 Dec 19 |
nicklas |
26 |
<base:page type="default" > |
5801 |
19 Dec 19 |
nicklas |
27 |
<base:head |
5801 |
19 Dec 19 |
nicklas |
28 |
scripts="~../reggie-2.js,~demux_start.js" |
5801 |
19 Dec 19 |
nicklas |
29 |
styles="path.css,~../css/reggie-2.css" |
5801 |
19 Dec 19 |
nicklas |
30 |
> |
5801 |
19 Dec 19 |
nicklas |
31 |
<style> |
5801 |
19 Dec 19 |
nicklas |
32 |
.notify.donotuseinfo |
5801 |
19 Dec 19 |
nicklas |
33 |
{ |
5801 |
19 Dec 19 |
nicklas |
34 |
width: auto; |
5801 |
19 Dec 19 |
nicklas |
35 |
max-width: 60em; |
5801 |
19 Dec 19 |
nicklas |
36 |
font-weight: normal; |
5801 |
19 Dec 19 |
nicklas |
37 |
background-color: #F8F8E8; |
5801 |
19 Dec 19 |
nicklas |
38 |
border-color: inherit; |
5801 |
19 Dec 19 |
nicklas |
39 |
} |
5801 |
19 Dec 19 |
nicklas |
40 |
|
5801 |
19 Dec 19 |
nicklas |
41 |
.notify.donotuseinfo > div:first-child > div |
5801 |
19 Dec 19 |
nicklas |
42 |
{ |
5801 |
19 Dec 19 |
nicklas |
43 |
border-color: #F8F8E8; |
5801 |
19 Dec 19 |
nicklas |
44 |
} |
5801 |
19 Dec 19 |
nicklas |
45 |
|
5801 |
19 Dec 19 |
nicklas |
46 |
.notify .notify-message:before |
5801 |
19 Dec 19 |
nicklas |
47 |
{ |
5801 |
19 Dec 19 |
nicklas |
48 |
content: url('../images/info.png'); |
5801 |
19 Dec 19 |
nicklas |
49 |
} |
5801 |
19 Dec 19 |
nicklas |
50 |
|
5801 |
19 Dec 19 |
nicklas |
51 |
.donotuseinfo td |
5801 |
19 Dec 19 |
nicklas |
52 |
{ |
5801 |
19 Dec 19 |
nicklas |
53 |
vertical-align: top; |
5801 |
19 Dec 19 |
nicklas |
54 |
padding: 2px; |
5801 |
19 Dec 19 |
nicklas |
55 |
} |
5801 |
19 Dec 19 |
nicklas |
56 |
</style> |
5801 |
19 Dec 19 |
nicklas |
57 |
|
5801 |
19 Dec 19 |
nicklas |
58 |
</base:head> |
5801 |
19 Dec 19 |
nicklas |
59 |
<base:body> |
5801 |
19 Dec 19 |
nicklas |
60 |
|
5801 |
19 Dec 19 |
nicklas |
61 |
<p:path><p:pathelement |
5801 |
19 Dec 19 |
nicklas |
62 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
5801 |
19 Dec 19 |
nicklas |
63 |
/><p:pathelement title="Start MIPs demux" |
5801 |
19 Dec 19 |
nicklas |
64 |
/></p:path> |
5801 |
19 Dec 19 |
nicklas |
65 |
|
5801 |
19 Dec 19 |
nicklas |
66 |
<div id="page-data" class="datacontainer" |
5801 |
19 Dec 19 |
nicklas |
67 |
data-pipeline="<%=HTML.encodeTags(pipeline)%>" |
5801 |
19 Dec 19 |
nicklas |
68 |
></div> |
5801 |
19 Dec 19 |
nicklas |
69 |
|
5801 |
19 Dec 19 |
nicklas |
70 |
<div class="content"> |
5801 |
19 Dec 19 |
nicklas |
71 |
<form name="reggie" id="wizard" class="wizard"> |
5801 |
19 Dec 19 |
nicklas |
72 |
|
5801 |
19 Dec 19 |
nicklas |
73 |
<div class="step auto-hide" id="step-1"> |
5801 |
19 Dec 19 |
nicklas |
74 |
<div class="step-no">1</div> |
5801 |
19 Dec 19 |
nicklas |
75 |
<div class="step-title">Select sequencing runs</div> |
5801 |
19 Dec 19 |
nicklas |
76 |
<div class="step-content"> |
5801 |
19 Dec 19 |
nicklas |
77 |
|
5801 |
19 Dec 19 |
nicklas |
78 |
<table class="step-form"> |
5801 |
19 Dec 19 |
nicklas |
79 |
<tr class="align-top"> |
5801 |
19 Dec 19 |
nicklas |
80 |
<td class="prompt">Sequencing runs</td> |
5801 |
19 Dec 19 |
nicklas |
81 |
<td class="input"> |
5801 |
19 Dec 19 |
nicklas |
82 |
<select class="required" name="seqRuns" id="seqRuns" |
5801 |
19 Dec 19 |
nicklas |
83 |
multiple size="8"></select> |
5801 |
19 Dec 19 |
nicklas |
84 |
|
5801 |
19 Dec 19 |
nicklas |
85 |
<base:buttongroup style="margin-top: 0.5em;"> |
5801 |
19 Dec 19 |
nicklas |
86 |
<base:button title="Select manually…" id="btnSelectSeqRuns" /> |
5801 |
19 Dec 19 |
nicklas |
87 |
</base:buttongroup> |
5801 |
19 Dec 19 |
nicklas |
88 |
</td> |
5801 |
19 Dec 19 |
nicklas |
89 |
<td class="status" id="seqRuns.status"></td> |
5801 |
19 Dec 19 |
nicklas |
90 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
91 |
<span id="seqRuns.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
92 |
Select the sequencing runs that should be demuxed. Data for libraries that are found |
5801 |
19 Dec 19 |
nicklas |
93 |
in multiple places are merged to a single item for that library. |
5801 |
19 Dec 19 |
nicklas |
94 |
</td> |
5801 |
19 Dec 19 |
nicklas |
95 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
96 |
</table> |
5801 |
19 Dec 19 |
nicklas |
97 |
</div> |
5801 |
19 Dec 19 |
nicklas |
98 |
</div> |
5801 |
19 Dec 19 |
nicklas |
99 |
|
5801 |
19 Dec 19 |
nicklas |
100 |
<div class="step" id="step-2"> |
5801 |
19 Dec 19 |
nicklas |
101 |
<div class="step-no">2</div> |
5801 |
19 Dec 19 |
nicklas |
102 |
<div class="step-title">Demux information</div> |
5801 |
19 Dec 19 |
nicklas |
103 |
<div class="step-content"> |
5801 |
19 Dec 19 |
nicklas |
104 |
|
5801 |
19 Dec 19 |
nicklas |
105 |
<table class="step-form"> |
5801 |
19 Dec 19 |
nicklas |
106 |
<tbody> |
5801 |
19 Dec 19 |
nicklas |
107 |
<tr class="section-header"> |
5801 |
19 Dec 19 |
nicklas |
108 |
<td colspan="4">Demux</td> |
5801 |
19 Dec 19 |
nicklas |
109 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
110 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
111 |
<td class="subprompt">Protocol</td> |
5801 |
19 Dec 19 |
nicklas |
112 |
<td class="input"> |
5801 |
19 Dec 19 |
nicklas |
113 |
<select name="demuxProtocol" id="demuxProtocol"></select> |
5801 |
19 Dec 19 |
nicklas |
114 |
</td> |
5801 |
19 Dec 19 |
nicklas |
115 |
<td class="status" id="demuxProtocol.status"></td> |
5801 |
19 Dec 19 |
nicklas |
116 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
117 |
<span id="demuxProtocol.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
118 |
Select the protocol used for demuxing. |
5801 |
19 Dec 19 |
nicklas |
119 |
</td> |
5801 |
19 Dec 19 |
nicklas |
120 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
121 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
122 |
<td class="subprompt">Software</td> |
5801 |
19 Dec 19 |
nicklas |
123 |
<td class="input"> |
5801 |
19 Dec 19 |
nicklas |
124 |
<select name="demuxSoftware" id="demuxSoftware"></select> |
5801 |
19 Dec 19 |
nicklas |
125 |
</td> |
5801 |
19 Dec 19 |
nicklas |
126 |
<td class="status" id="demuxSoftware.status"></td> |
5801 |
19 Dec 19 |
nicklas |
127 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
128 |
<span id="demuxSoftware.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
129 |
Select the software to use for demuxing. |
5801 |
19 Dec 19 |
nicklas |
130 |
</td> |
5801 |
19 Dec 19 |
nicklas |
131 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
132 |
</tbody> |
5801 |
19 Dec 19 |
nicklas |
133 |
<tbody class="info-section"> |
5801 |
19 Dec 19 |
nicklas |
134 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
135 |
<td class="subprompt">Parameter set</td> |
5801 |
19 Dec 19 |
nicklas |
136 |
<td class="info" colspan="2"> |
5801 |
19 Dec 19 |
nicklas |
137 |
<span id="demuxSoftware.parameterSet"></span> |
5801 |
19 Dec 19 |
nicklas |
138 |
<div id="demuxSoftware.description" class="item-description"></div> |
5801 |
19 Dec 19 |
nicklas |
139 |
</td> |
5801 |
19 Dec 19 |
nicklas |
140 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
141 |
This step uses Picard to extract barcodes and extract sequence information to FASTQ files. |
5801 |
19 Dec 19 |
nicklas |
142 |
Parameters are configured in the <demux> section in reggie-config.xml but note that the |
5801 |
19 Dec 19 |
nicklas |
143 |
Bowtie and Trimmomatic parameters are for the merge step. |
5801 |
19 Dec 19 |
nicklas |
144 |
</td> |
5801 |
19 Dec 19 |
nicklas |
145 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
146 |
</tbody> |
5801 |
19 Dec 19 |
nicklas |
147 |
<tbody id="SequencingRun-section"></tbody> |
5801 |
19 Dec 19 |
nicklas |
148 |
<tbody> |
5801 |
19 Dec 19 |
nicklas |
149 |
<tr class="section-header"> |
6735 |
09 May 22 |
nicklas |
150 |
<td colspan="4">Job scheduler & job options</td> |
5801 |
19 Dec 19 |
nicklas |
151 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
152 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
153 |
<td class="subprompt">Cluster</td> |
5801 |
19 Dec 19 |
nicklas |
154 |
<td class="input"> |
5801 |
19 Dec 19 |
nicklas |
155 |
<select name="clusters" id="clusters" class="required"></select> |
5801 |
19 Dec 19 |
nicklas |
156 |
</td> |
5801 |
19 Dec 19 |
nicklas |
157 |
<td class="status" id="clusters.status"></td> |
5801 |
19 Dec 19 |
nicklas |
158 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
159 |
<span id="clusters.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
160 |
Select the cluster to use for running the software. |
5801 |
19 Dec 19 |
nicklas |
161 |
</td> |
5801 |
19 Dec 19 |
nicklas |
162 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
163 |
<tr id="job-priority" style="display: none;"> |
5801 |
19 Dec 19 |
nicklas |
164 |
<td class="subprompt">Job priority</td> |
5801 |
19 Dec 19 |
nicklas |
165 |
<td class="input"> |
5801 |
19 Dec 19 |
nicklas |
166 |
<select name="priority" id="priority"></select> |
5801 |
19 Dec 19 |
nicklas |
167 |
</td> |
5801 |
19 Dec 19 |
nicklas |
168 |
<td class="status" id="priority.status"></td> |
5801 |
19 Dec 19 |
nicklas |
169 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
170 |
<span id="priority.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
171 |
Select the priority of the job. |
5801 |
19 Dec 19 |
nicklas |
172 |
</td> |
5801 |
19 Dec 19 |
nicklas |
173 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
174 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
175 |
<td class="subprompt">Auto-confirm</td> |
5801 |
19 Dec 19 |
nicklas |
176 |
<td class="input"><input type="checkbox" name="autoConfirm" checked></td> |
5801 |
19 Dec 19 |
nicklas |
177 |
<td class="status" id="autoConfirm.status"></td> |
5801 |
19 Dec 19 |
nicklas |
178 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
179 |
<span id="autoConfirm.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
180 |
If the demux is successful, without warnings, it is automatically confirmed |
5801 |
19 Dec 19 |
nicklas |
181 |
and alignement is started. |
5801 |
19 Dec 19 |
nicklas |
182 |
</td> |
5801 |
19 Dec 19 |
nicklas |
183 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
184 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
185 |
<td class="subprompt">Debug</td> |
5801 |
19 Dec 19 |
nicklas |
186 |
<td class="input"><input type="checkbox" name="debug"></td> |
5801 |
19 Dec 19 |
nicklas |
187 |
<td class="status" id="debug.status"></td> |
5801 |
19 Dec 19 |
nicklas |
188 |
<td class="help"> |
5801 |
19 Dec 19 |
nicklas |
189 |
<span id="debug.message" class="message"></span> |
5801 |
19 Dec 19 |
nicklas |
190 |
When running in debug mode only part of the sequenced data is used and |
5801 |
19 Dec 19 |
nicklas |
191 |
temporary files are not removed from the cluster node. |
5801 |
19 Dec 19 |
nicklas |
192 |
</td> |
5801 |
19 Dec 19 |
nicklas |
193 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
194 |
</tbody> |
5801 |
19 Dec 19 |
nicklas |
195 |
</table> |
5801 |
19 Dec 19 |
nicklas |
196 |
</div> |
5801 |
19 Dec 19 |
nicklas |
197 |
</div> |
5801 |
19 Dec 19 |
nicklas |
198 |
|
5801 |
19 Dec 19 |
nicklas |
199 |
<div id="wizard-status"></div> |
5801 |
19 Dec 19 |
nicklas |
200 |
|
5801 |
19 Dec 19 |
nicklas |
201 |
<table class="navigation" id="navigation"> |
5801 |
19 Dec 19 |
nicklas |
202 |
<tr> |
5801 |
19 Dec 19 |
nicklas |
203 |
<td><base:button id="gocancel" title="Cancel" /></td> |
5801 |
19 Dec 19 |
nicklas |
204 |
<td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" /></td> |
5801 |
19 Dec 19 |
nicklas |
205 |
<td><base:button id="goregister" title="Register" image="<%=home+"/images/import.png"%>" /></td> |
5801 |
19 Dec 19 |
nicklas |
206 |
<td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" /></td> |
5801 |
19 Dec 19 |
nicklas |
207 |
<td id="gonext-message" class="message"></td> |
5801 |
19 Dec 19 |
nicklas |
208 |
</tr> |
5801 |
19 Dec 19 |
nicklas |
209 |
</table> |
5801 |
19 Dec 19 |
nicklas |
210 |
|
5801 |
19 Dec 19 |
nicklas |
211 |
</form> |
5801 |
19 Dec 19 |
nicklas |
212 |
</div> |
5801 |
19 Dec 19 |
nicklas |
213 |
|
5801 |
19 Dec 19 |
nicklas |
214 |
</base:body> |
5801 |
19 Dec 19 |
nicklas |
215 |
</base:page> |
5801 |
19 Dec 19 |
nicklas |
216 |
<% |
5801 |
19 Dec 19 |
nicklas |
217 |
} |
5801 |
19 Dec 19 |
nicklas |
218 |
finally |
5801 |
19 Dec 19 |
nicklas |
219 |
{ |
5801 |
19 Dec 19 |
nicklas |
220 |
if (dc != null) dc.close(); |
5801 |
19 Dec 19 |
nicklas |
221 |
} |
5801 |
19 Dec 19 |
nicklas |
222 |
%> |