ecl-logo Documentation

MolecularWeight

MolecularWeight[model]weight

computes the molecular weight of a Model[Molecule] constellation object.

MolecularWeight[molecule]weight

computes the molecular weight of a Molecule.

MolecularWeight[oligomer]weight

computes the molecular weight of a sequence, strand, or structure.

MolecularWeight[n]weight

computes the molecular weight of an average polymer of length n.

Details

  • MolecularWeight computes average molecular mass assuming standard isotopic distributions.
  • Input
    Output
    General Options

Examples

Basic Examples  (4)

Return the MolecularWeight of a Model[Molecule]:

Return the MolecularWeight of a Molecule[]:

Return the MolecularWeight of a sequence:

Given an integer length, returns the molecular weight of an average sequence of that length:

Additional Examples  (5)

Works with any defined polymer type in PolymerP, e.g. peptides:

Will attempt to automatically determine the polymer type if not provided:

Works with explicitly typed sequences:

Overloaded to work on strands:

Overloaded to work on structures as well:

Options  (6)

Degeneracy will assume the mean molecular weight of all possible resolutions:

Degeneracy works with strands as well:

Init  (1)

Init option:

Polymer  (2)

If lengths are provided, the polymer option can be used to designate the polymer type:

Polymer option:

Term  (1)

Term option:

Attributes  (1)

MolecularWeight is listable:

Messages  (2)

MolecularWeightNotFound  (1)

Show a warning if the MolecularWeight of an input SLL object cannot be found:

nintrp  (1)

Return $Failed if an invalid Molecule[] is provided: