Mercurial > repos > bornea > saint_preprocessing
comparison SAINT_preprocessing.py @ 49:6bb30aeb02bd draft
Uploaded
author | bornea |
---|---|
date | Thu, 19 May 2016 12:03:16 -0400 |
parents | 265f5ae47a56 |
children | 61b792d17660 |
comparison
equal
deleted
inserted
replaced
48:265f5ae47a56 | 49:6bb30aeb02bd |
---|---|
236 output_file.close() | 236 output_file.close() |
237 | 237 |
238 | 238 |
239 def no_error_inter(Scaffold_input): | 239 def no_error_inter(Scaffold_input): |
240 # Remake inter file without protein errors from Uniprot. | 240 # Remake inter file without protein errors from Uniprot. |
241 err = readtab("./error_proteins.txt") | 241 err = readtab("error proteins.txt") |
242 bait = readtab(baitfile) | 242 bait = readtab(baitfile) |
243 data = read_Scaffold(Scaffold_input).data | 243 data = read_Scaffold(Scaffold_input).data |
244 header = read_Scaffold(Scaffold_input).header | 244 header = read_Scaffold(Scaffold_input).header |
245 header = [MQ_var.replace(r"\"", "") for MQ_var in header] | 245 header = [MQ_var.replace(r"\"", "") for MQ_var in header] |
246 header = [MQ_var.replace(r"Intensity.", r"") for MQ_var in header] | 246 header = [MQ_var.replace(r"Intensity.", r"") for MQ_var in header] |