Skip to content

NCBI Genbank sync commands

Ryan Lim edited this page Jan 19, 2022 · 1 revision

Sync from NCBI to local

Example with 'bacteria': rsync -arzv --inplace --size-only --no-motd --progress --copy-links rsync://ftp.ncbi.nih.gov/genomes/genbank/bacteria bacteria/

Sync from local to S3

aws s3 sync --size-only bacteria/ s3://idseq-database/genomes/genbank

Example with nohup

nohup rsync -arzv --inplace --size-only --no-motd --progress --copy-links rsync://ftp.ncbi.nih.gov/genomes/genbank/bacteria bacteria/ &> bacteria_1.out&