Hi everyone,
I’m trying to download bacterial protein sequences from NCBI using the datasets command-line tool, but I keep getting an error I don’t understand.
Here are the commands I’ve tried:
datasets download genome taxon 2 --include protein --dehydrated --filename bacteria.zip
and
datasets download genome taxon bacteria --include protein --dehydrated --filename bacteria.zip
Both return the same error message:
Error: DOMAIN is not a valid V2reportsRankType
Use datasets download genome taxon <command> --help for detailed help about a command.
According to the documentation, the taxon argument should accept either a taxon ID or a name, so I’m not sure why this fails.
Has anyone encountered this DOMAIN is not a valid V2reportsRankType error when using datasets?
What’s the correct way to download all bacterial protein sequences (or genomes including proteins) using the latest NCBI Datasets CLI?
Any help or clarification would be appreciated!