How to get reference genome sequence given species name
Hi I have a list of bacterial species and would like to programmatically download all of their reference genomes. The list includes only the names of the species. eg:
Actinomyces_viscosus
Corynebacterium_matruchotii
:
:
etc etc
Is there an easy way to do this?
Thanks!
• 1,600 views
•
link
2 answers
If you are using conda
conda install -c bioconda ncbi-genome-download
or simply python
pip install ncbi-genome-download
You can use following command in a bash script to download the genome
list=["Actinomyces_viscosus", "Corynebacterium_matruchotii"]
for i in list; do
ncbi-genome-download --refseq-category --genus $i bacteria;
done
• 0 views
•
link
Log in to answer this question.