@jbrowse/plugin-bed 1.7.0 → 1.7.3
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/BedTabixAdapter/BedTabixAdapter.d.ts +23 -23
- package/dist/BedTabixAdapter/configSchema.d.ts +2 -2
- package/dist/BedTabixAdapter/index.d.ts +1 -1
- package/dist/BigBedAdapter/BigBedAdapter.d.ts +46 -46
- package/dist/BigBedAdapter/configSchema.d.ts +2 -2
- package/dist/BigBedAdapter/index.d.ts +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/util.d.ts +2 -2
- package/package.json +4 -3
- package/dist/index.test.d.ts +0 -1
- package/dist/plugin-bed.cjs.development.js +0 -1753
- package/dist/plugin-bed.cjs.development.js.map +0 -1
- package/dist/plugin-bed.cjs.production.min.js +0 -2
- package/dist/plugin-bed.cjs.production.min.js.map +0 -1
- package/dist/plugin-bed.esm.js +0 -1747
- package/dist/plugin-bed.esm.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
import { Region } from '@jbrowse/core/util/types';
|
|
3
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
-
import { TabixIndexedFile } from '@gmod/tabix';
|
|
5
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
6
|
-
import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
|
|
7
|
-
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
|
|
8
|
-
export default class BedTabixAdapter extends BaseFeatureDataAdapter {
|
|
9
|
-
private parser;
|
|
10
|
-
protected bed: TabixIndexedFile;
|
|
11
|
-
protected columnNames: string[];
|
|
12
|
-
protected scoreColumn: string;
|
|
13
|
-
static capabilities: string[];
|
|
14
|
-
constructor(config: AnyConfigurationModel, getSubAdapter?: getSubAdapterType, pluginManager?: PluginManager);
|
|
15
|
-
getRefNames(opts?: BaseOptions): Promise<any>;
|
|
16
|
-
getHeader(): Promise<string>;
|
|
17
|
-
defaultParser(fields: string[], line: string): {
|
|
18
|
-
[k: string]: string;
|
|
19
|
-
};
|
|
20
|
-
getNames(): Promise<string[] | null>;
|
|
21
|
-
getFeatures(query: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
22
|
-
freeResources(): void;
|
|
23
|
-
}
|
|
1
|
+
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
+
import { Region } from '@jbrowse/core/util/types';
|
|
3
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
+
import { TabixIndexedFile } from '@gmod/tabix';
|
|
5
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
6
|
+
import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
|
|
7
|
+
import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
|
|
8
|
+
export default class BedTabixAdapter extends BaseFeatureDataAdapter {
|
|
9
|
+
private parser;
|
|
10
|
+
protected bed: TabixIndexedFile;
|
|
11
|
+
protected columnNames: string[];
|
|
12
|
+
protected scoreColumn: string;
|
|
13
|
+
static capabilities: string[];
|
|
14
|
+
constructor(config: AnyConfigurationModel, getSubAdapter?: getSubAdapterType, pluginManager?: PluginManager);
|
|
15
|
+
getRefNames(opts?: BaseOptions): Promise<any>;
|
|
16
|
+
getHeader(): Promise<string>;
|
|
17
|
+
defaultParser(fields: string[], line: string): {
|
|
18
|
+
[k: string]: string;
|
|
19
|
+
};
|
|
20
|
+
getNames(): Promise<string[] | null>;
|
|
21
|
+
getFeatures(query: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
22
|
+
freeResources(): void;
|
|
23
|
+
}
|
|
@@ -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';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { BigBed } from '@gmod/bbi';
|
|
2
|
-
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
3
|
-
import { Region } from '@jbrowse/core/util/types';
|
|
4
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
5
|
-
interface BEDFeature {
|
|
6
|
-
chrom: string;
|
|
7
|
-
chromStart: number;
|
|
8
|
-
chromEnd: number;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}
|
|
11
|
-
interface Parser {
|
|
12
|
-
parseLine: (line: string, opts: {
|
|
13
|
-
uniqueId: string | number;
|
|
14
|
-
}) => BEDFeature;
|
|
15
|
-
autoSql: {
|
|
16
|
-
fields: {
|
|
17
|
-
name: string;
|
|
18
|
-
comment: string;
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export default class BigBedAdapter extends BaseFeatureDataAdapter {
|
|
23
|
-
private cached?;
|
|
24
|
-
configurePre(opts?: BaseOptions): Promise<{
|
|
25
|
-
bigbed: BigBed;
|
|
26
|
-
header: any;
|
|
27
|
-
parser: Parser;
|
|
28
|
-
}>;
|
|
29
|
-
configure(opts?: BaseOptions): Promise<{
|
|
30
|
-
bigbed: BigBed;
|
|
31
|
-
header: any;
|
|
32
|
-
parser: Parser;
|
|
33
|
-
}>;
|
|
34
|
-
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
35
|
-
getHeader(opts?: BaseOptions): Promise<{
|
|
36
|
-
version: any;
|
|
37
|
-
fileType: any;
|
|
38
|
-
autoSql: {};
|
|
39
|
-
fields: {
|
|
40
|
-
[k: string]: string;
|
|
41
|
-
};
|
|
42
|
-
}>;
|
|
43
|
-
getFeatures(region: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
44
|
-
freeResources(): void;
|
|
45
|
-
}
|
|
46
|
-
export {};
|
|
1
|
+
import { BigBed } from '@gmod/bbi';
|
|
2
|
+
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
3
|
+
import { Region } from '@jbrowse/core/util/types';
|
|
4
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
5
|
+
interface BEDFeature {
|
|
6
|
+
chrom: string;
|
|
7
|
+
chromStart: number;
|
|
8
|
+
chromEnd: number;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
11
|
+
interface Parser {
|
|
12
|
+
parseLine: (line: string, opts: {
|
|
13
|
+
uniqueId: string | number;
|
|
14
|
+
}) => BEDFeature;
|
|
15
|
+
autoSql: {
|
|
16
|
+
fields: {
|
|
17
|
+
name: string;
|
|
18
|
+
comment: string;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export default class BigBedAdapter extends BaseFeatureDataAdapter {
|
|
23
|
+
private cached?;
|
|
24
|
+
configurePre(opts?: BaseOptions): Promise<{
|
|
25
|
+
bigbed: BigBed;
|
|
26
|
+
header: any;
|
|
27
|
+
parser: Parser;
|
|
28
|
+
}>;
|
|
29
|
+
configure(opts?: BaseOptions): Promise<{
|
|
30
|
+
bigbed: BigBed;
|
|
31
|
+
header: any;
|
|
32
|
+
parser: Parser;
|
|
33
|
+
}>;
|
|
34
|
+
getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
35
|
+
getHeader(opts?: BaseOptions): Promise<{
|
|
36
|
+
version: any;
|
|
37
|
+
fileType: any;
|
|
38
|
+
autoSql: {};
|
|
39
|
+
fields: {
|
|
40
|
+
[k: string]: string;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
43
|
+
getFeatures(region: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
44
|
+
freeResources(): void;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -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 Plugin from '@jbrowse/core/Plugin';
|
|
2
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
-
export default class BedPlugin extends Plugin {
|
|
4
|
-
name: string;
|
|
5
|
-
install(pluginManager: PluginManager): void;
|
|
6
|
-
}
|
|
1
|
+
import Plugin from '@jbrowse/core/Plugin';
|
|
2
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
+
export default class BedPlugin extends Plugin {
|
|
4
|
+
name: string;
|
|
5
|
+
install(pluginManager: PluginManager): void;
|
|
6
|
+
}
|
package/dist/util.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import SimpleFeature, { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
2
|
-
export declare function ucscProcessedTranscript(feature: Feature): Feature | SimpleFeature;
|
|
1
|
+
import SimpleFeature, { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
2
|
+
export declare function ucscProcessedTranscript(feature: Feature): Feature | SimpleFeature;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-bed",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "JBrowse 2 bed adapters, tracks, etc.",
|
|
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
|
"@gmod/bbi": "^1.0.32",
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"publishConfig": {
|
|
45
46
|
"access": "public"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "09b13c85acf4ac68dd71ab23af87656c7552fdaf"
|
|
48
49
|
}
|
package/dist/index.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|