diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2025-05-06 19:43:51 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2025-05-06 19:43:51 +0800 |
commit | 41e2651693d73eabb9d403ea01dad1e1ec999dfd (patch) | |
tree | 78114035884f80e609c40ec757f38ca4d1b8e18a | |
parent | 809c860264218a5e2605424af28781871b723f4f (diff) |
Turn on wget's quiet mode, so that it won't show info about the downloading process, therefore reducing the amount of data written to /var/lanhui/mail
-rw-r--r-- | Code/download_and_map.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/download_and_map.py b/Code/download_and_map.py index cf34026..3dfb68f 100644 --- a/Code/download_and_map.py +++ b/Code/download_and_map.py @@ -207,7 +207,7 @@ def download_and_map_data(lst, daily_map_num, dest): for link in url_lst: sz = get_remote_file_size(link) if sz >= MIN_FASTQ_FILE_SIZE: # remote file must be big enough - cmd = 'wget %s -P %s' % (link, dest) + cmd = 'wget -q %s -P %s' % (link, dest) os.system(cmd) file_path = os.path.join(dest, os.path.basename(link)) curr_lst.append(file_path) |