summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Code/buildRmatrix.py1
-rw-r--r--Code/download_and_map.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/Code/buildRmatrix.py b/Code/buildRmatrix.py
index ece3794..26893eb 100644
--- a/Code/buildRmatrix.py
+++ b/Code/buildRmatrix.py
@@ -9,6 +9,7 @@
# Last modified 5 Apr 2017, hui, slcu
# Last modified 25 Oct 2019, hui, zjnu [Comments; add a variable WARN_NA to turn on/off print NA warnings.]
# Last modified 10 Oct 2020, hui, zjnu [note that if there are more than 1000 RNA-seq samples, this script requires at least 7GB memory to run.]
+# TODO: this version is too slow. For example, making a TPM.txt with 5178 columns will take at least 12 hours. Should speed this up by using more memory (e.g., 12 GB), not a big deal nowadays.
import os, sys, glob
from configure import TPM_FILE
diff --git a/Code/download_and_map.py b/Code/download_and_map.py
index 93e3400..7bc0dee 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 > 18: # started 18 hours ago, should stop now, let the machine rest for 6 hours
+ if time_diff.total_seconds()/3600 > 8: # started 8 hours ago, should stop now, let the machine rest for 16 hours
return True
return False