mscore::chemistry

Module utility

Source

Functionsยง

  • Convert a peptide sequence with UNIMOD annotations to a tuple of plain sequence and for each position in the sequence, the mass of the modification at that position (0 if no modification), which is the representation of sequence nad modifications used by SAGE
  • Reshape the flat prosit array into a 3D array of shape (29, 2, 3)
  • Convert a peptide sequence with UNIMOD annotations to a list of tokens