psite_annotation.addTurnoverRates
- psite_annotation.addTurnoverRates(df, turnoverFile)
Annotate pandas dataframe with PTM turnover behavior.
Adds column regarding the PTM turnover behavior.
Adds the following annotation columns to dataframe:
‘PTM Turnover’ = rate of turnover for the modification sites according to Jana’s PTM Turnover data
Example
df = pa.addTurnoverRates(df, pa.turnoverFile)
- Required columns:
Modified sequence- Parameters:
df (
DataFrame) – pandas dataframe with ‘Modified sequence’ columnturnoverFile (
str) – comma separated file with mapping from phosphosites to turnover information
- Returns:
annotated dataframe
- Return type:
pd.DataFrame