summaryrefslogtreecommitdiff
path: root/Code/create_edges0.py
diff options
context:
space:
mode:
Diffstat (limited to 'Code/create_edges0.py')
-rw-r--r--Code/create_edges0.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Code/create_edges0.py b/Code/create_edges0.py
index 75cb1e1..f124370 100644
--- a/Code/create_edges0.py
+++ b/Code/create_edges0.py
@@ -4,7 +4,7 @@
#
# Quickly create edges using all samples in TPM.txt. TF and targets
# are from target_tf.txt. Results will be written to
-# ../Data/history/edge_pool/edges.txt.simple.correlation.all.conditions.date
+# EDGE_POOL_DIR/edges.txt.simple.correlation.all.conditions.date
# target_tf.txt is produced by make_target_tf.py.
#
#
@@ -15,13 +15,14 @@ import sys, os, operator, itertools
from datetime import datetime
from geneid2name import make_gene_name_AGI_map_dict, get_gene_name
from param4net import make_global_param_dict
+from configure import EDGE_POOL_DIR
TARGET_FILE = '../Data/temp/all_targets.txt'
TF_FILE = '../Data/temp/all_tfs.txt'
RESULT_FILE = '../Data/temp/corr_all.txt'
R_SCRIPT_FILE = '../Data/temp/compute_simple_correlation.r'
-HISTORY_DIR = '../Data/history/edge_pool' # edges.txt.* files are here
+HISTORY_DIR = EDGE_POOL_DIR # edges.txt.* files are here
def get_value(s, delimit):