diff options
-rw-r--r-- | Code/configure.py | 2 | ||||
-rw-r--r-- | Code/create_edges0.py | 5 | ||||
-rwxr-xr-x | Code/update_network.py | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Code/configure.py b/Code/configure.py index 39e6bca..9f159c1 100644 --- a/Code/configure.py +++ b/Code/configure.py @@ -49,7 +49,7 @@ MEMORY_STRENGTH = 365 # strength of memory, larger value means better memory MAPPED_CDATA_DIR = '../Data/C/Mapped' # mapped ChIp-seq data
# Used in merge_edges.py
-EDGE_POOL_DIR = '../Data/history/edge_pool'
+EDGE_POOL_DIR = '/disk1/edge_pool'
MERGED_EDGE_FILE = '../Data/temp/edges.txt'
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):
diff --git a/Code/update_network.py b/Code/update_network.py index 415179c..f0e4ec2 100755 --- a/Code/update_network.py +++ b/Code/update_network.py @@ -97,7 +97,7 @@ def make_important_dirs(): make_paths('../Data/C/Mapped') make_paths('../Data/C/Raw') make_paths('../Data/history/edges') - make_paths('../Data/history/edge_pool') + make_paths(EDGE_POOL_DIR) make_paths('../Data/history/bind') make_paths('../Data/history/expr') make_paths('../Webapp/static/json') |