@jbrowse/plugin-gtf 1.7.0 → 1.7.1
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/GtfAdapter/GtfAdapter.d.ts +14 -14
- package/dist/GtfAdapter/configSchema.d.ts +2 -2
- package/dist/GtfAdapter/index.d.ts +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/util.d.ts +15 -15
- package/package.json +4 -3
- package/dist/plugin-gtf.cjs.development.js +0 -1303
- package/dist/plugin-gtf.cjs.development.js.map +0 -1
- package/dist/plugin-gtf.cjs.production.min.js +0 -2
- package/dist/plugin-gtf.cjs.production.min.js.map +0 -1
- package/dist/plugin-gtf.esm.js +0 -1297
- package/dist/plugin-gtf.esm.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
3
|
-
import IntervalTree from '@flatten-js/interval-tree';
|
|
4
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
5
|
-
export default class extends BaseFeatureDataAdapter {
|
|
6
|
-
protected gtfFeatures?: Promise<{
|
|
7
|
-
intervalTree: Record<string, IntervalTree>;
|
|
8
|
-
}>;
|
|
9
|
-
private loadDataP;
|
|
10
|
-
private loadData;
|
|
11
|
-
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
12
|
-
getFeatures(query: NoAssemblyRegion, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
13
|
-
freeResources(): void;
|
|
14
|
-
}
|
|
1
|
+
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
+
import { NoAssemblyRegion } from '@jbrowse/core/util/types';
|
|
3
|
+
import IntervalTree from '@flatten-js/interval-tree';
|
|
4
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
5
|
+
export default class extends BaseFeatureDataAdapter {
|
|
6
|
+
protected gtfFeatures?: Promise<{
|
|
7
|
+
intervalTree: Record<string, IntervalTree>;
|
|
8
|
+
}>;
|
|
9
|
+
private loadDataP;
|
|
10
|
+
private loadData;
|
|
11
|
+
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
12
|
+
getFeatures(query: NoAssemblyRegion, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
13
|
+
freeResources(): void;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as configSchema } from './configSchema';
|
|
1
|
+
export { default as configSchema } from './configSchema';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
import Plugin from '@jbrowse/core/Plugin';
|
|
3
|
-
export default class GtfPlugin extends Plugin {
|
|
4
|
-
name: string;
|
|
5
|
-
install(pluginManager: PluginManager): void;
|
|
6
|
-
}
|
|
1
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import Plugin from '@jbrowse/core/Plugin';
|
|
3
|
+
export default class GtfPlugin extends Plugin {
|
|
4
|
+
name: string;
|
|
5
|
+
install(pluginManager: PluginManager): void;
|
|
6
|
+
}
|
package/dist/util.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare type Strand = '+' | '-' | '.' | '?';
|
|
2
|
-
export interface FeatureLoc {
|
|
3
|
-
[key: string]: unknown;
|
|
4
|
-
start: number;
|
|
5
|
-
end: number;
|
|
6
|
-
strand: Strand;
|
|
7
|
-
seq_name: string;
|
|
8
|
-
child_features: FeatureLoc[][];
|
|
9
|
-
data: unknown;
|
|
10
|
-
derived_features: unknown;
|
|
11
|
-
attributes: {
|
|
12
|
-
[key: string]: unknown[];
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare function featureData(data: FeatureLoc): Record<string, unknown>;
|
|
1
|
+
export declare type Strand = '+' | '-' | '.' | '?';
|
|
2
|
+
export interface FeatureLoc {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
strand: Strand;
|
|
7
|
+
seq_name: string;
|
|
8
|
+
child_features: FeatureLoc[][];
|
|
9
|
+
data: unknown;
|
|
10
|
+
derived_features: unknown;
|
|
11
|
+
attributes: {
|
|
12
|
+
[key: string]: unknown[];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function featureData(data: FeatureLoc): Record<string, unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gtf",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "JBrowse 2 gtf feature adapter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"prepack": "yarn build; yarn useDist",
|
|
30
30
|
"postpack": "yarn useSrc",
|
|
31
31
|
"useDist": "node ../../scripts/useDist.js",
|
|
32
|
-
"useSrc": "node ../../scripts/useSrc.js"
|
|
32
|
+
"useSrc": "node ../../scripts/useSrc.js",
|
|
33
|
+
"postbuild": "tsc --build tsconfig.build.json"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"@flatten-js/interval-tree": "^1.0.15",
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"publishConfig": {
|
|
50
51
|
"access": "public"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "6da232090c90f22ac96fd464c33082c89b8da14b"
|
|
53
54
|
}
|