source: extensions/net.sf.basedb.reggie/trunk/resources/admin/analysis-cleanup.jsp @ 5722

Last change on this file since 5722 was 5722, checked in by Nicklas Nordborg, 3 years ago

References #1199: Implement Variant calling pipeline

Updated the "Secondary analysis cleanup" wizard to also support VariantCall raw bioassays.

File size: 2.7 KB
Line 
1<%@ page
2  pageEncoding="UTF-8"
3  session="false"
4  import="net.sf.basedb.core.Application"
5  import="net.sf.basedb.core.User"
6  import="net.sf.basedb.core.DbControl"
7  import="net.sf.basedb.core.SessionControl"
8  import="net.sf.basedb.clients.web.Base"
9  import="net.sf.basedb.clients.web.util.HTML"
10  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
11  import="net.sf.basedb.util.Values"
12%>
13<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
14<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %>
15<%
16final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true);
17final String ID = sc.getId();
18final float scale = Base.getScale(sc);
19final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
20
21DbControl dc = null;
22try
23{
24  dc = sc.newDbControl();
25  final User user = User.getById(dc, sc.getLoggedInUserId());
26%>
27<base:page type="default" >
28<base:head 
29  scripts="~../reggie-2.js,~analysis-cleanup.js" 
30  styles="path.css,~../css/reggie-2.css"
31>
32</base:head>
33<base:body>
34
35  <p:path><p:pathelement 
36    title="Reggie" href="<%="../index.jsp?ID="+ID%>" 
37    /><p:pathelement title="Secondary analysis cleanup" 
38    /></p:path>
39
40  <div class="content">
41  <form name="reggie" id="wizard" class="wizard">
42 
43  <div class="step" id="step-1">
44    <div class="step-no">1</div>
45    <div class="step-title">Derived and raw bioassays</div>
46    <div class="step-content" style="padding: 0.5em;">
47
48      This wizard will look for derived and raw bioassays that has
49      been put in the trashcan and delete them including all child items
50      and linked files. It checks the following item types:
51     
52      <ul style="padding: 0.5em 2em;">
53      <li>Derived bioassays:
54        <ul>
55        <li>DemuxedSequences
56        <li>MergedSequences
57        <li>MaskedSequences
58        <li>AlignedSequences
59        </ul>
60      <li>Raw bioassays:
61        <ul>
62        <li>Cufflinks
63        <li>StringTie
64        <li>VariantCall
65        </ul>
66      </ul>
67     
68      There are currently <b><span id="countDerivedBioAssays"></span></b> such derived
69      bioassays with <b><span id="countDerivedBioAssayChildren"></span></b> child items, 
70      <b><span id="countRawBioAssays"></span></b> raw bioassays and <b><span id="countFiles"></span></b> linked files.
71    </div>
72  </div>
73
74
75  <div id="wizard-status"></div>
76  <div id="wizard-progress"></div>
77
78    <table class="navigation" id="navigation">
79    <tr>
80      <td><base:button id="gocancel" title="Cancel" /></td>
81      <td><base:button id="goregister" title="Delete" image="<%=home+"/images/gonext.png"%>" /></td>
82      <td id="gonext-message" class="message"></td>
83    </tr>
84    </table>
85  </form>
86  </div>
87 
88</base:body>
89</base:page>
90<%
91}
92finally
93{
94  if (dc != null) dc.close();
95}
96%>
Note: See TracBrowser for help on using the repository browser.