-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failing to build custom database for HBV #9
Comments
Hi Wonseok, It looks like the file Please let me know if this didn't work for you. Best, |
Hi, Sara, I ran Best, |
Hi Wonseok, Do you get an error when running Best, |
Hi, Sara. The Thank you, |
Hi Wonseok, Did you try running the |
Hi Javadzadeh, I have downloaded your suggested dataset for sample-level FastFiVi for the HPV virus: https://drive.google.com/file/d/1QYn5lDWjvhtIWCrwmzDc_1fy8ANrXWz1/view?usp=sharing. However, when I was attempting to extract it, it showed errors (tar -xzvf kraken_datasets.tar.gz). Could you please suggest to me how I can figure it out? |
Hi Muhammod, Thanks for reaching out. |
Hi Javadzadeh, Thank you so much for your response. I was getting the below errors. The downloaded file size is "15796400321" bytes. gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Error is not recoverable: exiting now ls -l kraken_datasets.tar.gz |
Hi again, Thanks! Although the output to Did you try running By the way, the uncompressed should be about 60GB. Is that taken into consideration? Thanks, |
Hi Javadzadeh, Yes, I have tried. However, it doesn't work out. gzip: kraken_datasets.tar.gz: invalid compressed data--crc error |
Hi Javazadesh, could you please provide a different download link? |
I can provide another link, it'll take a couple of hours to upload the database.
Sara |
Yes, it shows errors. You can view the error by clicking the link. tar -tf kraken_datasets.tar.gz > errors-text.txt Output:
|
Thanks for checking. Sara |
Hi again, Here's a second link for the same Kraken databases: https://drive.google.com/file/d/1DrKgDE7fl5Tff2bV8K9XBxLYsbTeOcgh/view?usp=sharing I suspect this might be a tar library incompatibility rather than file problem. I was able to list the contents of Sara |
Thank you, Ms. Javadzadeh. It helped me a lot. I used a Python script instead of import tarfile
sourcePATH = '/mnt/sdb1/kraken2/kraken_datasets.tar.gz'
destinationPATH = '/mnt/sdb1/kraken2/'
with tarfile.open(sourcePATH) as tar:
tar.extractall(destinationPATH)
tar.close() |
Great! Thanks for letting me know.
The size of extracted files sound reasonable.
Sara
…On Wed, Jun 14, 2023 at 9:47 AM Rafsanjani, Muhammod < ***@***.***> wrote:
Thank you, Ms. Javadzadeh. It helped me a lot.
I used a Python script instead of tar, and this time, it has not shown
errors. After extracting, I got a 61.4 GB file size. Is it the correct file
size?
import tarfile
sourcePATH = '/mnt/sdb1/kraken2/kraken_datasets.tar.gz'destinationPATH = '/mnt/sdb1/kraken2/'
with tarfile.open(sourcePATH) as tar:
tar.extractall(destinationPATH)
tar.close()
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGKYDQYTPYP3TJYW3C5L53XLHTJVANCNFSM6AAAAAAYIFHEZI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
hi sara |
Hi Sara,
I've been trying to build custom databases by following FastViFi Readme. Building databases for HCV and EBV were successful, however, building the hbv databases for k=18, k-22 were unsuccessful. The following message was shown in the log file:
Is there a way to solve this problem?
Best,
Wonseok
The text was updated successfully, but these errors were encountered: