lidaof / eg-react

WashU Epigenome Browser
https://epigenomegateway.wustl.edu
Other
66 stars 29 forks source link

how to load my own local genome and other data in html embeeding? #343

Open tulab-sjtu opened 7 months ago

tulab-sjtu commented 7 months ago

Hello! Dr.Li, I want to show jbrowser of my own research species in my own database, how could i modify the code to load my own data? could you give me some suggestions about apis of data import?Thanks!

<!DOCTYPE html>

WashU Epigenome Browser

Embedding test

some other headings

lidaof commented 7 months ago

Hi @tulab-sjtu , in order to support custom genomes, you would need to install a local mirror and follow https://eg.readthedocs.io/en/latest/add.html, if needed, we can schedule a zoom call to discuss the details. Thank you!

tulab-sjtu commented 7 months ago

Thank you for your response! I'd like to ask what versions of Node.js and npm are suitable for my case. I've tried deploying your genome browser to my local server before, but encountered some difficulties. I tried using the latest version of Node.js, but it seems incompatible and throws many errors. I also attempted versions 16.0,15.0 and 14.0 of Node.js to run the application without success. Later, I tried running it with Docker, and it worked, but the layout of option buttons on the page, which should have been on the same line, became somewhat messy. I'm not sure if the issue lies in the system version of my server or elsewhere.