Skip to content

Commit

Permalink
Merge pull request #50 from wilhelm-lab/fix/alphapept_preprocess_mods
Browse files Browse the repository at this point in the history
fix unimod name column to conform with proforma
  • Loading branch information
LLautenbacher authored Aug 16, 2023
2 parents f3aa5ee + d5e4026 commit 7fb337f
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 7fb337f

Please sign in to comment.