comparison SAINT_preprocessing_mq_pep.py @ 39:e414a55b4c42 draft

Uploaded
author bornea
date Thu, 19 May 2016 10:29:44 -0400
parents a7a479d8cbf8
children 8102ffab0f85
comparison
equal deleted inserted replaced
38:a7a479d8cbf8 39:e414a55b4c42
258 # Remove \n for input into function. 258 # Remove \n for input into function.
259 a = a.replace("\r", "") 259 a = a.replace("\r", "")
260 # Ditto for \r. 260 # Ditto for \r.
261 seq = get_info(a).seqlength 261 seq = get_info(a).seqlength
262 GN = get_info(a).genename 262 GN = get_info(a).genename
263 if seq != 'NA': 263 if seq == 'NA':
264 if GN != 'NA': 264 if GN == 'NA':
265 errors.append(a) 265 errors.append(a)
266 with open('inter.txt', 'w') as input_file: 266 with open('inter.txt', 'w') as input_file:
267 l = 0; a = 0 267 l = 0; a = 0
268 for bb in bait: 268 for bb in bait:
269 for lst in data: 269 for lst in data: