igv 3.5.3 → 3.6.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/README.md +10 -10
- package/dist/igv.d.ts +5 -3
- package/dist/igv.esm.js +49496 -43843
- package/dist/igv.esm.min.js +9 -9
- package/dist/igv.esm.min.js.map +1 -1
- package/dist/igv.js +49496 -43843
- package/dist/igv.min.js +9 -9
- package/dist/igv.min.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -18,19 +18,19 @@ Below are examples and a quickstart guide. See the [developer documentation](ht
|
|
|
18
18
|
|
|
19
19
|
# Examples
|
|
20
20
|
|
|
21
|
-
***[Alignments](https://igv.org/web/release/3.5.
|
|
21
|
+
***[Alignments](https://igv.org/web/release/3.5.4/examples/cram-vcf.html)***
|
|
22
22
|
|
|
23
|
-
***[Interactions](https://igv.org/web/release/3.5.
|
|
23
|
+
***[Interactions](https://igv.org/web/release/3.5.4/examples/interact.html)***
|
|
24
24
|
|
|
25
|
-
***[Copy number](https://igv.org/web/release/3.5.
|
|
25
|
+
***[Copy number](https://igv.org/web/release/3.5.4/examples/copyNumber.html)***
|
|
26
26
|
|
|
27
|
-
***[Multiple regions](https://igv.org/web/release/3.5.
|
|
27
|
+
***[Multiple regions](https://igv.org/web/release/3.5.4/examples/multi-locus.html)***
|
|
28
28
|
|
|
29
|
-
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/3.5.
|
|
29
|
+
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/3.5.4/examples/maf-tcga.html)***
|
|
30
30
|
|
|
31
|
-
***[Variant color options](https://igv.org/web/release/3.5.
|
|
31
|
+
***[Variant color options](https://igv.org/web/release/3.5.4/examples/variant-colors.html)***
|
|
32
32
|
|
|
33
|
-
***[More](https://igv.org/web/release/3.5.
|
|
33
|
+
***[More](https://igv.org/web/release/3.5.4/examples/)***
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
# Quickstart
|
|
@@ -39,18 +39,18 @@ Below are examples and a quickstart guide. See the [developer documentation](ht
|
|
|
39
39
|
igv.js consists of a single javascript file with no external dependencies.
|
|
40
40
|
|
|
41
41
|
Pre-built files for script include, AMD, or CJS module systems (igv.min.js) and an ES6 module (igv.esm.min.js)
|
|
42
|
-
can be downloaded from [https://cdn.jsdelivr.net/npm/igv@3.5.
|
|
42
|
+
can be downloaded from [https://cdn.jsdelivr.net/npm/igv@3.5.4/dist/](https://cdn.jsdelivr.net/npm/igv@3.5.4/dist/).
|
|
43
43
|
|
|
44
44
|
To import igv as an ES6 module
|
|
45
45
|
|
|
46
46
|
```javascript
|
|
47
|
-
import igv from "https://cdn.jsdelivr.net/npm/igv@3.5.
|
|
47
|
+
import igv from "https://cdn.jsdelivr.net/npm/igv@3.5.4/dist/igv.esm.min.js"
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Or as a script include (defines the "igv" global)
|
|
51
51
|
|
|
52
52
|
```html
|
|
53
|
-
<script src="https://cdn.jsdelivr.net/npm/igv@3.5.
|
|
53
|
+
<script src="https://cdn.jsdelivr.net/npm/igv@3.5.4/dist/igv.min.js"></script>
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Alternatively you can install with npm
|
package/dist/igv.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ export namespace Tracks {
|
|
|
171
171
|
|
|
172
172
|
export type AnnotationFormat = "bed" | "gff3" | "gtf" |
|
|
173
173
|
"genePred" | "genePredExt" | "peaks" |
|
|
174
|
-
"narrowPeak" | "broadPeak" | "bigBed" | "
|
|
174
|
+
"narrowPeak" | "broadPeak" | "bigBed" | "rmsk" | "vcf" |
|
|
175
175
|
"gtexgwas";
|
|
176
176
|
|
|
177
177
|
export type AnnotationTrackDisplay = {
|
|
@@ -384,7 +384,7 @@ export namespace Tracks {
|
|
|
384
384
|
});
|
|
385
385
|
|
|
386
386
|
|
|
387
|
-
export type InteractFormat = "interact" | "bedpe" | "bigInteract" | "bb";
|
|
387
|
+
export type InteractFormat = "interact" | "bedpe" | "bigInteract" | "bb" | "hic";
|
|
388
388
|
|
|
389
389
|
export type InteractTrackOptions = {
|
|
390
390
|
arcType?: "nested" | "proportional" | "inView" | "partialInView";
|
|
@@ -531,7 +531,9 @@ export namespace BrowserEvents {
|
|
|
531
531
|
genomicLocation?: number
|
|
532
532
|
) => EventReturn<T> :
|
|
533
533
|
T extends "trackorderchanged" ? (trackNames: string[]) => EventReturn<T> :
|
|
534
|
-
(
|
|
534
|
+
T extends "roiadded" ? (roi: { chr: string; start: number; end: number; name?: string }) => EventReturn<T> :
|
|
535
|
+
T extends "roiremoved" ? (roi: { chr: string; start: number; end: number; name?: string }) => EventReturn<T> :
|
|
536
|
+
(payload: any) => EventReturn<T>;
|
|
535
537
|
|
|
536
538
|
export type EventReturn<T extends EventType> =
|
|
537
539
|
T extends "trackclick" ? string | boolean | undefined :
|