Skip to content

Instantly share code, notes, and snippets.

@taylorreiter
Created October 20, 2017 20:22
Show Gist options
  • Save taylorreiter/7286124b9d6a581d7884853f70c3a06c to your computer and use it in GitHub Desktop.
Save taylorreiter/7286124b9d6a581d7884853f70c3a06c to your computer and use it in GitHub Desktop.
Download NCBI fungal genomes from refseq and genbank

Create a virtual environment and install ncbi-genome-download

cd ~
python2.7 -m virtualenv ncbi-genome-downloadEnv
source ncbi-genome-downloadEnv/bin/activate
cd ncbi-genome-downloadEnv
git clone https://github.com/kblin/ncbi-genome-download.git
cd ncbi-genome-download
pip install .
source ncbi-genome-downloadEnv/bin/activate

Download the genomes from genbank and refseq

cd ~/fungal_genomes
mkdir ncbi-genome-downloads-fungi
cd ncbi-genome-downloads-fungi
ncbi-genome-download -s genbank -l all -F fasta fungi
ncbi-genome-download -s refseq -l all -F fasta fungi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment