This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Where did my .zip file get downloaded to?
(bio) nyck33@nyck33-IdeaPad-Gaming-3-15ACH6:~/Documents/Bioinformatics/ncbi$ datasets download virus protein S --filename spike-protein.zip
Downloading: spike-protein.zip    13.6MB 105kB/s
Downloading: spike-protein.zip    13.6MB done

Use datasets download virus protein <command> --help for detailed help about a command.

(bio) nyck33@nyck33-IdeaPad-Gaming-3-15ACH6:~/Documents/Bioinformatics/ncbi$ unzip spike-protein.zip -d spike-protein
unzip:  cannot find or open spike-protein.zip, spike-protein.zip.zip or spike-protein.zip.ZIP.
(bio) nyck33@nyck33-IdeaPad-Gaming-3-15ACH6:~/Documents/Bioinformatics/ncbi$ ls
refseq_protein.00.tar.gz      refseq_protein.jHomEgMi.00.tar.gz.part
refseq_protein.00.tar.gz.md5

Following instructions here: https://www.ncbi.nlm.nih.gov/datasets/docs/v2/reference-docs/data-packages/virus-genome/

What happened? What is the default folder? It did not get downloaded to the folder I inputted the download command from.

ncbi

This isn't a bioinformatics question, and the answer comes down to reading instructions for the datasets suite of programs. But this will hopefully help you:

find ~ -name spike-protein.zip

If that doesn't work:

find $HOME -name spike-protein.zip

1 answer

Hi,

Thank you for using datasets.

I believe you might have encountered a transient error in your download. The spike protein data package as you requested should be about 550 MB and not 13.6 MB. By default, when a download fails, datasets removes the incomplete download file, and that's the reason why you couldn't find it. I recommend you try it again, and please post if you run into another issue.

Thanks,
Mirian

Log in to answer this question.