Skip to content

msmu.pp.infer_protein

Infer protein group mappings and annotate peptides with uniqueness.

Parameters:

Name Type Description Default
mdata MuData

MuData object to update

required
modality str

modality holding peptide-level data

'peptide'
protein_colname str

column in var with semicolon-delimited protein accessions

'proteins'
peptide_colname str

column in var with stripped peptide sequences

'stripped_peptide'
propagated_from MuData | str | None

optional MuData or path to reuse existing mappings (e.g., global reference for PTM work)

None

Returns:

Type Description
MuData

MuData object with updated protein mappings and peptide annotations