pgb_liv\php_ms\Core\AminoAcidMono
Monoisotopic masses for common amino acids.
- Author: Andrew Collins
Synopsis
- // constants
- const A = 71.0371137852;
- const R = 156.1011110241;
- const N = 114.0429274414;
- const D = 115.0269430243;
- const C = 103.0091849596;
- const E = 129.0425930888;
- const Q = 128.0585775058;
- const G = 57.0214637207;
- const H = 137.0589118585;
- const I = 113.0840639785;
- const L = 113.0840639785;
- const K = 128.0949630152;
- const M = 131.0404850885;
- const F = 147.0684139141;
- const P = 97.0527638496;
- const S = 87.0320284047;
- const T = 101.0476784692;
- const W = 186.0793129507;
- const Y = 163.0633285336;
- const V = 99.0684139141;
- const U = 150.9536355852;
- // methods
- public static float getMonoisotopicMass()
- public static float getMonoisotopicInsensitive()
Coverage
Methods | 100% | 2 / 2 |
Lines | 100% | 8 / 8 |
Constants
Name | Value |
---|---|
A | 71.0371137852 |
R | 156.1011110241 |
N | 114.0429274414 |
D | 115.0269430243 |
C | 103.0091849596 |
E | 129.0425930888 |
Q | 128.0585775058 |
G | 57.0214637207 |
H | 137.0589118585 |
I | 113.0840639785 |
L | 113.0840639785 |
K | 128.0949630152 |
M | 131.0404850885 |
F | 147.0684139141 |
P | 97.0527638496 |
S | 87.0320284047 |
T | 101.0476784692 |
W | 186.0793129507 |
Y | 163.0633285336 |
V | 99.0684139141 |
U | 150.9536355852 |
Methods
public
- getMonoisotopicInsensitive() — Gets the monoisotopic mass for the provided amino acid.
- getMonoisotopicMass() — Gets the monoisotopic mass for the provided amino acid.
History
-
2019-02-12T16:34:09+00:00 (commit #44eb3ad)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Tweaked masses
-
2018-07-06T11:22:28+01:00 (commit #b130554)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Added "U" to composition reference table Added support for Selenium in peptide composition
-
2017-10-25T11:32:31+01:00 (commit #ccae3f8)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Fixed various documentation and import issues
-
2017-10-24T16:05:10+01:00 (commit #b2240f0)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Tweaked PHPMD rules
-
2017-02-08T15:18:50+00:00 (commit #1dca06f)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
* Fixed crash in AminoAcidMono::getMonoisotopicMassInsensitive * Fixed crash in DigestFactory::getDigest()
-
2017-01-12T18:57:43+00:00 (commit #2e6fa19)
Author: Andrew Collins (detritus@blueyonder.co.uk) / Commiter: Andrew Collins (detritus@blueyonder.co.uk)
Cleaned up Amino Acid Mono + test
-
2017-01-12T13:47:26+00:00 (commit #87a6e03)
Author: Andrew Collins (detritus@blueyonder.co.uk) / Commiter: Andrew Collins (detritus@blueyonder.co.uk)
Added input validation and testing to AminoAcidMono
-
2017-01-11T17:12:38+00:00 (commit #9a75fa9)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
no message
-
2017-01-11T17:12:26+00:00 (commit #9b7e47a)
Author: detritus (detritus@blueyonder.co.uk) / Commiter: detritus (detritus@blueyonder.co.uk)
Added amino acid monoisotopic mass look up