Skip to content

bionode/bionode-ncbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11aeef3 · Jun 20, 2014

History

2 Commits
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014
Jun 20, 2014

Repository files navigation

bionode logo
bionode.io

# bionode-ncbi [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]

Node.js module for working with the NCBI API (aka e-utils).

Install

Install bionode-ncbi with npm:

$ npm install bionode-ncbi

To use it as a command line tool, you can install it globally by adding -g .

Usage

If you are using bionode-ncbi with Node.js, you can require the module:

var ncbi = require('bionode-ncbi')
ncbi.search('sra', 'solenopsis').on('data', console.log)

Please read the documentation for the methods exposed by bionode.

Command line examples

$ bionode-ncbi search taxonomy solenopsis
$ bionode-ncbi download assembly solenopsis invicta
$ bionode-ncbi urls sra solenopsis invicta
$ bionode-ncbi link assembly bioproject 244018

Usage with Dat

bionode-ncbi search gds solenopsis | dat import --json

Contributing

To contribute, clone this repo locally and commit your code on a separate branch.

Please write unit tests for your code, and check that everything works by running the following before opening a pull-request:

$ npm test

Please also check for code coverage:

$ npm run coverage

To rebuild the documentation using the comments in the code:

$ npm run build-docs

Check the issues for ways to contribute.

Contacts

Bruno Vieira <mail@bmpvieira.com> @bmpvieira

Yannick Wurm (yannick.poulet.org) @yannick__

Licenses

bionode-ncbi is licensed under the MIT license.
Check ChooseALicense.com for details.

Bitdeli Badge