comparison SAINT_preprocessing_mq_pep.py @ 45:0eae5a2c37d4 draft

Uploaded
author bornea
date Thu, 19 May 2016 10:55:39 -0400
parents b95bf0251ffd
children 5b2a60b59f46
comparison
equal deleted inserted replaced
44:b95bf0251ffd 45:0eae5a2c37d4
268 with open('inter.txt', 'w') as input_file: 268 with open('inter.txt', 'w') as input_file:
269 l = 0; a = 0 269 l = 0; a = 0
270 for bb in bait: 270 for bb in bait:
271 for lst in data: 271 for lst in data:
272 if valid_prots[a] not in errors: 272 if valid_prots[a] not in errors:
273 print lst
273 print l 274 print l
274 print a 275 print a
275 input_file.write(header[bait_index[l]] + '\t' + bb[1] + '\t' + valid_prots[a] + '\t' + lst[bait_index[l]] + '\n') 276 input_file.write(header[bait_index[l]] + '\t' + bb[1] + '\t' + valid_prots[a] + '\t' + lst[bait_index[l]] + '\n')
276 print(header[bait_index[l]] + '\t' + bb[1] + '\t' + valid_prots[a] + '\t' + lst[bait_index[l]] + '\n') 277 print(header[bait_index[l]] + '\t' + bb[1] + '\t' + valid_prots[a] + '\t' + lst[bait_index[l]] + '\n')
277 a += 1 278 a += 1