diff options
Diffstat (limited to 'Code/make_target_tf_agris.py')
-rw-r--r-- | Code/make_target_tf_agris.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Code/make_target_tf_agris.py b/Code/make_target_tf_agris.py index 8e2cb2e..f95a03b 100644 --- a/Code/make_target_tf_agris.py +++ b/Code/make_target_tf_agris.py @@ -35,12 +35,11 @@ def make_dictionary(fname, separator): target_lst = [x.strip() for x in target0.split('/') if id_validator.isvalid(x)] for tf in tf_lst: for target in target_lst: - if tf.startswith('AT') and target.startswith('AT'): - k = target + '.' + tf - if k in d: - duplicate += 1 - else: - d[k] = [target, tf, sample_id] + k = target + '.' + tf + if k in d: + duplicate += 1 + else: + d[k] = [target, tf, sample_id] return duplicate, d |