@datagrok/bio 2.27.5 → 2.27.6
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/dist/package-test.js +2 -2
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +2 -2
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/tests/detectors-tests.ts +1 -1
- package/src/tests/splitters-test.ts +2 -2
- package/src/utils/monomer-lib/monomer-lib-base.ts +2 -2
- package/test-console-output-1.log +571 -576
- package/test-record-1.mp4 +0 -0
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"name": "Davit Rizhinashvili",
|
|
6
6
|
"email": "drizhinashvili@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.27.
|
|
8
|
+
"version": "2.27.6",
|
|
9
9
|
"description": "Bioinformatics support (import/export of sequences, conversion, visualization, analysis). [See more](https://github.com/datagrok-ai/public/blob/master/packages/Bio/README.md) for details.",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@biowasm/aioli": "^3.1.0",
|
|
47
|
-
"@datagrok-libraries/bio": "^5.64.
|
|
47
|
+
"@datagrok-libraries/bio": "^5.64.1",
|
|
48
48
|
"@datagrok-libraries/chem-meta": "^1.2.9",
|
|
49
49
|
"@datagrok-libraries/math": "^1.2.6",
|
|
50
50
|
"@datagrok-libraries/ml": "^6.10.11",
|
|
@@ -467,7 +467,7 @@ MWRSWY-CKHPMWRSWY-CKHP`;
|
|
|
467
467
|
// collapse what used to be N distinct triple-tokens into a smaller union
|
|
468
468
|
// of {sugar(s), bases, phosphate(s)} symbols.
|
|
469
469
|
await _testDf(readSamples(Samples.testHelmCsv), {
|
|
470
|
-
'HELM string': new PosCol(NOTATION.HELM, null, null,
|
|
470
|
+
'HELM string': new PosCol(NOTATION.HELM, null, null, 7, true),
|
|
471
471
|
}, seqHelper);
|
|
472
472
|
});
|
|
473
473
|
|
|
@@ -73,8 +73,8 @@ category('splitters', async () => {
|
|
|
73
73
|
['P', 'R', 'U', 'P', 'R', 'T'],
|
|
74
74
|
],
|
|
75
75
|
testHelm3: [
|
|
76
|
-
'RNA1{P.R(U).P.R(T)}$$$$',
|
|
77
|
-
['P', 'R
|
|
76
|
+
'RNA1{P.R(U).P.R(T)}$$$$',
|
|
77
|
+
['P', 'R', 'U', 'P', 'R', 'T'],
|
|
78
78
|
],
|
|
79
79
|
};
|
|
80
80
|
|
|
@@ -167,11 +167,11 @@ export class MonomerLibBase implements IMonomerLibBase {
|
|
|
167
167
|
|
|
168
168
|
/** Get or create {@link Monomer} object (in case it is missing in monomer library current config) */
|
|
169
169
|
let m: Monomer | null = this.getMonomer(pt, elem);
|
|
170
|
-
if (m && biotype == HelmTypes.LINKER && m[REQ.RGROUPS]
|
|
170
|
+
if (m && biotype == HelmTypes.LINKER && (m[REQ.RGROUPS]?.length ?? 0) < 2) {
|
|
171
171
|
// Web Editor expects null
|
|
172
172
|
return null;
|
|
173
173
|
}
|
|
174
|
-
if (m && biotype == HelmTypes.SUGAR && m[REQ.RGROUPS]
|
|
174
|
+
if (m && biotype == HelmTypes.SUGAR && (m[REQ.RGROUPS]?.length ?? 0) < 3) {
|
|
175
175
|
// Web Editor expects null
|
|
176
176
|
return null;
|
|
177
177
|
}
|