Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into crfmc/minimal_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
crfmc committed Apr 23, 2024
2 parents b1ebccb + 83c293a commit 0eb0ea5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 25 deletions.
6 changes: 3 additions & 3 deletions docs/docs/loading-data/data-formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This page describes file formats used in Chromoscope. To find a list of required
## Structural Variants (BEDPE)
<!-- https://bedtools.readthedocs.io/en/latest/content/general-usage.html#bedpe-format -->

The structural variants are stored in a BEDPE file. The following columns are used in the browser:
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:

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

The CNV is stored in a tab-delimited file that is visualized as three tracks: CNV, Gain, and LOH.
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.

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

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.
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.

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

Expand Down
18 changes: 9 additions & 9 deletions src/data/driver.custom.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"chr": "chr2",
"pos": 47806320,
"pos": 47795017,
"ref": "G",
"alt": "A",
"gene": "MSH6",
Expand All @@ -13,7 +13,7 @@
},
{
"chr": "chr6",
"pos": 157133136,
"pos": 156993402,
"ref": "G",
"alt": "C",
"gene": "ARID1B",
Expand All @@ -26,7 +26,7 @@
},
{
"chr": "chr8",
"pos": 38428420,
"pos": 38439986,
"ref": "G",
"alt": "A",
"gene": "FGFR1",
Expand All @@ -38,7 +38,7 @@
},
{
"chr": "chr13",
"pos": 32339132,
"pos": 32357888,
"ref": "G",
"alt": "T",
"gene": "BRCA2",
Expand All @@ -51,7 +51,7 @@
},
{
"chr": "chr17",
"pos": 7675088,
"pos": 7677976,
"ref": "C",
"alt": "T",
"gene": "TP53",
Expand All @@ -64,7 +64,7 @@
},
{
"chr": "chrX",
"pos": 77681733,
"pos": 77645546,
"ref": "T",
"alt": "C",
"gene": "ATRX",
Expand All @@ -78,19 +78,19 @@
{
"gene": "CDKN2A",
"chr": "chr9",
"pos": 21981527,
"pos": 21981538,
"category": "deletion"
},
{
"gene": "MET",
"chr": "chr7",
"pos": 116735291,
"pos": 116735286,
"category": "amplification"
},
{
"gene": "PTEN",
"chr": "chr10",
"pos": 89677278,
"pos": 87917777,
"category": "deletion",
"biallelic": "yes"
}
Expand Down
2 changes: 1 addition & 1 deletion src/data/samples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Assembly } from 'gosling.js/dist/src/core/gosling.schema';
import { Assembly } from 'gosling.js/dist/src/gosling-schema';
import _7a921087 from '../script/img/7a921087-8e62-4a93-a757-fd8cdbe1eb8f.jpeg';
import _84ca6ab0 from '../script/img/84ca6ab0-9edc-4636-9d27-55cdba334d7d.jpeg';
import _7d332cb1 from '../script/img/7d332cb1-ba25-47e4-8bf8-d25e14f40d59.jpeg';
Expand Down
12 changes: 0 additions & 12 deletions src/track/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,6 @@ export default function sv(
url,
type: 'csv',
separator: '\t',
headerNames: [
'chrom1',
'start1',
'end1',
'chrom2',
'start2',
'end2',
'sv_id',
'pe_support',
'strand1',
'strand2'
],
genomicFieldsToConvert: [
{
chromosomeField: 'chrom1',
Expand Down

0 comments on commit 0eb0ea5

Please sign in to comment.