From 3fd42e115725d33c75509e2fb9bbf03745ed6776 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 13 Dec 2011 14:37:07 -0800 Subject: [PATCH 1/1] * use rsync instead of lftp to download schemas and data --- genetics/dbsnp_mirror.mdwn | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 --------------------- -- 2.39.2