Mercurial > repos > bornea > saint_preprocessing_peptideshaker
comparison Protein_report_processing.py @ 10:9ec349fd0e66 draft
Uploaded
author | bornea |
---|---|
date | Tue, 23 Aug 2016 19:26:13 -0400 |
parents | e01bdd338210 |
children | fcacb3f20451 |
comparison
equal
deleted
inserted
replaced
9:e01bdd338210 | 10:9ec349fd0e66 |
---|---|
173 if len(master_table[0]) < len(master_table[1]): | 173 if len(master_table[0]) < len(master_table[1]): |
174 master_table[0] = ["#"] + master_table[0] | 174 master_table[0] = ["#"] + master_table[0] |
175 replicate_index = master_table[0].index("Replicate") | 175 replicate_index = master_table[0].index("Replicate") |
176 grouping_index = master_table[0].index("Bait_Grouping") | 176 grouping_index = master_table[0].index("Bait_Grouping") |
177 accession_index = master_table[0].index("Main Accession") | 177 accession_index = master_table[0].index("Main Accession") |
178 quant_type = quant_type.replace("_", " ") | |
179 quant_type = r"#" + quant_type | |
178 Quant_index = master_table[0].index(quant_type) | 180 Quant_index = master_table[0].index(quant_type) |
179 inter_file = "" | 181 inter_file = "" |
180 for i in master_table[1:]: | 182 for i in master_table[1:]: |
181 line = [] | 183 line = [] |
182 line.append(i[replicate_index]) | 184 line.append(i[replicate_index]) |