comparison SAINT_preprocessing.py @ 16:4b43913630d0 draft

Uploaded
author bornea
date Tue, 12 Apr 2016 15:07:32 -0400
parents 876af85d782c
children 72fe77df329b
comparison
equal deleted inserted replaced
15:876af85d782c 16:4b43913630d0
51 if baits[i+2] == "true": 51 if baits[i+2] == "true":
52 T_C = "C" 52 T_C = "C"
53 else: 53 else:
54 T_C = "T" 54 T_C = "T"
55 bait_line = baits[i] + "\t" + baits[i+1] + "\t" + T_C + "\n" 55 bait_line = baits[i] + "\t" + baits[i+1] + "\t" + T_C + "\n"
56 bait_cach.append(str(bait_line)) 56 bait_cache.append(str(bait_line))
57 i = i + 3 57 i = i + 3
58 58
59 for cache_line in bait_cache: 59 for cache_line in bait_cache:
60 bait_file_tmp.write(cache_line[1]) 60 bait_file_tmp.write(cache_line[1])
61 61