diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2020-02-11 18:03:52 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2020-02-11 18:03:52 +0800 |
commit | cc6858ae8e1a3eb24f68047ec4009b0bb9ab10ad (patch) | |
tree | 89562dbe9a7c1180939ec6ee3e04336f23d77230 /Code/process_3way_interaction2.py | |
parent | 02685414bd26fc446eb08152506f34ff2a642dfe (diff) |
merge_edges.py: make a better key
Use a combination of target gene ID and tf gene ID as a key. So if we having the following:
Target: AT5G09445 AT5G09445
TF: AT1G53910 RAP2.12
Then the key will be "AT5G09445_AT1G53910".
Before it was "AT5G09445 AT5G09445 AT1G53910 RAP2.12". This is OK in most cases, as long a gene ID's corresponding gene name is consistent. But if "AT1G53910" has a different gene
name, then we will have a DIFFERENT key, which is not what we want.
Diffstat (limited to 'Code/process_3way_interaction2.py')
0 files changed, 0 insertions, 0 deletions