source: extensions/net.sf.basedb.reggie/trunk/resources/flaggedalignment/search.jsp @ 4818

Last change on this file since 4818 was 4818, checked in by Nicklas Nordborg, 5 years ago

References #1050: More functionality in the Flagged alignment wizard

When a QiaCube or LibPlate filter is active the wizard will now load information about RNA/Libraries that there is no alignment that we can use for genotyping. This means for example that:

  • Low mismatches to an unexpected patient can be traced to another RNA on a QiaCube even if we didn't get enough RNA to sequence on that QiaCube.
  • Re-processing can be scheduled for all items.
  • External libraries on a LibPlate are listed (but not used in genotyping).
File size: 5.1 KB
Line 
1<%@ page
2  pageEncoding="UTF-8"
3  session="false"
4  import="net.sf.basedb.core.User"
5  import="net.sf.basedb.core.DbControl"
6  import="net.sf.basedb.core.SessionControl"
7  import="net.sf.basedb.core.Application"
8  import="net.sf.basedb.util.formatter.DateFormatter"
9  import="net.sf.basedb.util.formatter.Formatter"
10  import="net.sf.basedb.clients.web.Base" 
11  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
12  import="java.util.Date"
13%>
14<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
15<%@ taglib prefix="tbl" uri="/WEB-INF/table.tld" %>
16<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %>
17<%
18final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true);
19final String ID = sc.getId();
20final float scale = Base.getScale(sc);
21final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
22DbControl dc = null;
23try
24{
25  dc = sc.newDbControl();
26  final User user = User.getById(dc, sc.getLoggedInUserId());
27%>
28<base:page type="default" title="Flagged alignments wizard">
29<base:head 
30  scripts="~../reggie-2.js,~search.js" 
31  styles="path.css,toolbar.css,~../css/reggie-2.css"
32  >
33<style>
34#itemTable
35{
36  width: 100%;
37  border-collapse: collapse;
38}
39
40#itemTable thead
41{
42  border-bottom-width: 1px;
43  border-top-width: 1px;
44}
45
46#itemTable thead th
47{
48  padding: 2px;
49  text-align: left;
50}
51
52tbody.highlight
53{
54  border-top-width: 1px;
55  border-top-style: dotted;
56}
57
58tr.dotted-above
59{
60  border-top-width: 1px;
61  border-top-style: dotted;
62}
63
64
65#itemTable .highlight.evenrow
66{
67  border-top-color: transparent;
68}
69
70#itemTable tbody td
71{
72  padding: 2px;
73  text-align: left;
74}
75
76.colormatched
77{
78  background-color: #ffff00;
79  outline: 1px solid #a8a800;
80  margin: -1px;
81  padding: 1px;
82}
83
84.colormatched-2
85{
86  background-color: #a8ffff;
87  outline: 1px solid #66a8a8;
88  margin: -1px;
89  padding: 1px;
90}
91
92.text-col
93{}
94
95.text-col img
96{
97  float: right;
98  margin-left: 2px;
99}
100
101#itemTable .icon-col
102{
103  text-align: right;
104}
105
106#itemTable .num-col
107{
108  text-align: center;
109}
110.text-col img.case-summary
111{
112  float: left;
113  margin-right: 2px;
114  margin-left: 0;
115}
116
117.bg-messages
118{
119  background-color: #f0f0f0;
120}
121
122.highlight:hover .bg-messages
123{
124  background-color: #e0e0e0;
125  /* transistions copied from BASE to make it match */
126  transition: all 0.3s ease 0.1s;
127  -moz-transition: all 0.3s ease 0.1s;
128  -webkit-transition: all 0.3s ease 0.1s;
129}
130
131.ignored-mismatch
132{
133  text-decoration-line: line-through;
134}
135
136.commonpart
137{
138  color: #666666;
139  font-style: italic;
140}
141
142.diffpart
143{
144  font-weight: bold;
145}
146
147.mode-genotype, .mode-reprocess
148{
149  display:none;
150}
151
152table[data-mode=genotype] .mode-genotype
153{
154  display: table-cell;
155}
156
157table[data-mode=reprocess] .mode-reprocess
158{
159  display: table-cell;
160}
161
162table[data-mode=reprocess] thead.mode-reprocess
163{
164  display: table-header-group;
165  border: 0;
166}
167
168td.mode-reprocess
169{
170  background-color: #fffff0;
171}
172
173.mode-reprocess-header
174{
175  background-color: #fffff0;
176  border-width: 1px;
177  font-size: 120%;
178}
179
180</style>
181</base:head>
182<base:body>
183
184  <p:path><p:pathelement 
185    title="Reggie" href="<%="../index.jsp?ID="+ID%>" 
186    /><p:pathelement title="Flagged alignment wizard" 
187    /></p:path>
188
189  <div class="content">
190
191  <form name="reggie" id="wizard" class="wizard">
192 
193  <div class="step auto-hide" id="step-1">
194    <div class="step-no">1</div>
195    <div class="step-title" id="step-1-title">Flagged alignments</div>
196    <div class="step-content">
197
198      <table class="step-form">
199      <tr>
200        <td class="prompt">Filter</td>
201        <td>
202          <label><input type="radio" name="filter" id="noFilter" checked>No filter</label>
203          <label><input type="radio" name="filter" id="highHetFilter">High HET</label>
204          <select name="qiaCubeFilter" id="qiaCubeFilter">
205            <option value="">- QiaCube -</option>
206          </select>
207         
208          <select name="libPlateFilter" id="libPlateFilter">
209            <option value="">- LibPlate -</option>
210          </select>
211         
212          <select name="recentFilters" id="recentFilters" style="display: none;">
213            <option value="">- Recently used filters -</option>
214          </select>
215        </td>
216      </tr>
217      <tr>
218        <td class="prompt">Mode</td>
219        <td style="padding-top: 3px; padding-bottom: 6px;">
220          <label><input type="radio" name="mode" id="mode-genotype" checked value="genotype">Genotype analysis</label>
221          <label><input type="radio" name="mode" id="mode-reprocess" value="reprocess" disabled>Schedule re-processing</label>
222          <label><input type="radio" name="mode" id="mode-resolve" value="resolve" disabled>Resolve problems</label>
223        </td>
224      </tr>
225      </table>
226
227      <table id="itemTable" data-mode="genotype">
228      </table>
229    </div>
230  </div>
231 
232  <div id="wizard-status"></div>
233
234  <table class="navigation" id="navigation">
235  <tr>
236    <td><base:button id="gocancel" title="Cancel" /></td>
237    <td><base:button id="goreprocess" title="Schedule re-processing&hellip;" image="<%=home+"/images/pipette.png"%>" /></td>
238    <td id="gonext-message" class="message"></td>
239  </tr>
240  </table>
241 
242  </form>
243  </div>
244 
245</base:body>
246</base:page>
247<%
248}
249finally
250{
251  if (dc != null) dc.close();
252}
253%>
Note: See TracBrowser for help on using the repository browser.