pan-genome-visualization
pan-genome-visualization copied to clipboard
Running locally with the default data(NPM build issue)
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
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.
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
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.