-
Notifications
You must be signed in to change notification settings - Fork 0
/
consmap.html
131 lines (115 loc) · 6.37 KB
/
consmap.html
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
<!DOCTYPE html >
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./css/bootstrap.css">
<title>Consensus map</title>
</head>
<!--------------- Navabar header ----------------->
<div class="container">
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
<h5 class="my-0 mr-md-auto font-weight-normal">Consensus Map</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="#">Home</a>
<a class="p-2 text-dark" href="#">Documentation</a>
<a class="p-2 text-dark" href="#">Cite</a>
<a class="p-2 text-dark" href="#">Contact Us</a>
</nav>
</div>
</div>
<!------------ Main body --------------->
<br>
<div class="container">
<div class="card text-center">
<div class="card-body">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="t1-tab" data-toggle="tab" href="#t1" role="tab" aria-controls="t1" aria-selected="true">Test 1: QTL vs QTL</a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Test 2: QTL vs QTLs</a>
</li>
<li class="nav-item">
<a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Test 3: QTL vs Gene</a>
</li>
</ul>
<br>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="t1" role="tabpanel" aria-labelledby="t1-tab">
<h6 class="card-title">Enter the details of Identified QTL</h6>
<div class="row">
<div class="col-sm">
<div class="form-group">
<label for="chri">Select a chromosome</label>
<select class="form-control chri" id="chri">
<option>Chr1</option>
<option>Chr2</option>
<option>Chr3</option>
<option>Chr4</option>
<option>Chr5</option>
<option>Chr6</option>
<option>Chr7</option>
</select>
</div>
</div>
<div class="col-sm"></div>
<div class="col-sm">
<label for="ipos">Position (bp):</label><br>
<input type="number" id="ipos" placeholder=0>
</div>
</div>
<hr>
<h6 class="card-title">Enter the details of Selected QTL</h6>
<div class="row">
<div class="col-sm">
<div class="form-group">
<label for="chrs">Select a chromosome</label>
<select class="form-control" id="chrs">
<option>Chr1</option>
<option>Chr2</option>
<option>Chr3</option>
<option>Chr4</option>
<option>Chr5</option>
<option>Chr6</option>
<option>Chr7</option>
</select>
</div>
</div>
<div class="col-sm"></div>
<div class="col-sm">
<label for="spos">Position (bp):</label><br>
<input type="number" id="spos" placeholder=0>
</div>
</div>
<hr>
<div class="row">
<div class="col-sm">
<input id="computepvalue" type="button" class="btn btn-primary" value="Compute p-value" onclick="computepval()" />
</div>
</div>
<br>
<div class="row">
<div class="col-sm">
<p>p-value:</p>
<p id="pval"></p>
</div>
</div>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
<div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script src="./js/bootstrap.js"></script>
<script src="./js/poly_scores.js"></script>
<script src="./js/ztab.js"></script>
<script src="./js/rr.js"></script>
<script src="./js/compute_p_val.js"></script>
</body>
</html>