Hi,
I'm providing track-db files to the USCS Genome Browser, but some of them fail to import with a "Couldn't open:..." error. I'm clueless as to why some of them fail, because they are all generated by the exact same API. The error only happens when I try to open more than 9 tracks (and it doesn't depend on which tracks are selected, the error only starts to arise when I have 10 tracks provided).
E.g. the first hub/genome/track-db files here contain 9 tracks, and can be opened fine:
http://dev3.epigenomesportal.ca/api/ucsc/hub/5420
http://dev3.epigenomesportal.ca/api/ucsc/genome/5420
http://dev3.epigenomesportal.ca/api/ucsc/track-db/5420
but the second hub/genome/track-db files here fail to import with a "Couldn't open" error (10 tracks):
http://dev3.epigenomesportal.ca/api/ucsc/hub/5421
http://dev3.epigenomesportal.ca/api/ucsc/genome/5421
http://dev3.epigenomesportal.ca/api/ucsc/track-db/5421
Here are links to open the tracks above in a UCSC Genome Browser
https://genome.ucsc.edu/cgi-bin/hgTracks?db=hg19&hubClear=http://dev3.epigenomesportal.ca/api/ucsc/hub/5421 (doesnt
work)
Thank you,
Romain
--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Public Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome+un...@soe.ucsc.edu.
To post to this group, send email to gen...@soe.ucsc.edu.
Visit this group at https://groups.google.com/a/soe.ucsc.edu/group/genome/.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/YQBPR0101MB145848CB44B08488DED9AC18E80A0%40YQBPR0101MB1458.CANPRD01.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/a/soe.ucsc.edu/d/optout.
Hi Cath,
Thank you so much for your time!
So, regarding your question, it's not a an Apache, it's a NodeJS server generating the track-db files, and there is no permission of any kind set up.
Also, I doubt that it is related to the number of connections because all the bigWig files in that track-db are hosted on a different server (https://datahub-3fl67ocb.udes.genap.ca).
Is there a way to troubleshoot and get a more verbose message than "Couldn't open"?
I've noticed that if I run the kentUtils command line utility `hubCheck` on that second link, it returns the exact same message: "Couldn't open ...". Is this tool being used in the backend? I've tried to get it to print more verbose details, but it doesn't print anything more with the -verbose=2 flag set.
I've also tried compiling `hubCheck` from source to try to troubleshoot more, but the current github version print a different error message:
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/YQBPR0101MB1458C5D080D7C7CC8456FAC3E80B0%40YQBPR0101MB1458.CANPRD01.PROD.OUTLOOK.COM.
Hello Matthew,
Thank you, your last hint did the job. Setting the headers 'Accept-Range: bytes' and 'Content-Length:
...' on the hub/genome/track-db files did solve the issue.
It should be noted that those headers were already set on the bigWig/bigBed files, and that the hub/genome/track-db files don't really accept byte-range requests.
Thanks all.
Romain