Main Content

molweight

Calculate molecular weight of amino acid sequence

Syntax

molweight(SeqAA)

Arguments

SeqAA

Amino acid sequence. Enter a character vector, string, or a vector of integers from the table Amino Acid Lookup. Examples: 'ARN', [1 2 3]. You can also enter a structure with the field Sequence.

Description

molweight(SeqAA) calculates the molecular weight for the amino acid sequence SeqAA.

Examples

  1. Retrieve an amino acid sequence from the NCBI GenPept database.

    rhodopsin = getgenpept('NP_000530');
  2. Calculate the molecular weight of the sequence.

    rhodopsinMW = molweight(rhodopsin)
    
    rhodopsinMW =
    
      3.8892e+004

Version History

Introduced before R2006a