From 5a70b3b498e64dc903b017d45be09a808cfb2b89 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sat, 18 Jan 2020 18:45:28 +0800 Subject: download_and_map.py: write "no enough space" warning message to network log file If there is no enough space left in the disk, download_and_map.py will refuse to download any data. This can be quite mysterious for a maintainer. So, write the reason to the network log file. The reason is something like: "[download_and_map.py] home directory does not have enough space (only 13 G available)." -Hui --- Code/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Code/configure.py') diff --git a/Code/configure.py b/Code/configure.py index c740e98..ed6574d 100644 --- a/Code/configure.py +++ b/Code/configure.py @@ -6,7 +6,7 @@ SALMON_MAP_RESULT_DIR = '../Data/temp/salmon_map_result' KMER = 31 # From download_and_map.py -DAILY_MAP_NUMBER = 5 # download this many samples each time. I have tested the values of 3, 4, 5, 8. +DAILY_MAP_NUMBER = 4 # download this many samples each time. I have tested the values of 3, 4, 5, 8. MIN_FASTQ_FILE_SIZE = 200000000 # in bytes, approximately 200MB RNA_SEQ_INFO_FILE = '../Data/information/rnaseq_info_database.json' # some data downloaded from ENA are not RNA-seq (they are ChIP-seq). Use this file to tell whether the file is RNA-seq DOWNLOADED_SRA_ID_LOG_FILE = '../Data/log/download_log.txt' # a list of downloaded SRA IDs -- cgit v1.2.1