-
Notifications
You must be signed in to change notification settings - Fork 277
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
rsync problem with NCBI #38
Comments
Ok, so after much angst and effort to solve the problem along with my sysAdmin team (we tried opening ports, setting rsync proxies, etc), I gave up on getting it to run properly at work and decided to try on my computer at home. Amazingly, it ran first try, no problems! Still no clue where the issue is, but I can just copy the updated database onto a portable hard drive to take to work to use. There's always a work-around! Thanks for a great tool. |
This isn't a bug in kraken2 in my case, just NCBI is lots of hops from Australia, and also it gets overloaded or something. When i restart it, it works, then dies on the next part:
Still quicker than FTP ! |
I couldn't get rsync to work through the firewalls (or whatever the problem was) at work, but the rsync steps ran fine from home. Unfortunately my laptop wasn't big enough to build the database though, so I had to copy across the downloaded folders and then run the build part (./kraken2-build --build ) on my work desktop. A few steps more than usual, but it does work. Maybe you could try that. |
I've recently added a |
Thank you! |
Thanks @DerrickWood ! |
I don't see the --use-ftp as an option on kraken2 version 2.0.6 or 2.0.7. Any ideas on what's going on? Thanks. $ kraken2 --version $ kraken2-build --help Task options (exactly one must be selected): Options: |
Same here: Kraken version 2.0.7-beta Kraken2-build says "Unknown option: use-ftp" |
Hello Xingpel. Try pulling the code straight from GitHub rather than from https://ccb.jhu.edu/software/kraken2. You should then be able to invoke the use-ftp option. -jamie |
Yes this is my fault. Apologies. I have not updated the website software download. Please use the Github version |
Thank you all! It is well resolved, |
Similar to the issue here with Kraken v1,( DerrickWood/kraken#114 ), in Kraken2 the downloading and updating the RefSeq databases is not working. I get the following error:
kate@.../software/kraken2-master$ ./kraken2-build --standard --threads 50 --db Aug2018_RefSeq Downloading nucleotide est accession to taxon map...rsync: failed to connect to ftp.ncbi.nlm.nih.gov (165.112.9.229): Connection refused (111) rsync: failed to connect to ftp.ncbi.nlm.nih.gov (2607:f220:41e:250::7): Network is unreachable (101) rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]
There is a python workaround using wget instead of rsync ( https://github.com/sejmodha/MiscScripts/blob/master/UpdateKrakenDatabases.py ) but that has some issues too. Any chance you could fix this? Thanks.
The text was updated successfully, but these errors were encountered: