Mercurial > repos > bornea > saint_preprocessing
comparison SAINT_preprocessing_mq_pep.py @ 47:8ca1d3bc5906 draft
Uploaded
| author | bornea |
|---|---|
| date | Thu, 19 May 2016 11:54:41 -0400 |
| parents | 5b2a60b59f46 |
| children | 0f5028e0c39c |
comparison
equal
deleted
inserted
replaced
| 46:5b2a60b59f46 | 47:8ca1d3bc5906 |
|---|---|
| 270 for bb in bait: | 270 for bb in bait: |
| 271 for lst in data: | 271 for lst in data: |
| 272 if lst[0] in valid_prots: | 272 if lst[0] in valid_prots: |
| 273 input_file.write(header[bait_index[l]] + '\t' + bb[1] + '\t' + lst[0] + '\t' + lst[bait_index[l]] + '\n') | 273 input_file.write(header[bait_index[l]] + '\t' + bb[1] + '\t' + lst[0] + '\t' + lst[bait_index[l]] + '\n') |
| 274 a += 1 | 274 a += 1 |
| 275 if a == len(valid_prots): | 275 if a == len(proteins): |
| 276 l += 1; a = 0 | 276 l += 1; a = 0 |
| 277 | 277 |
| 278 | 278 |
| 279 def bait_check(bait, MaxQuant_input): | 279 def bait_check(bait, MaxQuant_input): |
| 280 # Check that bait names share header titles. | 280 # Check that bait names share header titles. |
