A NodeJS client for MyVariant.info web services
You can view a basic web app demo which uses the myvariantjs lib.
You can also clone and start the demo app locally. Repo is here.
Developed enterly in Chrome. Mileage may vary in other untested browsers right now (sorry 'bout that, not enough hours in my day).
MyVariant.Info provides simple-to-use REST web services to query/retrieve genetic variant annotation data. It is designed for simplicity and performance.
myvariantjs is an easy-to-use node.js client that accesses the MyVariant.Info web services.
There is also a similarly designed python client called myvariant.py, if python is your thing.
npm install myvariantjs --save
Also see the API section below.
$ node> let mv = default> mvurl: ''validFormats: 'json' 'csv' 'tsv' 'table' 'flat'passthru: Function: passthrugetfields: Function: getfieldsgetvariant: Function: getvariantgetvariants: Function: getvariantsquery: Function: queryquerymany: Function: querymany> let got = mv; //Promised> got> _id: 'chr9:g.107620835G>A'_version: 1dbnsfp: genename: 'ABCA1'
npm run doc
optional. you can view the docs in the docs folder or on github.