Skip to content

Commit

Permalink
Merge pull request #439 from vgteam/newDropdownOption
Browse files Browse the repository at this point in the history
New data dropdown option for Lancet example
  • Loading branch information
adamnovak authored May 28, 2024
2 parents afaf98b + 2fff6ad commit 56d3c4b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/HeaderForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ class HeaderForm extends Component {
};

getPathNames = async (graphFile) => {
if (graphFile === null){
return;
}
this.setState({ error: null });
try {
const json = await this.props.APIInterface.getPathNames(graphFile, this.cancelSignal);
Expand Down
33 changes: 33 additions & 0 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,39 @@
"bedFile": "exampleData/cactus.bed",
"region": "ref:1-100",
"dataType": "built-in"
},
{
"name": "Lancet example",
"tracks": [
{
"trackFile": null,
"trackType": "graph",
"trackColorSettings": {
"mainPalette": "#000000",
"auxPalette": "greys",
"colorReadsByMappingQuality": false
}
},
{
"trackFile": null,
"trackType": "read",
"trackColorSettings": {
"mainPalette": "blues",
"auxPalette": "blues"
}
},
{
"trackFile": null,
"trackType": "read",
"trackColorSettings": {
"mainPalette": "reds",
"auxPalette": "reds"
}
}
],
"bedFile": "https://public.gi.ucsc.edu/~anovak/vg-data/lancet_2023-11-07/index.bed",
"region": "chr1:7290357-7290857",
"dataType": "built-in"
}
],
"vgPath": "",
Expand Down

0 comments on commit 56d3c4b

Please sign in to comment.