Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBrowse issue #4850

Open
zijian-yu opened this issue Feb 19, 2025 · 2 comments
Open

JBrowse issue #4850

zijian-yu opened this issue Feb 19, 2025 · 2 comments

Comments

@zijian-yu
Copy link

I got this error from JBrowse, here is the stack trace:

Error
Error
../../../node_modules/@gmod/bgzf-filehandle/src/unzip.ts:31:15 (at i ()
../../../node_modules/@gmod/bgzf-filehandle/src/bgzFilehandle.ts:59:12 (at d._readAndUncompressBlock ()
../../../node_modules/@gmod/bgzf-filehandle/src/bgzFilehandle.ts:73:13 (at async d.read ()
../../../node_modules/@gmod/indexedfasta/src/indexedFasta.ts:189:8 (at async o._fetchFromIndexEntry ()
JBrowse 3.0.3
@cmdcolin
Copy link
Collaborator

that's a weird one. the error is weird being empty like this, but it this seems like maybe the fasta index isn't being parsed correctly.

I would check

a) that you have inputted the fasta, fai, and gzi correctly

b) check that your web server is NOT adding the "Content-Encoding: gzip" response header. jbrowse does NOT want this header added, and you will need to find the setting for your server that can turn this off, or use a different server if it is present

@cmdcolin
Copy link
Collaborator

can also try re-indexing the file e.g. unzipping, re-running bgzip -i file.fa and samtools faidx file.fa.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants