Comparing version 1.0.11 to 1.0.12
@@ -0,1 +1,8 @@ | ||
<a name="1.0.12"></a> | ||
## [1.0.12](https://github.com/GMOD/bam-js/compare/v1.0.11...v1.0.12) (2018-11-25) | ||
- Faster viewAsPairs operation | ||
<a name="1.0.11"></a> | ||
@@ -2,0 +9,0 @@ ## [1.0.11](https://github.com/GMOD/bam-js/compare/v1.0.10...v1.0.11) (2018-11-23) |
@@ -494,5 +494,3 @@ 'use strict'; | ||
// filter out duplicate chunks (the blocks are lists of chunks, blocks are concatenated, then filter dup chunks) | ||
mateChunks = mateChunks.sort(function (a, b) { | ||
return a.toString().localeCompare(b.toString()); | ||
}).filter(function (item, pos, ary) { | ||
mateChunks = mateChunks.sort().filter(function (item, pos, ary) { | ||
return !pos || item.toString() !== ary[pos - 1].toString(); | ||
@@ -499,0 +497,0 @@ }); |
{ | ||
"name": "@gmod/bam", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130425
2094