vgteam / sequenceTubeMap

displays multiple genomic sequences in the form of a tube map
MIT License
178 stars 24 forks source link

Problems accessing the server created with the command "npm run serve" #394

Closed syresbr closed 6 months ago

syresbr commented 6 months ago

I want to run the sequenceTubeMap with my data and using the command it shows this on the terminal image and when I try to open no mozilla it shows this: image And following the page I tried use the door 3001 but it shows this: image What can be causing it?

adamnovak commented 6 months ago

@syresbr I think this will happen if you do npm run serve without having done npm run build first. The server is looking for the built files for the front-end to serve, but it can't find them, so you get a "Cannot GET /" error.

Try running npm run build first; that should solve your problem.

syresbr commented 6 months ago

It worked, thanks.

But another thing, the files that are being produced by the script to prepare_vg.sh are more than 5mb and the program isn't accepting when I tried to upload, is there a way to upload?

The file I'm trying to upload is 402mb. The vg file that I used to generate was 319mb

adamnovak commented 6 months ago

If your file is large, you can put it in the exampleData folder in your copy of the tube map, instead of uploading it through the browser. It should then show up in the dropdowns when you go to pick a file.