Skip to content

Commit

Permalink
fix direct Proline import - issue #42
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocardpaulet committed Sep 18, 2023
1 parent 7830386 commit 51946a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"samesets_accessions" = "Proteins"
sequence = "Sequence"
"modifications" = "Modifications"
charge = "Charge"
"master_quant_peptide_ion_charge" = "Charge"


[replicate_mapper]
abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_01 = 1
abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_02 = 1
abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_03 = 1
abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_01 = 2
abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_02 = 2
abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_03 = 2
abundance_DDA_Condition_A_Sample_Alpha_01 = 1
abundance_DDA_Condition_A_Sample_Alpha_02 = 1
abundance_DDA_Condition_A_Sample_Alpha_03 = 1
abundance_DDA_Condition_B_Sample_Alpha_01 = 2
abundance_DDA_Condition_B_Sample_Alpha_02 = 2
abundance_DDA_Condition_B_Sample_Alpha_03 = 2

[run_mapper]
"abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_01" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_01"
"abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_02" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_02"
"abundance_LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_03" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_03"
"abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_01" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_01"
"abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_02" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_02"
"abundance_LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_03" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_03"
"abundance_DDA_Condition_A_Sample_Alpha_01" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_01"
"abundance_DDA_Condition_A_Sample_Alpha_02" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_02"
"abundance_DDA_Condition_A_Sample_Alpha_03" = "LFQ_Orbitrap_DDA_Condition_A_Sample_Alpha_03"
"abundance_DDA_Condition_B_Sample_Alpha_01" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_01"
"abundance_DDA_Condition_B_Sample_Alpha_02" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_02"
"abundance_DDA_Condition_B_Sample_Alpha_03" = "LFQ_Orbitrap_DDA_Condition_B_Sample_Alpha_03"

[species_dict]
"YEAST" = "_YEAST"
Expand Down
2 changes: 1 addition & 1 deletion proteobench/modules/dda_quant/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def load_input_file(self, input_csv: str, input_format: str) -> pd.DataFrame:
self.strip_sequence_wombat
)
elif input_format == "Proline":
input_data_frame = pd.read_excel(input_csv, sheet_name="Best PSM from protein sets")
input_data_frame = pd.read_csv(input_csv, low_memory=False, sep="\t")
elif input_format == "Custom":
input_data_frame = pd.read_csv(input_csv, low_memory=False, sep="\t")

Expand Down

0 comments on commit 51946a4

Please sign in to comment.