bionode-gff
v2.0.0
Published
gff parser for nodejs
Downloads
1
Readme
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');
}