Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chmille4/Scribl
HTML5 canvas genomic graphics library
https://github.com/chmille4/Scribl
Last synced: 3 months ago
JSON representation
HTML5 canvas genomic graphics library
- Host: GitHub
- URL: https://github.com/chmille4/Scribl
- Owner: chmille4
- Created: 2010-12-12T21:18:47.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T14:58:17.000Z (over 5 years ago)
- Last Synced: 2024-06-21T18:44:06.784Z (5 months ago)
- Language: JavaScript
- Homepage: http://chmille4.github.com/Scribl/
- Size: 5.85 MB
- Stars: 76
- Watchers: 4
- Forks: 14
- Open Issues: 15
-
Metadata Files:
- Readme: README.mkdn
Awesome Lists containing this project
- Awesome-Bioinformatics - scribl - JavaScript library for drawing canvas-based gene diagrams. [ [paper-2012](https://pubmed.ncbi.nlm.nih.gov/23172864) | [web](http://chmille4.github.io/Scribl) ] (Visualization / Genome Browsers / Gene Diagrams)
README
# Scribl
Scribl is a HTML5 canvas-based genomics graphics library
publication - http://www.ncbi.nlm.nih.gov/pubmed/23172864
## Usage
function draw(canvasName) {
// Get Canvas and Create Chart
var canvas = document.getElementById(canvasName);
// Create Chart
chart = new Scribl(canvas, 500);
// Add Genes
gene1 = chart.addGene( 5, 750 , '-');
// Draw Chart
chart.draw();
}
## Examples
http://chmille4.github.com/Scribl/## Documentation
* [Usage Guide](https://github.com/chmille4/Scribl/wiki)
* [Annotated Source Code](http://chmille4.github.com/Scribl/source.html)## Minification
The [closure compiler](http://code.google.com/closure/compiler/) is used to combine and minify multiple javascript files. To compile the library yourself install google closure compiler, set the correct path for the closure compiler in compile.sh and then run compile.rb from the main directory
```ruby utils/compile.rb```
## License
MIT License