diff options
author | Lan Hui <lanhui@zjnu.edu.cn> | 2024-08-11 15:01:58 +0800 |
---|---|---|
committer | Lan Hui <lanhui@zjnu.edu.cn> | 2024-08-11 15:01:58 +0800 |
commit | 824629706b75b3c5b4275c2f6d6ce540bf6dfc73 (patch) | |
tree | b0a153ac7241d024fb90f7d759d5074b08b23dd1 /Code/merge_edges.py | |
parent | 0070478f7f57ee86d6a0bc2d3550eb5a5e71a7ec (diff) |
dos2unix
Diffstat (limited to 'Code/merge_edges.py')
-rw-r--r-- | Code/merge_edges.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Code/merge_edges.py b/Code/merge_edges.py index 6bbd2f0..872faa9 100644 --- a/Code/merge_edges.py +++ b/Code/merge_edges.py @@ -23,6 +23,7 @@ import os, operator, sys, math, datetime, glob from log import write_log_file from configure import EDGE_POOL_DIR, MERGED_EDGE_FILE, SQLITE_EDGE_FILE, UPDATE_NETWORK_LOG_FILE +from utils import make_paths import sqlite3 def get_number_of_RNAseq_ids(s): @@ -134,6 +135,9 @@ def make_new_edge(d): ##main + +make_paths(EDGE_POOL_DIR) + write_log_file('[merge_edges.py] Go through all edge files in the edge pool %s.' % (EDGE_POOL_DIR) , UPDATE_NETWORK_LOG_FILE) d = {} # d will contain all edges computed so far, where the key is TargetGeneID_TFGeneID, and the value is a list of tuples. Each tuple is a historical edge. file_count = 0 |