comparison SAINT_preprocessing_v6.py @ 18:b230824e1a0e draft

Uploaded
author bornea
date Tue, 17 Nov 2015 12:18:30 -0500
parents 40c88c39f8d7
children
comparison
equal deleted inserted replaced
17:40c88c39f8d7 18:b230824e1a0e
148 seqlength = seqlength + len(lines[match].strip()) 148 seqlength = seqlength + len(lines[match].strip())
149 match = match + 1 149 match = match + 1
150 else: 150 else:
151 break 151 break
152 return ReturnValue1(seqlength, genename) 152 return ReturnValue1(seqlength, genename)
153 elif uniprot_accession_in == namer.split(" "): 153 elif uniprot_accession_in == namer.split(" ")[0]:
154 match = count+1 154 match = count+1
155 if 'GN=' in i: 155 if 'GN=' in i:
156 lst = i.split('GN=') 156 lst = i.split('GN=')
157 lst2 = lst[1].split(' ') 157 lst2 = lst[1].split(' ')
158 genename = lst2[0] 158 genename = lst2[0]