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 genomes from assembly file #229

Closed
ChillarAnand opened this issue Aug 3, 2024 · 1 comment
Closed

Download genomes from assembly file #229

ChillarAnand opened this issue Aug 3, 2024 · 1 comment

Comments

@ChillarAnand
Copy link

Feature Request:

There is new database FDA-ARGOS. For this we can download assembly file from https://www.ncbi.nlm.nih.gov/bioproject/231221

How to download all the genomes from the assembly file?

@kblin
Copy link
Owner

kblin commented Aug 5, 2024

I don't think it's ncbi-genome-download's job to understand those files.
Having said that, it should be trivial to write a little script to convert this file into one that ncbi-genome-download understands.

Something like this should work:

grep -e "^#" -v  /PRJNA231221_AssemblyDetails.txt | cut -d$'\t' -f1 > accs_to_download.txt
ncbi-genome-download --section genbank --assembly-accessions accs_to_download.txt --progress-bar bacteria

@kblin kblin closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants