Insert New
Slide
​
Roboto
A
Slide Break Defaults…
​
Cell Actions
Window Options
Start Presentation
▼
100%
Slide
1
of
4
​
​
We can easily get an amino acid and see its molecule in 2D or 3D
In[]:=
MoleculeName[#],MoleculePlot#,

,MoleculePlot3D#,

&/@RandomChoiceEntityList
amino acids
CHEMICALS
,1//Grid
Out[]=
(2R)-2-amino-3-sulfanylpropanoic acid
Slide
2
of
4
​
​
We can define a pattern and highlight it. Let’s show the amino and carboxylic acid.
In[]:=
With{amino=Molecule[{"N","H","H"},{Bond[{1,2},"Single"],Bond[{1,3},"Single"]}],​​carboxylicacid=Molecule[{"C","O","O","H"},{Bond[{1,2},"Double"],Bond[{1,3},"Single"],Bond[{3,4},"Single"]}]},​​MoleculePlot#1,Association["amino"amino,"carboxylic acid"carboxylicacid],

,

,MoleculePlot3D#1,Association["amino"amino,"carboxylic acid"carboxylicacid],

&/@
RandomChoice[
]
//
Symbol[
]

"amino"
"carboxylic acid"
,
"amino"
"carboxylic acid"


Slide
3
of
4
​
​
We can define the peptide bond and bond two amino acids.
(Except for proline and glutamine. These are “special”).
Out[]=

glycine
,
L-alanine
,
L-serine
,
L-valine
,
L-threonine
,
L-cysteine
,
L-leucine
,
L-asparagine
,
L-aspartic acid
,
L-lysine
,
L-glutamic acid
,
L-methionine
,
DL-histidine
,
L-phenylalanine
,
L-arginine
,
L-tyrosine
,
L-tryptophan
,
L-isoleucine

In[]:=
With​​peptideBond=MoleculePattern{"C","O","N","H",Atom[Except["H"]]},
,nhhcooh=MoleculePattern{"N","H","H","C","O","O","H"},
,peptide=MoleculePattern{"N","H","H","C","O","N","H","C","O","O","H"},
,water=MoleculePattern{"H","H","O"},
​​,​​proteinSynthesis=PatternReaction{nhhcooh,nhhcooh}->{peptide,water},​​
;​​MoleculePlot
Symbol[
]
ApplyReactionproteinSynthesis,
,1,
,peptideBond,


Out[]=
Slide
4
of
4
​
​
Now that we have defined the reaction for peptide bind formation, we can chain amino acids together into a polypeptide.
In[]:=
Set[
]
;​​bondAminoAcids[al_List]:=​​With​​nhhcooh=MoleculePattern{"N","H","H","C","O","O","H"},
,peptide=MoleculePattern{"N","H","H","C","O","N","H","C","O","O","H"},
,water=MoleculePattern{"H","H","O"},
​​,​​proteinSynthesis=PatternReaction{nhhcooh,nhhcooh}{peptide,water},
;​​Fold[Part[ApplyReaction[proteinSynthesis,{Molecule[#1],Molecule[#2]},1],1,1]&,First[al],Rest[al]]​​;​​MoleculePlotbondAminoAcids[RandomChoice[aminoAcidsThatCanformPeptideBond,25]],{peptideBond},
