diff --git a/spectrum_io/search_result/maxquant.py b/spectrum_io/search_result/maxquant.py index 4bdd646..e165e71 100644 --- a/spectrum_io/search_result/maxquant.py +++ b/spectrum_io/search_result/maxquant.py @@ -42,14 +42,16 @@ def read_result(path: Union[str, Path], tmt_labeled: str) -> pd.DataFrame: path, usecols=lambda x: x.upper() in [ - "FILENAME", - "SCANNR", - "PEPTIDE", + "RAW FILE", + "SCAN NUMBER", + "MODIFIED SEQUENCE", "CHARGE", - "HYPERSCORE", - "CALCMASS", - "PROTEINS" - ], + "SCAN EVENT NUMBER", + "LABELING STATE", + "MASS", # = Calculated Precursor mass; TODO get column with experimental Precursor mass instead + "SCORE", + "REVERSE", + ], sep="\t", ) logger.info("Finished reading msms.txt file")