Learn R Programming

Peptides (version 1.1.2)

mw: Compute the molecular weight of a protein sequence

Description

This function calculates the molecular weight of a protein sequence. It is calculated as the sum of the mass of each amino acid using the scale available on Compute pI/Mw tool.

Usage

mw(seq,monoisotopic)

Arguments

seq
amino acid sequence string
monoisotopic
logical value indicating if monoisotopic weights should be used

Source

The formula and amino acid scale are the same available on ExPASy Compute pI/Mw tool http://web.expasy.org/

References

Gasteiger, E., Hoogland, C., Gattiker, A., Wilkins, M. R., Appel, R. D., & Bairoch, A. (2005). Protein identification and analysis tools on the ExPASy server. In The proteomics protocols handbook (pp. 571-607). Humana Press. Chicago

Examples

Run this code
# COMPARED TO ExPASy Compute pI/Mw tool
# http://web.expasy.org/compute_pi/
# SEQUENCE: QWGRRCCGWGPGRRYCVRWC 
# Theoretical pI/Mw: 9.88 / 2485.91 
  
mw("QWGRRCCGWGPGRRYCVRWC")
# [1] 2485.911

Run the code above in your browser using DataLab