Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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 one assembly per species: #75

Closed
EisenRa opened this issue Sep 4, 2018 · 4 comments
Closed

Download one assembly per species: #75

EisenRa opened this issue Sep 4, 2018 · 4 comments
Labels

Comments

@EisenRa
Copy link

EisenRa commented Sep 4, 2018

Dear authors,

Thank you for writing this tool, it has been a huge help to me!

I have a quick question regarding the downloading of assemblies. I'm attempting to download assemblies based on taxids -- which works great, but I would only like to download one assembly per species. I am aware of the --refseq-category command that will help in this regard (i.e. just representative or reference), however, some species do not have 'references' or representative assemblies (e.g. https://www.ncbi.nlm.nih.gov/assembly/GCF_003030345.1/ )

Is there some way I can download these even if they don't have references/representatives?

Thanks!
Raphael

@kblin kblin added the question label Sep 4, 2018
@kblin
Copy link
Owner

kblin commented Sep 5, 2018

Hi Raphael,
Unfortunately, there's no straightforward way of doing this. How do you pick which assembly is the one you want if there's a thousand assemblies?
Also keep in mind that the species are occasionally not assigned correctly.

@tseemann
Copy link

@EisenRa do you mean one of all species, or just bacterial species?

@EisenRa
Copy link
Author

EisenRa commented Apr 29, 2019

@tseemann only bacterial/archaeal.

@andrewsanchez
Copy link

@EisenRa You can parse the assembly summary file, group accession IDs together that have the same species tax ID, then feed those IDs to ncbi-genome-download with the -A option. That would work if you don't care which one you download.

Repository owner locked and limited conversation to collaborators Mar 21, 2022
@kblin kblin converted this issue into discussion #186 Mar 21, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

4 participants