igv 3.7.2 → 3.8.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 -25
- package/dist/igv.d.ts +2 -2
- package/dist/igv.esm.js +28358 -28308
- package/dist/igv.esm.min.js +12 -12
- package/dist/igv.esm.min.js.map +1 -1
- package/dist/igv.js +28358 -28308
- package/dist/igv.min.js +12 -12
- 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.
|
|
21
|
+
***[Alignments](https://igv.org/web/release/3.8.0/examples/cram-vcf.html)***
|
|
22
22
|
|
|
23
|
-
***[Interactions](https://igv.org/web/release/3.
|
|
23
|
+
***[Interactions](https://igv.org/web/release/3.8.0/examples/interact.html)***
|
|
24
24
|
|
|
25
|
-
***[Copy number](https://igv.org/web/release/3.
|
|
25
|
+
***[Copy number](https://igv.org/web/release/3.8.0/examples/copyNumber.html)***
|
|
26
26
|
|
|
27
|
-
***[Multiple regions](https://igv.org/web/release/3.
|
|
27
|
+
***[Multiple regions](https://igv.org/web/release/3.8.0/examples/multi-locus.html)***
|
|
28
28
|
|
|
29
|
-
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/3.
|
|
29
|
+
***[Mutation Annotation Format (MAF)](https://igv.org/web/release/3.8.0/examples/maf-tcga.html)***
|
|
30
30
|
|
|
31
|
-
***[Variant color options](https://igv.org/web/release/3.
|
|
31
|
+
***[Variant color options](https://igv.org/web/release/3.8.0/examples/variant-colors.html)***
|
|
32
32
|
|
|
33
|
-
***[More](https://igv.org/web/release/3.
|
|
33
|
+
***[More](https://igv.org/web/release/3.8.0/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.
|
|
42
|
+
can be downloaded from [https://cdn.jsdelivr.net/npm/igv@3.8.0/dist/](https://cdn.jsdelivr.net/npm/igv@3.8.0/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.
|
|
47
|
+
import igv from "https://cdn.jsdelivr.net/npm/igv@3.8.0/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.
|
|
53
|
+
<script src="https://cdn.jsdelivr.net/npm/igv@3.8.0/dist/igv.min.js"></script>
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Alternatively you can install with npm
|
|
@@ -131,7 +131,6 @@ This creates a dist folder with the following files
|
|
|
131
131
|
Additionally the file ```embedCSS.js``` is created in the ```js``` folder. This contains the CSS required for igv.js,
|
|
132
132
|
which is injected into a shadow root containing igv.js.
|
|
133
133
|
|
|
134
|
-
|
|
135
134
|
### Tests
|
|
136
135
|
|
|
137
136
|
To run the tests from the command line
|
|
@@ -140,20 +139,6 @@ To run the tests from the command line
|
|
|
140
139
|
npm run test
|
|
141
140
|
```
|
|
142
141
|
|
|
143
|
-
|
|
144
|
-
### Examples
|
|
145
|
-
|
|
146
|
-
To run the examples install [http-server](https://www.npmjs.com/package/http-server).
|
|
147
|
-
|
|
148
|
-
Start http-server from the project root directory
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
npx http-server
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
Then open [http://localhost:8080/examples](http://localhost:8080/examples) in a web browser.
|
|
155
|
-
|
|
156
|
-
|
|
157
142
|
# Supported Browsers
|
|
158
143
|
|
|
159
144
|
igv.js require a modern web browser with support for Javascript ECMAScript 2015 (ES6).
|
package/dist/igv.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare class Opaque<N extends string> {
|
|
|
11
11
|
|
|
12
12
|
export type TrackType =
|
|
13
13
|
"annotation" | "wig" | "alignment" | "variant" | "mut" | "seg" |
|
|
14
|
-
"gwas" | "interact" | 'interaction' | "qtl" | "junction" | "cnvpytor" | "merged" | "arc" |
|
|
14
|
+
"gwas" | "interact" | 'interaction' | "qtl" | "junction" | "cnvpytor" | "merged" | "arc" | "longrange" |
|
|
15
15
|
/* undocumented options */
|
|
16
16
|
"snp" | "eqtl";
|
|
17
17
|
|
|
@@ -384,7 +384,7 @@ export namespace Tracks {
|
|
|
384
384
|
});
|
|
385
385
|
|
|
386
386
|
|
|
387
|
-
export type InteractFormat = "interact" | "bedpe" | "bigInteract" | "bb" | "hic";
|
|
387
|
+
export type InteractFormat = "interact" | "bedpe" | "bigInteract" | "bb" | "hic" | "longrange";
|
|
388
388
|
|
|
389
389
|
export type InteractTrackOptions = {
|
|
390
390
|
arcType?: "nested" | "proportional" | "inView" | "partialInView";
|