@teselagen/sequence-utils 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -2
- package/index.mjs +9 -2
- package/index.umd.js +9 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6602,9 +6602,16 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
|
6602
6602
|
}
|
|
6603
6603
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
|
6604
6604
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
|
6605
|
-
const trimmedRange = trimRangeByAnotherRange(
|
|
6605
|
+
const trimmedRange = trimRangeByAnotherRange(
|
|
6606
|
+
rangeToBeAdjusted,
|
|
6607
|
+
anotherRange,
|
|
6608
|
+
maxLength
|
|
6609
|
+
);
|
|
6606
6610
|
if (trimmedRange) {
|
|
6607
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6611
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6612
|
+
anotherRange,
|
|
6613
|
+
maxLength
|
|
6614
|
+
);
|
|
6608
6615
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
|
6609
6616
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
|
6610
6617
|
if (trimmedRange.start > trimmedRange.end) {
|
package/index.mjs
CHANGED
|
@@ -6600,9 +6600,16 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
|
6600
6600
|
}
|
|
6601
6601
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
|
6602
6602
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
|
6603
|
-
const trimmedRange = trimRangeByAnotherRange(
|
|
6603
|
+
const trimmedRange = trimRangeByAnotherRange(
|
|
6604
|
+
rangeToBeAdjusted,
|
|
6605
|
+
anotherRange,
|
|
6606
|
+
maxLength
|
|
6607
|
+
);
|
|
6604
6608
|
if (trimmedRange) {
|
|
6605
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6609
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6610
|
+
anotherRange,
|
|
6611
|
+
maxLength
|
|
6612
|
+
);
|
|
6606
6613
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
|
6607
6614
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
|
6608
6615
|
if (trimmedRange.start > trimmedRange.end) {
|
package/index.umd.js
CHANGED
|
@@ -6604,9 +6604,16 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
6604
6604
|
}
|
|
6605
6605
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
|
6606
6606
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
|
6607
|
-
const trimmedRange = trimRangeByAnotherRange(
|
|
6607
|
+
const trimmedRange = trimRangeByAnotherRange(
|
|
6608
|
+
rangeToBeAdjusted,
|
|
6609
|
+
anotherRange,
|
|
6610
|
+
maxLength
|
|
6611
|
+
);
|
|
6608
6612
|
if (trimmedRange) {
|
|
6609
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6613
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
|
6614
|
+
anotherRange,
|
|
6615
|
+
maxLength
|
|
6616
|
+
);
|
|
6610
6617
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
|
6611
6618
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
|
6612
6619
|
if (trimmedRange.start > trimmedRange.end) {
|