neherlab / pan-genome-visualization

Visualization of the pan-genome output by panX
https://pangenome.ch
Other
62 stars 14 forks source link

Running locally with the default data(NPM build issue) #18

Open faraziAnindo opened 1 year ago

faraziAnindo commented 1 year ago

I am having problem with the Step 3: Configure the app in the readme.md file. When i am running the npm run build the following problem is occuring. In the step 3 u mentioned to change the DATA_ROOT_URL in the .env file. but i can not find any .env file. i am changing the URL in webpack.config.js then running the npm run build but this error is occuring. can you please help me in this matter. Thanks in Advance @rneher Screenshot from 2023-05-24 01-31-15

ivan-aksamentov commented 1 year ago

Hi @faraziAnindo! The section "Running locally with your own data" mentions:

This section assumes that you can already run the app with the default data, as described in the previous section.

Have you tried the section "Running locally with the default data" first? Before proceeding to the more involved custom data setup, are you able to run the app with the default data?

The environment configuration using the .env file is explained there (basically you need to make a copy of the .env.example file and adjust variables if needed). Note that UI file managers by default often hide files whose names start with a dot.

You should not change webpack config in normal situation (unless you really know what you are doing).

Let me know how it goes. If something still does not work, don't hesitate to ping me here.

faraziAnindo commented 1 year ago

Thank you so much.. It is solved.
I have another problem my pan genome visulization allignment is not showing wwhat can i do to see the allignment of my clusters.. Thanks in advance @rneher @ivan-aksamentov
16849122891641826153617988932574

pvdam3 commented 8 months ago

I think it can be solved by going into the pangenome-data/dataset/TestSet/geneCluster directory and unzipping all the .gz files in there. Then rerun the application with 'npm run start' so that the MSAs can be found in the app.