Skip to content

Commit

Permalink
changed weight to mass
Browse files Browse the repository at this point in the history
  • Loading branch information
djriffle committed Jul 28, 2022
1 parent 713ec9f commit f3663d9
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions src/proteinAlphabet.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
hydrophobicity: 1.8,
colorByFamily: "#00FFFF",
color: "hsl(327.3, 100%, 69%)",
weight: 89.1
mass: 89.1
},
R: {
value: "R",
Expand All @@ -15,7 +15,7 @@ module.exports = {
hydrophobicity: -4.5,
colorByFamily: "#FFC0CB",
color: "hsl(258.1, 100%, 69%)",
weight: 174.2
mass: 174.2
},
N: {
value: "N",
Expand All @@ -24,7 +24,7 @@ module.exports = {
hydrophobicity: -3.5,
colorByFamily: "#D3D3D3",
color: "hsl(268.9, 100%, 69%)",
weight: 132.1
mass: 132.1
},
D: {
value: "D",
Expand All @@ -33,7 +33,7 @@ module.exports = {
hydrophobicity: -3.5,
colorByFamily: "#EE82EE",
color: "hsl(268.9, 100%, 69%)",
weight: 133.1
mass: 133.1
},
C: {
value: "C",
Expand All @@ -42,7 +42,7 @@ module.exports = {
hydrophobicity: 2.5,
colorByFamily: "#FFFF00",
color: "hsl(335.1, 100%, 69%)",
weight: 121.2
mass: 121.2
},
E: {
value: "E",
Expand All @@ -51,7 +51,7 @@ module.exports = {
hydrophobicity: -3.5,
colorByFamily: "#EE82EE",
color: "hsl(268.9, 100%, 69%)",
weight: 147.1
mass: 147.1
},
Q: {
value: "Q",
Expand All @@ -60,7 +60,7 @@ module.exports = {
hydrophobicity: -3.5,
colorByFamily: "#D3D3D3",
color: "hsl(268.9, 100%, 69%)",
weight: 146.2
mass: 146.2
},
G: {
value: "G",
Expand All @@ -69,7 +69,7 @@ module.exports = {
hydrophobicity: -0.4,
colorByFamily: "#00FFFF",
color: "hsl(303.1, 100%, 69%)",
weight: 75.1
mass: 75.1
},
H: {
value: "H",
Expand All @@ -78,7 +78,7 @@ module.exports = {
hydrophobicity: -3.2,
colorByFamily: "#FFC0CB",
color: "hsl(272.2, 100%, 69%)",
weight: 155.2
mass: 155.2
},
I: {
value: "I",
Expand All @@ -87,7 +87,7 @@ module.exports = {
hydrophobicity: 4.5,
colorByFamily: "#00FFFF",
color: "hsl(356.9, 100%, 69%)",
weight: 131.2
mass: 131.2
},
L: {
value: "L",
Expand All @@ -96,7 +96,7 @@ module.exports = {
hydrophobicity: 3.8,
colorByFamily: "#00FFFF",
color: "hsl(349.4, 100%, 69%)",
weight: 131.2
mass: 131.2
},
K: {
value: "K",
Expand All @@ -105,7 +105,7 @@ module.exports = {
hydrophobicity: -3.9,
colorByFamily: "#FFC0CB",
color: "hsl(264.7, 100%, 69%)",
weight: 146.2
mass: 146.2
},
M: {
value: "M",
Expand All @@ -114,7 +114,7 @@ module.exports = {
hydrophobicity: 1.9,
colorByFamily: "#FFFF00",
color: "hsl(328.5, 100%, 69%)",
weight: 149.2
mass: 149.2
},
F: {
value: "F",
Expand All @@ -123,7 +123,7 @@ module.exports = {
hydrophobicity: 2.8,
colorByFamily: "#FFA500",
color: "hsl(338.4, 100%, 69%)",
weight: 165.2
mass: 165.2
},
P: {
value: "P",
Expand All @@ -132,7 +132,7 @@ module.exports = {
hydrophobicity: -1.6,
colorByFamily: "#00FFFF",
color: "hsl(289.9, 100%, 69%)",
weight: 115.1
mass: 115.1
},
S: {
value: "S",
Expand All @@ -141,7 +141,7 @@ module.exports = {
hydrophobicity: -0.8,
colorByFamily: "#90EE90",
color: "hsl(298.6, 100%, 69%)",
weight: 105.1
mass: 105.1
},
T: {
value: "T",
Expand All @@ -150,15 +150,15 @@ module.exports = {
hydrophobicity: -0.7,
colorByFamily: "#90EE90",
color: "hsl(299.8, 100%, 69%)",
weight: 119.1
mass: 119.1
},
U: {
value: "U",
name: "Selenocysteine",
threeLettersName: "Sec",
colorByFamily: "#FF0000",
color: "hsl(0, 100%, 69%)",
weight: 168.1
mass: 168.1
},
W: {
value: "W",
Expand All @@ -167,7 +167,7 @@ module.exports = {
hydrophobicity: -0.9,
colorByFamily: "#FFA500",
color: "hsl(297.6, 100%, 69%)",
weight: 204.2
mass: 204.2
},
Y: {
value: "Y",
Expand All @@ -176,7 +176,7 @@ module.exports = {
hydrophobicity: -1.3,
colorByFamily: "#FFA500",
color: "hsl(293.2, 100%, 69%)",
weight: 181.2
mass: 181.2
},
V: {
value: "V",
Expand All @@ -185,15 +185,15 @@ module.exports = {
hydrophobicity: 4.2,
colorByFamily: "#00FFFF",
color: "hsl(353.6, 100%, 69%)",
weight: 117.1
mass: 117.1
},
"*": {
value: "*",
name: "Stop",
threeLettersName: "Stop",
colorByFamily: "#FF0000",
color: "hsl(0, 100%, 69%)",
weight: 0
mass: 0
},
".": {
//tnr: this is actually a deletion/gap character (previously we had this as a stop character which is incorrect) https://www.dnabaser.com/articles/IUPAC%20ambiguity%20codes.html
Expand All @@ -202,15 +202,15 @@ module.exports = {
threeLettersName: "Gap",
colorByFamily: "#FF0000",
color: "hsl(0, 100%, 69%)",
weight: 0
mass: 0
},
"-": {
value: "-",
name: "Gap",
threeLettersName: "Gap",
colorByFamily: "#FF0000",
color: "hsl(0, 100%, 69%)",
weight: 0,
mass: 0,
},
B: {
value: "B",
Expand All @@ -220,7 +220,7 @@ module.exports = {
isAmbiguous: true,
name: "B",
aliases: "ND",
weight: 0,
mass: 0,
},
J: {
value: "J",
Expand All @@ -230,7 +230,7 @@ module.exports = {
isAmbiguous: true,
name: "J",
aliases: "IL",
weight: 0,
mass: 0,
},
X: {
value: "X",
Expand All @@ -240,7 +240,7 @@ module.exports = {
isAmbiguous: true,
name: "X",
aliases: "ACDEFGHIKLMNPQRSTVWY",
weight: 0,
mass: 0,
},
Z: {
value: "Z",
Expand All @@ -250,6 +250,6 @@ module.exports = {
isAmbiguous: true,
name: "Z",
aliases: "QE",
weight: 0
mass: 0
}
};

0 comments on commit f3663d9

Please sign in to comment.