Skip to content

Commit

Permalink
Test ROI toggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Feb 7, 2024
1 parent d21c50f commit b45c89d
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 4 deletions.
83 changes: 80 additions & 3 deletions igvwebConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var igvwebConfig = {

// Supply a drobpox api key to enable the Dropbox file picker in the load menus. This is optional
//dropboxAPIKey: "...",

// Supply a Google client id to enable the Google file picker in the load menus. This is optional
//clientId: "...",
// apiKey: "...",
Expand All @@ -24,12 +24,89 @@ var igvwebConfig = {
igvConfig:
{
genome: "hg19",
locus: "all",
// locus: "all",
locus: '1:67,655,272-67,684,468',
genomeList: "resources/genomes.json",
queryParametersSupported: true,
showChromosomeWidget: true,
showSVGButton: false,
tracks: []

showROITableButton: true,

roi:
[
{
name: 'ROI set 1',
url: 'https://s3.amazonaws.com/igv.org.test/data/roi/roi_bed_1.bed',
indexed: false,
color: "rgba(94,255,1,0.25)"
},
{
name: "ROI set 2",
color: "rgba(3,52,249,0.25)",
features: [
{
chr: "chr1",
start: 67670000,
end: 67671080,
name: 'Set 2 feature 1'
},
{
chr: "chr1",
start: 67672095,
end: 67673993
},
{
chr: "chr1",
start: 67674681,
end: 67675237
},
{
chr: "chr1",
start: 67676055,
end: 67676710
},
{
chr: "chr1",
start: 67677561,
end: 67677888
},
{
chr: "chr1",
start: 67679263,
end: 67679394
},
{
chr: "chr1",
start: 67679950,
end: 67680180
},
{
chr: "chr1",
start: 67681849,
end: 67682340
}
]
}
],

tracks:
[
{
name: 'Some features',
url: 'https://s3.amazonaws.com/igv.org.test/data/roi/some_features.bed',
indexed: false,
roi:
[
{
name: 'Track Based ROI Set',
url: 'https://s3.amazonaws.com/igv.org.test/data/roi/roi_bed_2.bed',
indexed: false,
color: "rgba(255,1,199,0.25)"
},
]
}
]
}

}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"homepage": "https://github.com/igvteam/igv-webapp#readme",
"devDependencies": {
"fs-extra": "^8.1.0",
"igv": "github:igvteam/igv.js#master",
"igv": "github:igvteam/igv.js#dat_roi",
"igv-widgets": "github:igvteam/igv-widgets#v1.5.8",
"google-utils": "github:igvteam/google-utils#v1.0.2",
"rollup": "^2.28.1",
Expand Down

0 comments on commit b45c89d

Please sign in to comment.