psm_to_peptide_style_modifications.Rd
Proteome Discoverer has a different style of annotation for peptide modifications in PSM and peptide-level outputs. In PSM-level output, each modification is listed separately, with the modification in parentheses after the position. In peptide-level output, the modifications are summarised more succintly, with the number of each modification followed by the positions For example: PSM: N-Term(Prot)(Acetyl); C2(Carbamidomethyl); C16(Carbamidomethyl) Peptide:1xAcetyl [N-Term]; 2xCarbamidomethyl [C2; C16]
psm_to_peptide_style_modifications(psm_style_modifications)
vector
of PSM-style modification annotations
vector
of Peptide-style modification annotations
psm_mod <- "N-Term(Prot)(Acetyl); C2(Carbamidomethyl); C16(Carbamidomethyl)"
target <- "1xAcetyl [N-Term]; 2xCarbamidomethyl [C2; C16]"
psm_to_peptide_style_modifications(psm_mod) == target
#> [1] TRUE