You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, teacher. I would like to embed Eg-react into my own webpage using your example code. How can I change the genome information and annotation details? It seems that your documentation doesn't provide instructions on this. Thank you, teacher
Hi @chenchen-eng, thanks for using the Browser! In the documentation, https://eg.readthedocs.io/en/latest/installation.html#embedding, please notice the line contains genomeName: "mm10",, this is where you can change the genome, in the following tracks array you can change annotation and other tracks. Hope this helps.
use docker solve the question. but encount other question:
? Something is already running on port 3000. Probably:
/usr/local/lighthouse/softwares/nodejs/node/bin/node /usr/local/lighthouse/softwares/nodejs/app/app.js (pid 1928)
in /
Would you like to run the app on another port instead? › (Y/n)
thanks teacher
thanks teacher,please Are there any requirements for server configuration? Can my online server run with 2G of memory?
Hi @chenchen-eng if you need run npm start or npm run build, it's recommended to have at least 8G RAM
for hosting the built scripts with Apache, then any server with >512M RAM should work
try using the zip file below: https://wangftp.wustl.edu/~dli/test/frontend.zip
if you are using node v18, type export NODE_OPTIONS=--openssl-legacy-provider before npm start
no need to run npm install with this file.
Activity
lidaof commentedon Nov 29, 2023
Hi @chenchen-eng, thanks for using the Browser! In the documentation, https://eg.readthedocs.io/en/latest/installation.html#embedding, please notice the line contains
genomeName: "mm10",, this is where you can change the genome, in the followingtracksarray you can change annotation and other tracks. Hope this helps.chenchen-eng commentedon Nov 29, 2023
Thank you for your answer, teacher. How can I use my own genome? Changing the name seems to only allow the use of existing genome files
chenchen-eng commentedon Nov 29, 2023
and install enter error:npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-11-29T14_05_52_098Z-debug.log
i should how to do?thanks
lidaof commentedon Nov 29, 2023
Correct, currently the example code only supports the genomes we loaded. In your case, you need to add your own genome following https://eg.readthedocs.io/en/latest/add.html
lidaof commentedon Nov 29, 2023
please try using node version 18 or 16, we are testing on node version 20 and above.
chenchen-eng commentedon Nov 30, 2023
thanks teacher ,but met a error
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm ERR! code ENOMEM
npm ERR! syscall spawn
npm ERR! errno -12
npm ERR! spawn ENOMEM
npm ERR! code ENOMEM
npm ERR! syscall spawn
npm ERR! errno -12
npm ERR! spawn ENOMEM
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-11-30T12_13_58_478Z-debug-0.log
we should how to solve it Thanks
chenchen-eng commentedon Nov 30, 2023
use docker solve the question. but encount other question:
? Something is already running on port 3000. Probably:
/usr/local/lighthouse/softwares/nodejs/node/bin/node /usr/local/lighthouse/softwares/nodejs/app/app.js (pid 1928)
in /
Would you like to run the app on another port instead? › (Y/n)
thanks teacher
lidaof commentedon Nov 30, 2023
Hi @chenchen-eng you can type Y here to allow the App run on another port
chenchen-eng commentedon Dec 6, 2023
thanks teacher,please Are there any requirements for server configuration? Can my online server run with 2G of memory?
chenchen-eng commentedon Dec 6, 2023
it also encount a error :
Failed to compile.
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
lidaof commentedon Dec 6, 2023
Hi @chenchen-eng if you need run
npm startornpm run build, it's recommended to have at least 8G RAMfor hosting the built scripts with Apache, then any server with >512M RAM should work
lidaof commentedon Dec 6, 2023
Hi @chenchen-eng
try using the zip file below:
https://wangftp.wustl.edu/~dli/test/frontend.zip
if you are using node v18, type export NODE_OPTIONS=--openssl-legacy-provider before npm start
no need to run
npm installwith this file.