-
Notifications
You must be signed in to change notification settings - Fork 52
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
Downloading slice of BAM recognized as complete but BAM download is incomplete #184
Comments
Hi @JasperO98, Were you referring to EGAF00005572698 or EGAF00005572695 ? The log file seems truncated as well. Do you still have the full logs with you? I tried looking into this and the log says it was able to download the 221K bam file with accession EGAF00005572695 successfully. That file should contain all the lines matching the reference name 19 which was specified in the -r argument in the command. Do you still have the incomplete file you downloaded? Would you be able to send it to our helpdesk ([email protected]) for us to check? Many thanks |
Hey @aaclan-ebi, |
I see, Thanks, @JasperO98 , we will investigate this further. |
@JasperO98 Could you please confirm the issue still exist? We pushed updates to both the api and the client since this issue was created. |
Yes the problem still persists using PyEGA3=5.0.2 |
@JasperO98 In the log you attached I do not see any sign that the client is actually downloading the file. Could you please check if you already have a directory with the name of EGAF00005572695 present in the output directory? If so, could you please delete the directory (the client checks if a subdirectory with the file id is already present at the download location with files, and if so, it won't attempt to download the file) and retry downloading the slice? |
I tried that just now and it results in the same issue. |
Could you also try the following command (delete the previously downloaded data first)? pyega3 -c 10 -cf ../ega_credentials.json fetch --max-retries -1 --format BAM --output-dir . -r chr19 EGAF00005572695 (Submitters might use different naming conventions when uploading files) |
Unfortunately that also does not work.
|
When downloading a slice of a BAM PyEGA downloads only a few Kb of data and then marks the download as complete.
Used versions
To Reproduce
Steps to reproduce the behaviour that led you to the bug.
EGAF00005572695
.Additional context
I've already contacted the EGA helpdesk about this problem, but they couldn't resolve my issue. I already tried to check if my port 8443 was open and this was the case. Looking forward to your reply.
The text was updated successfully, but these errors were encountered: