X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=blobdiff_plain;f=genetics%2Fdbsnp_mirror.mdwn;h=9ffa841600d3419537e7ff20827362653508e408;hp=addc10ea1c9dbebcb901e658c06b8e2bd9a7d829;hb=3fd42e115725d33c75509e2fb9bbf03745ed6776;hpb=c0a04a9d92bd54a512c52cc9c15f1bf695a0080e diff --git a/genetics/dbsnp_mirror.mdwn b/genetics/dbsnp_mirror.mdwn index addc10e..9ffa841 100644 --- a/genetics/dbsnp_mirror.mdwn +++ b/genetics/dbsnp_mirror.mdwn @@ -8,10 +8,9 @@ download the databases and schemas for the current release of dbsnp. For humans, this is currently ≈60G, and takes a while to retrieve (about 24 hours or so). - for a in {organism,shared}_{data,schema}; do - lftp -c "open ftp.ncbi.nlm.nih.gov; cd /snp/organisms/human_9606/database/; mirror $a"; - done; - + rsync -rvP --include 'organism_*' --exclude '**' rsync://ftp.ncbi.nlm.nih.gov/snp/organisms/human_9606/database/ . + rsync -rvP rsync://ftp.ncbi.nlm.nih.gov/snp/database/shared_data . + rsync -rvP rsync://ftp.ncbi.nlm.nih.gov/snp/database/shared_schema . Preparing SQL Schemas ---------------------