(3rd generation since 2025)
- The 1st generation browser is no longer online. Links made for it (
/legacy/?genome=...&datahub=...) open in the current browser, which converts the datahub on the fly. - Source code
- Documentation
-
get Node.js (version 20 or above) and the yarn package manager
-
clone the code
-
install the packages at the root folder
yarn install
-
go to the eg-browser folder and start the Browser
cd eg-browser yarn dev -
the Browser is now running on your computer at http://localhost:5173/browser/
VITE v5.4.21 ready in 370 ms ➜ Local: http://localhost:5173/browser/ ➜ Network: use --host to expose
See Run your own copy in the documentation for building, deploying and settings.
-
install the package from the NPM registry (React 18 or 19 is required)
npm install wuepgg
-
import the component and its style sheet
import { GenomeHub } from "wuepgg"; import "wuepgg/style.css"; <GenomeHub storeConfig={{ storeId: "genome-1" }} genomeName="hg19" viewRegion={{ genomeCoordinate: "chr7:27053397-27373765" }} tracks={[{ type: "ruler", name: "Ruler" }]} />
-
an example application is available at twlab/embed-eg3, and the full list of properties is in the package description
- Please submit an issue request. We'll try to get back to you asap.
- Talk to us? Welcome to join our Discord server for some discussion.