Skip to content

Commit

Permalink
Merge branch 'master' into feature/base64-url-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
janvandenschilden authored Apr 30, 2024
2 parents 7675e5d + a2b7308 commit adce8a4
Show file tree
Hide file tree
Showing 5 changed files with 2,227 additions and 1,481 deletions.
2 changes: 1 addition & 1 deletion docs/docs/visualizations/genome-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ The genome view shows the selected sample in a circular visualization. This uses

## Interactions

- 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.
- 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.
- You can move your mouse on top of a structural variant to see detailed information on a tooltip.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.2.0",
"axios": "^1.6.8",
"buffer": "^6.0.3",
"gosling.js": "^0.11.0",
"idb": "^7.0.2",
Expand All @@ -31,6 +32,7 @@
"react": "16.13.1",
"react-dom": "16.13.1",
"react-router-dom": "^5.2.0",
"tabulator-tables": "^6.2.0",
"uuid": "^8.3.2"
},
"devDependencies": {
Expand Down
6 changes: 4 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import SampleConfigForm from './ui/sample-config-form';
import { BrowserDatabase } from './browser-log';
import legend from './legend.png';
import UrlsafeCodec from './lib/urlsafe-codec';
import GenomicTable from './ui/genomic-table';

const db = new Database();
const log = new BrowserDatabase();
Expand Down Expand Up @@ -509,7 +510,7 @@ function App(props: RouteComponentProps) {
currentSpec.current = JSON.stringify(spec);
// console.log('spec', spec);
return (
<div>
<div>
<GoslingComponent
ref={gosRef}
spec={spec}
Expand All @@ -518,7 +519,8 @@ function App(props: RouteComponentProps) {
experimental={{ reactive: true }}
theme={THEME}
/>
</div>
{ demo.table && <GenomicTable gosRef={gosRef} demo_id={demo.id} data_url={demo.table}/>}
</div>
);
// !! Removed `demo` not to update twice since `drivers` are updated right after a demo update.
}, [ready, xDomain, visPanelWidth, drivers, showOverview, showPutativeDriver, selectedSvId, breakpoints, svReads]);
Expand Down
Loading

0 comments on commit adce8a4

Please sign in to comment.