bionode-gff

2.0.0 • Public • Published

bionode logo
bionode.io

#bionode-gff > Node.js module for parsing gff files

NPM

Build Status

Install

Install bionode-gff with npm:

$ npm install bionode-gff

Usage

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

var ncbi = require('bionode-gff')
 GFF.read(filePath).on('data',onFeatures).on('end', done);
 
 function onFeature(feature){
         console.log(feature.seqid);
         console.log(feature.source);
         console.log(feature.type);
         console.log(feature.start);
         console.log(feature.end);
         console.log(feature.score || '.');
         console.log(feature.strand || '?');
         console.log(feature.phase || '.');
         console.log(feature.attributes);
 }
 
 function done(){
 console.log('done');
 }

Readme

Keywords

Package Sidebar

Install

npm i bionode-gff

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • doomedramen