A place to cache linked articles (think custom and personal wayback machine)
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  1. <!doctype html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the <title>
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>Reverse Engineering the source code of the BioNTech/Pfizer SARS-CoV-2 Vaccine (archive) — David Larlet</title>
  13. <meta name="description" content="Publication mise en cache pour en conserver une trace.">
  14. <!-- That good ol' feed, subscribe :). -->
  15. <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
  16. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  17. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  20. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  21. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  22. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  23. <meta name="msapplication-TileColor" content="#f0f0ea">
  24. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  25. <meta name="theme-color" content="#f0f0ea">
  26. <!-- Documented, feel free to shoot an email. -->
  27. <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
  28. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  29. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  32. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  33. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  34. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  35. <script>
  36. function toggleTheme(themeName) {
  37. document.documentElement.classList.toggle(
  38. 'forced-dark',
  39. themeName === 'dark'
  40. )
  41. document.documentElement.classList.toggle(
  42. 'forced-light',
  43. themeName === 'light'
  44. )
  45. }
  46. const selectedTheme = localStorage.getItem('theme')
  47. if (selectedTheme !== 'undefined') {
  48. toggleTheme(selectedTheme)
  49. }
  50. </script>
  51. <meta name="robots" content="noindex, nofollow">
  52. <meta content="origin-when-cross-origin" name="referrer">
  53. <!-- Canonical URL for SEO purposes -->
  54. <link rel="canonical" href="https://berthub.eu/articles/posts/reverse-engineering-source-code-of-the-biontech-pfizer-vaccine/">
  55. <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick">
  56. <article>
  57. <header>
  58. <h1>Reverse Engineering the source code of the BioNTech/Pfizer SARS-CoV-2 Vaccine</h1>
  59. </header>
  60. <nav>
  61. <p class="center">
  62. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  63. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-home"></use>
  64. </svg> Accueil</a> •
  65. <a href="https://berthub.eu/articles/posts/reverse-engineering-source-code-of-the-biontech-pfizer-vaccine/" title="Lien vers le contenu original">Source originale</a>
  66. </p>
  67. </nav>
  68. <hr>
  69. <p>Welcome! In this post, we’ll be taking a character-by-character look at the
  70. source code of the BioNTech/Pfizer SARS-CoV-2 mRNA vaccine.</p>
  71. <blockquote>
  72. <p><em>I want to thank the large cast of people who spent time previewing this
  73. article for legibility and correctness. All mistakes remain mine though,
  74. but I would love to hear about them quickly at bert@hubertnet.nl or
  75. <a href="https://twitter.com/PowerDNS_Bert" target="_blank">@PowerDNS_Bert</a></em></p>
  76. </blockquote>
  77. <p>Now, these words may be somewhat jarring - the vaccine is a liquid that gets
  78. injected in your arm. How can we talk about source code?</p>
  79. <p>This is a good question, so let’s start off with a small part of the very
  80. source code of the BioNTech/Pfizer vaccine, also known as
  81. <a href="https://en.wikipedia.org/wiki/Tozinameran" target="_blank">BNT162b2</a>, also
  82. known as Tozinameran <a href="https://twitter.com/PowerDNS_Bert/status/1342109138965422083" target="_blank">also known as
  83. Comirnaty</a>.</p>
  84. <p></p>
  85. <p><center>
  86. <figure>
  87. <img src="/articles/bnt162b2.png" alt="First 500 characters of the BNT162b2 mRNA. Source: World Health Organization"> <figcaption>
  88. <p>First 500 characters of the BNT162b2 mRNA. Source: <a href="https://mednet-communities.net/inn/db/media/docs/11889.doc" target="_blank">World Health Organization</a></p>
  89. </figcaption>
  90. </figure></p>
  91. <p></center></p>
  92. <p>The BNT162b2 mRNA vaccine has this digital code at its heart. It is 4284
  93. characters long, so it would fit in a bunch of tweets. At the very
  94. beginning of the vaccine production process, someone uploaded this code to a
  95. DNA printer (yes), which then converted the bytes on disk to actual DNA
  96. molecules.</p>
  97. <p></p>
  98. <p><center>
  99. <figure>
  100. <img src="/articles/bioxp-3200.jpg" alt="A Codex DNA BioXp 3200 DNA printer"> <figcaption>
  101. <p>A <a href="https://codexdna.com/products/bioxp-system/" target="_blank">Codex DNA</a> BioXp 3200 DNA printer</p>
  102. </figcaption>
  103. </figure></p>
  104. <p></center></p>
  105. <p>Out of such a machine come tiny amounts of DNA, which after a lot of
  106. biological and chemical processing end up as RNA (more about which later) in
  107. the vaccine vial. A 30 microgram dose turns out to actually contain 30
  108. micrograms of RNA. In addition, there is a clever lipid (fatty) packaging
  109. system that gets the mRNA into our cells.</p>
  110. <p>RNA is the volatile ‘working memory’ version of DNA. DNA is like the flash
  111. drive storage of biology. DNA is very durable, internally redundant and
  112. very reliable. But much like computers do not execute code directly from a
  113. flash drive, before something happens, code gets copied to a faster,
  114. more versatile yet far more fragile system.</p>
  115. <p>For computers, this is RAM, for biology it is RNA. The resemblance is
  116. striking. Unlike flash memory, RAM degrades very quickly unless lovingly
  117. tended to. The reason the Pfizer/BioNTech mRNA vaccine must be stored in the
  118. deepest of deep freezers is the same: RNA is a fragile flower.</p>
  119. <p>Each RNA character weighs on the order of 0.53·10⁻²¹ grams, meaning
  120. there are around 6·10¹⁶ characters in a single 30 microgram vaccine dose.
  121. Expressed in bytes, this is around 14 petabytes, although it must be said
  122. this consists of around <a href="https://docs.google.com/spreadsheets/d/1vc6p9IXQVRpVQntcI1tCdSMLNDuT8fl8rags0gDxMZA/edit?usp=sharing" target="_blank">13,000 billion
  123. repetitions</a> of the same 4284
  124. characters. The actual informational content of the vaccine is just over a
  125. kilobyte. <a href="https://www.ncbi.nlm.nih.gov/projects/sviewer/?id=NC_045512&amp;tracks=%5Bkey:sequence_track,name:Sequence,display_name:Sequence,id:STD649220238,annots:Sequence,ShowLabel:false,ColorGaps:false,shown:true,order:1%5D%5Bkey:gene_model_track,name:Genes,display_name:Genes,id:STD3194982005,annots:Unnamed,Options:ShowAllButGenes,CDSProductFeats:true,NtRuler:true,AaRuler:true,HighlightMode:2,ShowLabel:true,shown:true,order:9%5D&amp;v=1:29903&amp;c=null&amp;select=null&amp;slim=0" target="_blank">SARS-CoV-2 itself</a> weighs in at around 7.5 kilobytes.</p>
  126. <blockquote>
  127. <p>Update: In the original post these numbers were off. <a href="https://docs.google.com/spreadsheets/d/1vc6p9IXQVRpVQntcI1tCdSMLNDuT8fl8rags0gDxMZA/edit?usp=sharing" target="_blank">Here is a
  128. spreadsheet</a>
  129. with the correct calculations.</p>
  130. </blockquote>
  131. <h2 id="the-briefest-bit-of-background">The briefest bit of background</h2>
  132. <p>DNA is a digital code. Unlike computers, which use 0 and 1, life uses A, C, G
  133. and U/T (the ‘nucleotides’, ‘nucleosides’ or ‘bases’).</p>
  134. <p>In computers we store the 0 and 1 as the presence or absence of a charge, or
  135. as a current, as a magnetic transition, or as a voltage, or as a modulation
  136. of a signal, or as a change in reflectivity. Or in short, the 0 and 1 are
  137. not some kind of abstract concept - they live as electrons and in many other
  138. physical embodiments.</p>
  139. <p>In nature, A, C, G and U/T are molecules, stored as chains in DNA (or RNA).</p>
  140. <p>In computers, we group 8 bits into a byte, and the byte is the typical unit
  141. of data being processed.</p>
  142. <p>Nature groups 3 nucleotides into a codon, and this codon is the typical unit
  143. of processing. A codon contains 6 bits of information (2 bits per DNA
  144. character, 3 characters = 6 bits. This means 2⁶ = 64 different codon values).</p>
  145. <p>Pretty digital so far. When in doubt, <a href="https://mednet-communities.net/inn/db/media/docs/11889.doc" target="_blank">head to the WHO
  146. document</a> with the
  147. digital code to see for yourself.</p>
  148. <blockquote>
  149. <p><em>Some further reading is <a href="https://berthub.eu/articles/posts/what-is-life/" target="_blank">available
  150. here</a> - this link (‘What
  151. is life’) might help make sense of the rest of this page. Or, if you like
  152. video, I have <a href="https://berthub.eu/dna" target="_blank">two hours for you</a>.</em></p>
  153. </blockquote>
  154. <h2 id="so-what-does-that-code-do">So what does that code DO?</h2>
  155. <p>The idea of a vaccine is to teach our immune system how to fight a pathogen,
  156. without us actually getting ill. Historically this has been done by
  157. injecting a weakened or incapacitated (attenuated) virus, plus an ‘adjuvant’
  158. to scare our immune system into action. This was a decidedly analogue
  159. technique involving billions of eggs (or insects). It also required a lot
  160. of luck and loads of time. Sometimes a different (unrelated) virus was also
  161. used.</p>
  162. <p>An mRNA vaccine achieves the same thing (‘educate our immune system’) but in
  163. a laser like way. And I mean this in both senses - very narrow but also
  164. very powerful.</p>
  165. <p>So here is how it works. The injection contains volatile genetic material
  166. that describes the famous SARS-CoV-2 ‘Spike’ protein. Through clever
  167. chemical means, the vaccine manages to get this genetic material into some of
  168. our cells.</p>
  169. <p>These then dutifully start producing SARS-CoV-2 Spike proteins in large
  170. enough quantities that our immune system springs into action. Confronted
  171. with Spike proteins, and (importantly) tell-tale signs that cells have been
  172. taken over, our immune system develops a powerful response against multiple
  173. aspects of the Spike protein AND the production process.</p>
  174. <p>And this is what gets us to the 95% efficient vaccine.</p>
  175. <h2 id="the-source-code">The source code!</h2>
  176. <p><a href="https://youtu.be/jp0opnxQ4rY?t=8" target="_blank">Let’s start at the very beginning, a very good place
  177. to start</a>. The WHO document has this
  178. helpful picture:</p>
  179. <p></p>
  180. <p><center>
  181. <figure>
  182. <img src="/articles/vaccine-toc.png">
  183. </figure></p>
  184. <p></center></p>
  185. <p>This is a sort of table of contents. We’ll start with the ‘cap’, actually
  186. depicted as a little hat.</p>
  187. <p>Much like you can’t just plonk opcodes in a file on a computer and run it,
  188. the biological operating system requires headers, has linkers and things
  189. like calling conventions.</p>
  190. <p>The code of the vaccine starts with the following two nucleotides:</p>
  191. <pre><code>GA
  192. </code></pre>
  193. <p>This can be compared very much to every <a href="https://en.wikipedia.org/wiki/DOS_MZ_executable" target="_blank">DOS and Windows executable starting
  194. with MZ</a>, or UNIX scripts starting with
  195. <a href="https://en.wikipedia.org/wiki/Shebang_(Unix)" target="_blank"><code>#!</code></a>. In both life and
  196. operating systems, these two characters are not executed in any way. But
  197. they have to be there because otherwise nothing happens.</p>
  198. <p>The mRNA ‘cap’ <a href="https://en.wikipedia.org/wiki/Five-prime_cap#Function" target="_blank">has a number of
  199. functions</a>. For one, it marks code as coming
  200. from the nucleus. In our case of course it doesn’t, our code comes from a
  201. vaccination. But we don’t need to tell the cell that. The cap makes our code
  202. look legit, which protects it from destruction.</p>
  203. <p>The initial two <code>GA</code> nucleotides are also chemically slightly different from
  204. the rest of the RNA. In this sense, the <code>GA</code> has some out-of-band
  205. signaling on it.</p>
  206. <h2 id="the-five-prime-untranslated-region">The “five-prime untranslated region”</h2>
  207. <p>Some lingo here. RNA molecules can only be read in one direction.
  208. Confusingly, the part where the reading begins is called the 5’ or
  209. ‘five-prime’. The reading stops at the 3’ or three-prime end.</p>
  210. <p>Life consists of proteins (or things made by proteins). And these proteins
  211. are described in RNA. When RNA gets converted into proteins, this is called
  212. translation.</p>
  213. <p>Here we have the 5’ untranslated region (‘UTR’), so this bit does not end up
  214. in the protein:</p>
  215. <pre><code>GAAΨAAACΨAGΨAΨΨCΨΨCΨGGΨCCCCACAGACΨCAGAGAGAACCCGCCACC
  216. </code></pre>
  217. <p>Here we encounter our first surprise. The normal RNA characters are A, C, G
  218. and U. U is also known as ’T’ in DNA. But here we find a Ψ, what is going
  219. on?</p>
  220. <p>This is one of the exceptionally clever bits about the vaccine. Our body
  221. runs a powerful antivirus system (“the original one”). For this reason,
  222. cells are extremely unenthusiastic about foreign RNA and try very hard to
  223. destroy it before it does anything.</p>
  224. <p>This is somewhat of a problem for our vaccine - it needs to sneak past our
  225. immune system. Over many years of experimentation, it was found that if the
  226. U in RNA is replaced by a slightly modified molecule, our immune system
  227. loses interest. For real.</p>
  228. <p>So in the BioNTech/Pfizer vaccine, every U has been replaced by
  229. 1-methyl-3’-pseudouridylyl, denoted by Ψ. The really clever bit is that
  230. although this replacement Ψ placates (calms) our immune system, it is
  231. accepted as a normal U by relevant parts of the cell.</p>
  232. <p>In computer security we also know this trick - it sometimes is possible to
  233. transmit a slightly corrupted version of a message that confuses firewalls and
  234. security solutions, but that is still accepted by the backend servers -
  235. which can then get hacked.</p>
  236. <p>We are now reaping the benefits of fundamental scientific research performed
  237. in the past. The
  238. <a href="https://twitter.com/PennMedicine/status/1341766354232365059" target="_blank">discoverers</a>
  239. of this Ψ technique had to fight to get
  240. <a href="https://www.statnews.com/2020/11/10/the-story-of-mrna-how-a-once-dismissed-idea-became-a-leading-technology-in-the-covid-vaccine-race/" target="_blank">their</a>
  241. work funded and then accepted. We should all be very grateful, and I am sure
  242. the <a href="https://twitter.com/PowerDNS_Bert/status/1329861047168225281" target="_blank">Nobel prizes will arrive in due
  243. course</a>.</p>
  244. <blockquote>
  245. <p>Many people have asked, could viruses also use the Ψ technique to beat our
  246. immune systems? In short, this is extremely unlikely. Life simply does
  247. not have the machinery to build 1-methyl-3’-pseudouridylyl nucleotides.
  248. Viruses rely on the machinery of life to reproduce themselves, and this
  249. facility is simply not there. The mRNA vaccines quickly degrade in the
  250. human body, and there is no possibility of the Ψ-modified RNA
  251. replicating with the Ψ still in there. “<a href="https://www.deplatformdisease.com/blog/no-really-mrna-vaccines-are-not-going-to-affect-your-dna" target="_blank">No, Really, mRNA Vaccines Are Not Going To Affect Your
  252. DNA</a>“
  253. is also a good read.</p>
  254. </blockquote>
  255. <p>Ok, back to the 5’ UTR. What do these 51 characters do? As everything in
  256. nature, almost nothing has one clear function.</p>
  257. <p>When our cells need to <em>translate</em> RNA into proteins, this is done using a
  258. machine called the ribosome. The ribosome is like a 3D printer for
  259. proteins. It ingests a strand of RNA and based on that it emits a string of
  260. amino acids, which then fold into a protein.</p>
  261. <p></p>
  262. <p><center>
  263. <video controls loop>
  264. <source src="/articles/protein-short.mp4" type="video/mp4">
  265. </source></video>
  266. <br>
  267. Source: <a href="https://commons.wikimedia.org/wiki/File:Protein_translation.gif" target="_blank">Wikipedia user Bensaccount</a>
  268. </center></p>
  269. <p>This is what we see happening above. The black ribbon at the bottom is RNA.
  270. The ribbon appearing in the green bit is the protein being formed. The
  271. things flying in and out are amino acids plus adaptors to make them fit on
  272. RNA.</p>
  273. <p>This ribosome needs to physically sit on the RNA strand for it to get to
  274. work. Once seated, it can start forming proteins based on further RNA it
  275. ingests. From this, you can imagine that it can’t yet read the parts where
  276. it lands on first. This is just one of the functions of the UTR: the
  277. ribosome landing zone. The UTR provides ‘lead-in’.</p>
  278. <p>In addition to this, the UTR also contains metadata: when should translation
  279. happen? And how much? For the vaccine, they took the most ‘right now’ UTR
  280. they could find, taken from the <a href="https://www.tandfonline.com/doi/full/10.1080/15476286.2018.1450054" target="_blank">alpha globin
  281. gene</a>.
  282. This gene is known to robustly produce a lot of proteins. In previous
  283. years, scientists had already found ways to optimize this UTR even further
  284. (according to the WHO document), so this is not quite the alpha globin UTR.
  285. It is better.</p>
  286. <h2 id="the-s-glycoprotein-signal-peptide">The S glycoprotein signal peptide</h2>
  287. <p>As noted, the goal of the vaccine is to get the cell to produce copious
  288. amounts of the Spike protein of SARS-CoV-2. Up to this point, we have mostly
  289. encountered metadata and “calling convention” stuff in the vaccine source
  290. code. But now we enter the actual viral protein territory.</p>
  291. <p>We still have one layer of metadata to go however. Once the ribosome (from the
  292. splendid animation above) has made a protein, that protein still needs to go
  293. somewhere. This is encoded in the “S glycoprotein signal peptide (extended leader
  294. sequence)“.</p>
  295. <p>The way to see this is that at the beginning of the protein there is a sort
  296. of address label - encoded as part of the protein itself. In this specific
  297. case, the signal peptide says that this protein should exit the cell via the
  298. “endoplasmic reticulum”. Even Star Trek lingo is not as fancy as this!</p>
  299. <p>The “signal peptide” is not very long, but when we look at the code, there
  300. are differences between the viral and vaccine RNA:</p>
  301. <p>(Note that for comparison purposes, I have replaced the fancy modified Ψ by a
  302. regular RNA U)</p>
  303. <pre><code> 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
  304. Virus: AUG UUU GUU UUU CUU GUU UUA UUG CCA CUA GUC UCU AGU CAG UGU GUU
  305. Vaccine: AUG UUC GUG UUC CUG GUG CUG CUG CCU CUG GUG UCC AGC CAG UGU GUG
  306. ! ! ! ! ! ! ! ! ! ! ! ! ! !
  307. </code></pre>
  308. <p>So what is going on? I have not accidentally listed the RNA in groups of 3
  309. letters. Three RNA characters make up a codon. And every codon encodes for a
  310. specific amino acid. The signal peptide in the vaccine consists of <em>exactly</em>
  311. the same amino acids as in the virus itself.</p>
  312. <p>So how come the RNA is different?</p>
  313. <p>There are 4³=64 different codons, since there are 4 RNA characters, and
  314. there are three of them in a codon. Yet there are only 20 different
  315. amino acids. This means that multiple codons encode for the same amino acid.</p>
  316. <p>Life uses the following nearly universal table for mapping RNA codons to
  317. amino acids:</p>
  318. <p></p>
  319. <p><center>
  320. <figure>
  321. <img src="/articles/rna-codon-table.png" alt="The RNA codon table (Wikipedia)"> <figcaption>
  322. <p><a href="https://en.wikipedia.org/wiki/DNA_and_RNA_codon_tables" target="_blank">The RNA codon table</a> (Wikipedia)</p>
  323. </figcaption>
  324. </figure></p>
  325. <p></center></p>
  326. <p>In this table, we can see that the modifications in the vaccine (UUU -&gt;
  327. UUC) are all <em>synonymous</em>. The vaccine RNA code is different, but the same
  328. amino acids and the same protein come out.</p>
  329. <p>If we look closely, we see that the majority of the changes happen in the
  330. third codon position, noted with a ‘3’ above. And if we check the universal
  331. codon table, we see that this third position indeed often does not matter
  332. for which amino acid is produced.</p>
  333. <p>So, the changes are synonymous, but then why are they there? Looking
  334. closely, we see that all changes <em>except one</em> lead to more C and Gs.</p>
  335. <p>So why would you do that? As noted above, our immune system takes a very dim
  336. view of ‘exogenous’ RNA, RNA code coming from outside the cell. To evade
  337. detection, the ‘U’ in the RNA was already replaced by a Ψ.</p>
  338. <p>However, it turns out that RNA with <a href="https://www.nature.com/articles/nrd.2017.243" target="_blank">a higher
  339. amount</a> of Gs and Cs is
  340. also <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1463026/" target="_blank">converted more efficiently into
  341. proteins</a>,</p>
  342. <p>And this has been achieved in the vaccine RNA by replacing many characters
  343. with Gs and Cs wherever this was possible.</p>
  344. <blockquote>
  345. <p>I’m slightly fascinated by the <em>one</em> change that did not lead to an
  346. additional C or G, the CCA -&gt; CCU modification. If anyone knows the reason,
  347. please let me know! Note that I’m aware that some codons are more common
  348. than others in the human genome, but <a href="https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1006024" target="_blank">I also read that this does not
  349. influence translation speed a
  350. lot</a>.</p>
  351. </blockquote>
  352. <h2 id="the-actual-spike-protein">The actual Spike protein</h2>
  353. <p>The next 3777 characters of the vaccine RNA are similarly ‘codon optimized’
  354. to add a lot of C’s and G’s. In the interest of space I won’t list all
  355. the code here, but we are going to zoom in on one exceptionally special
  356. bit. This is the bit that makes it work, the part that will actually help us
  357. return to life as normal:</p>
  358. <pre><code> * *
  359. L D K V E A E V Q I D R L I T G
  360. Virus: CUU GAC AAA GUU GAG GCU GAA GUG CAA AUU GAU AGG UUG AUC ACA GGC
  361. Vaccine: CUG GAC CCU CCU GAG GCC GAG GUG CAG AUC GAC AGA CUG AUC ACA GGC
  362. L D P P E A E V Q I D R L I T G
  363. ! !!! !! ! ! ! ! ! ! !
  364. </code></pre>
  365. <p>Here we see the usual synonymous RNA changes. For example, in the first
  366. codon we see that CUU is changed into CUG. This adds another ‘G’ to the
  367. vaccine, which we know helps enhance protein production. Both CUU
  368. and CUG encode for the amino acid ‘L’ or Leucine, so nothing changed in the
  369. protein.</p>
  370. <p>When we compare the entire Spike protein in the vaccine, all changes are
  371. synonymous like this.. except for two, and this is what we see here.</p>
  372. <p>The third and fourth codons above represent actual changes. The K and V
  373. amino acids there are both replaced by ‘P’ or Proline. For ‘K’ this required
  374. three changes (‘!!!’) and for ‘V’ it required only two (‘!!’).</p>
  375. <p><strong>It turns out that these two changes enhance the vaccine efficiency
  376. enormously</strong>.</p>
  377. <p>So what is happening here? If you look at a real SARS-CoV-2 particle, you
  378. can see the Spike protein as, well, a bunch of spikes:</p>
  379. <p></p>
  380. <p><center>
  381. <figure>
  382. <img src="/articles/sars-em.jpg" alt="SARS virus particles (Wikipedia)"> <figcaption>
  383. <p><a href="https://en.wikipedia.org/wiki/Severe_acute_respiratory_syndrome_coronavirus" target="_blank">SARS virus particles</a> (Wikipedia)</p>
  384. </figcaption>
  385. </figure></p>
  386. <p></center></p>
  387. <p>The spikes are mounted on the virus body (‘the nucleocapsid protein’). But
  388. the thing is, our vaccine is only generating the spikes itself, and we’re
  389. not mounting them on any kind of virus body.</p>
  390. <p>It turns out that, unmodified, freestanding Spike proteins collapse into a
  391. different structure. If injected as a vaccine, this would indeed cause our
  392. bodies to develop immunity.. but only against the collapsed spike protein.</p>
  393. <p>And the real SARS-CoV-2 shows up with the spiky Spike. The vaccine would not
  394. work very well in that case.</p>
  395. <p>So what to do? In <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5584442/" target="_blank">2017 it was described how putting a double Proline
  396. substitution in just the right
  397. place</a> would make the
  398. SARS-CoV-1 and MERS
  399. S proteins take up their ‘pre-fusion’ configuration, even without being part of
  400. the whole virus. This works <a href="https://cen.acs.org/pharmaceuticals/vaccines/tiny-tweak-behind-COVID-19/98/i38" target="_blank">because Proline is a very rigid amino
  401. acid</a>. It
  402. acts as a kind of splint, stabilising the protein in the state we need to
  403. show to the immune system.</p>
  404. <p>The <a href="https://twitter.com/goodwish916" target="_blank">people</a> that
  405. <a href="https://twitter.com/KizzyPhD" target="_blank">discovered</a> this should be walking
  406. around high-fiving themselves incessantly. Unbearable amounts of smugness
  407. should be emanating from them. <a href="https://twitter.com/McLellan_Lab/status/1291077489566142464" target="_blank">And it would all be well
  408. deserved</a>.</p>
  409. <blockquote>
  410. <p>Update! I have been contacted by the <a href="https://twitter.com/McLellan_Lab/status/1291077489566142464" target="_blank">McLellan
  411. lab</a>, one of the
  412. groups behind the Proline discovery. They tell me the high-fiving is
  413. subdued because of the ongoing pandemic, but they are pleased to have
  414. contributed to the vaccines. They also stress the importance of many other
  415. groups, workers and volunteers.</p>
  416. </blockquote>
  417. <h2 id="the-end-of-the-protein-next-steps">The end of the protein, next steps</h2>
  418. <p>If we scroll through the rest of the source code, we encounter some small
  419. modifications at the end of the Spike protein:</p>
  420. <pre><code> V L K G V K L H Y T s
  421. Virus: GUG CUC AAA GGA GUC AAA UUA CAU UAC ACA UAA
  422. Vaccine: GUG CUG AAG GGC GUG AAA CUG CAC UAC ACA UGA UGA
  423. V L K G V K L H Y T s s
  424. ! ! ! ! ! ! ! !
  425. </code></pre>
  426. <p>At the end of a protein we find a ‘stop’ codon, denoted here by a lowercase
  427. ’s’. This is a polite way of saying that the protein should end here. The
  428. original virus uses the UAA stop codon, the vaccine uses two UGA stop
  429. codons, perhaps just for good measure.</p>
  430. <h2 id="the-3-untranslated-region">The 3’ Untranslated Region</h2>
  431. <p>Much like the ribosome needed some lead-in at the 5’ end, where we found the
  432. ‘five prime untranslated region’, at the end of a protein coding region we find a similar
  433. construct called the 3’ UTR.</p>
  434. <p>Many words could be written about the 3’ UTR, but here I quote <a href="https://en.wikipedia.org/wiki/Three_prime_untranslated_region" target="_blank">what the
  435. Wikipedia
  436. says</a>: “The 3’-untranslated region plays a crucial role in gene
  437. expression by influencing the localization, stability, export, and
  438. translation efficiency of an mRNA .. <strong>despite our current understanding of
  439. 3’-UTRs, they are still relative mysteries</strong>”.</p>
  440. <p>What we do know is that certain 3’-UTRs are very successful at promoting
  441. protein expression. According to the WHO document, the BioNTech/Pfizer
  442. vaccine 3’-UTR was picked from “the amino-terminal enhancer of split (AES)
  443. mRNA and the mitochondrial encoded 12S ribosomal RNA to confer RNA stability
  444. and high total protein expression”. To which I say, well done.</p>
  445. <p></p>
  446. <p><center>
  447. <figure>
  448. <img src="/articles/vaccine.jpg">
  449. </figure></p>
  450. <p></center></p>
  451. <h2 id="the-aaaaaaaaaaaaaaaaaaaaaa-end-of-it-all">The AAAAAAAAAAAAAAAAAAAAAA end of it all</h2>
  452. <p>The very end of mRNA is polyadenylated. This is a fancy way of saying it
  453. ends on a lot of AAAAAAAAAAAAAAAAAAA. Even mRNA has had enough of 2020 it
  454. appears.</p>
  455. <p>mRNA can be reused many times, but as this happens, it also loses some of
  456. the A’s at the end. Once the A’s run out, the mRNA is no longer functional
  457. and gets discarded. In this way, the ‘poly-A’ tail is protection from
  458. degradation.</p>
  459. <p>Studies have been done to find out what the optimal number of A’s at the end
  460. is for mRNA vaccines. I read in the open literature that this peaked at 120
  461. or so.</p>
  462. <p>The BNT162b2 vaccine ends with:</p>
  463. <pre><code> ****** ****
  464. UAGCAAAAAA AAAAAAAAAA AAAAAAAAAA AAAAGCAUAU GACUAAAAAA AAAAAAAAAA
  465. AAAAAAAAAA AAAAAAAAAA AAAAAAAAAA AAAAAAAAAA AAAAAAAAAA AAAA
  466. </code></pre>
  467. <p>This is 30 A’s, then a “10 nucleotide linker” (GCAUAUGACU), followed by another 70
  468. A’s.</p>
  469. <p>There are various theories why this linker is there. Some people tell me it
  470. has to do with DNA plasmid stability, I have also received this from an
  471. actual expert:</p>
  472. <p>“The 10-nucleotide linker within the poly(A) tail makes it easier to stitch
  473. together the synthetic DNA fragments that become the template for transcribing
  474. the mRNA. It also reduces slipping by T7 RNA polymerase so that the
  475. transcribed mRNA is more uniform in length”.</p>
  476. <h2 id="summarising">Summarising</h2>
  477. <p>With this, we now know the exact mRNA contents of the BNT162b2 vaccine, and
  478. for most parts we understand why they are there:</p>
  479. <ul>
  480. <li>The CAP to make sure the RNA looks like regular mRNA</li>
  481. <li>A known successful and optimized 5’ untranslated region (UTR)</li>
  482. <li>A codon optimized signal peptide to send the Spike protein to the right
  483. place (copied 100% from the original virus)</li>
  484. <li>A codon optimized version of the original spike, with two ‘Proline’
  485. substitutions to make sure the protein appears in the right form</li>
  486. <li>A known successful and optimized 3’ untranslated region</li>
  487. <li>A slightly mysterious poly-A tail with an unexplained ‘linker’ in there</li>
  488. </ul>
  489. <p>The codon optimization adds a lot of G and C to the mRNA. Meanwhile, using Ψ
  490. (1-methyl-3’-pseudouridylyl) instead of U helps evade our immune system, so
  491. the mRNA stays around long enough so we can actually help train the immune
  492. system.</p>
  493. <h2 id="further-reading-viewing">Further reading/viewing</h2>
  494. <p>In 2017 I held a two hour presentation on DNA, which you can <a href="https://berthub.eu/dna" target="_blank">view
  495. here</a>. Like this page it is aimed at computer
  496. people.</p>
  497. <p>In addition, I’ve been maintaining a page on ‘<a href="https://berthub.eu/amazing-dna" target="_blank">DNA for
  498. programmers</a>’ since 2001.</p>
  499. <p>You might also enjoy <a href="https://berthub.eu/articles/posts/immune-system/" target="_blank">this introduction to our amazing immune
  500. system</a>.</p>
  501. <p>Finally, <a href="https://berthub.eu/articles" target="_blank">this listing of my blog posts</a> has quite some
  502. DNA, SARS-CoV-2 and COVID related material.</p>
  503. </article>
  504. <hr>
  505. <footer>
  506. <p>
  507. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  508. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-home"></use>
  509. </svg> Accueil</a> •
  510. <a href="/david/log/" title="Accès au flux RSS"><svg class="icon icon-rss2">
  511. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-rss2"></use>
  512. </svg> RSS</a> •
  513. <a href="http://larlet.com" title="Go to my English profile" data-instant><svg class="icon icon-user-tie">
  514. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-user-tie"></use>
  515. </svg> Pro</a> •
  516. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"><svg class="icon icon-mail">
  517. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-mail"></use>
  518. </svg> Email</a> •
  519. <abbr class="nowrap" title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"><svg class="icon icon-hammer2">
  520. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-hammer2"></use>
  521. </svg> Légal</abbr>
  522. </p>
  523. <template id="theme-selector">
  524. <form>
  525. <fieldset>
  526. <legend><svg class="icon icon-brightness-contrast">
  527. <use xlink:href="/static/david/icons2/symbol-defs.svg#icon-brightness-contrast"></use>
  528. </svg> Thème</legend>
  529. <label>
  530. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  531. </label>
  532. <label>
  533. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  534. </label>
  535. <label>
  536. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  537. </label>
  538. </fieldset>
  539. </form>
  540. </template>
  541. </footer>
  542. <script>
  543. function loadThemeForm(templateName) {
  544. const themeSelectorTemplate = document.querySelector(templateName)
  545. const form = themeSelectorTemplate.content.firstElementChild
  546. themeSelectorTemplate.replaceWith(form)
  547. form.addEventListener('change', (e) => {
  548. const chosenColorScheme = e.target.value
  549. localStorage.setItem('theme', chosenColorScheme)
  550. toggleTheme(chosenColorScheme)
  551. })
  552. const selectedTheme = localStorage.getItem('theme')
  553. if (selectedTheme && selectedTheme !== 'undefined') {
  554. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  555. }
  556. }
  557. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  558. window.addEventListener('load', () => {
  559. let hasDarkRules = false
  560. for (const styleSheet of Array.from(document.styleSheets)) {
  561. let mediaRules = []
  562. for (const cssRule of styleSheet.cssRules) {
  563. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  564. continue
  565. }
  566. // WARNING: Safari does not have/supports `conditionText`.
  567. if (cssRule.conditionText) {
  568. if (cssRule.conditionText !== prefersColorSchemeDark) {
  569. continue
  570. }
  571. } else {
  572. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  573. continue
  574. }
  575. }
  576. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  577. }
  578. // WARNING: do not try to insert a Rule to a styleSheet you are
  579. // currently iterating on, otherwise the browser will be stuck
  580. // in a infinite loop…
  581. for (const mediaRule of mediaRules) {
  582. styleSheet.insertRule(mediaRule.cssText)
  583. hasDarkRules = true
  584. }
  585. }
  586. if (hasDarkRules) {
  587. loadThemeForm('#theme-selector')
  588. }
  589. })
  590. </script>
  591. </body>
  592. </html>