https://github.com/hammerlab/vcf.js
A VCF parser and variant record model in JavaScript.
https://github.com/hammerlab/vcf.js
Last synced: about 1 year ago
JSON representation
A VCF parser and variant record model in JavaScript.
- Host: GitHub
- URL: https://github.com/hammerlab/vcf.js
- Owner: hammerlab
- License: apache-2.0
- Created: 2014-05-20T19:14:32.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-04T17:06:05.000Z (over 9 years ago)
- Last Synced: 2025-04-02T19:17:10.373Z (about 1 year ago)
- Language: JavaScript
- Size: 2.12 MB
- Stars: 22
- Watchers: 12
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VCF.js
VCF.js is a library that can remotely load and parse VCF files, or JSON
representations of them. It is used to manipulate and analyse genotype calls.
## Documentation
Documentation can be found in DOCUMENTATION.md.
## Using it
Example usage in `test/` directory, just start a server in the root directory
(e.g. `python -m SimpleHTTPServer`) and open `index.html`, then open a dev
console and look at the `data` object, for example.
[]((https://nodei.co/npm/loch/))
### TODO
1. Make sure this works seamlessly client-side and in the browser, and plays
well with npm.
2. Define schema for loading JSON VCF records.
3. Enable adding to/streaming VCF records from the server to the vcf object.
4. Make a VCF writer.