File: analysis.php

package info (click to toggle)
assemblytics 1.0+ds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 416 kB
  • sloc: python: 564; perl: 234; php: 124; sh: 94; makefile: 11
file content (133 lines) | stat: -rwxr-xr-x 5,470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>

<html>


<!--    NAVIGATION BAR-->
    <?php include "header.html";?>
    <link rel="stylesheet" type="text/css" media="screen" href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.css" />
        <!-- <div class="row"> -->

            <!--LEFT-->
            <!-- <div class="col-lg-8"> -->
                    <!-- ////////////////////////////////////////////////// -->
                    <!-- ////////////////      RESULTS     //////////////// -->
                    <!-- ////////////////////////////////////////////////// -->
                    
                     <!--  HEADER -->
                    <div class="thumbnail frame">
                        <div class = "caption" style="text-align: center"><h3 id="nickname_header"></h3></div>
                    </div>

                    <div id="results">
                        <!--  All plots  -->
                        <div class="thumbnail plot_frame frame">
                            <div id="container_for_all_plots">
                            <!-- ALL PLOTS GO HERE -->
                            </div>
                            <div style="display:block">
                                <!-- <p id="missing_plots"><p> -->
                                <br>
                                <p>
                                    All plots are available as both .png and .pdf files through the Download button below and can be used in publications.<a href="http://www.ncbi.nlm.nih.gov/pubmed/27318204"> Cite Assemblytics.</a>
                                </p>
                            </div>
                        </div>

                        <!-- Assembly statistics N50 etc. -->
                        <div class="thumbnail frame plot_frame">
                            <div class="caption">
                                <h4>Assembly statistics</h4>
                                <p id="landing_for_assembly_stats"></p>
                            </div>
                        </div>

                        <!-- Variant statistics -->
                        <div class="thumbnail frame plot_frame">
                            <div class="caption">
                                <h4>Variant summary statistics</h4>
                                <p id="landing_for_summary_statistics"></p>
                            </div>
                        </div>
                        <div class="thumbnail frame plot_frame">
                            <div class="caption">
                                <h4>Variant file preview</h4>
                                <p id="landing_for_variant_file_preview"></p>
                            </div>
                        </div>
                        
                        <!-- Download button -->
                        <div class="thumbnail frame plot_frame">
                            <div class="caption">
                                <h4>Download all data</h4>
                                <p><a href="" download class="btn btn-primary" class="download_btn" id="download_zip" role="button">Download zip file of all results</a>
                                    <!-- <a href="" download class="btn btn-default" class="download_btn" id="down_txt_1"  role="button">Download all variants (.bed file)</a> -->
                                </p>
                            </div>
                        </div>
                    </div>
                    
            <!-- </div> -->

            <!-- RIGHT-->   
            <!-- <div class="col-lg-4">   -->
                
            <!-- </div>  -->
    <!-- </div> -->

    
    <!-- </div>    end of centered middle of body -->
    <!--View analysis later-->
    <div id="codepanel" >
        <div class="panel panel-info">
          <div class="panel-heading">
            <h3 class="panel-title">View analysis later</h3>
          </div>
          <div id="code" class="panel-body">
            <?php
                $code=$_GET["code"];
                $url="http://assemblytics.com/analysis.php?code=$code";
    
                echo "Return to view your results at any time: <input type=\"text\" class=\"form-control\" value=\"$url\"></input>";
            ?>
          </div>
        </div>
    </div>

    <!-- ////////////////////////////////////////////////// -->
    <!-- /////////////      Progress info     ///////////// -->
    <!-- ////////////////////////////////////////////////// -->
    <div class="panel panel-info center" id="progress_panel">
      <div class="panel-heading">
        <h3 class="panel-title">Progress</h3>
      </div>
      <div class="panel-body">
        <div id="plot_info">
        Checking progress...
        </div>
      </div>
    </div> <!-- End of progress info -->
    <!-- ////////////////////////////////////////////////// -->
    


    
<!--   jquery must be first because bootstrap depends on it   -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>




<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type='text/javascript' src="js/analysis_page_script.js?rndstr="<?php rand(100000,999999) ?> ></script>

<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.min.js"></script>

</body>
</html>