Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gmod/bam

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gmod/bam - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name="1.0.14"></a>
## [1.0.14](https://github.com/GMOD/bam-js/compare/v1.0.13...v1.0.14) (2019-01-04)
- Add hasRefSeq for CSI indexes
<a name="1.0.13"></a>

@@ -2,0 +9,0 @@ ## [1.0.13](https://github.com/GMOD/bam-js/compare/v1.0.12...v1.0.13) (2018-12-25)

@@ -428,2 +428,47 @@ 'use strict';

/**
* @param {number} seqId
* @returns {Promise} true if the index contains entries for
* the given reference sequence ID, false otherwise
*/
}, {
key: 'hasRefSeq',
value: function () {
var _ref5 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee4(seqId) {
return _regenerator2.default.wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
_context4.next = 2;
return this.parse();
case 2:
_context4.t1 = seqId;
_context4.t0 = _context4.sent.indices[_context4.t1];
if (_context4.t0) {
_context4.next = 6;
break;
}
_context4.t0 = {};
case 6:
return _context4.abrupt('return', !!_context4.t0.binIndex);
case 7:
case 'end':
return _context4.stop();
}
}
}, _callee4, this);
}));
function hasRefSeq(_x5) {
return _ref5.apply(this, arguments);
}
return hasRefSeq;
}()
/**
* calculate the list of bins that may overlap with region [beg,end) (zero-based half-open)

@@ -430,0 +475,0 @@ * @returns {Array[number]}

2

package.json
{
"name": "@gmod/bam",
"version": "1.0.13",
"version": "1.0.14",
"description": "Parser for BAM and BAM index (bai) files",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc