Hi Team,
This is Xiaochu at UTsouthwestern. Can you please help with one error we meet during upload a .bam file to the ucsc browser as below: Or please help to refer to the best person may help this?
It appears that you are directly uploading binary data in an unrecognized format (https://cloud.biohpc.swmed.edu/index.php/s/EmecQ3Wpd5GFGoC/download).
In general, if we use this file/URL (http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeUwRepliSeq/wgEncodeUwRepliSeqGm12878G1bAlnRep1.bam) as test and it works with our UCSC mirror or your site (https://genome.ucsc.edu/cgi-bin/hgCustom). However, if we try to upload the same file from our own cloud sharing server (based on nextcloud, and as shown in the shared link above), we meet the error say the file is in an unrecognized format.
Can you please help to understand what may cause this error? What command is called to access the URL to get the file uploaded? Please let us know if other information is needed.
Thanks,
Xiaochu
Sent from Mail for Windows
UT Southwestern |
Medical Center |
The future of medicine, today. |
Hi Christopher,
Thanks a lot for the help. Adding the track line do make the file upload work, but .bai file is requested as you tested too.
However, using the file URL from your ucsc one will not require a .bai file.
For our nextcloud based file sharing, if we use wget ($wget https://cloud.biohpc.swmed.edu/index.php/s/EmecQ3Wpd5GFGoC/download) by default, will only download a file named with download. Is this the reason the file upload was not able to taken by UCSC browser?
From: Christopher Lee
Sent: Tuesday, April 25, 2023 1:12 PM
To: Xiaochu Lou
Cc: genome...@soe.ucsc.edu
Subject: Re: [genome-mirror] help with error "directly uploading binary data in an unrecognized format" by Add Custom Tracks
EXTERNAL MAIL
CAUTION: This email originated from outside UTSW. Please be cautious of links or attachments, and validate the sender's email address before replying.
Thanks Christopher!
I will read the instruction attached and get more tests.