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

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