Skip to content

Commit ac16889

Browse files
committed
starting front end
1 parent 4ba6b0e commit ac16889

File tree

4 files changed

+75
-0
lines changed

4 files changed

+75
-0
lines changed

covizu.sh

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#!/bin/bash
2+
3+
# TODO: add download and updater scripts -> data/gisaid-aligned.fa
4+
15
# screen for non-human and low-coverage samples -> gisaid-filtered.fa
26
python3 filtering.py
37

@@ -17,4 +21,7 @@ sed -i 's/[{}]//g' data/variants.tn93.txt
1721
Rscript hclust.R
1822

1923
# run FastTree and TreeTime
24+
if [ ! -d "treetime" ]; then
25+
mkdir treetime
26+
fi
2027
python3 treetime.py

css/style.css

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
body {
2+
width: 95%;
3+
max-width: 1200px;
4+
margin: 1em auto;
5+
font: .9em/1.2 Cabin, Lato, sans-serif;
6+
}
7+
8+
.container {
9+
display: grid;
10+
grid-template-columns: repeat(3, minmax(0,1fr));
11+
grid-gap: 10px;
12+
}
13+
14+
header {
15+
grid-column: 1 / 3;
16+
grid-row: 1;
17+
}
18+
19+
sidebar {
20+
grid-column: 1;
21+
grid-row: 2;
22+
}
23+
24+
interface {
25+
grid-column: 2 / 3;
26+
grid-row: 2;
27+
}
28+
29+
footer {
30+
grid-column: 1 / 3;
31+
grid-row: 3;
32+
}
33+
34+
header,
35+
footer {
36+
border-radius: 1px;
37+
padding: 10px;
38+
background-color: rgb(207,232,220);
39+
border: 2px solid rgb(79,185,227);
40+
}
41+
42+
sidebar {
43+
border-right: 1px solid #999;
44+
}

index.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
3+
<head>
4+
<title>CoVizu</title>
5+
<link rel="stylesheet" href="/css/style.css">
6+
</head>
7+
<body>
8+
<div class="container">
9+
<header>header</header>
10+
<interface>
11+
<canvas>
12+
13+
</canvas>
14+
</interface>
15+
<sidebar>
16+
sidebar
17+
</sidebar>
18+
<footer>footer</footer>
19+
</div>
20+
<script src="js/covizu.js"></script>
21+
</body>
22+
</html>

run-server.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
python3 -m http.server 8001 --bind 127.0.0.1

0 commit comments

Comments
 (0)