This is a test version of Biostars. For the public version, visit https://www.biostars.org.
COG database download error (part-1)

Hi, I am trying to download cog-20.fa.gz with wget ftp://ftp.ncbi.nih.gov/pub/COG/COG2020/data/cog-20.fa.gz but every time, the cog-20.fa.gz file comes with corrupted. I mean I can not extract it. Can anyone help with this regard?

cog annotation ftp

1 answer

No problem whatsoever for me, which means nothing is wrong with the remote file:

Length: 645588664 (616M) (unauthoritative)

cog-20.fa.gz                                   100% 
[====================================================================================================>] 615.68M  10.4MB/s    in 63s

2021-02-18 00:32:22 (9.73 MB/s) - 'cog-20.fa.gz' saved [645588664]

file cog-20.fa.gz
cog-20.fa.gz: gzip compressed data, was "cog-20.fa", last modified: Wed Nov 25 13:31:47 2020, from Unix, original size modulo 2^32 1396259395
gunzip cog-20.fa.gz

The last command unpacks the archive just fine. If you have curl, maybe this will work better:

curl -O ftp://ftp.ncbi.nih.gov/pub/COG/COG2020/data/cog-20.fa.gz

Thank you very much Dlakic. There is probably an internet connection error.

Log in to answer this question.