Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download specific segment of the virus genome #409

Open
biocyberman opened this issue Oct 13, 2024 · 1 comment
Open

Download specific segment of the virus genome #409

biocyberman opened this issue Oct 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@biocyberman
Copy link

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.

@biocyberman biocyberman added the enhancement New feature or request label Oct 13, 2024
@ericcox1
Copy link
Collaborator

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
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants