ensembl-node-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

ensembl-node-api

Unofficial NodeJS API client for Ensembl's REST API

It is extremely limited in scope currently. Help is welcome to incrementally expand it. See Supported Endpoints for a list of endpoints that are currently supported.

This client supports automatic rate-limiting per the Ensembl REST API documentation.

Usage

Installation

npm install ensembl-node-api

Example

import { EnsemblClient } from 'ensembl-node-api';

const client = new EnsemblClient();
console.log(await client.xref.externalSymbol({
  species: 'human',
  symbol: 'BRCA2'
}))

Supported Endpoints

  • [ ] Archive
  • [ ] Comparative Genomics
  • [x] Cross References
    • [x] ID
    • [x] Name
    • [x] Symbol
  • [ ] Information
  • [x] Linkage Disequilibrium
    • [x] For variant
    • [x] For region
    • [x] Pairwise
  • [ ] Lookup
    • [x] Id
    • [ ] Ids
    • [ ] Symbol
    • [ ] Symbols
  • [ ] Mapping
  • [ ] Ontologies and Taxonomy
  • [ ] Phenotype Annotations
  • [ ] Overlap
  • [ ] Regulation
  • [ ] Sequence
  • [ ] Transcript Haplotypes
  • [ ] VEP
  • [ ] Variation
  • [ ] Variation GA4GH

Readme

Keywords

Package Sidebar

Install

npm i ensembl-node-api

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

54.1 kB

Total Files

19

Last publish

Collaborators

  • riyavsinha