Encountered invalid refName: "==" #2237
-
I installed an instance of jbrowse2 on a server, then uploaded a fasta with its fai and gzi. When I open the page on a browser and select "Linear Genome View", I get a "Fatal Error" popup with this message:
(the specific wrong refName might be slightly different, I had trouble copy-pasting) This error message was for jbrowse v1.0.4, in v1.3.3 the same error occurs but only with the first line (no "in xxx"). The genome has standard ASCII sequence names:
And the problematic file can be generated with:
At this point I don't know where the problem could come from, I'd welcome any pointer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hmm that all looks right! following those same steps locally worked for me. that is quite weird. thanks for giving the full details, it helps a lot though you could possibly try giving the filename something different than the extension .gz this is just a guess because this has in the past sometimes happened with vcf.gz files for example, the server incorrectly sets the "Content-Encoding: gzip" header and that causes the browser to unzip the gzip instead of jbrowse code unzipping the bgzip how it wants to I have wondered if there is something jbrowse could do to help with this issue on the client side but generally it's not good when the server sends these headers you could perhaps try hand-editing the config.json to make the fastaLocation uri not have a .gz extension c_elegans.PRJNA13758.WS277.genomic_bgzip.fa.anythingelsehere and then rename the file on disk appropriately |
Beta Was this translation helpful? Give feedback.
hmm that all looks right! following those same steps locally worked for me. that is quite weird. thanks for giving the full details, it helps a lot though
you could possibly try giving the filename something different than the extension .gz
this is just a guess because this has in the past sometimes happened with vcf.gz files for example, the server incorrectly sets the "Content-Encoding: gzip" header and that causes the browser to unzip the gzip instead of jbrowse code unzipping the bgzip how it wants to
https://jbrowse.org/docs/faq_troubleshooting.html#what-is-the-error-invalid-bgzf-header-on-my-vcf-files
I have wondered if there is something jbrowse could do to help with this issue on …