@jbrowse/plugin-alignments 1.6.4 → 1.6.7
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/AlignmentsFeatureDetail/index.d.ts +1 -1
- package/dist/BamAdapter/BamSlightlyLazyFeature.d.ts +3 -2
- package/dist/BamAdapter/configSchema.d.ts +1 -1
- package/dist/CramAdapter/configSchema.d.ts +1 -1
- package/dist/HtsgetBamAdapter/configSchema.d.ts +1 -1
- package/dist/LinearAlignmentsDisplay/models/configSchema.d.ts +1 -1
- package/dist/LinearAlignmentsDisplay/models/model.d.ts +1 -1
- package/dist/LinearPileupDisplay/configSchema.d.ts +1 -1
- package/dist/LinearSNPCoverageDisplay/components/Tooltip.d.ts +1 -1
- package/dist/LinearSNPCoverageDisplay/models/configSchema.d.ts +1 -1
- package/dist/PileupRenderer/configSchema.d.ts +1 -1
- package/dist/SNPCoverageAdapter/configSchema.d.ts +1 -1
- package/dist/SNPCoverageRenderer/SNPCoverageRenderer.d.ts +1 -1
- package/dist/SNPCoverageRenderer/configSchema.d.ts +1 -1
- package/dist/SNPCoverageRenderer/index.d.ts +1 -1
- package/dist/plugin-alignments.cjs.development.js +291 -223
- package/dist/plugin-alignments.cjs.development.js.map +1 -1
- package/dist/plugin-alignments.cjs.production.min.js +1 -1
- package/dist/plugin-alignments.cjs.production.min.js.map +1 -1
- package/dist/plugin-alignments.esm.js +291 -223
- package/dist/plugin-alignments.esm.js.map +1 -1
- package/package.json +6 -6
- package/src/AlignmentsFeatureDetail/AlignmentsFeatureDetail.tsx +23 -14
- package/src/BamAdapter/BamAdapter.ts +3 -4
- package/src/BamAdapter/BamSlightlyLazyFeature.ts +8 -4
- package/src/LinearAlignmentsDisplay/components/AlignmentsDisplay.tsx +38 -30
- package/src/LinearAlignmentsDisplay/models/model.tsx +10 -9
- package/src/LinearPileupDisplay/model.ts +6 -6
- package/src/LinearSNPCoverageDisplay/components/Tooltip.tsx +5 -3
- package/src/LinearSNPCoverageDisplay/models/configSchema.ts +4 -5
- package/src/PileupRenderer/PileupRenderer.tsx +39 -27
- package/src/PileupRenderer/components/PileupRendering.tsx +5 -3
- package/src/SNPCoverageAdapter/SNPCoverageAdapter.ts +188 -169
- package/src/SNPCoverageRenderer/SNPCoverageRenderer.ts +86 -56
- package/src/SNPCoverageRenderer/configSchema.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const configSchema: import("@jbrowse/core/configuration
|
|
2
|
+
declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export declare function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
4
4
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
5
|
type: import("mobx-state-tree").ISimpleType<"AlignmentsFeatureWidget">;
|
|
@@ -7,6 +7,7 @@ export default class BamSlightlyLazyFeature implements Feature {
|
|
|
7
7
|
private record;
|
|
8
8
|
private adapter;
|
|
9
9
|
private ref?;
|
|
10
|
+
private cachedMD;
|
|
10
11
|
constructor(record: BamRecord, adapter: BamAdapter, ref?: string | undefined);
|
|
11
12
|
_get_name(): any;
|
|
12
13
|
_get_type(): string;
|
|
@@ -14,12 +15,12 @@ export default class BamSlightlyLazyFeature implements Feature {
|
|
|
14
15
|
_get_flags(): string;
|
|
15
16
|
_get_strand(): number;
|
|
16
17
|
_get_pair_orientation(): string | null | undefined;
|
|
17
|
-
_get_next_seq_id():
|
|
18
|
+
_get_next_seq_id(): number;
|
|
18
19
|
_get_seq_id(): number;
|
|
19
20
|
_get_next_refName(): string | undefined;
|
|
20
21
|
_get_next_segment_position(): string | undefined;
|
|
21
22
|
_get_seq(): string;
|
|
22
|
-
_get_MD():
|
|
23
|
+
_get_MD(): any;
|
|
23
24
|
qualRaw(): Buffer | undefined;
|
|
24
25
|
set(): void;
|
|
25
26
|
tags(): string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
2
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration
|
|
2
|
+
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const configModelFactory: (pluginManager: PluginManager) => import("@jbrowse/core/configuration
|
|
2
|
+
declare const configModelFactory: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export declare type AlignmentsConfigModel = ReturnType<typeof configModelFactory>;
|
|
4
4
|
export default configModelFactory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration
|
|
2
|
+
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
3
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
4
4
|
import { MenuItem } from '@jbrowse/core/ui';
|
|
5
5
|
import { Instance } from 'mobx-state-tree';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
2
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
-
declare function PileupConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration
|
|
3
|
+
declare function PileupConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
4
4
|
export declare type LinearPileupDisplayConfigModel = ReturnType<typeof PileupConfigFactory>;
|
|
5
5
|
export declare type LinearPileupDisplayConfig = Instance<LinearPileupDisplayConfigModel>;
|
|
6
6
|
export default PileupConfigFactory;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export default function SNPCoverageConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration
|
|
2
|
+
export default function SNPCoverageConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
2
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration
|
|
2
|
+
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export default _default;
|
|
@@ -13,7 +13,7 @@ export interface RenderArgsDeserializedWithFeatures extends RenderArgsDeserializ
|
|
|
13
13
|
values: number[];
|
|
14
14
|
};
|
|
15
15
|
displayCrossHatches: boolean;
|
|
16
|
-
modificationTagMap
|
|
16
|
+
modificationTagMap?: Record<string, string>;
|
|
17
17
|
}
|
|
18
18
|
export default class SNPCoverageRenderer extends WiggleBaseRenderer {
|
|
19
19
|
draw(ctx: CanvasRenderingContext2D, props: RenderArgsDeserializedWithFeatures): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare var _default: import("@jbrowse/core/configuration
|
|
1
|
+
declare var _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
2
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export declare const configSchema: import("@jbrowse/core/configuration
|
|
2
|
+
export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export default function register(pluginManager: PluginManager): void;
|