-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error for viral-neighbors DB download #87
Comments
TL;DR: I attached the modified script The problem seems to be with the format of the json files returned by NCBI esearch. The The grep command used to get the three parameters doesn't work, hence : So, I modified the script to get the right information. Here are the modified lines of code. I have absolutely no experience with perl so my hack may seem clumsy, if you have a more elegant please correct it !
The esearch_file looks like this :
Here are my logs with this correction :
But wait, there is more ! We are downloading FASTA files by 10k batches, but I didn't understand why we jumped from batch 10k -> 20k to 30k -> 40k etc., so I modified the following lines as well : Before (add the 1000, 2000, 40000, 80000... at the end of each loop): After (add 10 000 at the end of each loop) : And the resulting logs :
|
Thanks clescoat! |
You saved my day!!! Thanks a lot @clescoat ! Why don't you push this important upgrade to the current version of the script or ask @fbreitwieser or @DerrickWood to do it ? |
Thanks for this help, @clescoat!
|
I will integrate the update now. Thank you, @clescoat |
Hi, I'm trying to download the viral-neighbors db from NCBI, but the download halts with this message. Could you help on that?
Thanks a lot!
The text was updated successfully, but these errors were encountered: