-
Notifications
You must be signed in to change notification settings - Fork 0
/
ftp.ncbi.nih.gov.assemblies.alt_scaffolds.129S6_SvEvTac
executable file
·48 lines (43 loc) · 1.48 KB
/
ftp.ncbi.nih.gov.assemblies.alt_scaffolds.129S6_SvEvTac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
comment="NCBI mouse assembly"
# This will be used in the naming the log file
#
# set path of files on remote server
REMOTE_SITE=ftp.ncbi.nih.gov
#url to remote site
REMOTE_SITE_URL=ftp://$REMOTE_SITE
REMOTE_DIR=/genomes/archive/old_genbank/Eukaryotes/vertebrates_mammals/Mus_musculus/GRCm38/129S6_SvEvTac/alt_scaffolds/FASTA
LOCAL_DIR=/data/research/dna/mouse_build_38_129S6_SvEvTac_fa
##if not set, local_dir will be relative to /data/downloads/
## otherwise local_dir is absolute
##
loca_dir_is_absolute=1
## List of files to download
#
REMOTE_FILES="alt.scaf.fa.gz"
#Note: The file has not changed since 2013 and yet
# the mirror is scheduled to run daily. maybe we should run this monthly.
#
#wget options
#
WGET_OPTIONS="--no-parent -S -t 10 -nd -m"
#
# wget
# -S = print the headers sent by HTTP servers and responses sent by FTP servers.
# -o = full path to log file
# -O = full path to output file
# -t = number of retries
# -r = reverse
# -k 7 = sort by the 7th column
# -nd = don't create directories
# -m = Turn on options suitable for mirroring. This option turns on recursion
# and time-stamping, sets infinite recursion depth and keeps FTP
# directory listings. It is currently equivalent to .-r -N -l
# inf --no-remove-listing..
#******** Optional *************
# Do not download any files if local directories do not exist
local_dir_check=true
# Remove any files in local directory that are not in remote directory
do_deletes=false
#do_deletes=false
#do_deletes=true