@teselagen/bio-parsers 0.4.17 → 0.4.18

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.cjs CHANGED
@@ -16206,6 +16206,7 @@ function genbankToJson(string, options = {}) {
16206
16206
  const feat = getCurrentFeature();
16207
16207
  feat.type = key;
16208
16208
  feat.strand = strand;
16209
+ feat.forward = strand === 1;
16209
16210
  feat.locations = feat.locations.concat(
16210
16211
  parseFeatureLocation(
16211
16212
  val2,
package/index.js CHANGED
@@ -16204,6 +16204,7 @@ function genbankToJson(string, options = {}) {
16204
16204
  const feat = getCurrentFeature();
16205
16205
  feat.type = key;
16206
16206
  feat.strand = strand;
16207
+ feat.forward = strand === 1;
16207
16208
  feat.locations = feat.locations.concat(
16208
16209
  parseFeatureLocation(
16209
16210
  val2,
package/index.umd.cjs CHANGED
@@ -16208,6 +16208,7 @@ var __async = (__this, __arguments, generator) => {
16208
16208
  const feat = getCurrentFeature();
16209
16209
  feat.type = key;
16210
16210
  feat.strand = strand;
16211
+ feat.forward = strand === 1;
16211
16212
  feat.locations = feat.locations.concat(
16212
16213
  parseFeatureLocation(
16213
16214
  val2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/bio-parsers",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "dependencies": {
5
5
  "@teselagen/sequence-utils": "0.3.24",
6
6
  "@teselagen/range-utils": "0.3.7",
@@ -577,6 +577,7 @@ function genbankToJson(string, options = {}) {
577
577
  const feat = getCurrentFeature();
578
578
  feat.type = key;
579
579
  feat.strand = strand;
580
+ feat.forward = strand === 1;
580
581
  feat.locations = feat.locations.concat(
581
582
  parseFeatureLocation(
582
583
  val,