simroux / VirSorter

Source code of the VirSorter tool, also available as an App on CyVerse/iVirus (https://de.iplantcollaborative.org/de/)
GNU General Public License v2.0
104 stars 30 forks source link

'tar -zxvf' erorr about the database file #33

Open quliping opened 6 years ago

quliping commented 6 years ago

I downloaded the databases file and I wanted to uncompressed it, but there are some problems: tar -zxvf virsorter-data-v2.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors and I used 'file' to see the type of the file and the result is 'data'... file virsorter-data-v2.tar.gz virsorter-data-v2.tar.gz: data Shouldn't it be a .tar.gz file?

simroux commented 6 years ago

Was the file you downloaded complete and intact ? As noted in the readme, you can check this with md5sum: `md5sum virsorter-data-v2.tar.gz

m5sum should return dd12af7d13da0a85df0a9106e9346b45`

quliping commented 6 years ago

I'm sure that I downloaded it complete and intact. Is it 3.88GB? But the md5sum result was wrong: md5sum virsorter-data-v2.tar.gz 8ae0c3eeaec73751fd19948b5c616a3e virsorter-data-v2.tar.gz I don't know why. I'm sure I downloaded it from this URL : https://zenodo.org/record/1168727/files/virsorter-data-v2.tar.gz .

simroux commented 6 years ago

It looks like the download was not complete, the file should be slightly larger than 3.88Gb. In any case, md5sum controls the integrity of the file, so if you don't get the correct result, that means the file is not complete and/or corrupt, and you won't be able to extract it.

quliping commented 6 years ago

In the first picture, you can see the URL that I used is correct, but in the next picture, you can see that the file which this URL points to is only 3976.62MB (the browser can display the size of the file to be downloaded) . Almost 3.88G. I'm afraid the file itself on the website is not complete. I think you put a incomplete file on the website, so I can't download the complete file. image image Maybe you can download the file again to your own computer and see if it is really only 3.88G. If you don't believe, you can see next picture which shows me downloading this file with linux: _20180905165657 only 3.9G...