wuepgg3-track 5.1.2 → 6.0.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.
- package/dist/{BufferResource-Dho42gp6.mjs → BufferResource-ox6l58Jj.mjs} +1 -1
- package/dist/{CanvasRenderer-DZ-Kljxp.mjs → CanvasRenderer-CwV63_oS.mjs} +2 -2
- package/dist/{Filter-CIE8iGgU.mjs → Filter-DxBuFPLb.mjs} +1 -1
- package/dist/{RenderTargetSystem-DlQFT329.mjs → RenderTargetSystem-BkAja9Y6.mjs} +2 -2
- package/dist/{WebGLRenderer-CokzsFqm.mjs → WebGLRenderer-B56JZj6R.mjs} +3 -3
- package/dist/{WebGPURenderer-BhT78aFt.mjs → WebGPURenderer-BDvd9HyL.mjs} +3 -3
- package/dist/{browserAll-BH60W1je.mjs → browserAll-DR-T5L7F.mjs} +2 -2
- package/dist/components/GenomeView/ToolComponents/MetadataHeader.d.ts +5 -0
- package/dist/components/GenomeView/ToolComponents/MetadataSelectionMenu.d.ts +2 -0
- package/dist/components/GenomeView/TrackComponents/GroupedTrackManager.d.ts +1 -3
- package/dist/components/GenomeView/TrackComponents/MethylcComponents/MethylCTrackComputation.d.ts +1 -0
- package/dist/components/GenomeView/TrackComponents/QBedComponents/QBedTrackComponents.d.ts +1 -0
- package/dist/components/GenomeView/TrackComponents/bedComponents/BedAnnotation.d.ts +1 -0
- package/dist/components/GenomeView/TrackComponents/commonComponents/TrackLegend.d.ts +14 -1
- package/dist/components/GenomeView/TrackComponents/commonComponents/stats/BoxplotTrackComponents.d.ts +1 -0
- package/dist/components/GenomeView/TrackComponents/displayModeComponentMap.d.ts +0 -12
- package/dist/components/GenomeView/TrackManager.d.ts +1 -1
- package/dist/genome-hub/GenomeHubManager.d.ts +1 -0
- package/dist/genome-hub/GenomeSerializer.d.ts +2 -4
- package/dist/genome-hub/genome-schema.d.ts +195 -10
- package/dist/getLocalData/BedTextSource.d.ts +3 -1
- package/dist/getLocalData/LocalBigSource.d.ts +3 -1
- package/dist/getLocalData/LocalBigSourceGmod.d.ts +5 -0
- package/dist/getLocalData/localFetchTypeMap.d.ts +6 -0
- package/dist/getLocalData/localTabixSource.d.ts +2 -0
- package/dist/getRemoteData/BamSource.d.ts +3 -0
- package/dist/getRemoteData/BigSourceWorker.d.ts +4 -0
- package/dist/getRemoteData/BigSourceWorkerGmod.d.ts +2 -0
- package/dist/getRemoteData/TwoBitSource.d.ts +2 -0
- package/dist/getRemoteData/VcfSource.d.ts +3 -1
- package/dist/getRemoteData/fetchFunctions.d.ts +1 -4
- package/dist/getRemoteData/fetchTypeMap.d.ts +4 -0
- package/dist/getRemoteData/tabixSource.d.ts +2 -1
- package/dist/{index-DcAaRY2Z.mjs → index-DgUCwJAH.mjs} +56375 -54722
- package/dist/index.d.ts +3 -2
- package/dist/index.es.js +60 -62
- package/dist/index.umd.js +155 -155
- package/dist/{init-DdHVtnUL.mjs → init-Cdj_nl4w.mjs} +2 -2
- package/dist/models/Feature.d.ts +2 -1
- package/dist/models/FeatureAggregator.d.ts +1 -1
- package/dist/models/Genome.d.ts +5 -3
- package/dist/models/genomes/PAN010Mat/PAN010Mat.d.ts +14 -0
- package/dist/models/genomes/PAN010Pat/PAN010Pat.d.ts +14 -0
- package/dist/models/genomes/PAN011Mat/PAN011Mat.d.ts +14 -0
- package/dist/models/genomes/PAN011Pat/PAN011Pat.d.ts +14 -0
- package/dist/models/genomes/PAN027Mat/PAN027Mat.d.ts +14 -0
- package/dist/models/genomes/PAN027Pat/PAN027Pat.d.ts +14 -0
- package/dist/models/genomes/PAN028Mat/PAN028Mat.d.ts +14 -0
- package/dist/models/genomes/PAN028Pat/PAN028Pat.d.ts +14 -0
- package/dist/models/genomes/allGenomes.d.ts +19 -196
- package/dist/models/genomes/monDom5/cytoBandIdeo.json.d.ts +102 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/trackConfigs/config-menu-components.tsx/CategoryColorConfig.d.ts +13 -2
- package/dist/trackConfigs/config-menu-models.tsx/BigBedTrackColorConfig.d.ts +4 -0
- package/dist/trackConfigs/config-menu-models.tsx/getTrackConfig.d.ts +2 -0
- package/dist/types/genome-hub.d.ts +1 -0
- package/dist/types/track-container.d.ts +1 -0
- package/dist/webworkerAll-C0Cxiyu-.mjs +2 -0
- package/package.json +1 -1
- package/dist/components/GenomeView/TrackComponents/VcfComponents/VcfTrack.d.ts +0 -50
- package/dist/getLocalData/localFetchData.d.ts +0 -6
- package/dist/getRemoteData/fetchTrackData.d.ts +0 -4
- package/dist/webworkerAll-t6BhHcNN.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as O, C as ee, m as D, n as Re, o as ce, M as F, E as R, p as Xe, w as $e, c as He, q as ze, s as Je, r as Ke, F as Qe, t as Ze, v as et, A as tt, R as nt, f as he } from "./index-
|
|
2
|
-
import { R as at, S as st, B as ot, a as rt, b as it, c as ct, A as lt, C as ht } from "./RenderTargetSystem-
|
|
1
|
+
import { D as O, C as ee, m as D, n as Re, o as ce, M as F, E as R, p as Xe, w as $e, c as He, q as ze, s as Je, r as Ke, F as Qe, t as Ze, v as et, A as tt, R as nt, f as he } from "./index-DgUCwJAH.mjs";
|
|
2
|
+
import { R as at, S as st, B as ot, a as rt, b as it, c as ct, A as lt, C as ht } from "./RenderTargetSystem-BkAja9Y6.mjs";
|
|
3
3
|
let Z;
|
|
4
4
|
function Ae(o) {
|
|
5
5
|
const e = O.get().createCanvas(6, 1), t = e.getContext("2d");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Ve, U as oe, M as m, G as Ne, b as je, a as $e, _ as le, E as l, f as W, $ as w, a0 as qe, e as z, T, R as V, a1 as de, a2 as Ke, c as f, h as g, N as D, a3 as ue, w as ce, a4 as ee, a5 as he, a6 as pe, a7 as fe, a8 as me, H as P, a9 as Ye, C as E, D as N, O as v, aa as B, ab as Je, P as Xe, ac as Ze, B as Qe, x as te, ad as re, ae as p, l as et, v as O, af as tt, ag as rt, ah as st, ai as nt } from "./index-
|
|
2
|
-
import { F as at } from "./Filter-
|
|
1
|
+
import { Z as Ve, U as oe, M as m, G as Ne, b as je, a as $e, _ as le, E as l, f as W, $ as w, a0 as qe, e as z, T, R as V, a1 as de, a2 as Ke, c as f, h as g, N as D, a3 as ue, w as ce, a4 as ee, a5 as he, a6 as pe, a7 as fe, a8 as me, H as P, a9 as Ye, C as E, D as N, O as v, aa as B, ab as Je, P as Xe, ac as Ze, B as Qe, x as te, ad as re, ae as p, l as et, v as O, af as tt, ag as rt, ah as st, ai as nt } from "./index-DgUCwJAH.mjs";
|
|
2
|
+
import { F as at } from "./Filter-DxBuFPLb.mjs";
|
|
3
3
|
var it = `in vec2 vMaskCoord;
|
|
4
4
|
in vec2 vTextureCoord;
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as R, a as F, E as d, J as O, j as B, w as p, g as z, b as ye, S as P, c as S, d as Ne, O as q, aj as Ce, h as g, aa as V, v as y, N, U as M, M as Z, ak as J, al as De, am as Q, an as Ie, ao as Ge, A as Ue, R as Fe, f as A } from "./index-
|
|
2
|
-
import { e as Oe, G as Pe, c as Me, b as Le, U as we, B as ee, d as C, f as te, g as He } from "./BufferResource-
|
|
3
|
-
import { R as Ve, S as Xe, d as ke } from "./RenderTargetSystem-
|
|
1
|
+
import { D as R, a as F, E as d, J as O, j as B, w as p, g as z, b as ye, S as P, c as S, d as Ne, O as q, aj as Ce, h as g, aa as V, v as y, N, U as M, M as Z, ak as J, al as De, am as Q, an as Ie, ao as Ge, A as Ue, R as Fe, f as A } from "./index-DgUCwJAH.mjs";
|
|
2
|
+
import { e as Oe, G as Pe, c as Me, b as Le, U as we, B as ee, d as C, f as te, g as He } from "./BufferResource-ox6l58Jj.mjs";
|
|
3
|
+
import { R as Ve, S as Xe, d as ke } from "./RenderTargetSystem-BkAja9Y6.mjs";
|
|
4
4
|
function We() {
|
|
5
5
|
const { userAgent: t } = R.get().getNavigator();
|
|
6
6
|
return /^((?!chrome|android).)*safari/i.test(t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as L, a as A, E as l, J as D, l as ce, K as de, D as B, h as C, j as T, i as he, B as k, L as w, w as v, N as y, v as pe, O as le, U as z, Q as M, M as F, V as O, W as fe, X as I, Y as ge, S as W, c as R, A as me, R as _e, f as S } from "./index-
|
|
2
|
-
import { c as be, u as ye, U as xe, B as Ge, G as Pe, e as Be, l as Se, a as Te, t as Ce } from "./BufferResource-
|
|
3
|
-
import { R as ve, S as Ue, d as we } from "./RenderTargetSystem-
|
|
1
|
+
import { I as L, a as A, E as l, J as D, l as ce, K as de, D as B, h as C, j as T, i as he, B as k, L as w, w as v, N as y, v as pe, O as le, U as z, Q as M, M as F, V as O, W as fe, X as I, Y as ge, S as W, c as R, A as me, R as _e, f as S } from "./index-DgUCwJAH.mjs";
|
|
2
|
+
import { c as be, u as ye, U as xe, B as Ge, G as Pe, e as Be, l as Se, a as Te, t as Ce } from "./BufferResource-ox6l58Jj.mjs";
|
|
3
|
+
import { R as ve, S as Ue, d as we } from "./RenderTargetSystem-BkAja9Y6.mjs";
|
|
4
4
|
const G = A.for2d();
|
|
5
5
|
class H {
|
|
6
6
|
start(e, t, r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as O, y as Z, P as _, z as Q, E as P, k as ee, w as y, f as D, H as V } from "./index-
|
|
2
|
-
import "./init-
|
|
1
|
+
import { x as O, y as Z, P as _, z as Q, E as P, k as ee, w as y, f as D, H as V } from "./index-DgUCwJAH.mjs";
|
|
2
|
+
import "./init-Cdj_nl4w.mjs";
|
|
3
3
|
class te {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
this._lastTransform = "", this._observer = null, this._tickerAttached = !1, this.updateTranslation = () => {
|
|
@@ -8,6 +8,11 @@ interface MetadataHeaderProps {
|
|
|
8
8
|
fontSize?: number;
|
|
9
9
|
padding?: number;
|
|
10
10
|
metaWidth?: number;
|
|
11
|
+
tracks?: Array<any>;
|
|
12
|
+
termValues?: {
|
|
13
|
+
[term: string]: string[];
|
|
14
|
+
};
|
|
15
|
+
onTermValueClick?: (term: string, value: string) => void;
|
|
11
16
|
}
|
|
12
17
|
declare const MetadataHeader: React.FC<MetadataHeaderProps>;
|
|
13
18
|
export default MetadataHeader;
|
|
@@ -5,6 +5,8 @@ interface MetadataSelectionMenuProps {
|
|
|
5
5
|
onNewTerms?: (newTerms: string[]) => void;
|
|
6
6
|
suggestedMetaSets?: Set<string>;
|
|
7
7
|
onRemoveTerm?: (termToRemove: string[]) => void;
|
|
8
|
+
tracks?: Array<any>;
|
|
9
|
+
onTracksChange?: (tracks: Array<any>) => void;
|
|
8
10
|
}
|
|
9
11
|
declare const MetadataSelectionMenu: React.FC<MetadataSelectionMenuProps>;
|
|
10
12
|
export default MetadataSelectionMenu;
|
|
@@ -10,15 +10,13 @@ export declare const numericalTracks: {
|
|
|
10
10
|
methylc: string;
|
|
11
11
|
boxplot: string;
|
|
12
12
|
qbed: string;
|
|
13
|
-
vcf: string;
|
|
14
13
|
dynseq: string;
|
|
15
14
|
matplot: string;
|
|
16
|
-
longrange: string;
|
|
17
|
-
hic: string;
|
|
18
15
|
};
|
|
19
16
|
export declare const possibleNumericalTracks: {
|
|
20
17
|
bigbed: string;
|
|
21
18
|
geneannotation: string;
|
|
19
|
+
vcf: string;
|
|
22
20
|
modbed: string;
|
|
23
21
|
refbed: string;
|
|
24
22
|
bed: string;
|
|
@@ -23,14 +23,27 @@ interface TrackLegendProps {
|
|
|
23
23
|
*
|
|
24
24
|
* @author Chanrung(Chad) Seng, Silas Hsu
|
|
25
25
|
*/
|
|
26
|
-
declare class TrackLegend extends React.PureComponent<TrackLegendProps
|
|
26
|
+
declare class TrackLegend extends React.PureComponent<TrackLegendProps, {
|
|
27
|
+
showFull: boolean;
|
|
28
|
+
clickX: number;
|
|
29
|
+
clickY: number;
|
|
30
|
+
}> {
|
|
27
31
|
static defaultProps: {
|
|
28
32
|
width: number;
|
|
29
33
|
forceSvg: boolean;
|
|
30
34
|
};
|
|
35
|
+
state: {
|
|
36
|
+
showFull: boolean;
|
|
37
|
+
clickX: number;
|
|
38
|
+
clickY: number;
|
|
39
|
+
};
|
|
31
40
|
private gNode;
|
|
41
|
+
private containerRef;
|
|
42
|
+
private popupRef;
|
|
32
43
|
constructor(props: TrackLegendProps);
|
|
33
44
|
componentDidMount(): void;
|
|
45
|
+
componentWillUnmount(): void;
|
|
46
|
+
handleDocumentMouseDown(e: MouseEvent): void;
|
|
34
47
|
componentDidUpdate(nextProps: TrackLegendProps): void;
|
|
35
48
|
handleRef(node: SVGGElement): void;
|
|
36
49
|
drawAxis(): void;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
export declare const interactionTracks: Set<string>;
|
|
2
|
-
export declare const bigWithNavTracks: Set<string>;
|
|
3
|
-
export declare const instanceFetchTracks: Set<string>;
|
|
4
2
|
export declare const dynamicMatplotTracks: Set<string>;
|
|
5
|
-
export declare const anchorTracks: Set<string>;
|
|
6
3
|
export declare const densityTracks: Set<string>;
|
|
7
|
-
export declare const trackUsingExpandedLoci: {
|
|
8
|
-
biginteract: string;
|
|
9
|
-
dynamichic: string;
|
|
10
|
-
dynamiclongrange: string;
|
|
11
|
-
hic: string;
|
|
12
|
-
longrange: string;
|
|
13
|
-
genomealign: string;
|
|
14
|
-
};
|
|
15
4
|
export declare const FIBER_DENSITY_CUTOFF_LENGTH = 300000;
|
|
16
5
|
export declare const MAX_BASES_PER_PIXEL = 1000;
|
|
17
6
|
export declare const displayModeComponentMap: {
|
|
@@ -20,7 +9,6 @@ export declare const displayModeComponentMap: {
|
|
|
20
9
|
export declare function getDisplayModeFunction(drawData: {
|
|
21
10
|
[key: string]: any;
|
|
22
11
|
}): any;
|
|
23
|
-
export declare const twoDataTypeTracks: {};
|
|
24
12
|
export declare function formatDataByType(genesArr: any[], type: string, initialLoad?: boolean, regionLoci?: Array<any>): any[] | {
|
|
25
13
|
error: any;
|
|
26
14
|
};
|
|
@@ -17,7 +17,7 @@ export declare const zoomFactors: {
|
|
|
17
17
|
};
|
|
18
18
|
export declare function objToInstanceAlign(alignment: {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}): DisplayedRegionModel;
|
|
20
|
+
}): DisplayedRegionModel | undefined;
|
|
21
21
|
export declare function bpNavToGenNav(bpNaletr: Array<any>, genome: GenomeConfig): any[];
|
|
22
22
|
declare const _default: any;
|
|
23
23
|
export default _default;
|
|
@@ -11,6 +11,7 @@ export default class GenomeHubManager {
|
|
|
11
11
|
isGenomeCached(id: string): boolean;
|
|
12
12
|
getGenomeFromCache(id: string): IGenome | undefined;
|
|
13
13
|
putGenome(genome: IGenome): Promise<void>;
|
|
14
|
+
genomeExists(id: string): Promise<boolean>;
|
|
14
15
|
deleteAllGenomes(): Promise<void>;
|
|
15
16
|
deleteGenome(id: string): Promise<void>;
|
|
16
17
|
}
|
|
@@ -5,9 +5,7 @@ export default class GenomeSerializer {
|
|
|
5
5
|
static deserialize(object: IGenome): GenomeConfig;
|
|
6
6
|
static validateGenomeObject(object: any): {
|
|
7
7
|
valid: boolean;
|
|
8
|
-
errors
|
|
9
|
-
|
|
10
|
-
valid: boolean;
|
|
11
|
-
errors?: undefined;
|
|
8
|
+
errors?: any[];
|
|
9
|
+
normalizedData: any[];
|
|
12
10
|
};
|
|
13
11
|
}
|
|
@@ -8,9 +8,6 @@ export declare const genomeDataSchema: {
|
|
|
8
8
|
name: {
|
|
9
9
|
type: string;
|
|
10
10
|
};
|
|
11
|
-
group: {
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
11
|
chromosomes: {
|
|
15
12
|
type: string;
|
|
16
13
|
items: {
|
|
@@ -159,7 +156,7 @@ export declare const genomeDataSchema: {
|
|
|
159
156
|
Genes: {
|
|
160
157
|
type: string;
|
|
161
158
|
};
|
|
162
|
-
|
|
159
|
+
"Transcription Factor": {
|
|
163
160
|
type: string;
|
|
164
161
|
};
|
|
165
162
|
Variation: {
|
|
@@ -171,10 +168,10 @@ export declare const genomeDataSchema: {
|
|
|
171
168
|
Conservation: {
|
|
172
169
|
type: string;
|
|
173
170
|
};
|
|
174
|
-
|
|
171
|
+
"Genome Annotation": {
|
|
175
172
|
type: string;
|
|
176
173
|
};
|
|
177
|
-
|
|
174
|
+
"Genome Comparison": {
|
|
178
175
|
type: string;
|
|
179
176
|
};
|
|
180
177
|
Mappability: {
|
|
@@ -188,10 +185,198 @@ export declare const genomeDataSchema: {
|
|
|
188
185
|
};
|
|
189
186
|
additionalProperties: boolean;
|
|
190
187
|
};
|
|
188
|
+
export declare const genomeFileSchema: {
|
|
189
|
+
type: string;
|
|
190
|
+
items: {
|
|
191
|
+
type: string;
|
|
192
|
+
required: string[];
|
|
193
|
+
properties: {
|
|
194
|
+
id: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
name: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
chromosomes: {
|
|
201
|
+
type: string;
|
|
202
|
+
items: {
|
|
203
|
+
type: string;
|
|
204
|
+
required: string[];
|
|
205
|
+
properties: {
|
|
206
|
+
name: {
|
|
207
|
+
type: string;
|
|
208
|
+
};
|
|
209
|
+
length: {
|
|
210
|
+
type: string;
|
|
211
|
+
minimum: number;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
cytobands: {
|
|
217
|
+
type: string;
|
|
218
|
+
patternProperties: {
|
|
219
|
+
"^chr([0-9]+|[XYM])$": {
|
|
220
|
+
type: string;
|
|
221
|
+
items: {
|
|
222
|
+
type: string;
|
|
223
|
+
required: string[];
|
|
224
|
+
properties: {
|
|
225
|
+
chrom: {
|
|
226
|
+
type: string;
|
|
227
|
+
};
|
|
228
|
+
chromStart: {
|
|
229
|
+
type: string;
|
|
230
|
+
minimum: number;
|
|
231
|
+
};
|
|
232
|
+
chromEnd: {
|
|
233
|
+
type: string;
|
|
234
|
+
minimum: number;
|
|
235
|
+
};
|
|
236
|
+
name: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
gieStain: {
|
|
240
|
+
type: string;
|
|
241
|
+
enum: string[];
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
additionalProperties: boolean;
|
|
248
|
+
};
|
|
249
|
+
defaultRegion: {
|
|
250
|
+
type: string;
|
|
251
|
+
};
|
|
252
|
+
defaultTracks: {
|
|
253
|
+
type: string;
|
|
254
|
+
items: {
|
|
255
|
+
type: string;
|
|
256
|
+
required: string[];
|
|
257
|
+
properties: {
|
|
258
|
+
type: {
|
|
259
|
+
type: string;
|
|
260
|
+
};
|
|
261
|
+
name: {
|
|
262
|
+
type: string;
|
|
263
|
+
};
|
|
264
|
+
genome: {
|
|
265
|
+
type: string;
|
|
266
|
+
};
|
|
267
|
+
url: {
|
|
268
|
+
type: string;
|
|
269
|
+
};
|
|
270
|
+
options: {
|
|
271
|
+
type: string;
|
|
272
|
+
};
|
|
273
|
+
metadata: {
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
276
|
+
label: {
|
|
277
|
+
type: string;
|
|
278
|
+
};
|
|
279
|
+
isSelected: {
|
|
280
|
+
type: string;
|
|
281
|
+
};
|
|
282
|
+
fileObj: {
|
|
283
|
+
type: string;
|
|
284
|
+
};
|
|
285
|
+
files: {
|
|
286
|
+
type: string;
|
|
287
|
+
};
|
|
288
|
+
tracks: {
|
|
289
|
+
type: string;
|
|
290
|
+
};
|
|
291
|
+
isText: {
|
|
292
|
+
type: string;
|
|
293
|
+
};
|
|
294
|
+
textConfig: {
|
|
295
|
+
type: string;
|
|
296
|
+
};
|
|
297
|
+
apiConfig: {
|
|
298
|
+
type: string;
|
|
299
|
+
};
|
|
300
|
+
queryEndpoint: {
|
|
301
|
+
type: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
publicHubList: {
|
|
307
|
+
type: string;
|
|
308
|
+
items: {
|
|
309
|
+
type: string;
|
|
310
|
+
required: string[];
|
|
311
|
+
properties: {
|
|
312
|
+
collection: {
|
|
313
|
+
type: string;
|
|
314
|
+
};
|
|
315
|
+
name: {
|
|
316
|
+
type: string;
|
|
317
|
+
};
|
|
318
|
+
numTracks: {
|
|
319
|
+
type: string;
|
|
320
|
+
minimum: number;
|
|
321
|
+
};
|
|
322
|
+
oldHubFormat: {
|
|
323
|
+
type: string;
|
|
324
|
+
};
|
|
325
|
+
url: {
|
|
326
|
+
type: string;
|
|
327
|
+
};
|
|
328
|
+
description: {
|
|
329
|
+
oneOf: {
|
|
330
|
+
type: string;
|
|
331
|
+
}[];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
publicHubData: {
|
|
337
|
+
type: string;
|
|
338
|
+
};
|
|
339
|
+
annotationTracks: {
|
|
340
|
+
type: string;
|
|
341
|
+
properties: {
|
|
342
|
+
Ruler: {
|
|
343
|
+
type: string;
|
|
344
|
+
};
|
|
345
|
+
Genes: {
|
|
346
|
+
type: string;
|
|
347
|
+
};
|
|
348
|
+
"Transcription Factor": {
|
|
349
|
+
type: string;
|
|
350
|
+
};
|
|
351
|
+
Variation: {
|
|
352
|
+
type: string;
|
|
353
|
+
};
|
|
354
|
+
RepeatMasker: {
|
|
355
|
+
type: string;
|
|
356
|
+
};
|
|
357
|
+
Conservation: {
|
|
358
|
+
type: string;
|
|
359
|
+
};
|
|
360
|
+
"Genome Annotation": {
|
|
361
|
+
type: string;
|
|
362
|
+
};
|
|
363
|
+
"Genome Comparison": {
|
|
364
|
+
type: string;
|
|
365
|
+
};
|
|
366
|
+
Mappability: {
|
|
367
|
+
type: string;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
twoBitURL: {
|
|
372
|
+
type: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
additionalProperties: boolean;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
191
378
|
export declare function validateGenomeData(data: any): {
|
|
192
379
|
valid: boolean;
|
|
193
|
-
errors
|
|
194
|
-
|
|
195
|
-
valid: boolean;
|
|
196
|
-
errors?: undefined;
|
|
380
|
+
errors?: any[];
|
|
381
|
+
normalizedData: any[];
|
|
197
382
|
};
|
|
@@ -9,11 +9,13 @@ declare class BedTextSource {
|
|
|
9
9
|
indexer: any;
|
|
10
10
|
ready: boolean;
|
|
11
11
|
type: string;
|
|
12
|
+
private chromNamingCache;
|
|
12
13
|
constructor(config: any);
|
|
13
14
|
convertToBedRecord(item: any): any;
|
|
14
15
|
initSource(): Promise<void>;
|
|
15
16
|
initIndex(): void;
|
|
16
17
|
init(): Promise<void>;
|
|
17
|
-
|
|
18
|
+
detectChromosomeNaming(): Promise<boolean | null>;
|
|
19
|
+
getData(loci: any, options?: any): Promise<unknown[]>;
|
|
18
20
|
}
|
|
19
21
|
export default BedTextSource;
|
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
declare class LocalBigSource {
|
|
8
8
|
file: any;
|
|
9
9
|
bigWigPromise: Promise<any>;
|
|
10
|
+
private chromNamingCache;
|
|
10
11
|
/**
|
|
11
12
|
* Prepares to fetch bigwig or bigbed data a file blob.
|
|
12
13
|
*
|
|
13
14
|
* @param {blob} file - file blob object
|
|
14
15
|
*/
|
|
15
16
|
constructor(file: any);
|
|
17
|
+
detectChromosomeNaming(): Promise<boolean | null>;
|
|
16
18
|
private loadBigWig;
|
|
17
19
|
/**
|
|
18
20
|
* Gets BigWig or BigBed features inside the requested locations.
|
|
@@ -22,7 +24,7 @@ declare class LocalBigSource {
|
|
|
22
24
|
* @return {Promise<DASFeature[]>} a Promise for the data
|
|
23
25
|
* @override
|
|
24
26
|
*/
|
|
25
|
-
getData(loci: any, basesPerPixel: any): Promise<any[]>;
|
|
27
|
+
getData(loci: any, basesPerPixel: any, options?: any): Promise<any[]>;
|
|
26
28
|
/**
|
|
27
29
|
* BigWig files contain zoom levels, where data across many bases is aggregated into bins. This selects an
|
|
28
30
|
* appropriate zoom index from the BigWig file given the number of bases per pixel at which the data will be
|
|
@@ -11,6 +11,7 @@ declare class LocalTabixSource {
|
|
|
11
11
|
indexBlob?: any;
|
|
12
12
|
dataLimit: number;
|
|
13
13
|
tabix: TabixIndexedFile;
|
|
14
|
+
private chromNamingCache;
|
|
14
15
|
/**
|
|
15
16
|
* Prepares to fetch data from a bed file located at the input url. Assumes the index is located at the same url,
|
|
16
17
|
* plus a file extension of ".tbi". This method will request and store the tabix index from this url immediately.
|
|
@@ -18,6 +19,7 @@ declare class LocalTabixSource {
|
|
|
18
19
|
* @param {string} url - the url of the bed-like file to fetch.
|
|
19
20
|
*/
|
|
20
21
|
constructor(trackModel: any, dataLimit?: number);
|
|
22
|
+
detectChromosomeNaming(): Promise<boolean | null>;
|
|
21
23
|
/**
|
|
22
24
|
* Gets data for a list of chromosome intervals.
|
|
23
25
|
*
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
declare class BigSourceWorker {
|
|
8
8
|
url: any;
|
|
9
9
|
bigWigPromise: Promise<unknown>;
|
|
10
|
+
private usingProxy;
|
|
11
|
+
private chromNamingCache;
|
|
10
12
|
/**
|
|
11
13
|
* Prepares to fetch bigwig or bigbed data from a URL.
|
|
12
14
|
*
|
|
@@ -14,6 +16,8 @@ declare class BigSourceWorker {
|
|
|
14
16
|
*/
|
|
15
17
|
constructor(url: any);
|
|
16
18
|
private loadBigWig;
|
|
19
|
+
private switchToProxy;
|
|
20
|
+
detectChromosomeNaming(): Promise<boolean | null>;
|
|
17
21
|
/**
|
|
18
22
|
* Gets BigWig or BigBed features inside the requested locations.
|
|
19
23
|
*
|
|
@@ -7,12 +7,14 @@ import { BigWig } from '@gmod/bbi';
|
|
|
7
7
|
declare class BigSourceWorkerGmod {
|
|
8
8
|
url: string;
|
|
9
9
|
bw: BigWig;
|
|
10
|
+
private usingProxy;
|
|
10
11
|
private chromNamingCache;
|
|
11
12
|
/**
|
|
12
13
|
*
|
|
13
14
|
* @param {string} url - the URL from which to fetch data
|
|
14
15
|
*/
|
|
15
16
|
constructor(url: any);
|
|
17
|
+
private switchToProxy;
|
|
16
18
|
detectChromosomeNaming(): Promise<boolean | null>;
|
|
17
19
|
/**
|
|
18
20
|
* Gets BigWig or BigBed features inside the requested locations.
|
|
@@ -7,12 +7,14 @@ import { TwoBitFile } from '@gmod/twobit';
|
|
|
7
7
|
declare class TwoBitSource {
|
|
8
8
|
twobit: TwoBitFile;
|
|
9
9
|
url: any;
|
|
10
|
+
private usingProxy;
|
|
10
11
|
/**
|
|
11
12
|
* Prepares to fetch .2bit data from a URL.
|
|
12
13
|
*
|
|
13
14
|
* @param {string} url - the URL from which to fetch data
|
|
14
15
|
*/
|
|
15
16
|
constructor(url: any);
|
|
17
|
+
private switchToProxy;
|
|
16
18
|
/**
|
|
17
19
|
* Gets the sequence that covers the region.
|
|
18
20
|
*
|
|
@@ -6,8 +6,10 @@ declare class VcfSource {
|
|
|
6
6
|
url: any;
|
|
7
7
|
indexUrl: any;
|
|
8
8
|
private chromNamingCache;
|
|
9
|
+
private usingProxy;
|
|
9
10
|
constructor(url: any, indexUrl?: null);
|
|
10
11
|
private detectChromosomeNaming;
|
|
12
|
+
private switchToProxy;
|
|
11
13
|
/**
|
|
12
14
|
* Fetches data from VCF file for the given regions
|
|
13
15
|
* @param {ChromosomeInterval[]} region - locations for which to fetch data
|
|
@@ -16,6 +18,6 @@ declare class VcfSource {
|
|
|
16
18
|
*/
|
|
17
19
|
private fetchSource;
|
|
18
20
|
getData(region: any, basesPerPixel: any, options: any): Promise<any[]>;
|
|
19
|
-
_getDataInLocus(locus: any,
|
|
21
|
+
_getDataInLocus(locus: any, options: any): Promise<never[]>;
|
|
20
22
|
}
|
|
21
23
|
export default VcfSource;
|
|
@@ -60,10 +60,7 @@ export interface PlacedAlignment {
|
|
|
60
60
|
export interface PlacedSequenceSegment extends SequenceSegment {
|
|
61
61
|
xSpan: OpenInterval;
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
queryFeature: Feature;
|
|
65
|
-
queryXSpan: OpenInterval;
|
|
66
|
-
}
|
|
63
|
+
export declare const chromAlias: Record<string, Set<string>>;
|
|
67
64
|
export interface PlacedMergedAlignment extends QueryGenomePiece {
|
|
68
65
|
segments: PlacedAlignment[];
|
|
69
66
|
targetXSpan: OpenInterval;
|
|
@@ -12,7 +12,8 @@ declare class TabixSource {
|
|
|
12
12
|
* @param {string} url - the url of the bed-like file to fetch.
|
|
13
13
|
*/
|
|
14
14
|
constructor(url: any, indexUrl: any, dataLimit?: number);
|
|
15
|
-
|
|
15
|
+
switchToProxy(): void;
|
|
16
|
+
detectChromosomeNaming(): any;
|
|
16
17
|
/**
|
|
17
18
|
* Gets data for a list of chromosome intervals.
|
|
18
19
|
*
|