-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
25 lines (25 loc) · 797 Bytes
/
Copy pathtest.html
File metadata and controls
25 lines (25 loc) · 797 Bytes
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
<html>
<!--Ultimately this html page needs to use the libraries and read and write-->
<head>
<script src="readGFF.js"></script>
<script src="circleGenome.js"></script>
<script src="Please.js"></script>
</head>
<body>
<div>
<canvas id="my_canvas" width="600" height="600">
<script>
var features_JSON = {};
features_JSON = readGFF("Klebs.gff");
genome_name = "Carsonella ruddii ruddii PC";
genome_length = 5435369;
features_to_plot = ['tRNA', 'island'];
labels_to_plot = ['island'];
var obj = Please.make_color({colors_returned: features_to_plot.length, seed: 325});
options = {'canvas': my_canvas, 'colors': obj};
plotGenome(genome_name, genome_length, features_to_plot, features_JSON,labels_to_plot ,options);
</script>
</canvas>
</div>
</body>
</html>