Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a2b7308

Browse files
committedApr 30, 2024
Merge remote-tracking branch 'upstream/master'
2 parents bc5b85d + b00adca commit a2b7308

File tree

5 files changed

+14
-26
lines changed

5 files changed

+14
-26
lines changed
 

‎docs/docs/loading-data/data-formats.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This page describes file formats used in Chromoscope. To find a list of required
99
## Structural Variants (BEDPE)
1010
<!-- https://bedtools.readthedocs.io/en/latest/content/general-usage.html#bedpe-format -->
1111

12-
The structural variants are stored in a BEDPE file. The following columns are used in the browser:
12+
The structural variants are stored in a headed BEDPE file. The order of the columns does not need to be in the exact same order. This is a The following columns are used in the browser:
1313

1414
| Property | Type | Note |
1515
|---|---|---|
@@ -43,7 +43,7 @@ In Chromosope, strands are mapped with the following types of SVs.
4343
## CNV (TSV)
4444
<!-- https://bedtools.readthedocs.io/en/latest/content/general-usage.html#bedpe-format -->
4545

46-
The CNV is stored in a tab-delimited file that is visualized as three tracks: CNV, Gain, and LOH.
46+
The CNV is stored in a headed tab-delimited file that is visualized as three tracks: CNV, Gain, and LOH. The order of the columns does not need to be in the exact same order.
4747

4848
| Property | Type | Note |
4949
|---|---|---|
@@ -63,7 +63,7 @@ https://s3.amazonaws.com/gosling-lang.org/data/SV/7a921087-8e62-4a93-a757-fd8cdb
6363
## Drivers (TSV or JSON)
6464
<!-- https://bedtools.readthedocs.io/en/latest/content/general-usage.html#bedpe-format -->
6565

66-
The drivers are stored in a tab-delimited file. When this file is present, the browser will show drivers that are included in the file only.
66+
The drivers are stored in a headed tab-delimited file. When this file is present, the browser will show drivers that are included in the file only.
6767

6868
The order of the columns does not need to be in the exact same order.
6969

‎docs/docs/visualizations/genome-view.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ The genome view shows the selected sample in a circular visualization. This uses
1111

1212
## Interactions
1313

14-
- You can move or resize an interactive brush (light blue) using the mouse. This is linked with a [variant view](./cohort-view) that is shown on the bottom of the genome view.
14+
- You can move or resize an interactive brush (light blue) using the mouse. This is linked with a [variant view](./variant-view) that is shown on the bottom of the genome view.
1515
- You can move your mouse on top of a structural variant to see detailed information on a tooltip.

‎src/data/driver.custom.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"chr": "chr2",
4-
"pos": 47806320,
4+
"pos": 47795017,
55
"ref": "G",
66
"alt": "A",
77
"gene": "MSH6",
@@ -13,7 +13,7 @@
1313
},
1414
{
1515
"chr": "chr6",
16-
"pos": 157133136,
16+
"pos": 156993402,
1717
"ref": "G",
1818
"alt": "C",
1919
"gene": "ARID1B",
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
"chr": "chr8",
29-
"pos": 38428420,
29+
"pos": 38439986,
3030
"ref": "G",
3131
"alt": "A",
3232
"gene": "FGFR1",
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"chr": "chr13",
41-
"pos": 32339132,
41+
"pos": 32357888,
4242
"ref": "G",
4343
"alt": "T",
4444
"gene": "BRCA2",
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"chr": "chr17",
54-
"pos": 7675088,
54+
"pos": 7677976,
5555
"ref": "C",
5656
"alt": "T",
5757
"gene": "TP53",
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"chr": "chrX",
67-
"pos": 77681733,
67+
"pos": 77645546,
6868
"ref": "T",
6969
"alt": "C",
7070
"gene": "ATRX",
@@ -78,19 +78,19 @@
7878
{
7979
"gene": "CDKN2A",
8080
"chr": "chr9",
81-
"pos": 21981527,
81+
"pos": 21981538,
8282
"category": "deletion"
8383
},
8484
{
8585
"gene": "MET",
8686
"chr": "chr7",
87-
"pos": 116735291,
87+
"pos": 116735286,
8888
"category": "amplification"
8989
},
9090
{
9191
"gene": "PTEN",
9292
"chr": "chr10",
93-
"pos": 89677278,
93+
"pos": 87917777,
9494
"category": "deletion",
9595
"biallelic": "yes"
9696
}

‎src/data/samples.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Assembly } from 'gosling.js/dist/src/core/gosling.schema';
1+
import { Assembly } from 'gosling.js/dist/src/gosling-schema';
22
import _7a921087 from '../script/img/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.jpeg';
33
import _84ca6ab0 from '../script/img/84ca6ab0-9edc-4636-9d27-55cdba334d7d.jpeg';
44
import _7d332cb1 from '../script/img/7d332cb1-ba25-47e4-8bf8-d25e14f40d59.jpeg';

‎src/track/sv.ts

-12
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,6 @@ export default function sv(
102102
url,
103103
type: 'csv',
104104
separator: '\t',
105-
headerNames: [
106-
'chrom1',
107-
'start1',
108-
'end1',
109-
'chrom2',
110-
'start2',
111-
'end2',
112-
'sv_id',
113-
'pe_support',
114-
'strand1',
115-
'strand2'
116-
],
117105
genomicFieldsToConvert: [
118106
{
119107
chromosomeField: 'chrom1',

0 commit comments

Comments
 (0)
Please sign in to comment.