diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2025-06-22 19:27:22 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2025-06-22 19:27:22 +0800 |
commit | f7527b3592e6c5983bb1b004c20a1b7df7e0a649 (patch) | |
tree | 8f4b8159718f85ce29b74f41c0a758d22fd7c845 /Code | |
parent | def5d8276577805f5c37bb5e694572646c71a120 (diff) |
Less downloading during the short semester
Diffstat (limited to 'Code')
-rw-r--r-- | Code/configure.py | 2 | ||||
-rw-r--r-- | Code/download_and_map.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Code/configure.py b/Code/configure.py index 34446c3..f12eed9 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 = 10 # download this many samples each time. I have tested the values of 3, 4, 5, 8. +DAILY_MAP_NUMBER = 2 # 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 INFO_DIR = '../Data/information/' ENA_RECORDS_READ_RUN = '../Data/information/ena_read_run.xml' diff --git a/Code/download_and_map.py b/Code/download_and_map.py index 7bc0dee..502b5e5 100644 --- a/Code/download_and_map.py +++ b/Code/download_and_map.py @@ -156,7 +156,7 @@ def has_no_more_time(times): first_time = times[0] now_time = datetime.now() time_diff = now_time - first_time - if time_diff.total_seconds()/3600 > 8: # started 8 hours ago, should stop now, let the machine rest for 16 hours + if time_diff.total_seconds()/3600 > 4: # started 8 hours ago, should stop now, let the machine rest for 20 hours return True return False |