Get the amino acid sequence around a PTM
get_sequence.RdGet the amino acid sequence around a PTM. Will return NA if peptide maps to multiple proteins or has multiple PTMs. If padding extends outside the protein AA sequence, padding will be extended with '_'.
Arguments
- proteome
XStringSetas generated byBiostrings::readAAStringSet- protein
characterprotein ID- ptm_position
numericposition of the PTM in the protein- pad
numericNumber of amino acids around PTM