@jbrowse/plugin-dotplot-view 2.16.0 → 2.17.0
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.
|
@@ -4,8 +4,9 @@ exports.onClick = onClick;
|
|
|
4
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
const util_1 = require("@jbrowse/core/util");
|
|
6
6
|
const plugin_alignments_1 = require("@jbrowse/plugin-alignments");
|
|
7
|
-
const { featurizeSA, getClip,
|
|
7
|
+
const { featurizeSA, getClip, getLength, getLengthSansClipping } = plugin_alignments_1.MismatchParser;
|
|
8
8
|
function onClick(feature, self) {
|
|
9
|
+
var _a;
|
|
9
10
|
const session = (0, util_1.getSession)(self);
|
|
10
11
|
try {
|
|
11
12
|
const cigar = feature.get('CIGAR');
|
|
@@ -19,7 +20,7 @@ function onClick(feature, self) {
|
|
|
19
20
|
const assemblyNames = [trackAssembly, readAssembly];
|
|
20
21
|
const trackId = `track-${Date.now()}`;
|
|
21
22
|
const trackName = `${readName}_vs_${trackAssembly}`;
|
|
22
|
-
const SA =
|
|
23
|
+
const SA = (_a = feature.get('tags')) === null || _a === void 0 ? void 0 : _a.SA;
|
|
23
24
|
const SA2 = featurizeSA(SA, feature.id(), strand, readName, true);
|
|
24
25
|
const feat = feature.toJSON();
|
|
25
26
|
feat.strand = 1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { getConf } from '@jbrowse/core/configuration';
|
|
2
2
|
import { getSession, gatherOverlaps } from '@jbrowse/core/util';
|
|
3
3
|
import { MismatchParser, } from '@jbrowse/plugin-alignments';
|
|
4
|
-
const { featurizeSA, getClip,
|
|
4
|
+
const { featurizeSA, getClip, getLength, getLengthSansClipping } = MismatchParser;
|
|
5
5
|
export function onClick(feature, self) {
|
|
6
|
+
var _a;
|
|
6
7
|
const session = getSession(self);
|
|
7
8
|
try {
|
|
8
9
|
const cigar = feature.get('CIGAR');
|
|
@@ -16,7 +17,7 @@ export function onClick(feature, self) {
|
|
|
16
17
|
const assemblyNames = [trackAssembly, readAssembly];
|
|
17
18
|
const trackId = `track-${Date.now()}`;
|
|
18
19
|
const trackName = `${readName}_vs_${trackAssembly}`;
|
|
19
|
-
const SA =
|
|
20
|
+
const SA = (_a = feature.get('tags')) === null || _a === void 0 ? void 0 : _a.SA;
|
|
20
21
|
const SA2 = featurizeSA(SA, feature.id(), strand, readName, true);
|
|
21
22
|
const feat = feature.toJSON();
|
|
22
23
|
feat.strand = 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-dotplot-view",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "JBrowse 2 dotplot view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "eed30b5e671f8f7823652d7cecc51aa89226de46"
|
|
65
65
|
}
|