Neptune: Planet or Myth?
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

@gmod/bam

1.0.14 • Public • Published

Generated with nod NPM version Build Status Coverage Status

Install

$ npm install --save @gmod/bam

Usage

const {BamFile} = require('@gmod/bam');
 
const t = new BamFile({
        bamPath: 'test.bam',
});
 
var header = await t.getHeader()
 
var records = await t.getRecordsForRange('ctgA', 1, 50000)

Input are 0-based half-open coordinates (note: not the same as samtools view coordinate inputs!)

License

MIT © Colin Diesh

install

npm i @gmod/bam

Downloadsweekly downloads

603

version

1.0.14

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability