From e5593827fbc6c35e1df6b7ab1131b0717130219c Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Wed, 7 Aug 2024 18:40:49 +0800 Subject: Use TPM_FILE instead of TPM_TABLE --- Code/buildRmatrix.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Code/buildRmatrix.py') diff --git a/Code/buildRmatrix.py b/Code/buildRmatrix.py index 363e0a3..1c90eb0 100644 --- a/Code/buildRmatrix.py +++ b/Code/buildRmatrix.py @@ -10,8 +10,9 @@ # 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.] import os, sys, glob +from configure import TPM_FILE -TPM_TABLE = '../Data/history/expr/TPM.txt' +TPM_TABLE = TPM_FILE WARN_NA = False #################################### @@ -239,4 +240,4 @@ global_param_dict = make_global_param_dict(param_file) data_dict = make_data_dict(param_file) TPM_TABLE = os.path.abspath(TPM_TABLE) save_TPM_table(get_gene_list(global_param_dict['GENE_LIST']), get_dict_list(data_dict), TPM_TABLE) -#print('Done. Check %s.' % (TPM_TABLE)) + -- cgit v1.2.1