Skip to content

Commit

Permalink
fix unimod name column to conform with proforma
Browse files Browse the repository at this point in the history
  • Loading branch information
WassimG committed Aug 8, 2023
1 parent be65feb commit d5e4026
Show file tree
Hide file tree
Showing 2 changed files with 2,686 additions and 2,687 deletions.
3 changes: 1 addition & 2 deletions models/AlphaPept/AlphaPept_Preprocess_ProForma/1/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import pandas as pd

MOD_DF = pd.read_csv("/models/AlphaPept/AlphaPept_Preprocess_ProForma/1/mod_df.csv")
MOD_DF.loc[MOD_DF["mod_name"] == "Oxidation@M", "mod_name"] = "M[UNIMOD:35]"
MOD_DF.loc[MOD_DF["mod_name"] == "Carbamidomethyl@C", "mod_name"] = "C[UNIMOD:4]"



MOD_ELEMENTS = [
Expand Down
Loading

0 comments on commit d5e4026

Please sign in to comment.