ncbi / datasets

NCBI Datasets is a new resource that lets you easily gather data from across NCBI databases.
https://www.ncbi.nlm.nih.gov/datasets
Other
362 stars 39 forks source link

Download specific segment of the virus genome #409

Open biocyberman opened 5 days ago

biocyberman commented 5 days ago

Is your feature request related to a problem? Please describe. I am insterested in download a specific region of the genome. The web interface allows me to do that. But I want to use the commandline for scripting and downloading. This also avoids downloading and saving large amount of unneccesary data. Describe the solution you'd like For example: datasets download virus genome taxon alphainfluenzavirus --segment 5 --filename alphainfluenzavirus_segment5.zip. Even better, I am aware that there are options for dates, hosts, etc, but for future expansion to other metadata fields and simplified commandline options: datasets download virus genome taxon alphainfluenzavirus --metadata-fields "Segment=Segment 5;Host=Homo sapiens" --filename alphainfluenzavirus_segment5.zip

Thank you

Thanks for your feedback--your feature requests help improve NCBI Datasets.

ericcox1 commented 3 days ago

Hi @biocyberman,

Thanks for this feature request. We will consider this for future development.

Best, Eric

Eric Cox, PhD [Contractor] (he/him/his) NCBI Datasets NIH/NLM/NCBI eric.cox@nih.gov