diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-18 13:19:20 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-18 13:19:20 +0800 |
commit | a56956a5db79d947030a74f7ea710fa6e973972c (patch) | |
tree | e9bca17ba716b494040cac30d7ff41ebdb09577b /Code/make_target_tf.py | |
parent | 4420e34da9c28f6a3ddbe3d743927c83e2d51a45 (diff) |
make_target_tf.py: format of target_tf.txt.
Diffstat (limited to 'Code/make_target_tf.py')
-rw-r--r-- | Code/make_target_tf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Code/make_target_tf.py b/Code/make_target_tf.py index 1cb5147..06bc769 100644 --- a/Code/make_target_tf.py +++ b/Code/make_target_tf.py @@ -233,6 +233,8 @@ def augment_dict(d, target, tf, cond_lst): def target_tf(bind_dict, bind_info_dict, input_dict, glb_param_dict):
''' Print lines in this format: target TF ChIP-seq conditions, e.g., ../Data/information/target_tf.txt
For example, 'AT1G01270 AT3G46640 C0001000008426 C0001000008427 C0001000008428'
+ The three fields are separated by TAB.
+ The last field contains direct binding evidence, and each evidence is separated by a SPACE.
'''
d = get_tf(bind_dict, bind_info_dict, input_dict, glb_param_dict)
# d has the following format {target:{tf1:[c1,c2], tf2:[c2,c3]}, ... }
|