comparison SAINT_preprocessing_mq_pep.py @ 34:05c5844e037b draft

Uploaded
author bornea
date Wed, 27 Apr 2016 10:35:22 -0400
parents 761e1ad2b130
children 26cc583a4ae4
comparison
equal deleted inserted replaced
33:d223d815e9c5 34:05c5844e037b
230 a = a.replace("\r", "") 230 a = a.replace("\r", "")
231 # Ditto for \r. 231 # Ditto for \r.
232 seq = get_info(a).seqlength 232 seq = get_info(a).seqlength
233 GN = get_info(a).genename 233 GN = get_info(a).genename
234 if seq != 'NA': 234 if seq != 'NA':
235 output_file.write(a+"\t"+str(seq)+ "\t" + str(GN) + "\n") 235 if GN != 'NA':
236 output_file.write(a+"\t"+str(seq)+ "\t" + str(GN) + "\n")
236 output_file.close() 237 output_file.close()
237 238
238 239
239 def no_error_inter(MaxQuant_input): 240 def no_error_inter(MaxQuant_input):
240 # Remake inter file without protein errors from Uniprot. 241 # Remake inter file without protein errors from Uniprot.