<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>neherlab@biozentrum</title><link href="/" rel="alternate"></link><link href="/feeds/all.atom.xml" rel="self"></link><id>/</id><updated>2026-10-21T00:00:00+02:00</updated><entry><title>"Real-time analysis and prediction of viral evolution"</title><link href="/202610_Lyon.html" rel="alternate"></link><published>2026-10-21T00:00:00+02:00</published><updated>2026-10-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-10-21:/202610_Lyon.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1UUr1-bmv-FifkpUZQpfEw7qTPcU1rPIzd1ZunAsmx3k/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Predicting evolution"</title><link href="/202610_CEPI.html" rel="alternate"></link><published>2026-10-15T00:00:00+02:00</published><updated>2026-10-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-10-15:/202610_CEPI.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1zpjYi9LFuJGt5gRqSxbRMyFWzTbLGFA82gqqlkNUd1c/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Predicting seasonal influenza strains of the next season"</title><link href="/202610_CEPI_Istanbul.html" rel="alternate"></link><published>2026-10-15T00:00:00+02:00</published><updated>2026-10-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-10-15:/202610_CEPI_Istanbul.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1zpjYi9LFuJGt5gRqSxbRMyFWzTbLGFA82gqqlkNUd1c/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Nextstrain workshop at IAEA</title><link href="/202609_IAEA_nextstrain.html" rel="alternate"></link><published>2026-09-30T00:00:00+02:00</published><updated>2026-09-30T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-09-30:/202609_IAEA_nextstrain.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;Overview and Basics&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202609_IAEA_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_toolchain.html"&gt;The nextstrain toolchain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nextstrain.org/projects/nextclade/en/stable/user/nextclade-web/analysis-results-table.html"&gt;Nextclade -- Analysis in the browser&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_augur.html"&gt;Analysis with augur and Snakemake -- Virus tutorial &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Additional steps and details&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202609_IAEA_refine.html"&gt;Options for time tree inference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_color_geo.html"&gt;Specify color maps and geographic information&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_advanced_snakemake.html"&gt;Advanced snakemake (wildcards, functions, default rules)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202609_IAEA_meta_from_fasta.html"&gt;Parsing metadata from fasta files&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Avian influenza resources&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/avian-flu/h5n1/ha/2y"&gt;Automatically updated analyses (by Louise Moncla and team)&lt;/a&gt;. These exist for H5N1, H7N9, H9N2 as well as some broader ones like "H5Nx" that contain H5 viruses regardless of their neuraminidase segment. Most contain trees for all segments.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org/?dataset-name=community/moncla-lab/iav-h5/ha/2.3.4.4"&gt;Nextclade datasets for H5 clade 2.3.4.4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org/?dataset-name=community/moncla-lab/iav-h5/ha/2.3.2.1"&gt;Nextclade datasets for H5 clade 2.3.2.1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org/?dataset-name=community/moncla-lab/iav-h5/ha/all-clades"&gt;Nextclade datasets for all H5 clades&lt;/a&gt;. See also &lt;a href="https://academic.oup.com/ve/article/11/1/veaf058/8221740"&gt;Ort el al&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Newcastle Virus disease resources&lt;/h3&gt;
&lt;p&gt;There are no automatically updated phylogentic analyses available for NDV as of now (could be added if useful). But we have implemented Nextclade datasets for class-I and II. These are in their early stages and  feedback in welcome.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org/?dataset-name=nextstrain/ndv/class-1/AB524405"&gt;Nextclade datasets for NDV class-I&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org/?dataset-name=nextstrain/ndv/class-2/NC_075404"&gt;Nextclade datasets for NDV class-II&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Other relevant links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org"&gt;nextclade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nextstrain.org/en/latest/"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html"&gt;installing conda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>AI agents in Coding and Science</title><link href="/202609_facultylunch.html" rel="alternate"></link><published>2026-09-30T00:00:00+02:00</published><updated>2026-09-30T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-09-30:/202609_facultylunch.html</id><summary type="html">&lt;section class="slide frame"&gt;
    &lt;div class="cols"&gt;
        &lt;div class="center"&gt;
            &lt;h2&gt;Chatbot&lt;/h2&gt;
            &lt;img class="plain" src="/talk_images/202609_chatbot_loop.svg" alt="Chatbot: closed loop between user and model" width="85%"&gt;
            &lt;div class="smalltext muted"&gt;e.g. ChatGPT, Claude.ai, Gemini&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="center fragment"&gt;
            &lt;h2&gt;Agent&lt;/h2&gt;
            &lt;img class="plain" src="/talk_images/202609_agent_loop.svg" alt="Agent: model uses user resources, checks and iterates" width="85%"&gt;
            &lt;div class="smalltext muted"&gt;e.g. Claude Code, Codex, Cursor&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="bodytext center fragment"&gt;&lt;b&gt;Same model &amp;ndash; but different tools and feedback cycles&lt;/b&gt;&lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Why would you want to do this?&lt;/h3&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Longer independent workflows:&lt;/b&gt; hand over a task, not a question&lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Feedback comes from the environment, not from you&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;b&gt;Coding:&lt;/b&gt; build, run …&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="slide frame"&gt;
    &lt;div class="cols"&gt;
        &lt;div class="center"&gt;
            &lt;h2&gt;Chatbot&lt;/h2&gt;
            &lt;img class="plain" src="/talk_images/202609_chatbot_loop.svg" alt="Chatbot: closed loop between user and model" width="85%"&gt;
            &lt;div class="smalltext muted"&gt;e.g. ChatGPT, Claude.ai, Gemini&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="center fragment"&gt;
            &lt;h2&gt;Agent&lt;/h2&gt;
            &lt;img class="plain" src="/talk_images/202609_agent_loop.svg" alt="Agent: model uses user resources, checks and iterates" width="85%"&gt;
            &lt;div class="smalltext muted"&gt;e.g. Claude Code, Codex, Cursor&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="bodytext center fragment"&gt;&lt;b&gt;Same model &amp;ndash; but different tools and feedback cycles&lt;/b&gt;&lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Why would you want to do this?&lt;/h3&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Longer independent workflows:&lt;/b&gt; hand over a task, not a question&lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Feedback comes from the environment, not from you&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;b&gt;Coding:&lt;/b&gt; build, run the tests, read the errors, fix &amp;ndash; the test suite is the harness&lt;/li&gt;
                &lt;li&gt;&lt;b&gt;Science:&lt;/b&gt; run the analysis, inspect the output (plots, summary statistics, sanity checks), revise&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class="fragment"&gt;You review results and key decisions, not every step&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;The longer the leash the higher the risks&lt;/h3&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Unintended actions&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;deleted or overwritten files and data&lt;/li&gt;
                &lt;li&gt;leaked credentials or unpublished data&lt;/li&gt;
                &lt;li&gt;rogue actions on shared resources: repos, clusters, email&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Wrong results&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;plausible output that is wrong&lt;/li&gt;
                &lt;li&gt;insufficient tests, or the agent adapts the tests until they pass&lt;/li&gt;
                &lt;li&gt;more output than you can verify&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Code as liability&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;large, complex code base that nobody understands well enough to maintain&lt;/li&gt;
                &lt;li&gt;bugs surface later, with no one who knows where to look&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Mitigation: contain, verify, simplify&lt;/h3&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Contain&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;sandbox: agent writes only to the project directory&lt;/li&gt;
                &lt;li&gt;no credentials or sensitive data within reach, restricted network&lt;/li&gt;
                &lt;li&gt;everything recoverable: version control and backups&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Verify&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;checks you define: known results, positive controls, tests you have read&lt;/li&gt;
                &lt;li&gt;inspect intermediate outputs, not just the summary&lt;/li&gt;
                &lt;li&gt;scope tasks to what you can verify&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class="fragment"&gt;&lt;b&gt;Simplify&lt;/b&gt;
            &lt;ul&gt;
                &lt;li&gt;ask for less code, reuse established libraries&lt;/li&gt;
                &lt;li&gt;review diffs, insist on simple architecture&lt;/li&gt;
                &lt;li&gt;treat it as code you are responsible for&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Example: fitness effects of Spike mutations on structure&lt;/h3&gt;
    &lt;div class="prompt"&gt;
        &lt;p&gt;Build a static website (TypeScript/React) that shows the fitness effects of amino-acid
        substitutions in the SARS-CoV-2 Spike protein, using data from our project with Jesse Bloom:
        &lt;a href="https://jbloomlab.github.io/SARS2-mut-fitness/S.html"&gt;jbloomlab.github.io/SARS2-mut-fitness/S.html&lt;/a&gt;&lt;/p&gt;
        &lt;ul&gt;
            &lt;li&gt;Map the average fitness cost of mutations at each site onto a structure of the Spike trimer.&lt;/li&gt;
            &lt;li&gt;Effects are estimated relative to different wildtype sequences (clade founders); let the user choose among them.&lt;/li&gt;
        &lt;/ul&gt;
        &lt;p class="fragment"&gt;&lt;b&gt;Before writing any code, propose a plan:&lt;/b&gt; data sources and preprocessing,
        structure and viewer, and how you will check the result. Wait for my OK.&lt;/p&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Advanced Snakemake</title><link href="/202609_IAEA_advanced_snakemake.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_advanced_snakemake.html</id><summary type="html">&lt;h1&gt;Wildcards&lt;/h1&gt;
&lt;p&gt;One of the more powerful features of Snakemake is its ability to use use and interpret wildcards.
Wildcards are placeholders for data set names and come in very handy when analyzing viruses that exist in multiple lineages or have multiple segments, for example seasonal influenza viruses:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;align:
&lt;span class="w"&gt;    &lt;/span&gt;input …&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h1&gt;Wildcards&lt;/h1&gt;
&lt;p&gt;One of the more powerful features of Snakemake is its ability to use use and interpret wildcards.
Wildcards are placeholders for data set names and come in very handy when analyzing viruses that exist in multiple lineages or have multiple segments, for example seasonal influenza viruses:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;align:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/{virus}_{segment}_sequences.fasta&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;reference&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/{virus}_{segment}_reference.gb&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment_{virus}_{segment}.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur align \&lt;/span&gt;
&lt;span class="s2"&gt;                --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;                --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="s2"&gt;                --output {output.alignment}&lt;/span&gt;
&lt;span class="s2"&gt;    &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This defines a generic rule to align sequences of a particular segment belonging to a particular viral lineage.
Such generic rules can be combined with data set specific data and functionality using python syntax.
If we for example wanted to specify a data set specific evolutionary rate, we could do this as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;clock_rate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0043&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0029&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0040&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0032&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0015&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0019&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0013&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;rate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;virus&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;segment&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;_metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree_&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;.nwk&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/branchlengths_&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;clock_rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;clock_rate&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur refine \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --timetree \&lt;/span&gt;
&lt;span class="sd"&gt;            --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If we now asked snakemake to produce the file &lt;code&gt;results/tree_h3n2_ha.nwk&lt;/code&gt;, it would determine the wildcards &lt;code&gt;virus=h3n2&lt;/code&gt; and &lt;code&gt;segment=ha&lt;/code&gt; from the filename and then use the right input files and parameters.
As clock rate input parameter takes the form of a function in this case (defined above the rule) that takes the wildcards as parameters.&lt;/p&gt;
&lt;h1&gt;Default rules&lt;/h1&gt;
&lt;p&gt;The first rule in a Snakefile serves are as the default rule that is executed when no targets are specified.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;segments&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb2&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb1&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pa&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;np&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;mp&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ns&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="nv"&gt;viruses&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;

rule&lt;span class="w"&gt; &lt;/span&gt;all_auspice_files:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;expand&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/{virus}_{segment}_tree.json&amp;quot;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;segment&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;segments,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;virus&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;viruses&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule &lt;code&gt;all_auspice_files&lt;/code&gt; only specifies input files. These input files are the files we want our pipeline to spit out and by making this rule the first rule in the Snakefile, it will be the default rule.
Calling &lt;code&gt;snakemake&lt;/code&gt; bare without specifying a target will then run all rules necessary to produce the input files of the default rule.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake</title><link href="/202609_IAEA_augur.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Valentin Druelle, Marco Molari &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_augur.html</id><summary type="html">&lt;h1&gt;Installation&lt;/h1&gt;
&lt;p&gt;To build your own phylogenetic analysis, please install Nextstrain on the computer you will bring by following the &lt;a href="https://docs.nextstrain.org/en/latest/install.html"&gt;installation instructions on nextstrain.org&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;The tool chain Augur&lt;/h1&gt;
&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice …&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Installation&lt;/h1&gt;
&lt;p&gt;To build your own phylogenetic analysis, please install Nextstrain on the computer you will bring by following the &lt;a href="https://docs.nextstrain.org/en/latest/install.html"&gt;installation instructions on nextstrain.org&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;The tool chain Augur&lt;/h1&gt;
&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
We will work off the tutorial for Zika virus on the &lt;a href="https://docs.nextstrain.org/en/latest/tutorials/creating-a-phylogenetic-workflow.html"&gt;nextstrain web site&lt;/a&gt; and the github repository &lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;nextstrain/zika-tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Move to the zika-tutorial folder and ensure your nextstrain environment is activated.&lt;/p&gt;
&lt;h2&gt;Augur commands&lt;/h2&gt;
&lt;p&gt;As an example, we'll look at the &lt;code&gt;filter&lt;/code&gt; command in greater detail.
This command allows you to selected various subsets of your input data for different types of analysis.
A simple example use of this command would be&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command will select all sequences with collection date in 2012 or later.
The filter command has a large number of options that allow flexible filtering for many common situations.
One such use-case is the exclusion of sequences that are known to be outliers (e.g.because of sequencing errors, cell-culture adaptation, ...).
These can be specified in a separate file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;BRA/2016/FC_DQ75D1
COL/FLR_00034/2015
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To drop such strains, you can pass the name of this file to the augur filter command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;(To improve legibility, we have wrapped the command across multiple lines.)
If you run this command (you should be able to copy-paste this into your terminal), you should see that one of the sequences in the data set was dropped since its name was in the &lt;code&gt;drooped_strain.txt&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;Another common filtering operation is subsetting of data to achieve a more even spatio-temporal distribution or reduce the data set size to more manageable numbers.
The filter command allows you to select a specific number of sequences from specific groups, for example one sequence per month from each country:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--group-by&lt;span class="w"&gt; &lt;/span&gt;country&lt;span class="w"&gt; &lt;/span&gt;year&lt;span class="w"&gt; &lt;/span&gt;month&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences-per-group&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This subsampling and filtering will reduce the number of sequences in this tutorial data set from 34 to 24.&lt;/p&gt;
&lt;h2&gt;Chaining of augur commands with snakemake.&lt;/h2&gt;
&lt;p&gt;The output of one augur command serves as input to the next and hence these commands need to be executed in order.
This is a common pattern in bioinformatics and multiple tools -- so called workflow managers -- exist to facilitate this.
Within nextstrain, we have relied on &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.&lt;/p&gt;
&lt;p&gt;We suggest to build up the Snakefile one rule at a time, starting with the stub that just defines a bunch of files.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;input_fasta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;input_metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;dropped_strains&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/dropped_strains.txt&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;colors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/colors.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;lat_longs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/lat_longs.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;auspice_config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/auspice_config.json&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Copy this stub and name the file &lt;code&gt;Snakefile_IAEA&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A simple rule would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;index_sequences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        Creating an index of sequence composition for filtering.&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequence_index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/sequence_index.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur index \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.sequence_index}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Note that we explicitly specify what is an input and what is an output file.
Add this rule to the snakefile &lt;code&gt;Snakefile_IAEA&lt;/code&gt;, save the file, and execute&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake -j 1 -s Snakefile_IAEA index_sequences
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will run the rule and produce the desired output files.
Check and inspect the output.
Then repeat this process with all the rules below.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="nb"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/filtered.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;min_date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2012&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur filter \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --min-date {params.min_date}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule would produce &lt;code&gt;results/filtered.fasta&lt;/code&gt; from the input files &lt;code&gt;data/sequences.fasta&lt;/code&gt; and &lt;code&gt;data/metadata.tsv&lt;/code&gt; using the &lt;code&gt;augur filter&lt;/code&gt; command.
Note that we explicitly specify what is an input and what is an output file.
To filter our data, we would now call snakemake as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will run the same command as specified above.
Note that you can either specify an explicit output file, or call the rule by name.&lt;/p&gt;
&lt;p&gt;So far, this is just a complicated reformulation of what we did above, but the benefit of workflow management becomes clear once we add more steps.
The next natural step in our phylogenetic pipeline is aligning the filtered sequences and we define a rule &lt;code&gt;align&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sequences&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/aligned.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur align \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.alignment}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can download a Snakefile containing these two rules &lt;a href="/teaching_notes/201910_RIVM_Snakefile_example"&gt;here&lt;/a&gt;.
If you now want to generate the alignment, you can type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;determine that &lt;code&gt;results/aligned.fasta&lt;/code&gt; is an output of rule &lt;code&gt;align&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;check whether all required input files are in place and run the necessary rules if not&lt;/li&gt;
&lt;li&gt;run rule &lt;code&gt;align&lt;/code&gt; and check whether the file &lt;code&gt;results/aligned.fasta&lt;/code&gt; appeared.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you supply a reference sequence to &lt;code&gt;augur align&lt;/code&gt;, augur will include that reference sequence in the alignment and strip all insertions relative to that reference.
This will guarantee a consistent reference coordinate system and genome annotation later on.&lt;/p&gt;
&lt;h3&gt;Construct the Phylogeny&lt;/h3&gt;
&lt;p&gt;Infer a phylogenetic tree from the multiple sequence alignment.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;alignment&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree_raw.nwk&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur tree \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.tree}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The resulting tree is stored in &lt;a href="https://phylipweb.github.io/phylip/newicktree.html"&gt;Newick format&lt;/a&gt;.
Branch lengths in this tree measure nucleotide divergence.&lt;/p&gt;
&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Most phylogenies you see on nextstrain are time-resolved, that is the branch lengths of the tree correspond to calendar time rather than evolutionary distance.
The default method to infer time-resolved phylogenies in nextstrain is &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt; and this analysis is an done using the augur command &lt;code&gt;refine&lt;/code&gt; (this steps "refines" the existing tree...).
The corresponding rule for in the snakefile would look as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Refining the tree&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;input_metadata&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/branch_lengths.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur refine \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --timetree \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command requires the output of the tree and align rules as input and will produce the file &lt;code&gt;results/tree.nwk&lt;/code&gt; and &lt;code&gt;results/branch_lengths.json&lt;/code&gt;.
The latter contains the inferred clock model and the inferred dates of all nodes, including internal nodes.
Each internal node has been given a unique name (e.g. &lt;code&gt;NODE_0000001211&lt;/code&gt;) which we will use in the following steps to attach more information to the tree.
The &lt;code&gt;refine&lt;/code&gt; command has many different options that allow to specify clock rates, filter sequences that don't follow the molecular clock, calculate confidence intervals, etc.
We'll get into these details later.&lt;/p&gt;
&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;h3&gt;Reconstruct Ancestral Traits&lt;/h3&gt;
&lt;p&gt;TreeTime can also infer ancestral traits from an existing phylogenetic tree and metadata annotating each tip of the tree.
The following command infers the region and country of all internal nodes from the time tree and original strain metadata.
As with the &lt;code&gt;refine&lt;/code&gt; command, the resulting JSON output is indexed by strain or internal node name.&lt;/p&gt;
&lt;p&gt;Specifying &lt;code&gt;--confidence&lt;/code&gt; means that the confidence intervals for the reconstructed trait values will be estimated.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Inferring ancestral traits&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/traits.json&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;columns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;region country&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur traits \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --columns {params.columns} \&lt;/span&gt;
&lt;span class="sd"&gt;            --confidence&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/traits.json&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;Using &lt;code&gt;ancestral&lt;/code&gt;, we can reconstruct what the ancesters of our samples' sequences must have looked like, and record the mutations that occurred on each branch.&lt;/p&gt;
&lt;p&gt;Next, infer the ancestral sequence of each internal node and identify any nucleotide mutations on the branches leading to any node in the tree.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Reconstructing ancestral sequences and mutations&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/nt_muts.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur ancestral \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_IAEA&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;Identify amino acid mutations from the nucleotide mutations and a reference sequence with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
To export a FASTA file with the complete amino acid translations for each gene from each node’s sequence, specify the &lt;code&gt;--alignment-output&lt;/code&gt; parameter in the form of &lt;code&gt;results/aligned_aa_%GENE.fasta&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The reference sequence needs to be in Genbank format - see &lt;a href="202609_IAEA_tips_and_tricks.html"&gt;Important tips for your own analysis&lt;/a&gt; for more information on reference sequences.&lt;/p&gt;
&lt;p&gt;Open the Zika tutorial reference sequence &lt;code&gt;config/zika_outgroup.gb&lt;/code&gt; in a text editor.
For translation, the important parts are the &lt;code&gt;source&lt;/code&gt; and &lt;code&gt;CDS&lt;/code&gt; sections that are part of the &lt;code&gt;Features&lt;/code&gt; part of the file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
FEATURES&lt;span class="w"&gt;             &lt;/span&gt;Location/Qualifiers
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;..10769
&lt;span class="w"&gt;                     &lt;/span&gt;/collection_date&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;25-Oct-2013&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/country&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;French Polynesia&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/db_xref&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;taxon:64320&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/host&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Homo sapiens&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/isolation_source&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;serum&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/mol_type&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genomic RNA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/organism&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Zika virus&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/strain&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PF13/251013-18&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;91&lt;/span&gt;..456
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;capsid protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;CA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;457&lt;/span&gt;..735
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;propeptide&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PRO&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;736&lt;/span&gt;..960
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;membrane protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;MP&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;961&lt;/span&gt;..2472
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;envelope protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;ENV&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code&gt;source&lt;/code&gt; section tells &lt;code&gt;augur&lt;/code&gt; how long the whole genome is.
The &lt;code&gt;CDS&lt;/code&gt; sections describe each gene (using &lt;code&gt;/gene=&lt;/code&gt;) that should be translated by giving its name and its start and end location in the genome.&lt;/p&gt;
&lt;p&gt;In your downloaded file from Genbank, you might notice that it has only one or no &lt;code&gt;CDS&lt;/code&gt; sections, and that instead the sections you would like to translate as genes are described as &lt;code&gt;mat_peptide&lt;/code&gt;, like the below:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;     mat_peptide     91..465
                     /product=&amp;quot;capsid protein&amp;quot;
     mat_peptide     466..735
                     /product=&amp;quot;propeptide&amp;quot;
     mat_peptide     736..960
                     /product=&amp;quot;membrane protein&amp;quot;
     mat_peptide     961..2475
                     /product=&amp;quot;envelope protein&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In this case, you will have to manually modify this file to work in &lt;code&gt;augur&lt;/code&gt;.
Anything you wish to translate as a gene should be changed from &lt;code&gt;mat_peptide&lt;/code&gt; to &lt;code&gt;CDS&lt;/code&gt; as its section name.
You will also need to add &lt;code&gt;/gene=&lt;/code&gt; and a gene name to the sections you'd like to translate.
If you have one really long &lt;code&gt;CDS&lt;/code&gt; section that covers most of the genome, we'd recommend not including this to translate (don't provide a &lt;code&gt;/gene=&lt;/code&gt;) if you can include smaller genes instead, as such a long polyprotein is not very informative.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/aa_muts.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur translate \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --ancestral-sequences {input.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
This command pulls together the metadata file and all of the output files generated by the previous steps, and combines it into two output files that contain the annotated tree (&lt;code&gt;"auspice/zika_tree.json"&lt;/code&gt;) and associated metadata (&lt;code&gt;"auspice/zika_meta.json"&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;There is one input file below that is not metadata or output from a previous step: the config file (&lt;code&gt;"config/auspice_config.json"&lt;/code&gt;).
This file is very important - it species the page title, maintainer(s), what filters are present, what places should be mapped by, and what the user is able to color the tree by ("color-bys").&lt;/p&gt;
&lt;p&gt;Open up &lt;code&gt;"config/auspice_config.json"&lt;/code&gt; in a text editor.
The &lt;code&gt;title&lt;/code&gt; and &lt;code&gt;maintiner&lt;/code&gt; fields should be easy to spot.
You can modify them if you wish (and should, if you are using your own data!).&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;filters&lt;/code&gt; section specifies what traits will be available for users to filter the data by.
For example, if "country" is a filter, users will be able to only show data from the countries they select.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;color_options&lt;/code&gt; section specifies what users will be allowed to color the data by. You will almost always have the first two sections: &lt;code&gt;"gt"&lt;/code&gt; and &lt;code&gt;"num_date"&lt;/code&gt;, unless you are using trees without sequences or trees that aren't time-resolved.
After that, you can include any trait in your data.
If you have additional traits in your metadata, you will need to add them here to have them show up in auspice! You can copy the entry for &lt;code&gt;"country"&lt;/code&gt; and re-name it to match the appropriate column from your metadata file.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;geo&lt;/code&gt; section informs auspice what traits should be used to draw the samples onto the map. Obviously, they must be location-related, like "country" and "region".
You can use other locations if that's more relevant to your data. We won't cover this right now, but can explain in detail as you come to this with your own data.&lt;/p&gt;
&lt;p&gt;Don't worry about the &lt;code&gt;defaults&lt;/code&gt; section for the moment.&lt;/p&gt;
&lt;p&gt;The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;export&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;input_metadata&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;branch_lengths&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;traits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;nt_muts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;aa_muts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;auspice_config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/auspice_config.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;auspice_json&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;auspice/zika.json&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur export v2 \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --node-data {input.branch_lengths} {input.traits} {input.nt_muts} {input.aa_muts} \&lt;/span&gt;
&lt;span class="sd"&gt;            --auspice-config {input.auspice_config} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.auspice_json}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We have now step-by-step reproduced the original &lt;code&gt;Snakefile&lt;/code&gt;, which in addition contains a rule &lt;code&gt;clean&lt;/code&gt;, that simply removes all outputs, and &lt;code&gt;all&lt;/code&gt;, which is a default rule at the beginning of the Snakefile.&lt;/p&gt;
&lt;p&gt;The whole purpose of Snakemake is to run all these rules in the right order and manage all the steps.
To get a glimpse of this, run&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake --forceall --dag | dot -Tpdf &amp;gt; dag.pdf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and open the &lt;code&gt;dag.pdf&lt;/code&gt; depiction of the execution graph.
Here, we have omitted the &lt;code&gt;-s Snakefile&lt;/code&gt; argument, which defaults to &lt;code&gt;Snakefile&lt;/code&gt; when not specified.&lt;/p&gt;
&lt;p&gt;Then type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake -j1 clean
snakemake -j1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will first remove the output of the previous runs and then the default rule &lt;code&gt;all&lt;/code&gt; to execute the entire workflow.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Exploring interactive phylogenies with Auspice</title><link href="/202609_IAEA_auspice.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_auspice.html</id><summary type="html">&lt;p&gt;
    Nextstrain uses a program called 'auspice' to create the colourful and interactive webpages you probably
    associate with Nextstrain.
    We'll talk more about the details of auspice later, but for the moment, we'll show you how you can explore
    data using auspice, and use it to illustrate some of the concepts …&lt;/p&gt;</summary><content type="html">&lt;p&gt;
    Nextstrain uses a program called 'auspice' to create the colourful and interactive webpages you probably
    associate with Nextstrain.
    We'll talk more about the details of auspice later, but for the moment, we'll show you how you can explore
    data using auspice, and use it to illustrate some of the concepts just covered.
&lt;/p&gt;
&lt;p&gt;
    To do this, we'll look at a small sub-sample of the Zika virus sequences used to create the Zika page on Nextstrain.
    Follow &lt;a href="https://nextstrain.org/community/neherlab/krisp/zika-tutorial"&gt;this link&lt;/a&gt; to take a look at this 'Zika tutorial'. &lt;br&gt;
&lt;/p&gt;

&lt;p&gt;The default view shows three main panels on your screen:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_panels.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    (If you don’t see all three panels at once, try making your browser larger, or scroll down to see them.)&lt;br&gt;&lt;br&gt;
    In the top-left is the phylogeny, with the sequences used in the analysis. Top-right shows a map showing
    where the sequences are from. Finally, at the bottom is a ‘diversity’ panel that shows the full Zika genome,
    its genes, and mutations found in this analysis.&lt;br&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h2&gt;Let’s look more closely at each panel&lt;/h2&gt;
&lt;h3&gt;Phylogeny Panel&lt;/h3&gt;
&lt;p&gt;
    In this dataset, the phylogeny is coloured by ‘country’ (country of sampling), and is displayed as a time-resolved
    tree. If you can’t see a legend explaining the colour of each country, click the small arrow next to ‘country’
    in the top-left of the phylogeny panel.
&lt;/p&gt;
&lt;p&gt;
    You can see the x-axis is in years, and each sequence will be positioned horizontally according to sample date.
    If any undated samples had their dates estimated in the analysis, they’ll be positioned at their estimated date.
&lt;/p&gt;
&lt;p&gt;
    We can get more information about the phylogeny just by mousing over different parts of it. Hold your mouse
    (don’t click) over the large branch located almost in the middle of the panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_mouseover.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    We can see that this branch has 23 descendants, and we can also see there was one amino-acid mutation that
    occurred on this branch and passed on to all its descendants (though further mutations at this site may have
    occurred in some descendants). This mutation was in the gene NS5; ‘M114V’ means that at codon position 114,
    a methionine (‘M’) changed to a valine (‘V’). We’ll explore mutations a little more in connection with the
    bottom panel.
&lt;/p&gt;
&lt;p&gt;
    The mouse-over text also shows us the estimated date for this branch, and confidence intervals for that estimate.
    Similarly, the branch is coloured grey-green, and we can see this is because the most likely location estimated
    is Brazil, which is greenish (the grey tinge comes from not being 100% confident in Brazil being the location).
&lt;/p&gt;
&lt;p&gt;
    Mouse over different branches in the tree and see how they differ. Mouse over some tips to show the info box -- can you tell
    which had sample dates, and which were estimated during analysis? If you click on tips, you can bring up more
    information about that sample.
&lt;/p&gt;
&lt;p&gt;
    Let’s take a closer look at part of the tree -- we can click on branches to zoom in. Click on the branch
    leading to the red sequences at the top:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_phylogeny.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Since this tree is small, zooming in doesn’t change our view much, but in larger trees this can be very useful.
    If you look at the map and diversity panels, you’ll notice they’ve changed to reflect that we’re only looking
    at a sub-sample of the sequences now.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_zoom.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    Click on ‘reset layout’ in the top-right of the Phylogeny panel (circled above) to go back to the full view.
    Click on a few other branches to zoom in, and see how the map and diversity panels adjust.
&lt;/p&gt;

&lt;h3&gt;Control Panel&lt;/h3&gt;
&lt;p&gt;
    The control panel on the left can also change how the phylogeny is displayed. Using the sliders on either
    end of the ‘date range’, note how the panels respond as you change the range of dates that are viewable.
    (Put the sliders back to the ends afterwards, so the whole phylogeny is visible.)
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_date_range.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    Next, using the ‘color by’ dropdown menu, try colouring the phylogeny by region, author, and date. We’ll
    come back to ‘genotype’ in the moment.
&lt;/p&gt;
&lt;p&gt;
    You can also change the layout of the phylogeny -- try clicking on ‘Radial’ and ‘Unrooted’ under ‘Tree Options
    - Layout’ and see how the tree changes.
&lt;/p&gt;
&lt;p&gt;
    Finally, click on the ‘Clock’ layout option -- it looks quite different:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_clock_view.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    This view shows us divergence (number of mutations since the common ancestor) on the y-axis and the sampling date on the x-axis.
    In the ideal case, all points roughly fall on a line and the slope of this line is the evolutionary rate, that is the number of substitutions that accumulate per year.
&lt;/p&gt;

&lt;p&gt;
    Go back to ‘rectangular’ view, then click on ‘Divergence’ under ‘Branch Length’. The x-axis on the phylogeny
    is now shown with tips plotted according to their divergence (in substitutions) from the root, rather than
    by time. Mousing over branches and tips now will show the divergence, rather than the date.
&lt;/p&gt;
&lt;/p&gt;
&lt;h3&gt;Map Panel&lt;/h3&gt;

&lt;p&gt;
    The map panel is not as interactive as the phylogeny panel, but does change in to reflect actions like zooming
    or changing the dates on the phylogeny. Using the ‘play’ button in the top-left of the map panel, you can move
    through time on the phylogeny, and see how the virus may have spread geographically. How accurate these
    reconstructions are is dependent on many things, so it’s important to consider if showing such links is appropriate
    for your data. &lt;/p&gt;
&lt;p&gt;
    You can adjust the speed of the animation using the ‘Map Options’ on the control panel. You can also change what level of
    location detail is shown on the map -- try changing the ‘Geographic resolution’ to ‘region’.
&lt;/p&gt;

&lt;h3&gt;Diversity Panel&lt;/h3&gt;
&lt;p&gt;
    The diversity panel is a good way to look at mutations on the phylogeny.
    It allows you to spot regions in the genome that evolve more rapidly than others, for example because a particular region is targeted by the host immune system and changes quickly.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The top of the panel shows the a measure of how much an amino acid has changed across the tree. Each line
    represents a position that has changed, plotted along the genome to correspond with the two panels below.
&lt;/p&gt;
&lt;p&gt;
    If you’d rather look at the number of times an amino acid has changed, change from ‘entropy’ to ‘events’
    in the top right of the panel -- notice the amino-acids all now have discrete y-values (here, either 1 or
    2 changes). You can also look at nucleotide changes by switching from ‘AA’ to ‘NT’ in the top right of the
    panel. When you switch to ‘NT’, the information that appears when you mouse over the phylogeny will also
    change - it will now show nucleotide mutations for each branch.
&lt;/p&gt;
&lt;p&gt;
    Go back to ‘entropy’ ‘AA’ view. We can see exactly how an amino acid (or nucleotide) has changed across
    the tree by clicking on that location. Click on the site with the highest entropy:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_click.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Notice this bar is now highlighted (it’s turned orange). The middle part of the diversity panel also looks
    different - it’s zoomed in so that the gene where this mutation has occurred (NS1) is centered. You can see
    the area that’s zoomed in by looking at the bottom part of the panel - the highlighted grey area shows the
    zoomed area on the middle section. The two arrows on either size of the grey area can be dragged to zoom
    in and out.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_zoom.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The phylogeny has changed as well. Click the small arrow next to ‘Genotype at NS1 site 324’ in the top-left
    of the phylogeny panel so that you can see the legend.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_phylo.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The phylogeny is now coloured by the amino acid present at position 324 in the NS1 gene. Most of the branches
    and tips have an arginine (‘R’), but some have mutated to tryptophan (‘W’) or glutamine (‘Q’).
&lt;/p&gt;
&lt;p&gt;
    Click on another site and see how the phylogeny changes. Switch to nucleotide ‘NT’ view, and click a
    few more sites -- the phylogeny will now show these mutations. Why are there more nucleotide mutations
    than amino acid mutations?
&lt;/p&gt;
&lt;p&gt;
    Zoom out in the diversity panel by dragging the black triangles to either end of the Zika genome, or by
    clicking outside of the zoomed area, when your cursor forms a cross. Go back to ‘entropy’ ‘AA’ view.
&lt;/p&gt;
&lt;p&gt;
    What if you’re interested in a particular gene or position? On the control panel, go to the ‘Color by’
    drop-down menu and select ‘genotype’.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_colorByGeno.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    In the drop-down menu that appears directly below (which now shows ‘genotype’) select ‘NS5’. The diversity
    panel will zoom in to this gene so you can more clearly see the sites that have changed.
&lt;/p&gt;
&lt;p&gt;
    Mousing over the long branch leading to the top cluster on the phylogeny, we can see there were two mutations
    in NS5, at position 322 and 878:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_mouseOver.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    We can colour the phylogeny by these locations by typing ‘322’ into the box below where we selected ‘NS5’
    in the control panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_322.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Now switch to ‘NT’ view in the diversity panel. Mousing over the same branch, you can see there are many more
    nucleotide mutations than amino acid mutations:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_diversity_mouseOverNT.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    For nucleotide mutations, we can colour the phylogeny by multiple positions at once. As before, select ‘genotype’
    under the ‘Color by’ dropdown. This time, leave the second dropdown box set as ‘nucleotide’. Type in the
    following positions, separated by commas but without spaces: 3501,3972,6966. Press enter, and ensure you
    can see the legend at the top of the phylogeny panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="/talk_images/zika_tutorial_multiNT.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    The phylogeny is now coloured by the nucleotide present at each of these three positions.
&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Colormaps and geographical coordinates</title><link href="/202609_IAEA_color_geo.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_color_geo.html</id><summary type="html">&lt;h2&gt;Colors&lt;/h2&gt;
&lt;p&gt;Auspice uses a number of default color schemes to color the tree using meta data or values that the augur pipeline computed.
In some cases these defaults are not suitable for particular type of data (countries, host species often fall into this category) and it is advisable to specify …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Colors&lt;/h2&gt;
&lt;p&gt;Auspice uses a number of default color schemes to color the tree using meta data or values that the augur pipeline computed.
In some cases these defaults are not suitable for particular type of data (countries, host species often fall into this category) and it is advisable to specify your own color schemes.
To specify a mapping between discrete values and colors, you can pass a tab-delimited fill to the augur export step.
This file should contain 3 columns separated by tab characters. The first columns specifies the trait (e.g.~country, host species, ...), the second columns specifies the value of the trait, and the third the associated color in hexadecimal notation.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;country thailand    #511EA8
country vietnam #4928B4
country singapore   #4334BF
country french_polynesia    #4041C7
country american_samoa  #3F50CC
country fiji    #3F5ED0
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The hexadecimal notation starts with a #, followed by two letters coding for red, green, blue values.
If you need advice or inspiration for colors, have a look at &lt;a href="https://colorbrewer2.org/"&gt;colorbrewer&lt;/a&gt;.
In our zika tutorial, this color file will be passed to the augur export command as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;--colors&lt;span class="w"&gt; &lt;/span&gt;config/colors.tsv
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Latitudes and longitudes&lt;/h2&gt;
&lt;p&gt;To place sequences on a map, auspice needs to know where the locations you specify are on the globe.
These coordinates are provided by augur and augur has preset coordinates for many places.
Some places, however, will inevitably be missing and you need to tell augur the latitudes and longitude of all locations not covered by defaults.
The file for latitude and longitude needs to be a tab-delimited table with four columns:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;country brazil  -10.3333332 -53.1999999
country colombia    2.893108    -73.7845142
country dominican_republic  18.50012    -69.98857
country ecuador -1.3397667  -79.3666964
country french_polynesia    -17.6797    -149.4068
country guatemala   15.6356088  -89.8988086
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The first columns specifies the type of location (country, city, region, ...) corresponding to a field in your meta data.
The second is the actual name of the location, while the third and fourth columns are latitude and longitude.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Introduction to Phylogenetic Analysis</title><link href="/202609_IAEA_intro.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_intro.html</id><summary type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many times and random mutations -- copying mistakes -- will accumulate in the genome.
Such random mutations can help to track the spread of the pathogen and learn about its transmission routes and dynamics.&lt;/p&gt;
&lt;p&gt;&lt;img alt="transmission_sketch" src="/talk_images/infection_tree_combined.png"&gt;&lt;/p&gt;
&lt;p&gt;The illustration above shows a transmission tree with a subset of cases that were sampled (blue).
In practice, the transmission tree is unknown and typically only rough estimates of the total case counts are available.
Genome sequences, however, will allow us to reconstruct the transmission tree.
In this example, three mutations (little diamonds) are indicated on the tree and these mutations allow us to group samples into clusters of closely related viruses that belong to the same transmission chains.
Real data will contain many more mutations and many more samples that allow detailed reconstructions.&lt;/p&gt;
&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Sequencing of pathogens from patient samples and the processing of the raw sequence data won't be discussed here.
We start assuming we have genome sequences of the same pathogen sampled from many cases during an outbreak.
These will typically come as text files in &lt;em&gt;fasta&lt;/em&gt; format:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;Sample_A
ACTGCTCGATCGCTACGCTACGCTA...
&amp;gt;Sample_B
CTGCTCCATCGATCGCTANNNN...
&amp;gt;...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Each line that starts with a '&amp;gt;' sign is interpreted as a line that specifies the name of the sample, followed by the sequence.
The sequence can be broken over several lines.
Sequences obtained in outbreak scenarios will often be incomplete.
Unknown bases are typically denoted by 'N', but other characters like '?' or '.' are also common.&lt;/p&gt;
&lt;p&gt;Fasta files like the above will be the point of departure for the phylogenetic analysis that follow.&lt;/p&gt;
&lt;h2&gt;Alignment&lt;/h2&gt;
&lt;p&gt;Partial genome sequences typically don't all start in exactly the same place and mutations not only change the nucleotide content but can also delete or insert a couple of bases.
As a consequence, the different sequences are not in register and need to be &lt;em&gt;aligned&lt;/em&gt;.
Such alignments are a common task in bioinformatics and many robust programs are available to solve this problem.
The aim is to insert gaps into the sequences, encoded with character '-', that corresponding characters are in the same column.
For the two sequences from above, this would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ACTGCTCGATCGCTACGCTACGCTA...
-CTGCTCCATCGAT-CGCTANNNN...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;At most positions, the two sequences now agree.
Formally, alignment is trying to insert gaps such that &lt;em&gt;homologous&lt;/em&gt; parts (i.e. parts that descent from a common ancestral sequence) of the sequence are in the same column.
Common programs to perform this task are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mafft.cbrc.jp/alignment/software/"&gt;mafft&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drive5.com/muscle/"&gt;muscle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.clustal.org/"&gt;clustalW&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The output of an alignment is best viewed (and edited) in specialized multiple alignment viewers.
My favorite one is &lt;a href="https://ormbunkar.se/aliview/"&gt;aliview&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="aliview" src="/talk_images/aliview_screenshot.png"&gt;&lt;/p&gt;
&lt;h2&gt;Phylogenetic trees&lt;/h2&gt;
&lt;p&gt;Once sequences are aligned, we can meaningfully look for differences between them and group them into clusters of similar sequences, which in essence boils down to reconstructing their "family tree" or evolutionary history.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/toy_alignment_tree.svg" alt="toy_tree" width="800"/&gt;&lt;/p&gt;
&lt;p&gt;One the right, different colored balls indicate differences between the sequences that we assume originated in a mutation event in a common ancestor of all sequences that carry the variant.
In this simple example, it is straightforward to group sequences according to the mutations they carry -- in practice finding the tree that explains your data best is a computationally challenging problem.
But a large number of highly optimized programs are available to solve this task.
We will use one of the following three&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://iqtree.github.io/"&gt;IQ-TREE&lt;/a&gt;: Fast and accurate&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/amkozlov/raxml-ng"&gt;RAxML-NG&lt;/a&gt;: Current gold standard, but slower than IQ-TREE&lt;/li&gt;
&lt;li&gt;&lt;a href="https://morgannprice.github.io/fasttree/"&gt;FastTree&lt;/a&gt;: Fast and rough, but often good enough (depends who you ask)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most common output format of these programs is called &lt;a href="https://en.wikipedia.org/wiki/Newick_tree_format"&gt;&lt;em&gt;newick&lt;/em&gt; format&lt;/a&gt;.
The branch length of trees estimated by the above programs roughly correspond to the fraction of positions in the sequence that changed along the branch (more precisely the expected number of changes per site).&lt;/p&gt;
&lt;p&gt;Trees can graphed in different ways.
The most important distinction is whether a tree is rooted or not.
In a rooted tree (the left example below) a particular bifurcation is the ancestor of &lt;em&gt;all&lt;/em&gt; sequences in the sample.
Time scaled phylogenies (where branch length corresponds to time) will always be rooted and the root is by necessity the oldest node.
In other applications, it is difficult to single out a root node and a more appropriate layout is and &lt;em&gt;unrooted&lt;/em&gt; layout shown on the right.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/rooted_vs_unrooted.png" alt="rooted_vs_unrooted" width="800"/&gt;&lt;/p&gt;
&lt;h2&gt;Molecular clock and transmission&lt;/h2&gt;
&lt;p&gt;The number of changes accumulate in a pathogen genome in a year depends on&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the mutation rate&lt;/li&gt;
&lt;li&gt;the duration of one replication cycle&lt;/li&gt;
&lt;li&gt;the size of the genome&lt;/li&gt;
&lt;li&gt;the fraction of mutations that persist and spread&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While the first three factors are very natural and intuitive, the last one depends on the biology of the pathogen and the environment it is replicating in.
The majority of mutations that change the sequence of important proteins will be detrimental and are quickly removed by natural selection, while other mutations, for example those that help a virus to evade human immunity, will preferentially spread.
In addition, a substantial fraction of mutations (mostly mutations at 3rd codon positions) don't affect pathogen replication much and accumulate freely.
As a consequence, the exact rate at which changes accumulate is not known a priori.
Nevertheless, mutations tend to accumulate at a constant rate and the accumulation can be used as a &lt;em&gt;molecular clock&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The molecular clock is a relationship between time and the expected number of changes in the sequence.
These substitution rates vary greatly between organisms and within organisms between genomic regions&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: \(0.0001\ldots 0.01\) substitutions per site and year&lt;/li&gt;
&lt;li&gt;bacteria: \(10^{-8}\ldots 10^{-6}\) substitutions per site and year&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Multiplying the rate per site with the size of the genome, we get the expected number of substitutions per year:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: Genome size \(\approx 10^{4}\) &amp;rarr; 1-100 substitutions year and genome&lt;/li&gt;
&lt;li&gt;bacteria: Genome size \(5\times 10^{6}\) &amp;rarr; \(0.05 - 5\) substitutions per year and genome&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This suggests that whole genome sequencing often has high enough resolution to distinguish pathogens that were sequences a few month apart -- sometimes even down to a few weeks.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Parsing meta data from fasta files</title><link href="/202609_IAEA_meta_from_fasta.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_meta_from_fasta.html</id><summary type="html">&lt;p&gt;If you download sequence data from data bases like GISAID or fludb, there often is an option to include meta data such as dates into the header of fasta files.
This might for example look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;A/Canoas/LACENRS_1793/2015|A|H3N2|07/17/2015||Brazil|Human|KY925125
ATG …&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;p&gt;If you download sequence data from data bases like GISAID or fludb, there often is an option to include meta data such as dates into the header of fasta files.
This might for example look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;A/Canoas/LACENRS_1793/2015|A|H3N2|07/17/2015||Brazil|Human|KY925125
ATG...
&amp;gt;A/Canoas/LACENRS_773/2015|A|H3N2|05/06/2015||Brazil|Human|KY925599
ATG...
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The fasta header contains information such as influenza lineage, dates (in an unpreferred format), country, etc...
To turn this metadata into a table, augur has a special command called &lt;code&gt;parse&lt;/code&gt;.
A rule to parse the above file could look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;parse:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/h3n2_ha.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/sequences_h3n2_ha.fasta&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/metadata_h3n2_ha.tsv&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;fields&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;strain type subtype date season country host accession&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur parse \&lt;/span&gt;
&lt;span class="s2"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;            --fields {params.fields} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-sequences {output.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-metadata {output.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --fix-dates monthfirst&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Note the additional argument &lt;code&gt;--fix-dates monthfirst&lt;/code&gt;.
This triggers an attempt to parse these dates and turn them into ISO format assuming that the month preceeds the date in the input data.
Note that this is a brittle process that should be spot-checked.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Optional parameters of the refine command</title><link href="/202609_IAEA_refine.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_refine.html</id><summary type="html">&lt;h1&gt;Specify the evolutionary rate&lt;/h1&gt;
&lt;p&gt;By default &lt;code&gt;augur&lt;/code&gt; (through &lt;code&gt;treetime&lt;/code&gt;) will estimate the rate of evolution from the data by regressing divergence vs sampling date.
In some scenarios, however, there is insufficient temporal signal to reliably estimate the rate and the analysis will be more robust and reproducible if one fixes …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Specify the evolutionary rate&lt;/h1&gt;
&lt;p&gt;By default &lt;code&gt;augur&lt;/code&gt; (through &lt;code&gt;treetime&lt;/code&gt;) will estimate the rate of evolution from the data by regressing divergence vs sampling date.
In some scenarios, however, there is insufficient temporal signal to reliably estimate the rate and the analysis will be more robust and reproducible if one fixes this rate explicitly.
This can be done via the flag &lt;code&gt;--clock-rate &amp;lt;value&amp;gt;&lt;/code&gt; where the implied units are substitutions per site and year.
In our zika example, this would look like this&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule refine:
&lt;span class="w"&gt; &lt;/span&gt;   input:
&lt;span class="w"&gt; &lt;/span&gt;       tree = rules.tree.output.tree,
&lt;span class="w"&gt; &lt;/span&gt;       alignment = rules.align.output,
&lt;span class="w"&gt; &lt;/span&gt;       metadata = &amp;quot;data/metadata.tsv&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   output:
&lt;span class="w"&gt; &lt;/span&gt;       tree = &amp;quot;results/tree.nwk&amp;quot;,
&lt;span class="w"&gt; &lt;/span&gt;       node_data = &amp;quot;results/branch_lengths.json&amp;quot;
&lt;span class="gi"&gt;+    params:&lt;/span&gt;
&lt;span class="gi"&gt;+       clock_rate = 0.0008&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;   shell:
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;       augur refine \
&lt;span class="w"&gt; &lt;/span&gt;           --tree {input.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --alignment {input.alignment} \
&lt;span class="w"&gt; &lt;/span&gt;           --metadata {input.metadata} \
&lt;span class="w"&gt; &lt;/span&gt;           --timetree \
&lt;span class="gi"&gt;+           --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           --output-tree {output.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --output-node-data {output.node_data}
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1&gt;Confidence intervals for divergence times&lt;/h1&gt;
&lt;p&gt;Divergence time estimates are probabilistic and uncertain for multiple reasons, primarily because the accumulation of mutations is a probabilistic process and the rate estimate itself is not precise.
Augur/TreeTime will account for this uncertainty if the refine command is run with the flag &lt;code&gt;--date-confidence&lt;/code&gt; and the standard deviation of the rate estimate is specified.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule refine:
&lt;span class="w"&gt; &lt;/span&gt;   input:
&lt;span class="w"&gt; &lt;/span&gt;       tree = rules.tree.output.tree,
&lt;span class="w"&gt; &lt;/span&gt;       alignment = rules.align.output,
&lt;span class="w"&gt; &lt;/span&gt;       metadata = &amp;quot;data/metadata.tsv&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   output:
&lt;span class="w"&gt; &lt;/span&gt;       tree = &amp;quot;results/tree.nwk&amp;quot;,
&lt;span class="w"&gt; &lt;/span&gt;       node_data = &amp;quot;results/branch_lengths.json&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   params:
&lt;span class="w"&gt; &lt;/span&gt;       clock_rate = 0.0008,
&lt;span class="gi"&gt;+       clock_std_dev = 0.0002&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;   shell:
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;       augur refine \
&lt;span class="w"&gt; &lt;/span&gt;           --tree {input.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --alignment {input.alignment} \
&lt;span class="w"&gt; &lt;/span&gt;           --metadata {input.metadata} \
&lt;span class="w"&gt; &lt;/span&gt;           --timetree \
&lt;span class="w"&gt; &lt;/span&gt;           --date-confidence \
&lt;span class="gi"&gt;+            --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="gi"&gt;+            --clock-std-dev {params.clock_std_dev} \&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           --output-tree {output.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --output-node-data {output.node_data}
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If run with these parameters, augur will save an confidence interval (e.g. &lt;code&gt;[2014.5,2014.7]&lt;/code&gt;) for each node in the tree.&lt;/p&gt;
&lt;p&gt;By default, augur runs TreeTime in a "covariance-aware" mode where the root-to-tip regression accounts for shared ancestry and covariance between terminal nodes.
This, however, is sometimes unstable when the temporal signal is low and can be switch off with the flag &lt;code&gt;--no-covariance&lt;/code&gt;.&lt;/p&gt;
&lt;h1&gt;Specifying the root of the tree&lt;/h1&gt;
&lt;p&gt;By default, augur/TreeTime reroots your input tree to optimize the temporal signal in the data. This is robust when there is robust temporal signal.
In other situations, you might want to specify the root explicitly, specify a rerooting mechanisms, or keep the root of the input tree.
The latter can be achieved by passing the argument &lt;code&gt;--keep-root&lt;/code&gt;.
To specify a particular strain (or the common ancestor of a group of strains), pass the name(s) of the(se) strain(s) like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;--root&lt;span class="w"&gt; &lt;/span&gt;strain1&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;strain2&lt;span class="w"&gt; &lt;/span&gt;strain3&lt;span class="w"&gt; &lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Other available rooting mechanisms are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;least-squares&lt;/code&gt; (default): minimize squared deviation of the root-to-tip regression&lt;/li&gt;
&lt;li&gt;&lt;code&gt;min-dev&lt;/code&gt;: essentially midpoint rooting minimizing the variance in root-to-tip distance&lt;/li&gt;
&lt;li&gt;&lt;code&gt;oldest&lt;/code&gt;: use the oldest strain as outgroup&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Polytomy resolution&lt;/h1&gt;
&lt;p&gt;if the data set contains many very similar sequences, their evolutionary relationship some times remains ambiguous resulting in zero-length branches or polytomies (that is internal nodes with more than 2 children).
Augur partially resolves those polytomies if such resolution helps the make the tree fit the temporal structure in the data.
If this is undesired, this can be switched-off using &lt;code&gt;--keep-polytomies&lt;/code&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Important tips for your own analysis</title><link href="/202609_IAEA_tips_and_tricks.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_tips_and_tricks.html</id><summary type="html">&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Your sequence data should&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;consist of homologous sequences that can be aligned unambiguously&lt;/li&gt;
&lt;li&gt;needs to contain sufficient diversity to allow reliable tree reconstruction&lt;/li&gt;
&lt;li&gt;should be of similar length. Mixing short sequences (300bp) with much longer ones (10000bp) often yields unexpected results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Reference sequence&lt;/h2&gt;
&lt;p&gt;A reference sequence is needed …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Your sequence data should&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;consist of homologous sequences that can be aligned unambiguously&lt;/li&gt;
&lt;li&gt;needs to contain sufficient diversity to allow reliable tree reconstruction&lt;/li&gt;
&lt;li&gt;should be of similar length. Mixing short sequences (300bp) with much longer ones (10000bp) often yields unexpected results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Reference sequence&lt;/h2&gt;
&lt;p&gt;A reference sequence is needed to obtain consistent alignment coordinates and sequence numbering. In addition, a reference sequence provides the annotation, typically stored in genbank format. Augur will not use all annotated features listed in a genbank file but only those marked in a specific way:&lt;/p&gt;
&lt;p&gt;To ensure augur interprets an annotation as a protein feature, it should be of type &lt;code&gt;CDS&lt;/code&gt; and contain a tag &lt;code&gt;gene&lt;/code&gt; or &lt;code&gt;locus_tag&lt;/code&gt;, for example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;     CDS             961..2472
                     /product=&amp;quot;envelope protein&amp;quot;
                     /gene=&amp;quot;ENV&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You might have to manually adjust the genbank file to make that work.&lt;/p&gt;
&lt;h2&gt;Metadata&lt;/h2&gt;
&lt;p&gt;Metadata would typically include collection dates, geographic location, symptoms of patients, host characteristics, etc.
But for Nextstrain to be able to parse these and visualize them, they need to be formated consistently.
An example meta data file is shown here:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;strain&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="n"&gt;accession&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0087_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447509&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0181_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447512&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0199_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447519&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY785433&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;04&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;08&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY558989&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;02&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;23&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;There needs to be at least one column named &lt;code&gt;strain&lt;/code&gt; or &lt;code&gt;name&lt;/code&gt;.
These need to match the identifiers of your sequences (in the Fasta file) &lt;em&gt;exactly&lt;/em&gt; and must not contain characters such as spaces, or &lt;code&gt;()[]{}|#&amp;gt;&amp;lt;&lt;/code&gt;.
Dates should be formated according as &lt;code&gt;YYYY-MM-DD&lt;/code&gt;.
You can specify unknown dates or month by replacing the respected values by &lt;code&gt;XX&lt;/code&gt; (ex: &lt;code&gt;2013-01-XX&lt;/code&gt; or &lt;code&gt;2011-XX-XX&lt;/code&gt;) and completely unknown dates can be shown with &lt;code&gt;20XX-XX-XX&lt;/code&gt; (which does not restrict the sequence to being in the 21st century - they could be earlier).&lt;/p&gt;
&lt;p&gt;Because Excel will automatically change the date formatting, we recommend &lt;strong&gt;not&lt;/strong&gt; opening or preparing your meta data file in Excel.
If the meta data is already in Excel, or you decide to prepare it in Excel, we recommend using another program to correct the dates afterwards (and don't open it in Excel again!).&lt;/p&gt;
&lt;h2&gt;Rooting of the tree&lt;/h2&gt;
&lt;p&gt;Augur (through treetime) will attempt to find a root for the inferred tree that is most compatible with the collection dates of your sequences.
This doesn't always work, in particular if sampling through time is very uneven and there is little temporal signal in the data (e.g. your sample consists of several distant clades).
In this case, you might need to provide an explicit outgroup to root the tree.&lt;/p&gt;
&lt;h2&gt;Auspice config file&lt;/h2&gt;
&lt;p&gt;The current version of auspice requires a file that specifies some aspects of how your analysis is visualized.
The following shows an example json file with ADDED comments (following //). These NEED to be REMOVED for it to be a valid json and work!&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// This will appear as the title of your analysis&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Real-time tracking of Zika virus evolution&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// the following will appear in the menu from which you choose colorings&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// to be understood by auspice, they need to follow as specific formating&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// and the options `gt` and `num_date` should be left as is.&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// you can add additional color options corresponding to columns in your metadata&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;color_options&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;gt&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genotype&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Genotype&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genotype&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;num_date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Sampling date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;continuous&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;num_date&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// specifies how strains are aggregated on the map&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;geo&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// which panels to show. additional options are `entropy` and `frequency`&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;panels&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:[&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;tree&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;map&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;defaults&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;mapTriplicate&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// put your name and contact details...&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;maintainer&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Trevor Bedford&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;http://bedford.io/team/trevor-bedford/&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// discrete fields by which you can filter the data. corresponds to&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// columns in meta data&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;filters&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>The nextstrain toolchain</title><link href="/202609_IAEA_toolchain.html" rel="alternate"></link><published>2026-09-29T00:00:00+02:00</published><updated>2026-09-29T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2026-09-29:/202609_IAEA_toolchain.html</id><summary type="html">&lt;p&gt;Nextstrain consists of two components&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/augur"&gt;augur&lt;/a&gt;: a modular phylogenetic analysis workflow&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/auspice"&gt;auspice&lt;/a&gt;: an interactive web-app for visualization&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Augur is composed of a series of modules and different workflows will use different parts of the pipeline.
A selection of augur modules and different possible entry points are illustrated below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="pipeline" src="/talk_images/nextstrain_pipeline.png"&gt;&lt;/p&gt;
&lt;p&gt;The canonical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Nextstrain consists of two components&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/augur"&gt;augur&lt;/a&gt;: a modular phylogenetic analysis workflow&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/auspice"&gt;auspice&lt;/a&gt;: an interactive web-app for visualization&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Augur is composed of a series of modules and different workflows will use different parts of the pipeline.
A selection of augur modules and different possible entry points are illustrated below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="pipeline" src="/talk_images/nextstrain_pipeline.png"&gt;&lt;/p&gt;
&lt;p&gt;The canonical pipeline would ingest sequences and metadata such as dates and sampling locations, filter the data, align the sequences, infer a tree, and export the results in a format that can be visualized by auspice.
For a step by step explanation on how your analysis is built up using augur steps, see this &lt;a href="/teaching_notes/201909_Emma_augur_steps.pdf"&gt;slide deck&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In some cases, you might start with a manually curated alignment and want to start the workflow at the tree building step.
Or you already have a tree inferred. In this case, you only need to feed you tree through the &lt;code&gt;refine&lt;/code&gt; and &lt;code&gt;export&lt;/code&gt; steps.
The &lt;code&gt;refine&lt;/code&gt; step is necessary to ensure that cross-referencing between tree nodes and meta data works as expected.
For a full list of augur modules, see the &lt;a href="https://docs.nextstrain.org/projects/augur/en/stable/usage/cli/cli.html"&gt;augur documentation&lt;/a&gt;.
Augur includes for example modules for phylogeographic analysis and ancestral sequences reconstruction.&lt;/p&gt;
&lt;p&gt;The different augur modules can be strung together by workflow managers like snakemake and nextflow.
The nextstrain team uses &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;snakemake&lt;/a&gt; to run and manage the different analysis that you see on &lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>PoL I: Quantitative problems, dimensions, and units</title><link href="/PoLI_2026_week01_UnitsAndLaws.html" rel="alternate"></link><published>2026-09-17T00:00:00+02:00</published><updated>2026-09-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-09-17:/PoLI_2026_week01_UnitsAndLaws.html</id><summary type="html">&lt;section class="slide frame"&gt;
    &lt;h3&gt;Physics of Life I&lt;/h3&gt;
    &lt;div class="cols"&gt;
        &lt;div class="center"&gt;
            &lt;h4&gt;Part I&lt;/h4&gt;
            &lt;div class="smalltext"&gt;Weeks 1&amp;ndash;7&lt;/div&gt;
            &lt;img class="portrait" src="/images/Richard_Neher.jpg" alt="Richard Neher"&gt;
            &lt;div class="bodytext"&gt;Richard Neher&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="center"&gt;
            &lt;h4&gt;Part II&lt;/h4&gt;
            &lt;div class="smalltext"&gt;Weeks 8&amp;ndash;14&lt;/div&gt;
            &lt;img class="portrait" src="/images/Sebastian_hiller.jpg" alt="Sebastian Hiller"&gt;
            &lt;div class="bodytext"&gt;Sebastian Hiller&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Part I &amp;ndash; weeks 1&amp;ndash;7&lt;/h3&gt;
    &lt;div class="bodytext"&gt;&lt;b&gt;How general physical principles govern the organization of biological processes&lt;/b&gt;&lt;/div&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Scales and units:&lt;/b&gt; sizes, energies, concentrations, orders of magnitude&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Dynamical systems:&lt;/b&gt; differential equations to describe biology&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Gene …&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="slide frame"&gt;
    &lt;h3&gt;Physics of Life I&lt;/h3&gt;
    &lt;div class="cols"&gt;
        &lt;div class="center"&gt;
            &lt;h4&gt;Part I&lt;/h4&gt;
            &lt;div class="smalltext"&gt;Weeks 1&amp;ndash;7&lt;/div&gt;
            &lt;img class="portrait" src="/images/Richard_Neher.jpg" alt="Richard Neher"&gt;
            &lt;div class="bodytext"&gt;Richard Neher&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="center"&gt;
            &lt;h4&gt;Part II&lt;/h4&gt;
            &lt;div class="smalltext"&gt;Weeks 8&amp;ndash;14&lt;/div&gt;
            &lt;img class="portrait" src="/images/Sebastian_hiller.jpg" alt="Sebastian Hiller"&gt;
            &lt;div class="bodytext"&gt;Sebastian Hiller&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Part I &amp;ndash; weeks 1&amp;ndash;7&lt;/h3&gt;
    &lt;div class="bodytext"&gt;&lt;b&gt;How general physical principles govern the organization of biological processes&lt;/b&gt;&lt;/div&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Scales and units:&lt;/b&gt; sizes, energies, concentrations, orders of magnitude&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Dynamical systems:&lt;/b&gt; differential equations to describe biology&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Gene regulation:&lt;/b&gt; transcription factor binding and genetic circuits&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Random walks and diffusion:&lt;/b&gt; fluxes, Stokes-Einstein relation&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Polymers:&lt;/b&gt; DNA and the cytoskeleton&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Part II &amp;ndash; weeks 8&amp;ndash;14&lt;/h3&gt;
    &lt;div class="bodytext"&gt;&lt;b&gt;Physical concepts to describe molecular processes of life quantitatively&lt;/b&gt;&lt;/div&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;&lt;b&gt;Classical thermodynamics:&lt;/b&gt; states, kinetic gas theory, entropy&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Statistical thermodynamics:&lt;/b&gt; Maxwell-Boltzmann and Gibbs distributions&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Thermodynamic potentials:&lt;/b&gt; the four laws of thermodynamics&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Reaction kinetics, enzymes, cooperativity&lt;/b&gt;&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;Stability of biomolecules:&lt;/b&gt; protein stability and denaturation&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;b&gt;Physics is very effective in simple and controlled systems&lt;/b&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;Laws of physics connect fundamental particles and forces.&lt;/li&gt;
        &lt;li&gt;These laws explain properties of simple systems and homogeneous matter&lt;/li&gt;
        &lt;li&gt;Good understanding of systems at equilibrium or isolated systems&lt;/li&gt;
        &lt;li&gt;These laws also govern complex systems, but the connection between the laws and the behavior is hard to decipher&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;b&gt;Biological complexity&lt;/b&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;Biological systems evolved -- layering complexity&lt;/li&gt;
        &lt;li&gt;Cells consist of thousands of molecular species, interacting in complicated ways&lt;/li&gt;
        &lt;li&gt;Biology is always in flux.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Physics vs Biology&lt;/h3&gt;
    &lt;div class="cols"&gt;
        &lt;div&gt;
            &lt;img src="https://upload.wikimedia.org/wikipedia/commons/1/1f/Two-body_Jacobi_coordinates.JPG" alt="Jacobi coordinates of a two-body system"&gt;
            &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Two-body_Jacobi_coordinates.JPG"&gt;Wikipedia, by Brews Oshare&lt;/a&gt;&lt;/span&gt;
            &lt;ul class="smalltext"&gt;
                &lt;li&gt;Equations that govern the dynamics&lt;/li&gt;
                &lt;li&gt;Exact predictions of future configuration&lt;/li&gt;
                &lt;li&gt;Good understanding what is relevant, and what can be ignored.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
        &lt;div class="fragment"&gt;
            &lt;img src="/talk_images/981px-Signal_transduction_pathways.svg.png" alt="Map of cellular signal transduction pathways"&gt;
            &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=12081090"&gt;Wikipedia, by cybertory&lt;/a&gt;&lt;/span&gt;
            &lt;ul class="smalltext"&gt;
                &lt;li&gt;Long, but incomplete, list of components&lt;/li&gt;
                &lt;li&gt;Only qualitative description of interactions&lt;/li&gt;
                &lt;li&gt;Perturbations are often binary&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;From description to quantitative understanding!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Quantitative questions&lt;/h3&gt;
    &lt;ul class="bodytext"&gt;
        &lt;li&gt;How many human cells are in your body?&lt;/li&gt;
        &lt;li&gt;How many other cells?&lt;/li&gt;
        &lt;li&gt;How many ribosomes/signaling molecules are in a cell?&lt;/li&gt;
        &lt;li&gt;How do genes regulate each other?&lt;/li&gt;
        &lt;li&gt;How rapidly does a protein move from one end of the cell to another?&lt;/li&gt;
        &lt;li&gt;What fraction of transcription factors is bound to DNA?&lt;/li&gt;
        &lt;li&gt;What are the speed limits for biochemical reactions?&lt;/li&gt;
        &lt;li&gt;What are the maximal efficiencies of molecular machines? &lt;/li&gt;
        &lt;li&gt;How are polarities and developmental gradients set up?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul class="bodytext fragment"&gt;
        &lt;li&gt;&lt;b&gt;Not:&lt;/b&gt; Gene X causes Y&lt;/li&gt;
        &lt;li&gt;&lt;b&gt;But:&lt;/b&gt; 20% faster diffusion of gene X extends the gradient by $20\mu m$&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;div class="cols"&gt;
        &lt;div&gt;
            &lt;h5&gt;&lt;b&gt;Dimensions&lt;/b&gt;&lt;/h5&gt;
            &lt;ul class="bodytext"&gt;
                &lt;li&gt;length&lt;/li&gt;
                &lt;li&gt;weight&lt;/li&gt;
                &lt;li&gt;energy&lt;/li&gt;
                &lt;li&gt;current&lt;/li&gt;
                &lt;li&gt;force&lt;/li&gt;
                &lt;li&gt;temperature&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
        &lt;div class="fragment"&gt;
            &lt;h5&gt;&lt;b&gt;Units:&lt;/b&gt;&lt;/h5&gt;
            &lt;ul class="bodytext"&gt;
                &lt;li&gt;length: meters, miles, feet, Angstrom&lt;/li&gt;
                &lt;li&gt;weight: grams, stones,&lt;/li&gt;
                &lt;li&gt;energy: Joules, calories&lt;/li&gt;
                &lt;li&gt;current: ampere&lt;/li&gt;
                &lt;li&gt;force: Newton&lt;/li&gt;
                &lt;li&gt;temperature: Celsius, Kelvin&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;ul class="bodytext fragment"&gt;
        &lt;li&gt;Dimensions describe the nature of a quantity&lt;/li&gt;
        &lt;li&gt;Units are conventions to measure them&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;Comparing quantities&lt;/h3&gt;
    &lt;div class="narrow"&gt;
        &lt;ul class="bodytext"&gt;
            &lt;li&gt;Only quantities of the same dimension can be compared: length $X$ is greater than length $Y$ etc. There is no sense is which length $X$ can be greater than weight $Y$.&lt;/li&gt;
            &lt;li class="fragment"&gt;Units are conventions -- there is nothing fundamental about them.&lt;/li&gt;
            &lt;li class="fragment"&gt;Some unit systems are more convenient than others.&lt;/li&gt;
            &lt;li class="fragment"&gt;Everyday units are often inconvenient for biological processes.&lt;/li&gt;
            &lt;li class="fragment"&gt;We can pick units to make things as simple as possible.&lt;/li&gt;
            &lt;li class="fragment"&gt;Laws of physics connect quantities of different dimensions.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;High level aims of this course&lt;/h3&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="narrow"&gt;
        &lt;ul class="bodytext"&gt;
            &lt;li&gt;Understand how physics constrains biological processes.&lt;/li&gt;
            &lt;li&gt;Draw connections between processes at the molecular, organelle, cellular, and organism level.&lt;/li&gt;
            &lt;li&gt;Enable you to reason quantitatively about biological problems.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="slide frame"&gt;
    &lt;h3&gt;On AI use in this course&lt;/h3&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="bodytext center"&gt;&lt;b&gt;You are here to acquire new skills &amp;ndash; and no AI can acquire it for you.&lt;/b&gt;&lt;/div&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="bodytext center fragment"&gt;&lt;b&gt;I don't have perfect guidance, but this is my recommendation:&lt;/b&gt;&lt;/div&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="cols"&gt;
        &lt;div class="fragment"&gt;
            &lt;h4&gt;Don't use AI as a shortcut&lt;/h4&gt;
            &lt;ul class="smalltext"&gt;
                &lt;li&gt;Everything in this course is well known &amp;ndash; an LLM solves every exercise instantly.&lt;/li&gt;
                &lt;li&gt;An AI solution of an exercise might earn you the points, but you have missed a learning opportunity.&lt;/li&gt;
                &lt;li&gt;Getting stuck, and getting unstuck, is where the learning happens.&lt;/li&gt;
                &lt;li&gt;You want to be the one in the driver seat -- that takes work!&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
        &lt;div class="fragment"&gt;
            &lt;h4&gt;AI as a tutor&lt;/h4&gt;
            &lt;ul class="smalltext"&gt;
                &lt;li&gt;Ask for a hint, not for the solution.&lt;/li&gt;
                &lt;li&gt;Ask it to explain the same idea in three different ways.&lt;/li&gt;
                &lt;li&gt;Solve it yourself first, then ask it to find your error.&lt;/li&gt;
                &lt;li&gt;When programming, outline the algorithm first for yourself. Make sure to keep it simple.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/images/ai_homework.png" alt="AI homework, D. Strömberg et al., preprint June 2026 via the economist" height=800px&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Epistasis and the changing fitness landscapes of SARS-CoV-2</title><link href="/sesta_epistasis_2026.html" rel="alternate"></link><published>2026-09-17T00:00:00+02:00</published><updated>2026-09-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-09-17:/sesta_epistasis_2026.html</id><summary type="html">&lt;p&gt;Since its emergence in late 2019, millions of SARS-CoV-2 genomes have been generated as part of global efforts to monitor the evolution and spread of the virus. This unprecedented volume of data provides a unique opportunity to study viral evolution at unparalleled resolution. In particular, individual genomic sites can be …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Since its emergence in late 2019, millions of SARS-CoV-2 genomes have been generated as part of global efforts to monitor the evolution and spread of the virus. This unprecedented volume of data provides a unique opportunity to study viral evolution at unparalleled resolution. In particular, individual genomic sites can be observed to have mutated independently thousands of times. These mutation counts have been used to estimate site-specific mutation rates and fitness effects for most mutations across the viral genome. Here, we use these data to investigate how the landscape of mutational fitness costs has changed over the course of the pandemic. SARS-CoV-2 evolution over the past 6 years has been characterized by the emergence of distinct variants separated by long branches corresponding to evolutionary saltations involving up to 50 mutations. We compare inferred fitness landscapes of the Spike protein across these variants and find that shifts in the estimated effects of non-synonymous mutations are linked to genetic differences between them. Sites with altered fitness costs are enriched near positions where the genetic backgrounds differ. To explain the observed changes, we introduce a model with pairwise epistatic interactions between mutations and residues that differ between variants. This model is able to explain about half of the variance in the shifts of fitness effects and suggests that each mismatch between variants substantially alters mutation effects at typically 1 to 3 additional positions.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Near real-time data on the human neutralizing antibody landscape to influenza virus as of early 2026 to inform vaccine-strain selection</title><link href="/kikawa_near_2026.html" rel="alternate"></link><published>2026-07-26T00:00:00+02:00</published><updated>2026-07-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-07-26:/kikawa_near_2026.html</id><summary type="html">&lt;p&gt;Twice each year, a decision is made on whether to update the strains included in the seasonal influenza vaccine to better match the most recent circulating viral strains. To characterize the antigenic properties of current seasonal influenza A strains to inform the upcoming decision about which strains to include in …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Twice each year, a decision is made on whether to update the strains included in the seasonal influenza vaccine to better match the most recent circulating viral strains. To characterize the antigenic properties of current seasonal influenza A strains to inform the upcoming decision about which strains to include in the 2026–7 Northern Hemisphere vaccine, here we perform high-throughput sequencing–based neutralization assays using a library of 57 H3N2 and 34 H1N1 influenza hemagglutinins reflecting the circulating diversity of strains in late 2025 to early 2026. We assay this library against 302 human sera collected in late 2025. The resulting data set encompasses 27 409 titres and provides a near real-time portrait of the human neutralizing antibody landscape against influenza virus. We find that many human sera have lower titres against the K subclade of H3N2 and the D.3.1.1 subclade of H1N1; these subclades have recently become dominant among their respective subtypes. Our measurements also reveal variability in titres to different subvariants within the K subclade of H3N2, with titres especially low to subclade K strains with additional mutations in antigenic regions D and E. We make all our data and accompanying visualizations publicly available to enable their use in vaccine-strain selection and analyses of influenza evolution and immunity.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Nextstrain automates real-time phylogenetic analysis of open data for endemic and emerging pathogens</title><link href="/andrews_nextstrain_2026.html" rel="alternate"></link><published>2026-07-17T00:00:00+02:00</published><updated>2026-07-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-07-17:/andrews_nextstrain_2026.html</id><summary type="html">&lt;p&gt;Motivation Genome sequencing provides an exceptional window into the evolutionary and epidemiological dynamics of endemic and emerging pathogens, and thus allows for better, more targeted, public health interventions. Online genomic surveillance platforms can provide near real-time insight into these dynamics.
Results Nextstrain provides continually updated real-time genomic surveillance for 21 …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Motivation Genome sequencing provides an exceptional window into the evolutionary and epidemiological dynamics of endemic and emerging pathogens, and thus allows for better, more targeted, public health interventions. Online genomic surveillance platforms can provide near real-time insight into these dynamics.
Results Nextstrain provides continually updated real-time genomic surveillance for 21 viruses and the bacterial pathogen Mycobacterium tuberculosis, with most analyses relying solely on open sequence data. Each pathogen includes steps to fetch and curate open data, classify sequences using established nomenclature systems, perform phylogenetic analyses, and share the results publicly. These analyses are automated, with most running daily to provide continually updated snapshots of pathogen evolution.
Availability and Implementation All source code is available at https://github.com/nextstrain. Phylogenetic results can be visualized and downloaded at https://nextstrain.org/pathogens, and open sequence data and curated metadata are available at https://nextstrain.org/pathogens/files.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Physics of Life</title><link href="/2026_PoLI_overview.html" rel="alternate"></link><published>2026-06-16T00:00:00+02:00</published><updated>2026-06-16T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-06-16:/2026_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming, and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use whatever programming language you like (for example R or Matlab).
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Laws of physics and differential equations&lt;/li&gt;
&lt;li&gt;Growth processes&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Membrane-less organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Literature&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Course materials&lt;/h3&gt;
&lt;p&gt;The course materials are provided on GitHub in &lt;a href="https://github.com/neherlab/PoL1-course-materials"&gt;PoL-1-course-materials&lt;/a&gt; repository. Exercise sheets and exercise submissions will be handled via ADAM.
Some introductory slides can be found &lt;a href="/PoLI_2026_week01_UnitsAndLaws.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Older recorded lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/videos/Arrays%20in%20NumPy.mp4"&gt;Arrays in NumPy.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Auto-activation%20and%20repression.mp4"&gt;Auto-activation and repression.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Boundary%20and%20initial%20conditions.mp4"&gt;Boundary and initial conditions.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Diffusion%20Equation.mp4"&gt;Diffusion Equation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Diffusive%20Transport%20and%20Fick's%20law.mp4"&gt;Diffusive Transport and Fick's law.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Elements%20of%20dynamical%20systems.mp4"&gt;Elements of dynamical systems.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Extra_%20SIR%20models.mp4"&gt;Extra_ SIR models.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Genome%20sizes.mp4"&gt;Genome sizes.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Introduction%20into%20gene%20regulation.mp4"&gt;Introduction into gene regulation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Introduction%20to%20polymer%20physics.mp4"&gt;Introduction to polymer physics.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Logistic%20growth.mp4"&gt;Logistic growth.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Morphogen%20gradients%20--%20regulation%20in%20space.mp4"&gt;Morphogen gradients -- regulation in space.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/P%20Granules%20and%20their%20liquid%20properties.mp4"&gt;P Granules and their liquid properties.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Phase%20Transitions%20in%20Biology.mp4"&gt;Phase Transitions in Biology.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Properties%20of%20membrane-less%20organelles.mp4"&gt;Properties of membrane-less organelles.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Pulling%20on%20polymers.mp4"&gt;Pulling on polymers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Random%20Walks.mp4"&gt;Random Walks.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Relevant%20length%20scales%20in%20biological%20systems.mp4"&gt;Relevant length scales in biological systems.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Relevant%20volumes%20and%20concentrations.mp4"&gt;Relevant volumes and concentrations.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20growth%20processes.mp4"&gt;Simple growth processes.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20models%20of%20demixing.mp4"&gt;Simple models of demixing.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20models%20of%20gene%20regulation.mp4"&gt;Simple models of gene regulation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stiff%20polymers.mp4"&gt;Stiff polymers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stochastic%20effects%20and%20low%20copy%20numbers.mp4"&gt;Stochastic effects and low copy numbers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stokes-Einstein%20relation.mp4"&gt;Stokes-Einstein relation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/The%20dynamic%20cytoskeleton.mp4"&gt;The dynamic cytoskeleton.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Typical%20energy%20scales%20and%20forces.mp4"&gt;Typical energy scales and forces.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Units,%20dimensions,%20and%20laws%20of%20physics.mp4"&gt;Units, dimensions, and laws of physics.mp4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>"Evolution of gene repertoire and genome structure in bacteria"</title><link href="/202603_APS.html" rel="alternate"></link><published>2026-03-17T00:00:00+01:00</published><updated>2026-03-17T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-03-17:/202603_APS.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1mFv4MxBrtVarpBE6dmAtFwvUHfrht7Oiqig7tfS-ouM/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Host-pathogen coevolution in the age of big data"</title><link href="/202602_WiKo.html" rel="alternate"></link><published>2026-02-26T00:00:00+01:00</published><updated>2026-02-26T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-02-26:/202602_WiKo.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1TvNxcg9ZdWyG9mVAw5dPmN5w2kTY547vRyeUp448vKk/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evolution and viral properties of the SARS-CoV-2 BA.3.2 subvariant</title><link href="/jule_evolution_2026.html" rel="alternate"></link><published>2026-02-20T00:00:00+01:00</published><updated>2026-02-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-02-20:/jule_evolution_2026.html</id><summary type="html">&lt;p&gt;The SARS-CoV-2 Omicron subvariant BA.3.2 descends from BA.3. It emerged two years after BA.3 ceased to circulate and differs by 39 spike mutations from BA.3. Similar to BA.2.86, which circulated at low levels before giving rise to JN.1, BA.3.2 shows …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The SARS-CoV-2 Omicron subvariant BA.3.2 descends from BA.3. It emerged two years after BA.3 ceased to circulate and differs by 39 spike mutations from BA.3. Similar to BA.2.86, which circulated at low levels before giving rise to JN.1, BA.3.2 shows a low but persistent circulation globally. Here, we characterize the phylogenetic origin, infection in cell culture, and neutralization of BA.3.2 using live virus and blood plasma samples collected in South Africa at different stages of the Covid-19 pandemic. Like the Omicron BA.2.86 subvariant, we find that BA.3.2 likely emerged in Southern Africa. We also find that an 871 bp deletion removed ORF7 and ORF8. In H1299-ACE2 cells, BA.3.2 has lower cytotoxicity measured as plaque area compared to ancestral SARS-CoV-2 but similar to the co-circulating LP.8.1 Omicron subvariant with which it also shares similar replication and infection focus size. BA.3.2 and LP.8.1 exhibit complete escape from neutralization from pre-Omicron collected plasma samples, have low levels of neutralization by plasma collected in 2024, and higher neutralization by plasma collected in 2025, with BA.3.2 showing moderately lower neutralization than LP.8.1. The emergence of long branch subvariants like BA.3.2 without intermediates likely indicates that unmonitored persistent infections continue to drive large evolutionary shifts in this virus.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Nomenclature for Tracking of Genetic Variation of Seasonal Influenza Viruses</title><link href="/neher_nomenclature_2026.html" rel="alternate"></link><published>2026-01-21T00:00:00+01:00</published><updated>2026-01-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2026-01-21:/neher_nomenclature_2026.html</id><summary type="html">&lt;p&gt;Background Genomic surveillance of human seasonal influenza viruses is an essential component of the Global Influenza Surveillance and Response system (GISRS) and informs the recommendations for the seasonal influenza vaccine composition. Phylogenetic analysis of viral genome sequences is used to identify groups of viruses sharing potential antigenic change, and computational …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Background Genomic surveillance of human seasonal influenza viruses is an essential component of the Global Influenza Surveillance and Response system (GISRS) and informs the recommendations for the seasonal influenza vaccine composition. Phylogenetic analysis of viral genome sequences is used to identify groups of viruses sharing potential antigenic change, and computational models are used to predict which viral variants are likely to circulate at high levels in upcoming seasons. To facilitate discussion and reporting of genetic diversity, as well as to communicate antigen recommendations, up-to-date and sufficiently granular definitions of genetic clades are important. Methods We implemented a nomenclature system for Segments 4 (haemagglutinin) and 6 (neuraminidase) of human Influenza A(H3N2), A(H1N1)pdm09, and Influenza B that dynamically adapts to the diversity of circulating viruses. New subclades were proposed by a clade suggestion algorithm based on criteria including (i) the number of sequences in the group, (ii) the distance from the direct parent clade, and (iii) the weighted number of amino acid substitutions on the branch leading to the common ancestor of the subclade. Results Algorithmic clade proposals were reviewed and assigned a systematic hierarchical label consisting of a leading letter, followed by numbers (e.g., G.1.3). Names are kept short by aliasing that is collapsing prefixes into unique letters. Subclade definitions are shared openly to promote adoption and tool development. Nextclade is supporting this new nomenclature, and it is being used routinely by the GISRS network. Conclusions With increasing genomic surveillance, the need for up-to-date classification schemes is growing and we hope that the current dynamic proposal will adapt to growing data volumes and aid in simplifying the interpretation of these data.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Molecular epidemiology of respiratory syncytial virus in Switzerland 2019–2024 from nucleic acid testing and whole-genome sequencing</title><link href="/kuznetsov_molecular_2025.html" rel="alternate"></link><published>2025-12-29T00:00:00+01:00</published><updated>2025-12-29T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-12-29:/kuznetsov_molecular_2025.html</id><summary type="html">&lt;p&gt;BACKGROUND AND AIMS: Respiratory syncytial virus (RSV) infection is one of the leading causes of hospitalisation in infants, the elderly and immunocompromised patients, with significant morbidity and mortality rates. Despite its global impact, epidemiological surveillance of RSV in Switzerland has historically been limited compared to the USA and European countries …&lt;/p&gt;</summary><content type="html">&lt;p&gt;BACKGROUND AND AIMS: Respiratory syncytial virus (RSV) infection is one of the leading causes of hospitalisation in infants, the elderly and immunocompromised patients, with significant morbidity and mortality rates. Despite its global impact, epidemiological surveillance of RSV in Switzerland has historically been limited compared to the USA and European countries. A significant surge in RSV activity and hospitalisations after the COVID-19 pandemic, along with the introduction of new monoclonal antibodies and RSV vaccines, has led to an increased interest in the molecular epidemiology of RSV. To ensure continued efficacy of the new preventive options, monitoring of the genetic diversity of circulating RSV strains, their evolutionary dynamics and the potential emergence of resistance mutations is of central importance. The present study aimed to characterise the genetic diversity and seasonal trends of RSV dynamics in Switzerland from 2019 to 2024, mainly over the last two post-pandemic winter seasons (2022/23 and 2023/24).
METHODS: A total of 48,897 respiratory clinical specimens from 30,782 patients with respiratory tract infections were tested for RSV at a tertiary care centre in Northwestern Switzerland between July 2019 and June 2024. RSV activity over these seasons was investigated. Amplicon-based whole-genome sequencing was performed on 182 selected samples, with 125 high-quality consensus genomes and phylogenies reconstructed. Lineage distribution and seasonal subtype prevalence were compared to European data.
RESULTS: RSV activity was absent during the 2020/21 pandemic season, but surged with an off-season peak in summer 2021. RSV B predominated during the 2022/23 season, while a shift to RSV A occurred in the 2023/24 winter season, which is in line with neighbouring European countries. Lineage subtype distribution showed high concordance with circulating European strains. RSV A exhibited greater diversity (mean pairwise Hamming distance 0.015, SD 0.006) than RSV B (mean 0.006, 0.003), with all current strains falling within G protein duplication clades A.D.1, 2, 3 and 5 for RSV A, and B.D.E.1 and B.D.4.1.1 for RSV B.
CONCLUSION: By contributing 125 newly assembled RSV genome sequences, we have significantly increased the number of publicly available whole-genome sequences from Switzerland. Our study provides a genomic surveillance of RSV in Switzerland, analysing seasonal patterns, alternating subtype dominance, and consistency with broader European trends. A comprehensive understanding of the molecular epidemiology of RSV enables healthcare providers and public health authorities to monitor the effectiveness of current vaccines and monoclonal antibodies, associate lineages and serotypes with disease severity, implement timely interventions and detect emerging variants, ultimately reducing the burden of RSV-related illnesses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Evolution of genome content and structure in bacteria "</title><link href="/202511_Tuebingen.html" rel="alternate"></link><published>2025-11-18T00:00:00+01:00</published><updated>2025-11-18T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-11-18:/202511_Tuebingen.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1aZTUHn-oyWw4Du1tKE4fBol3vSFgrjWK4aexEo7woWo/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Marie Becker</title><link href="/marie_becker.html" rel="alternate"></link><published>2025-11-14T00:00:00+01:00</published><updated>2025-11-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-11-14:/marie_becker.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Corona, Grippe, HIV… Warum sind RNA-Viren so wandlungsfähig?</title><link href="/202511_TecNight.html" rel="alternate"></link><published>2025-11-06T00:00:00+01:00</published><updated>2025-11-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-11-06:/202511_TecNight.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1PKTC6_rkHZf6NpP4v8oWwY2p0a5FiwLiQVVVHyKVZzc/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Physics of Life</title><link href="/2025_PoLI_overview.html" rel="alternate"></link><published>2025-11-01T00:00:00+01:00</published><updated>2025-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-11-01:/2025_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming, and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use whatever programming language you like (for example R or Matlab).
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Laws of physics and differential equations&lt;/li&gt;
&lt;li&gt;Growth processes&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Membrane-less organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Literature&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Course materials&lt;/h3&gt;
&lt;p&gt;The course materials are provided on GitHub in &lt;a href="https://github.com/neherlab/PoL1-course-materials"&gt;PoL-1-course-materials&lt;/a&gt; repository. Exercise sheets and exercise submissions will be handled via ADAM.&lt;/p&gt;
&lt;h3&gt;Older recorded lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/videos/Arrays%20in%20NumPy.mp4"&gt;Arrays in NumPy.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Auto-activation%20and%20repression.mp4"&gt;Auto-activation and repression.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Boundary%20and%20initial%20conditions.mp4"&gt;Boundary and initial conditions.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Diffusion%20Equation.mp4"&gt;Diffusion Equation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Diffusive%20Transport%20and%20Fick's%20law.mp4"&gt;Diffusive Transport and Fick's law.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Elements%20of%20dynamical%20systems.mp4"&gt;Elements of dynamical systems.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Extra_%20SIR%20models.mp4"&gt;Extra_ SIR models.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Genome%20sizes.mp4"&gt;Genome sizes.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Introduction%20into%20gene%20regulation.mp4"&gt;Introduction into gene regulation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Introduction%20to%20polymer%20physics.mp4"&gt;Introduction to polymer physics.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Logistic%20growth.mp4"&gt;Logistic growth.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Morphogen%20gradients%20--%20regulation%20in%20space.mp4"&gt;Morphogen gradients -- regulation in space.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/P%20Granules%20and%20their%20liquid%20properties.mp4"&gt;P Granules and their liquid properties.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Phase%20Transitions%20in%20Biology.mp4"&gt;Phase Transitions in Biology.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Properties%20of%20membrane-less%20organelles.mp4"&gt;Properties of membrane-less organelles.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Pulling%20on%20polymers.mp4"&gt;Pulling on polymers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Random%20Walks.mp4"&gt;Random Walks.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Relevant%20length%20scales%20in%20biological%20systems.mp4"&gt;Relevant length scales in biological systems.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Relevant%20volumes%20and%20concentrations.mp4"&gt;Relevant volumes and concentrations.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20growth%20processes.mp4"&gt;Simple growth processes.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20models%20of%20demixing.mp4"&gt;Simple models of demixing.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Simple%20models%20of%20gene%20regulation.mp4"&gt;Simple models of gene regulation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stiff%20polymers.mp4"&gt;Stiff polymers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stochastic%20effects%20and%20low%20copy%20numbers.mp4"&gt;Stochastic effects and low copy numbers.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Stokes-Einstein%20relation.mp4"&gt;Stokes-Einstein relation.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/The%20dynamic%20cytoskeleton.mp4"&gt;The dynamic cytoskeleton.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Typical%20energy%20scales%20and%20forces.mp4"&gt;Typical energy scales and forces.mp4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/videos/Units,%20dimensions,%20and%20laws%20of%20physics.mp4"&gt;Units, dimensions, and laws of physics.mp4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Synteny and linkage decay in bacteriophage pangenomes</title><link href="/fendley_synteny_2025.html" rel="alternate"></link><published>2025-08-13T00:00:00+02:00</published><updated>2025-08-13T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-08-13:/fendley_synteny_2025.html</id><summary type="html">&lt;p&gt;Bacteriophages are rich in genetic diversity, due to frequent horizontal transfer and recombination. This makes traditional microbial phylogenetic analyses, often based on the assumption of vertical inheritance, not suitable for interpreting this diversity. Here, inspired by recent work on bacterial pangenomes, we investigate the evolution of a collection of 3425 …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Bacteriophages are rich in genetic diversity, due to frequent horizontal transfer and recombination. This makes traditional microbial phylogenetic analyses, often based on the assumption of vertical inheritance, not suitable for interpreting this diversity. Here, inspired by recent work on bacterial pangenomes, we investigate the evolution of a collection of 3425 actinobacteriophage genomes. We find that synteny is strongly conserved: core genes have a well-defined order, and most accessory genes are localized in a few locations along the core genome backbone. Within the core genome alignment, linkage disequilibrium decays rapidly with distance in some groups, while phylogenetic structure in other groups causes long-range linkage. Our quantitative characterizations extend across many groups of phages and indicate widespread homologous recombination restricted by strong gene order conservation.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Development of avian influenza A(H5) virus datasets for Nextclade enables rapid and accurate clade assignment</title><link href="/ort_development_2025.html" rel="alternate"></link><published>2025-08-04T00:00:00+02:00</published><updated>2025-08-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-08-04:/ort_development_2025.html</id><summary type="html">&lt;p&gt;The 2022 panzootic of highly pathogenic avian influenza (HPAI) A(H5) viruses has led to unprecedented transmission to multiple mammalian species. Avian influenza A viruses of the H5 subtype circulate globally among birds and are classified into distinct clades based on their haemagglutinin (HA) genetic sequences. Thus, the ability to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The 2022 panzootic of highly pathogenic avian influenza (HPAI) A(H5) viruses has led to unprecedented transmission to multiple mammalian species. Avian influenza A viruses of the H5 subtype circulate globally among birds and are classified into distinct clades based on their haemagglutinin (HA) genetic sequences. Thus, the ability to accurately and rapidly assign clades to newly sequenced isolates is key to surveillance and outbreak response. Cocirculation of endemic, low-pathogenicity avian influenza (LPAI) A(H5) lineages in North American and European wild birds necessitates the ability to rapidly and accurately distinguish between infections arising from these lineages and epizootic HPAI A(H5) viruses. However, currently available clade assignment tools are limited and often require command-line expertise, hindering their utility for public health surveillance labs. To address this gap, we have developed datasets to enable A(H5) clade assignments with Nextclade, a drag-and-drop tool originally developed for severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) genetic clade classification. Using annotated reference datasets for all historical A(H5) clades, clade 2.3.2.1 descendants, and clade 2.3.4.4 descendants provided by the Food and Agriculture Organization/World Health Organization/World Organisation for Animal Health H5 Working Group, we identified clade-defining mutations for every established clade to enable tree-based clade assignment. We then created three Nextclade datasets which can be used to assign clades to A(H5) HA sequences and call mutations relative to reference strains through a drag-and-drop interface. Nextclade assignments were benchmarked with 19 834 unique sequences not in the reference set using a prereleased version of LABEL, a well-validated and widely used command-line software. Prospective assignment of new sequences with Nextclade and LABEL produced very well-matched assignments (match rates of 97.8\% and 99.1\% for the 2.3.2.1 and 2.3.4.4 datasets, respectively). The all-clades dataset also performed well (94.8\% match rate) and correctly distinguished between all HPAI and LPAI strains. This tool additionally allows for the identification of polybasic cleavage site sequences and potential N-linked glycosylation sites. These datasets therefore provide an alternative, rapid method to accurately assign clades to new A(H5) HA sequences, with the benefit of an easy-to-use browser interface.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>A systematic nomenclature for mpox viruses causing outbreaks with sustained human-to-human transmission</title><link href="/ruis_systematic_2025.html" rel="alternate"></link><published>2025-07-27T00:00:00+02:00</published><updated>2025-07-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-07-27:/ruis_systematic_2025.html</id><content type="html">&lt;p&gt;We propose a new nomenclature for mpox virus lineages with sustained human-to-human transmission to improve tracking, communication and public health response.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Eco-Evolutionary Dynamics Limits the Predictability of Evolution"</title><link href="/202507_GRC.html" rel="alternate"></link><published>2025-07-09T00:00:00+02:00</published><updated>2025-07-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-07-09:/202507_GRC.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/15j3Y3ntbRNskQ_3wNHc0CovqyHx3MMg9CyURZ3kBwWI/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>HIV – Versteckspiel mit dem wandelbaren Virus</title><link href="/202506_Einblicke.html" rel="alternate"></link><published>2025-06-17T00:00:00+02:00</published><updated>2025-06-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-06-17:/202506_Einblicke.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1jBx6k1_ChOhLYdvC0jVbyiJYXKuVLZgBXzEBknhZwzw/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>The mutation rate of SARS-CoV-2 is highly variable between sites and is influenced by sequence context, genomic region, and RNA structure</title><link href="/haddox_mutation_2025.html" rel="alternate"></link><published>2025-06-12T00:00:00+02:00</published><updated>2025-06-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-06-12:/haddox_mutation_2025.html</id><summary type="html">&lt;p&gt;RNA viruses like SARS-CoV-2 have high mutation rates, which contribute to their rapid evolution. Mutation rates depend on mutation type and can vary between sites in a virus's genome. Understanding this variation can shed light on the mutational processes at play, and is crucial for quantitative modeling of viral evolution …&lt;/p&gt;</summary><content type="html">&lt;p&gt;RNA viruses like SARS-CoV-2 have high mutation rates, which contribute to their rapid evolution. Mutation rates depend on mutation type and can vary between sites in a virus's genome. Understanding this variation can shed light on the mutational processes at play, and is crucial for quantitative modeling of viral evolution. Using millions of SARS-CoV-2 full-genome sequences, we estimate rates of synonymous mutations for each mutation type and examine how much these rates vary between sites. We find a surprisingly high level of variability. A substantial fraction of this variability can be explained by local sequence context, genomic region, and RNA secondary structure. We estimate fitness effects of each mutation based on the number of times it actually occurs versus the number of times it is expected to occur based on a model of the above features. We identify small regions of the genome where synonymous or noncoding mutations occur much less often than expected, indicative of strong purifying selection on the RNA sequence independent of protein sequence. Overall, this work expands our basic understanding of SARS-CoV-2’s evolution by characterizing the virus’s mutation process at the level of individual sites and uncovering several striking mutational patterns that arise from unknown mechanisms.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Evolutionary origin and functional diversification of plant GBF1-type ARF guanine-nucleotide exchange factors</title><link href="/singh_evolutionary_2025.html" rel="alternate"></link><published>2025-06-06T00:00:00+02:00</published><updated>2025-06-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-06-06:/singh_evolutionary_2025.html</id><summary type="html">&lt;p&gt;Large ARF GTPase-activating guanine-nucleotide exchange factors (ARF-GEFs) are essential regulators of membrane trafficking across the eukaryotes. Although conserved, the GBF1-type ARF-GEFs underwent plant-specific evolution. Of the 3 paralogs in Arabidopsis thaliana, AtGNOM-LIKE1 (AtGNL1) performs the GBF1 task of retrograde Golgi-ER traffic whereas AtGNOM mediates polar recycling from endosomes to the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Large ARF GTPase-activating guanine-nucleotide exchange factors (ARF-GEFs) are essential regulators of membrane trafficking across the eukaryotes. Although conserved, the GBF1-type ARF-GEFs underwent plant-specific evolution. Of the 3 paralogs in Arabidopsis thaliana, AtGNOM-LIKE1 (AtGNL1) performs the GBF1 task of retrograde Golgi-ER traffic whereas AtGNOM mediates polar recycling from endosomes to the basal plasma membrane. AtGNL2 is specific to pollen and is functionally equivalent to AtGNOM. To clarify their evolutionary origin and functional diversification in the plant lineage, we established a phylogenetic tree and ortho-synteny groups (OSGs), which enabled identification of AtGNOM and AtGNL1 orthologs. In addition, somatic paralogs from several species were functionally analysed in transgenic Arabidopsis plants and tested for GNOM-specific DCB-DCB domain interaction in yeast two-hybrid assays. Our results support the following scenario. The ancient plant-specific GBF1-type ARF-GEF was functionally equivalent to AtGNOM and mediated both polar recycling and secretory trafficking. GNL2 only arose in the early flowering plants and then evolved independently. Genome duplication in the basal eudicots – but neither in monocots nor in magnoliids – gave rise to the AtGNL1 ortholog, distinguished by its unique OSG. The AtGNL1 ortholog lost the ability of DCB-DCB interaction and was free to evolve independently, eventually acquiring AtGNL1 function in the rosid clade of core eudicots. In eudicot evolution, the AtGNOM ortholog underwent repeated transposition to different OSGs whereas the AtGNL1 ortholog was recurrently lost but eventually positively selected. This evolutionary process uncoupled polar recycling required for gravitropic response or lateral root initiation from secretory trafficking required for growth.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Lost in the woods: shifting habitats can lead phylogeography astray</title><link href="/neher_lost_2025.html" rel="alternate"></link><published>2025-05-22T00:00:00+02:00</published><updated>2025-05-22T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-05-22:/neher_lost_2025.html</id><summary type="html">&lt;p&gt;Continuous phylogeographic inference is a popular method to estimate parameters of the dispersal process and to reconstruct the spatial location of ancestors of extant populations from samples viral of genome sequences. However, these models typically ignore that replication and population growth are tightly coupled to spatial location: populations expand in …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Continuous phylogeographic inference is a popular method to estimate parameters of the dispersal process and to reconstruct the spatial location of ancestors of extant populations from samples viral of genome sequences. However, these models typically ignore that replication and population growth are tightly coupled to spatial location: populations expand in areas with abundant susceptible hosts and contract in regions with limited resources. Here, I first investigate the sampling consistency of popular summary statistics of dispersal and show that estimators of ‘lineage velocities’ are ill-defined. I then use simulations to investigate how local density regulation or shifting habitats perturb phylogeographic inference in continuous space and show that these can result in biassed and overconfident estimates of ancestral locations and dispersal parameters. These, sometimes dramatic, distortions depend in complicated ways on the past dynamics of habitats and underlying population dynamics and dispersal processes. Consequently, the validity of continuous phylogeographic inferences is hard to assess and confidence can be much lower than suggested by the inferred posterior distributions, in particular when involving poorly sampled locations or extrapolations far into the past.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Mutation, purifying selection, and adaptive evolution of SARS-CoV-2"</title><link href="/202505_ViBio.html" rel="alternate"></link><published>2025-05-15T00:00:00+02:00</published><updated>2025-05-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-05-15:/202505_ViBio.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1DYRsNV35dUxJBHjn9OlHLBw5kSvDmsf_VTWSQtVpMC0/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Automated Bacteriophage Evolution Studies with the Aionostat</title><link href="/druelle_automated_2025.html" rel="alternate"></link><published>2025-04-21T00:00:00+02:00</published><updated>2025-04-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-04-21:/druelle_automated_2025.html</id><summary type="html">&lt;p&gt;Bacteriophages, the viruses that infect bacteria, are the most abundant and diverse biological entities on our planet. They play a critical role in shaping ecosystems and are increasingly recognized for their potential in treating bacterial infections. Yet, our comprehension of their biology and evolutionary dynamics is limited, largely because research …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Bacteriophages, the viruses that infect bacteria, are the most abundant and diverse biological entities on our planet. They play a critical role in shaping ecosystems and are increasingly recognized for their potential in treating bacterial infections. Yet, our comprehension of their biology and evolutionary dynamics is limited, largely because research has concentrated on a select few well-characterized phages or relies on broad metagenomic studies with limited follow-up analysis of individual phages. This knowledge gap hinders our capacity to exploit their therapeutic and ecological possibilities – and while some studies have attempted to bridge it, such efforts typically require a lot of manual labor, highlighting the need for high-throughput, reproducible methods for in-depth study of phage evolution.
To address this gap, we introduce the Aionostat, a novel automated continuous culture device designed to facilitate bacteriophage directed evolution experiments at scale. The Aionostat’s potential is showcased through two example experiments. In the first, phages from the BASEL collection rapidly adapted to a challenging E. coli strain, acquiring mutations and deletions that improved their infectivity. In the second experiment, we evolved a mixture of these phages on the same E.coli strain, leading to the emergence of recombinant phages with increased fitness. By automating these experiments, the Aionostat enables faster, more reproducible studies of phage evolution that would be impractical to perform by hand, thereby opening new avenues for investigating viral dynamics, engineering phage therapies, and studying evolutionary principles in broader biological contexts.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Estimating Re and overdispersion in secondary cases from the size of identical sequence clusters of SARS-CoV-2</title><link href="/hodcroft_estimating_2025.html" rel="alternate"></link><published>2025-04-15T00:00:00+02:00</published><updated>2025-04-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-04-15:/hodcroft_estimating_2025.html</id><summary type="html">&lt;p&gt;The wealth of genomic data that was generated during the COVID-19 pandemic provides an exceptional opportunity to obtain information on the transmission of SARS-CoV-2. Specifically, there is great interest to better understand how the effective reproduction number Re and the overdispersion of secondary cases, which can be quantified by the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The wealth of genomic data that was generated during the COVID-19 pandemic provides an exceptional opportunity to obtain information on the transmission of SARS-CoV-2. Specifically, there is great interest to better understand how the effective reproduction number Re and the overdispersion of secondary cases, which can be quantified by the negative binomial dispersion parameter k, changed over time and across regions and viral variants. The aim of our study was to develop a Bayesian framework to infer Re and k from viral sequence data. First, we developed a mathematical model for the distribution of the size of identical sequence clusters, in which we integrated viral transmission, the mutation rate of the virus, and incomplete case-detection. Second, we implemented this model within a Bayesian inference framework, allowing the estimation of Re and k from genomic data only. We validated this model in a simulation study. Third, we identified clusters of identical sequences in all SARS-CoV-2 sequences in 2021 from Switzerland, Denmark, and Germany that were available on GISAID. We obtained monthly estimates of the posterior distribution of Re and k, with the resulting Re estimates slightly lower than estimates obtained by other methods, and k comparable with previous results. We found comparatively higher estimates of k in Denmark which suggests less opportunities for superspreading and more controlled transmission compared to the other countries in 2021. Our model included an estimation of the case detection and sampling probability, but the estimates obtained had large uncertainty, reflecting the difficulty of estimating these parameters simultaneously. Our study presents a novel method to infer information on the transmission of infectious diseases and its heterogeneity using genomic data. With increasing availability of sequences of pathogens in the future, we expect that our method has the potential to provide new insights into the transmission and the overdispersion in secondary cases of other pathogens.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Mutation, purifying selection, and adaptive evolution of SARS-CoV-2"</title><link href="/202503_Harrogate.html" rel="alternate"></link><published>2025-03-24T00:00:00+01:00</published><updated>2025-03-24T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-03-24:/202503_Harrogate.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1eLyDkhNB0BmGwib3Dc3x-pI6tsTjDM7UH36Auw-bafw/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Greta Brenna</title><link href="/greta-brenna.html" rel="alternate"></link><published>2025-02-03T00:00:00+01:00</published><updated>2025-02-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-02-03:/greta-brenna.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Quantifying the evolutionary dynamics of structure and content in closely-related E. coli genomes</title><link href="/molari_quantifying_2025.html" rel="alternate"></link><published>2025-01-03T00:00:00+01:00</published><updated>2025-01-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2025-01-03:/molari_quantifying_2025.html</id><summary type="html">&lt;p&gt;Bacterial genomes primarily diversify via gain, loss, and rearrangement of genetic material in their flexible accessory genome. Yet the dynamics of accessory genome evolution are very poorly understood, in contrast to the core genome where diversification is readily described by mutations and homologous recombination. Here, we tackle this problem for …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Bacterial genomes primarily diversify via gain, loss, and rearrangement of genetic material in their flexible accessory genome. Yet the dynamics of accessory genome evolution are very poorly understood, in contrast to the core genome where diversification is readily described by mutations and homologous recombination. Here, we tackle this problem for the case of very closely related genomes. We comprehensively describe genome evolution within n=222 genomes of E. coli ST131, which likely shared a common ancestor around one hundred years ago. After removing putative recombinant diversity, the total length of the phylogeny is 6000 core genome substitutions. Within this diversity, we find 22 modifications to core genome synteny and estimate around 2000 structural changes within the accessory genome, i.e. one structural change for every 3 core genome substitutions. 63\% of loci with structural diversity could be resolved into individual gain and loss events with ten-fold more gains than losses, demonstrating a dominance of gains due to insertion sequences and prophage integration. Our results suggest the majority of synteny changes and insertions in our dataset are likely deleterious and only persist for a short time before being removed by purifying selection.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>The consequences of SARS-CoV-2 within-host persistence</title><link href="/sigal_consequences_2024.html" rel="alternate"></link><published>2024-11-25T00:00:00+01:00</published><updated>2024-11-25T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-11-25:/sigal_consequences_2024.html</id><summary type="html">&lt;p&gt;SARS-CoV-2 causes an acute respiratory tract infection that resolves in most people in less than a month. Yet some people with severely weakened immune systems fail to clear the virus, leading to persistent infections with high viral titres in the respiratory tract. In a subset of cases, persistent SARS-CoV-2 replication …&lt;/p&gt;</summary><content type="html">&lt;p&gt;SARS-CoV-2 causes an acute respiratory tract infection that resolves in most people in less than a month. Yet some people with severely weakened immune systems fail to clear the virus, leading to persistent infections with high viral titres in the respiratory tract. In a subset of cases, persistent SARS-CoV-2 replication results in an accelerated accumulation of adaptive mutations that confer escape from neutralizing antibodies and enhance cellular infection. This may lead to the evolution of extensively mutated SARS-CoV-2 variants and introduce an element of chance into the timing of variant evolution, as variant formation may depend on evolution in a single person. Whether long COVID is also caused by persistence of replicating SARS-CoV-2 is controversial. One line of evidence is detection of SARS-CoV-2 RNA and proteins in different body compartments long after SARS-CoV-2 infection has cleared from the upper respiratory tract. However, thus far, no replication competent virus has been cultured from individuals with long COVID who are immunocompetent. In this Review, we consider mechanisms of viral persistence, intra-host evolution in persistent infections, the connection of persistent infections with SARS-CoV-2 variants and the possible role of SARS-CoV-2 persistence in long COVID. Understanding persistent infections may therefore resolve much of what is still unclear in COVID-19 pathophysiology, with possible implications for other emerging viruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>PoL I: Quantitative problems, dimensions, and units</title><link href="/PoLI_2024_week01_UnitsAndLaws.html" rel="alternate"></link><published>2024-11-06T00:00:00+01:00</published><updated>2024-11-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-11-06:/PoLI_2024_week01_UnitsAndLaws.html</id><summary type="html">&lt;section&gt;
&lt;h2&gt;So far in this course ...&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Thermodynamics and statistical mechanics&lt;/li&gt;
        &lt;li&gt;Protein folding&lt;/li&gt;
        &lt;li&gt;Reaction kinetics&lt;/li&gt;
        &lt;li&gt;Ligand binding&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;What about topics like ...&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Gene regulation&lt;/li&gt;
        &lt;li&gt;Developmental biology&lt;/li&gt;
        &lt;li&gt;Cell biology&lt;/li&gt;
        &lt;li&gt;....&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h2&gt;So far in this course ...&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Thermodynamics and statistical mechanics&lt;/li&gt;
        &lt;li&gt;Protein folding&lt;/li&gt;
        &lt;li&gt;Reaction kinetics&lt;/li&gt;
        &lt;li&gt;Ligand binding&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;What about topics like ...&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Gene regulation&lt;/li&gt;
        &lt;li&gt;Developmental biology&lt;/li&gt;
        &lt;li&gt;Cell biology&lt;/li&gt;
        &lt;li&gt;....&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be controlled and exploited&lt;/li&gt;
                &lt;li&gt;Behavior that is unintuitive to us is captured well by the laws of physics&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;The strange behavior of rotating objects&lt;/h3&gt;
&lt;iframe width="1120" height="630" src="https://www.youtube.com/embed/1n-HMSCDYtM?si=Nwak0OQucbV4N-qO" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Biology is much more complex than Physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;b&gt;Physics is most effective in simple and controlled systems&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Laws of physics connect fundamental particles and forces.&lt;/li&gt;
                &lt;li&gt;These laws explain properties of simple systems and homogeneous matter&lt;/li&gt;
                &lt;li&gt;Good understanding of systems at equilibrium or isolated systems &lt;/li&gt;
                &lt;li&gt;These laws also govern complex systems, but the connection between the laws and the behavior is hard to decipher&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;&lt;br&gt;
        &lt;b&gt;Biological complexity&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Biological systems evolved -- layering complexity&lt;/li&gt;
                &lt;li&gt;Cells consist of thousands of molecular species, interacting in complicated ways&lt;/li&gt;
                &lt;li&gt;Biology is always in flux.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physics vs Biology&lt;/h4&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width: 45%; text-align: left;"&gt;
    &lt;img src="https://upload.wikimedia.org/wikipedia/commons/1/1f/Two-body_Jacobi_coordinates.JPG"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Two-body_Jacobi_coordinates.JPG"&gt;Wikipedia, by Brews Oshare&lt;/a&gt;&lt;/span&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt; Equations that govern the dynamics
    &lt;li&gt; Exact predictions of future configuration
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width: 50%; text-align: left;" class="fragment"&gt;
    &lt;img src="/talk_images/981px-Signal_transduction_pathways.svg.png"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=12081090"&gt;Wikipedia, by cybertory&lt;/a&gt;&lt;/span&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt; Long, but incomplete, list of components
    &lt;li&gt; Only qualitative description of interactions
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;From description to quantitative understanding!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Quantitative questions&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;How many human cells are in your body?&lt;/li&gt;
                &lt;li&gt;How many other cells?&lt;/li&gt;
                &lt;li&gt;How many ribosomes/signaling molecules are in a cell?&lt;/li&gt;
                &lt;li&gt;How do genes regulate each other?&lt;/li&gt;
                &lt;li&gt;How rapidly does a protein move from one end of the cell to another?&lt;/li&gt;
                &lt;li&gt;What fraction of transcription factors is bound to DNA?&lt;/li&gt;
                &lt;li&gt;What are the speed limits for biochemical reactions?&lt;/li&gt;
                &lt;li&gt;How are polarities and developmental gradients set up?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;font size="6" class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;b&gt;Not:&lt;/b&gt; Gene X causes Y&lt;/li&gt;
                &lt;li&gt;&lt;b&gt;But:&lt;/b&gt; 20% faster diffusion of gene X extends the gradient by $20\mu m$&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dimensions and units&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 40%; text-align: left;"&gt;
        &lt;h5&gt;&lt;b&gt;Dimensions&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length&lt;/li&gt;
                &lt;li&gt;weight&lt;/li&gt;
                &lt;li&gt;energy&lt;/li&gt;
                &lt;li&gt;current&lt;/li&gt;
                &lt;li&gt;force&lt;/li&gt;
                &lt;li&gt;temperature&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:22%; left:45%; width: 45%; text-align: left;" class="fragment"&gt;
        &lt;h5&gt;&lt;b&gt;Units:&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length: meters, miles, feet, Angstrom&lt;/li&gt;
                &lt;li&gt;weight: grams, stones, &lt;/li&gt;
                &lt;li&gt;energy: Joules, calories&lt;/li&gt;
                &lt;li&gt;current: ampere&lt;/li&gt;
                &lt;li&gt;force: Newton&lt;/li&gt;
                &lt;li&gt;temperature: Celsius, Kelvin&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:15%; width: 80%; text-align: left;" class="fragment"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Dimensions describe the nature of a quantity&lt;/li&gt;
                &lt;li&gt;Units are conventions to measure them&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Comparing quantities&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 70%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Only quantities of the same dimension can be compared: length $X$ is greater than length $Y$ etc. There is no sense is which length $X$ can be greater than weight $Y$.&lt;/li&gt;
                &lt;li class="fragment"&gt;Units are conventions -- there is nothing fundamental about them. &lt;/li&gt;
                &lt;li class="fragment"&gt;Some unit systems are more convenient than others.&lt;/li&gt;
                &lt;li class="fragment"&gt;Everyday units are often inconvienent for biological processes&lt;/li&gt;
                &lt;li class="fragment"&gt;We can pick units to make things as simple as possible&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Aim: Enable you to reason quantitatively about biological problems!&lt;/h3&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Physics of Life</title><link href="/2024_PoLI_overview.html" rel="alternate"></link><published>2024-11-01T00:00:00+01:00</published><updated>2024-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-11-01:/2024_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming, and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use whatever programming language you like (for example R or Matlab).
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Laws of physics and differential equations&lt;/li&gt;
&lt;li&gt;Growth processes&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Membrane-less organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Literature&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Course materials&lt;/h3&gt;
&lt;p&gt;The course materials are provided on GitHub in &lt;a href="https://github.com/neherlab/PoL1-course-materials"&gt;PoL-1-course-materials&lt;/a&gt; repository. Exercise sheets and exercise submissions will be handled via ADAM.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Isabel Joia</title><link href="/isabel_joia.html" rel="alternate"></link><published>2024-11-01T00:00:00+01:00</published><updated>2024-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-11-01:/isabel_joia.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/202410_Ringvorlesung.html" rel="alternate"></link><published>2024-10-23T00:00:00+02:00</published><updated>2024-10-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-10-23:/202410_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Eco-evolutionary dynamics of adapting pathogens and host immunity</title><link href="/barrat-charlaix_eco-evolutionary_2024.html" rel="alternate"></link><published>2024-10-18T00:00:00+02:00</published><updated>2024-10-18T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-10-18:/barrat-charlaix_eco-evolutionary_2024.html</id><summary type="html">&lt;p&gt;As pathogens spread in a population of hosts, immunity is built up and the pool of susceptible individuals is depleted. This generates selective pressure, to which many human RNA viruses, such as influenza virus or SARS-CoV-2, respond with rapid antigenic evolution and frequent emergence of immune evasive variants. However, the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;As pathogens spread in a population of hosts, immunity is built up and the pool of susceptible individuals is depleted. This generates selective pressure, to which many human RNA viruses, such as influenza virus or SARS-CoV-2, respond with rapid antigenic evolution and frequent emergence of immune evasive variants. However, the host’s immune systems adapt and older immune responses wane, such that escape variants only enjoy a growth advantage for a limited time. If variant growth dynamics and reshaping of host-immunity operate on comparable time scales, viral adaptation is determined by eco-evolutionary interactions that are not captured by models of rapid evolution in a fixed environment. Here, we use a Susceptible/Infected model to describe the interaction between an evolving viral population in a dynamic but immunologically diverse host population. We show that depending on strain cross-immunity, heterogeneity of the host population, and durability of immune responses, escape variants initially grow exponentially, but lose their growth advantage before reaching high frequencies. Their subsequent dynamics follows an anomalous random walk determined by future escape variants and results in variant trajectories that are unpredictable. This model can explain the apparent contradiction between the clearly adaptive nature of antigenic evolution and the quasi-neutral dynamics of high frequency variants observed for influenza viruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Evolution of SARS-CoV-2, immune escape, and the emergence variants of concern"</title><link href="/202409_KITP.html" rel="alternate"></link><published>2024-09-24T00:00:00+02:00</published><updated>2024-09-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-09-24:/202409_KITP.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1TXI4f_qdFi7BoEOFL5W8-QCjCNOFkswWIsTOMsdJhQA/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Aleksandr Kuznetsov</title><link href="/aleksandr-kuznetsov.html" rel="alternate"></link><published>2024-07-12T00:00:00+02:00</published><updated>2024-07-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-07-12:/aleksandr-kuznetsov.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Benjamin Otter</title><link href="/benjamin-otter.html" rel="alternate"></link><published>2024-07-12T00:00:00+02:00</published><updated>2024-07-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-07-12:/benjamin-otter.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Standardized Phylogenetic Classification of Human Respiratory Syncytial Virus Below the Subgroup Level</title><link href="/goya_standardized_2024.html" rel="alternate"></link><published>2024-07-11T00:00:00+02:00</published><updated>2024-07-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-07-11:/goya_standardized_2024.html</id><content type="html">&lt;p&gt;Classification of Respiratory Syncytial Virus&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Spread and Immune Escape of Respiratory RNA Viruses"</title><link href="/202405_RKI.html" rel="alternate"></link><published>2024-05-23T00:00:00+02:00</published><updated>2024-05-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-05-23:/202405_RKI.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1BGvzadPJPphQhiNCUurdTkZq4P5-oTrVf_nwBDMX1Y8/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Mutation, purifying selection, and adaptive evolution of SARS-CoV-2"</title><link href="/202405_Tuebingen.html" rel="alternate"></link><published>2024-05-03T00:00:00+02:00</published><updated>2024-05-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-05-03:/202405_Tuebingen.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1fZd7c6dtljk5TOrVYfsGGIAegk961_GRTgSijFWgFyk/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Mutation, purifying selection, and adaptive evolution of SARS-CoV-2"</title><link href="/202404_EDI.html" rel="alternate"></link><published>2024-04-25T00:00:00+02:00</published><updated>2024-04-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-04-25:/202404_EDI.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1ak_b65gwPQCB069UF2MjsLms41l9_z7_aEXdPUvRxEE/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Tracking and predicting the spread and evolution of RNA viruses"</title><link href="/202404_BVBRC.html" rel="alternate"></link><published>2024-04-08T00:00:00+02:00</published><updated>2024-04-08T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-04-08:/202404_BVBRC.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1pgt2C_bXnTFPtg1D9MjQI4uCOFr8xBf2aTbRQCh0jhw/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Georg Angehrn</title><link href="/georg-angehrn.html" rel="alternate"></link><published>2024-04-01T00:00:00+02:00</published><updated>2024-04-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-04-01:/georg-angehrn.html</id><content type="html"></content><category term="team"></category></entry><entry><title>"Co-evolution of RNA viruses and the human immune system"</title><link href="/202403_DPG.html" rel="alternate"></link><published>2024-03-18T00:00:00+01:00</published><updated>2024-03-18T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-03-18:/202403_DPG.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1jzRDh4e7QeF6DbZG9idHNxRUJeoHIwEGtkW_i-ewjvs/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>How much should we sequence? An analysis of the Swiss SARS-CoV-2 surveillance effort</title><link href="/wegner_how_2024.html" rel="alternate"></link><published>2024-03-18T00:00:00+01:00</published><updated>2024-03-18T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-03-18:/wegner_how_2024.html</id><content type="html"></content><category term="publication"></category></entry><entry><title>"Real-time analysis and visualization of pathogen spread with Nextstrain"</title><link href="/202402_Engelberg.html" rel="alternate"></link><published>2024-02-26T00:00:00+01:00</published><updated>2024-02-26T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-02-26:/202402_Engelberg.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1XPzpqJ1ZeWaYPZkWGLPhbf7tCntVFFW-YUWmmPaVN6c/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Nextstrain workshop at the Wengen Winter School</title><link href="/202401_wengen_nextstrain.html" rel="alternate"></link><published>2024-01-15T00:00:00+01:00</published><updated>2024-01-15T00:00:00+01:00</updated><author><name>Emma Hodcroft and Richard Neher</name></author><id>tag:None,2024-01-15:/202401_wengen_nextstrain.html</id><summary type="html">&lt;p&gt;This workshop provides an overview of phylogenetic analysis and interactive visualization using Nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides an overview of phylogenetic analysis and interactive visualization using Nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;Prerequisites&lt;/h3&gt;
&lt;p&gt;We hope that we can jump right in and start analyzing data and exploring the spread of disease. We therefore ask you to come to the workshop with the necessary tools installed on your computer.&lt;/p&gt;
&lt;p&gt;We will be using basic shell commands as well, like moving and editing files, changing directories, and starting programs. There are some great resources available online to learn or refresh this basic command-line usage.&lt;/p&gt;
&lt;p&gt;Please follow the Nextstrain CLI installation instructions on &lt;a href="https://docs.nextstrain.org/en/latest/install.html"&gt;docs.nextstrain.org&lt;/a&gt;.
These are available for all the major operating systems (Windows, Mac, Linux). On Windows you need you setup WSL2 and install Docker.&lt;/p&gt;
&lt;p&gt;If you have trouble setting this up on your computer, please contact your IT department or computer-savvy friend.&lt;/p&gt;
&lt;p&gt;Once you have installed the above, we recommend you configure either the &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;conda&lt;/code&gt; runtime for the workshop:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;nextstrain&lt;span class="w"&gt; &lt;/span&gt;setup&lt;span class="w"&gt; &lt;/span&gt;conda
nextstrain&lt;span class="w"&gt; &lt;/span&gt;setup&lt;span class="w"&gt; &lt;/span&gt;docker
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Check that everything works by running&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;nextstrain&lt;span class="w"&gt; &lt;/span&gt;check-setup&lt;span class="w"&gt; &lt;/span&gt;--set-default
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For the rest of the tutorial, we assume that you are running all commands inside the &lt;code&gt;nextstrain shell&lt;/code&gt; which you can start with &lt;code&gt;nextstrain shell .&lt;/code&gt; and exit with &lt;code&gt;ctrl+d&lt;/code&gt; or by typing &lt;code&gt;exit&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Within this shell, all necessary tools are installed and ready to be used.&lt;/p&gt;
&lt;!-- ### Overview and Basics

 * [Basics of phylogenetic analysis](201901_krisp_intro.html)
 * [Exploring interactive phylogenies with Auspice](201901_krisp_auspice.html)
 * [The nextstrain toolchain](201909_nextstrain_toolchain.html)
 * [Analysis with augur and Snakemake -- Virus tutorial ](202203_qlife_augur.html)

### Next steps

 * [Analysis with augur and Snakemake -- SARS-CoV_2 Challenge](202309_badhonnef_SC2.html)
 * [Important steps in setting up your own analysis](201909_tips_and_tricks.html)

### Additional steps and details
 * [Options for time tree inference](201910_RIVM_refine.html)
 * [Specify color maps and geographic information](201910_RIVM_color_geo.html)
 * [Advanced snakemake (wildcards, functions, default rules)](201910_RIVM_advanced_snakemake.html)
 * [Parsing metadata from fasta files](201910_RIVM_meta_from_fasta.html)
 * [Community pages on nextstrain](201910_RIVM_community.html) --&gt;

&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Revitalizing antibiotic discovery and development through in vitro modelling of in-patient conditions</title><link href="/sollier_revitalizing_2024.html" rel="alternate"></link><published>2024-01-04T00:00:00+01:00</published><updated>2024-01-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2024-01-04:/sollier_revitalizing_2024.html</id><content type="html">&lt;p&gt;In vitro models mimicking in-patient conditions have the potential to yield exciting opportunities for antibiotic research and revitalize future antibiotic discovery and development.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>SARS-CoV-2 infection in immunosuppression evolves sub-lineages which independently accumulate neutralization escape mutations</title><link href="/lustig_sars-cov-2_2023.html" rel="alternate"></link><published>2023-12-28T00:00:00+01:00</published><updated>2023-12-28T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-12-28:/lustig_sars-cov-2_2023.html</id><summary type="html">&lt;p&gt;One mechanism of variant formation may be evolution during long-term infection in immunosuppressed people. To understand the viral phenotypes evolved during such infection, we tested SARS-CoV-2 viruses evolved from an ancestral B.1 lineage infection lasting over 190 days post-diagnosis in an advanced HIV disease immunosuppressed individual. Sequence and phylogenetic …&lt;/p&gt;</summary><content type="html">&lt;p&gt;One mechanism of variant formation may be evolution during long-term infection in immunosuppressed people. To understand the viral phenotypes evolved during such infection, we tested SARS-CoV-2 viruses evolved from an ancestral B.1 lineage infection lasting over 190 days post-diagnosis in an advanced HIV disease immunosuppressed individual. Sequence and phylogenetic analysis showed two evolving sub-lineages, with the second sub-lineage replacing the first sub-lineage in a seeming evolutionary sweep. Each sub-lineage independently evolved escape from neutralizing antibodies. The most evolved virus for the first sub-lineage (isolated day 34) and the second sub-lineage (isolated day 190) showed similar escape from ancestral SARS-CoV-2 and Delta-variant infection elicited neutralizing immunity despite having no spike mutations in common relative to the B.1 lineage. The day 190 isolate also evolved higher cell–cell fusion and faster viral replication and caused more cell death relative to virus isolated soon after diagnosis, though cell death was similar to day 34 first sub-lineage virus. These data show that SARS-CoV-2 strains in prolonged infection in a single individual can follow independent evolutionary trajectories which lead to neutralization escape and other changes in viral properties.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Visualizing and quantifying structural diversity around mobile resistance genes</title><link href="/shaw_visualizing_2023.html" rel="alternate"></link><published>2023-12-20T00:00:00+01:00</published><updated>2023-12-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-12-20:/shaw_visualizing_2023.html</id><summary type="html">&lt;p&gt;Understanding the evolution of mobile genes is important for understanding the spread of antimicrobial resistance (AMR). Many clinically important AMR genes have been mobilized by mobile genetic elements (MGEs) on the kilobase scale, such as integrons and transposons, which can integrate into both chromosomes and plasmids and lead to rapid …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Understanding the evolution of mobile genes is important for understanding the spread of antimicrobial resistance (AMR). Many clinically important AMR genes have been mobilized by mobile genetic elements (MGEs) on the kilobase scale, such as integrons and transposons, which can integrate into both chromosomes and plasmids and lead to rapid spread of the gene through bacterial populations. Looking at the flanking regions of these mobile genes in diverse genomes can highlight common structures and reveal patterns of MGE spread. However, historically this has been a largely descriptive process, relying on gene annotation and expert knowledge. Here we describe a general method to visualize and quantify the structural diversity around genes using pangraph to find blocks of homologous sequence. We apply this method to a set of 12 clinically important beta-lactamase genes and provide interactive visualizations of their flanking regions at https://liampshaw.github.io/flanking-regions. We show that nucleotide-level variation in the mobile gene itself generally correlates with increased structural diversity in its flanking regions, demonstrating a relationship between rates of mutational evolution and rates of structural evolution, and find a bias for greater structural diversity upstream. Our framework is a starting point to investigate general rules that apply to the horizontal spread of new genes through bacterial populations.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Evolution and neutralization escape of the SARS-CoV-2 BA.2.86 subvariant</title><link href="/khan_evolution_2023.html" rel="alternate"></link><published>2023-12-01T00:00:00+01:00</published><updated>2023-12-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-12-01:/khan_evolution_2023.html</id><summary type="html">&lt;p&gt;Omicron BA.2.86 subvariant differs from Omicron BA.2 as well as recently circulating variants by over 30 mutations in the spike protein alone. Here we report on the isolation of the live BA.2.86 subvariant from a diagnostic swab collected in South Africa which we tested for …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Omicron BA.2.86 subvariant differs from Omicron BA.2 as well as recently circulating variants by over 30 mutations in the spike protein alone. Here we report on the isolation of the live BA.2.86 subvariant from a diagnostic swab collected in South Africa which we tested for escape from neutralizing antibodies and viral replication properties in cell culture. We found that BA.2.86 does not have significantly more escape relative to Omicron XBB.1.5 from neutralizing immunity elicited by either Omicron XBB-family subvariant infection or from residual neutralizing immunity of recently collected sera from the South African population. BA.2.86 does have extensive escape relative to ancestral virus with the D614G substitution (B.1 lineage) when neutralized by sera from pre-Omicron vaccinated individuals and relative to Omicron BA.1 when neutralized by sera from Omicron BA.1 infected individuals. BA.2.86 and XBB.1.5 show similar viral infection dynamics in the VeroE6-TMPRSS2 and H1299-ACE2 cell lines. We also investigate the relationship of BA.2.86 to BA.2 sequences. The closest BA.2 sequences are BA.2 samples from Southern Africa circulating in early 2022. Similarly, many basal BA.2.86 sequences were sampled in Southern Africa. This suggests that BA.2.86 potentially evolved in this region, and that unobserved evolution led to escape from neutralizing antibodies similar in scale to recently circulating strains of SARS-CoV-2.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/202311_Ringvorlesung.html" rel="alternate"></link><published>2023-11-15T00:00:00+01:00</published><updated>2023-11-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-15:/202311_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Luca Sesta</title><link href="/luca-sesta.html" rel="alternate"></link><published>2023-11-12T00:00:00+01:00</published><updated>2023-11-12T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-12:/luca-sesta.html</id><content type="html"></content><category term="team"></category></entry><entry><title>"SARS-CoV-2 evolution and interaction with influenza"</title><link href="/202311_Impfkongress.html" rel="alternate"></link><published>2023-11-10T00:00:00+01:00</published><updated>2023-11-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-10:/202311_Impfkongress.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/16i89OmnQab8JARqgKaRYzTDm18Y178plWIcMaWCcIlk/edit#slide=id.p"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>PoL I: Quantitative problems, dimensions, and units</title><link href="/PoLI_2023_week01_UnitsAndLaws.html" rel="alternate"></link><published>2023-11-03T00:00:00+01:00</published><updated>2023-11-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-03:/PoLI_2023_week01_UnitsAndLaws.html</id><summary type="html">&lt;section&gt;
&lt;h2&gt;Can we understand biology quantitatively?&lt;/h2&gt;
&lt;h2&gt;How is Biology different from Physics?&lt;/h2&gt;
&lt;h2&gt;How can Physics help understand biological systems?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be controlled and exploited&lt;/li&gt;
                &lt;li&gt;Unintuitive behavior is captured …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h2&gt;Can we understand biology quantitatively?&lt;/h2&gt;
&lt;h2&gt;How is Biology different from Physics?&lt;/h2&gt;
&lt;h2&gt;How can Physics help understand biological systems?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be controlled and exploited&lt;/li&gt;
                &lt;li&gt;Unintuitive behavior is captured by physical theories&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;The strange behavior of rotating objects&lt;/h3&gt;
&lt;iframe width="1120" height="630" src="https://www.youtube.com/embed/1n-HMSCDYtM?si=Nwak0OQucbV4N-qO" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Biology is much more complex than Physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;b&gt;Physics is most effective in simple and controlled systems&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Laws of physics connect fundamental particles and forces.&lt;/li&gt;
                &lt;li&gt;These laws explain properties of simple systems and homogeneous matter&lt;/li&gt;
                &lt;li&gt;Good understanding of systems at equilibrium or isolated systems &lt;/li&gt;
                &lt;li&gt;These laws also govern complex systems, but the connection between the laws and the behavior is hard to decipher&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;&lt;br&gt;
        &lt;b&gt;Biological complexity&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Biological systems evolved -- layering complexity&lt;/li&gt;
                &lt;li&gt;Cells consist of thousands of molecular species, interacting in complicated ways&lt;/li&gt;
                &lt;li&gt;Biology is always in flux.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physics vs Biology&lt;/h4&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width: 45%; text-align: left;"&gt;
    &lt;img src="https://upload.wikimedia.org/wikipedia/commons/1/1f/Two-body_Jacobi_coordinates.JPG"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Two-body_Jacobi_coordinates.JPG"&gt;Wikipedia, by Brews Oshare&lt;/a&gt;&lt;/span&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt; Equations that govern the dynamics
    &lt;li&gt; Exact predictions of future configuration
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width: 50%; text-align: left;" class="fragment"&gt;
    &lt;img src="/talk_images/981px-Signal_transduction_pathways.svg.png"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=12081090"&gt;Wikipedia, by cybertory&lt;/a&gt;&lt;/span&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt; Long, but incomplete, list of components
    &lt;li&gt; Only qualitative description of interactions
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;From description to quantitative understanding!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Quantitative questions&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;How many human cells are in your body?&lt;/li&gt;
                &lt;li&gt;How many other cells?&lt;/li&gt;
                &lt;li&gt;How many ribosomes/signaling molecules are in a cell?&lt;/li&gt;
                &lt;li&gt;How do genes regulate each other?&lt;/li&gt;
                &lt;li&gt;How rapidly does a protein move from one end of the cell to another?&lt;/li&gt;
                &lt;li&gt;What fraction of transcription factors is bound to DNA?&lt;/li&gt;
                &lt;li&gt;What are the speed limits for biochemical reactions?&lt;/li&gt;
                &lt;li&gt;How are polarities and developmental gradients set up?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;font size="6" class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;b&gt;Not:&lt;/b&gt; Gene X causes Y&lt;/li&gt;
                &lt;li&gt;&lt;b&gt;But:&lt;/b&gt; 20% faster diffusion of gene X extends the gradient by $20\mu m$&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dimensions and units&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 40%; text-align: left;"&gt;
        &lt;h5&gt;&lt;b&gt;Dimensions&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length&lt;/li&gt;
                &lt;li&gt;weight&lt;/li&gt;
                &lt;li&gt;energy&lt;/li&gt;
                &lt;li&gt;current&lt;/li&gt;
                &lt;li&gt;force&lt;/li&gt;
                &lt;li&gt;temperature&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:22%; left:45%; width: 45%; text-align: left;" class="fragment"&gt;
        &lt;h5&gt;&lt;b&gt;Units:&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length: meters, miles, feet, Angstrom&lt;/li&gt;
                &lt;li&gt;weight: grams, stones, &lt;/li&gt;
                &lt;li&gt;energy: Joules, calories&lt;/li&gt;
                &lt;li&gt;current: ampere&lt;/li&gt;
                &lt;li&gt;force: Newton&lt;/li&gt;
                &lt;li&gt;temperature: Celsius, Kelvin&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:15%; width: 80%; text-align: left;" class="fragment"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Dimensions describe the nature of a quantity&lt;/li&gt;
                &lt;li&gt;Units are conventions to measure them&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Comparing quantities&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 70%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Only quantities of the same dimension can be compared: length $X$ is greater than length $Y$ etc. There is no sense is which length $X$ can be greater than weight $Y$.&lt;/li&gt;
                &lt;li class="fragment"&gt;Units are conventions -- there is nothing fundamental about them. &lt;/li&gt;
                &lt;li class="fragment"&gt;Some unit systems are more convenient than others.&lt;/li&gt;
                &lt;li class="fragment"&gt;Everyday units are often inconvienent for biological processes&lt;/li&gt;
                &lt;li class="fragment"&gt;We can pick units to make things as simple as possible&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Laws of physics relate quantities of different dimensions&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        Take Newton's law:&lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ F = m \times a$$
        $$ \mathrm{Force} = \mathrm{mass} \times \mathrm{acceleration}$$&lt;br&gt;
        &lt;/font&gt;
        Relates quantities of different dimensions to each other.
        &lt;br&gt;&lt;br&gt;
        &lt;div class="fragment"&gt;
        Common units for the quantities involved are: &lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ \mathrm{[Newton]} = \mathrm{[Kilogram]} \times \mathrm{[meter/second^2]}$$&lt;br&gt;
        &lt;/font&gt;
        thereby defining the unit of force "Newton".
        &lt;/div&gt;
        &lt;br&gt;&lt;br&gt;
        &lt;div class="fragment"&gt;
        &lt;b&gt;The law is valid in any system of units!&lt;/b&gt;
        &lt;br&gt;Units are chosen by humans, the law itself is fundamental.
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physical constants&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        Consider the gravitational law:
        &lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ F \sim \frac{m_1 m_2}{r^2}$$
        $$ \mathrm{Force} \sim \mathrm{mass^2}/\mathrm{length^2}$$&lt;br&gt;
        &lt;/font&gt;
        The quantities left and right do &lt;b&gt;not&lt;/b&gt; have the same dimensions!&lt;br&gt;

        Links force to masses and distance, but not what the absolute value of the force is.
        &lt;br&gt;
        &lt;div class="fragment"&gt;
        The missing link is established by the gravitational constant $G$:
        &lt;br&gt;
        &lt;font color=#BB2211&gt;
            $$ F = G\frac{m_1 m_2}{r^2}\quad \mathrm{with} \quad G \approx 6.67 \frac{m^3}{kg\,s^2}$$&lt;br&gt;
        &lt;/font&gt;
        The value of $G$ depends on the system of units we use.
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;This course: quantitative understanding of biology&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Laws of physics yield quantitative and predictive relationships and constraints for biology&lt;/li&gt;
                &lt;li&gt;Computer programming is essential to explore quantitative relationships and handle data&lt;/li&gt;
                &lt;li&gt;Units are absolutely critical to get right: &lt;br&gt;
                    If you calculate a &lt;i&gt;length&lt;/i&gt; and the result is in &lt;i&gt;seconds&lt;/i&gt; something went seriously wrong&lt;/li&gt;
                &lt;li&gt;Checking your units will catch many obvious mistakes.&lt;/li&gt;
                &lt;li&gt;Choosing your units wisely will make many calculations easier&lt;/li&gt;
            &lt;/ul&gt;
    &lt;/div&gt;

&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>APOBEC3 deaminase editing in mpox virus as evidence for sustained human transmission since at least 2016</title><link href="/otoole_apobec3_2023.html" rel="alternate"></link><published>2023-11-02T00:00:00+01:00</published><updated>2023-11-02T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-02:/otoole_apobec3_2023.html</id><summary type="html">&lt;p&gt;Historically, mpox has been characterized as an endemic zoonotic disease that transmits through contact with the reservoir rodent host in West and Central Africa. However, in May 2022, human cases of mpox were detected spreading internationally beyond countries with known endemic reservoirs. When the first cases from 2022 were sequenced …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Historically, mpox has been characterized as an endemic zoonotic disease that transmits through contact with the reservoir rodent host in West and Central Africa. However, in May 2022, human cases of mpox were detected spreading internationally beyond countries with known endemic reservoirs. When the first cases from 2022 were sequenced, they shared 42 nucleotide differences from the closest mpox virus (MPXV) previously sampled. Nearly all these mutations are characteristic of the action of APOBEC3 deaminases, host enzymes with antiviral function. Assuming APOBEC3 editing is characteristic of human MPXV infection, we developed a dual-process phylogenetic molecular clock that—inferring a rate of {\textasciitilde}6 APOBEC3 mutations per year—estimates that MPXV has been circulating in humans since 2016. These observations of sustained MPXV transmission present a fundamental shift to the perceived paradigm of MPXV epidemiology as a zoonosis and highlight the need for revising public health messaging around MPXV as well as outbreak management and control.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Physics of Life</title><link href="/2023_PoLI_overview.html" rel="alternate"></link><published>2023-11-01T00:00:00+01:00</published><updated>2023-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-11-01:/2023_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use whatever programming language you like (for example R or Matlab).
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Laws of physics and differential equations&lt;/li&gt;
&lt;li&gt;Growth processes&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Membraneless organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Preparatory material&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=WUvTyaaNkzM"&gt;Refresher on calculus (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.3blue1brown.com/lessons/differential-equations"&gt;Refresher on differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;Installation of Python and jupyter notebooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/PoL_notebooks/week00_programming_resources.ipynb"&gt;Jupyter notebooks with links to programming resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 1 -- The relevant scales: sizes, energies, concentrations&lt;ul&gt;
&lt;li&gt;&lt;a href="/PoLI_2023_week01_UnitsAndLaws.html"&gt;Quantitative problems, dimensions, and units&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;How big are biological entities? &lt;a href="https://tube.switch.ch/videos/439dc6b7"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01a_SizesAndLogScales.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01a_SizesAndLogScales.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 2 -- scales continued, differential equations, friction.&lt;ul&gt;
&lt;li&gt;Volumes and concentrations? &lt;a href="https://tube.switch.ch/videos/26d61d3c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01b_VolumesAndConcentrations.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01b_VolumesAndConcentrations.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Energies and Forces &lt;a href="https://tube.switch.ch/videos/5e03fb03"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01c_EnergiesAndForces.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01c_EnergiesAndForces.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Genome sizes &lt;a href="https://tube.switch.ch/videos/a91a6c31"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01d_GenomeSizes.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture01d_GenomeSizes.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Differential Equations &lt;a href="/PoL_notebooks/2023/lecture02a_differentialequations.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture02a_differentialequations.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 3 -- Biological growth processes, gene regulation&lt;ul&gt;
&lt;li&gt;Logistic growth, &lt;a href="/PoL_notebooks/2023/lecture02b_Growth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture02b_Growth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SIR and predator-prey &lt;a href="/PoL_notebooks/2023/lecture02c_SIR_and_LV_models.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture02c_SIR_and_LV_models.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Dynamical Systems &lt;a href="/PoL_notebooks/2023/lecture02d_DynamicalSystems.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture02d_DynamicalSystems.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Gene Regulation Basics &lt;a href="https://tube.switch.ch/videos/8d661dd6"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture03a_generegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture03a_generegulation.ipynb"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Gene Regulation Basics &lt;a href="https://tube.switch.ch/videos/2781a72f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture03b_SimpleModelsOfGeneRegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture03b_SimpleModelsOfGeneRegulation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Auto-activation and repression. &lt;a href="https://tube.switch.ch/videos/c73b3b6e"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/lecture03d_AutoActivationRepression.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/lecture03d_AutoActivationRepression.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 4 -- Random walks and diffusion&lt;ul&gt;
&lt;li&gt;Random protein production: &lt;a href="/PoL_notebooks/2023/lecture04_noisyExpression.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04_noisyExpression.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Random walks: &lt;a href="https://tube.switch.ch/videos/f618f8ff"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04a_RandomWalks.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04a_RandomWalks.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusion equation: &lt;a href="https://tube.switch.ch/videos/438c675b"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04b_DiffusionEquation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04b_DiffusionEquation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Boundary and initial conditions: &lt;a href="https://tube.switch.ch/videos/d4024a9f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04c_BoundaryAndInitialConditions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04c_BoundaryAndInitialConditions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusive transport: &lt;a href="https://tube.switch.ch/videos/634aedea"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04d_DiffusiveFlux.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04d_DiffusiveFlux.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stokes-Einstein relation: &lt;a href="https://tube.switch.ch/videos/63a3bae0"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04e_StokesEinsteinRelation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture04e_StokesEinsteinRelation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ly4S0oi3Yz8"&gt;Background: Introduction to partial differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ToIXSwZ1pJU"&gt;Background: Solutions to the heat and diffusion equation (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 5 -- Gene Regulation in Space&lt;ul&gt;
&lt;li&gt;Morphogen gradients -- regulation in space. &lt;a href="https://tube.switch.ch/videos/b2a4db07"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture05a_RegulationInSpace.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture05a_RegulationInSpace.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=Ncxs21KEj0g"&gt;Background: video lecture by Eric Wieschaus on Drosophila development&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://youtu.be/cpOf5el9GIk"&gt;Background: video lecture by Eric Wieschaus on Gradient formation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 6 -- Phase transitions in cell biology&lt;ul&gt;
&lt;li&gt;Phase transitions. &lt;a href="/PoL_notebooks/2023/lecture06a_membranelessOrganelles.pdf"&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Simple models of phase transitions, &lt;a href="https://tube.switch.ch/videos/653b6cd9"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture06b_SimpleModelOfPhaseTransitions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2023/lecture06b_SimpleModelOfPhaseTransitions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=AP47mIkd-h0"&gt;Background: video lecture by Cliff Brangwynne&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>SARS-CoV-2 evolution in the Omicron era</title><link href="/roemer_sars-cov-2_2023.html" rel="alternate"></link><published>2023-10-15T00:00:00+02:00</published><updated>2023-10-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-10-15:/roemer_sars-cov-2_2023.html</id><summary type="html">&lt;p&gt;Since SARS-CoV-2 BA.5 (Omicron) emerged and spread in 2022, Omicron lineages have markedly diversified. Here we review the evolutionary trajectories and processes that underpin the emergence of these lineages, and identify the most prevalent sublineages. We discuss the potential origins of second-generation BA.2 lineages. Simple and complex recombination …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Since SARS-CoV-2 BA.5 (Omicron) emerged and spread in 2022, Omicron lineages have markedly diversified. Here we review the evolutionary trajectories and processes that underpin the emergence of these lineages, and identify the most prevalent sublineages. We discuss the potential origins of second-generation BA.2 lineages. Simple and complex recombination, antigenic drift and convergent evolution have enabled SARS-CoV-2 to accumulate mutations that alter its antigenicity. We also discuss the potential evolutionary trajectories of SARS-CoV-2 in the future.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>SARS-COV-2 workshop</title><link href="/202309_badhonnef_SC2.html" rel="alternate"></link><published>2023-09-14T00:00:00+02:00</published><updated>2023-09-14T00:00:00+02:00</updated><author><name>Cornelius Roemer &amp; Richard Neher (modified from Valentin Druelle)</name></author><id>tag:None,2023-09-14:/202309_badhonnef_SC2.html</id><summary type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer using …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer using Nextstrain. Feel free to focus on other questions if you have something specific in mind.
- How many clades is there in your data ? What do they correspond to?
- How fast does SARS-COV-2 evolve overall?
- Is the root of the tree correctly inferred?
- Where are most of the mutations happening? What does this gene correspond to?
- What are some of the mutations characterizing the different variants?&lt;/p&gt;
&lt;h2&gt;Downloading sequence dataset&lt;/h2&gt;
&lt;p&gt;Use online resources to create a SARS-COV-2 sequence dataset of around 1000 sequences. In our case we will be using &lt;a href="https://www.ncbi.nlm.nih.gov/labs/virus/vssi/#/virus?SeqType_s=Nucleotide&amp;amp;VirusLineage_ss=taxid:2697049"&gt;NCBI virus resource&lt;/a&gt; to generate a suitable dataset.&lt;/p&gt;
&lt;p&gt;You will arrive there&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_2.png"&gt;&lt;/p&gt;
&lt;p&gt;The interface allows you to download a random selection of the many sequences that are available. This will be helpful for our purpose as we only want to analyze a few thousand sequences, not a few millions.
First, filter the sequences to a subset that best suits your questions&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_3.png"&gt;&lt;/p&gt;
&lt;p&gt;Then click download, specify the size of the random sample, and define the header you want for your sequences.&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_4.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_5.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_6.png"&gt;&lt;/p&gt;
&lt;p&gt;One also needs a reference sequence for the future alignment : https://www.ncbi.nlm.nih.gov/nuccore/MN908947.3/&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_7.png"&gt;
Take this sequence and save it as &lt;code&gt;reference.gb&lt;/code&gt; in your data folder.&lt;/p&gt;
&lt;h2&gt;Curating the dataset&lt;/h2&gt;
&lt;p&gt;Look at what you get on Aliview or similar. It's around 500MB.
Make sure the sequence names contain the relevant information.&lt;/p&gt;
&lt;h2&gt;Building the pipeline&lt;/h2&gt;
&lt;p&gt;The steps are very similar to the Zika tutorial, except that we must create the metadata file from the sequence names and change the parameters in the filter part to correctly subsample the dataset. You need this subsampling step otherwise it the following steps will take a long time to run (too many sequences).&lt;/p&gt;
&lt;p&gt;We suggest putting the raw data and everything you want to keep in a folder called &lt;code&gt;data&lt;/code&gt;. The files that you want to clean from one analysis to the next will be in another folders that will be removed via a snakemake &lt;code&gt;clean&lt;/code&gt; rule.&lt;/p&gt;
&lt;p&gt;Now it is time to create the snakemake pipeline. You can inspire yourself from the zika tutorial as it will be very similar.&lt;/p&gt;
&lt;p&gt;First define the input files you are going to use:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;INPUT_FASTA&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/SC2_sequences.fasta&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;REFERENCE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/reference.gb&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;DROPPED&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/dropped.txt&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;AUSPICE_CONFIG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;auspice_config.json&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You need to create the &lt;code&gt;dropped.txt&lt;/code&gt; file even if it stays empty.&lt;/p&gt;
&lt;p&gt;Also define the cleaning rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Removing directories: &lt;/span&gt;&lt;span class="si"&gt;{params}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;results&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;visualisation&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;rm -rfv &lt;/span&gt;&lt;span class="si"&gt;{params}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Metadata&lt;/h3&gt;
&lt;p&gt;The metadata concerning our sequence is contained in their headers. To create the metadata from these headers one can use the &lt;code&gt;augur parse&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;A snakemake rule can be created for this, for example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        Creating the metadata file from raw sequences {input.sequences}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;INPUT_FASTA&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;accession country date&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur parse \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-sequences {output.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-metadata {output.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --fields {params.fields}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Nextstrain workshop at Bad Honnef</title><link href="/202309_badhonnef_nextstrain.html" rel="alternate"></link><published>2023-09-14T00:00:00+02:00</published><updated>2023-09-14T00:00:00+02:00</updated><author><name>Cornelius Roemer and Richard Neher</name></author><id>tag:None,2023-09-14:/202309_badhonnef_nextstrain.html</id><summary type="html">&lt;p&gt;This workshop provides an overview of phylogenetic analysis and interactive visualization using Nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides an overview of phylogenetic analysis and interactive visualization using Nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;p&gt;&lt;img alt="QR" src="/teaching_images/202309_badhonnef_QR.png"&gt;&lt;/p&gt;
&lt;h3&gt;Prerequisites&lt;/h3&gt;
&lt;p&gt;Please follow the Nextstrain CLI installation instructions on &lt;a href="https://docs.nextstrain.org/en/latest/install.html"&gt;docs.nextstrain.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These are available for all the major operating systems (Windows, Mac, Linux). On Windows you need you setup WSL2 and install Docker.&lt;/p&gt;
&lt;p&gt;We recommend you configure either the &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;conda&lt;/code&gt; runtime for the workshop:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;nextstrain&lt;span class="w"&gt; &lt;/span&gt;setup&lt;span class="w"&gt; &lt;/span&gt;conda
nextstrain&lt;span class="w"&gt; &lt;/span&gt;setup&lt;span class="w"&gt; &lt;/span&gt;docker
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Check that everthing works by running&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;nextstrain&lt;span class="w"&gt; &lt;/span&gt;check-setup&lt;span class="w"&gt; &lt;/span&gt;--set-default
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For the rest of the tutorial, we assume that you are running all commands inside the &lt;code&gt;nextstrain shell&lt;/code&gt; which you can start with &lt;code&gt;nextstrain shell .&lt;/code&gt; and exit with &lt;code&gt;ctrl+d&lt;/code&gt; or by typing &lt;code&gt;exit&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Within this shell, all necessary tools are installed and ready to be used.&lt;/p&gt;
&lt;h3&gt;Overview and Basics&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_nextstrain_toolchain.html"&gt;The nextstrain toolchain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202203_qlife_augur.html"&gt;Analysis with augur and Snakemake -- Virus tutorial &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Next steps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202309_badhonnef_SC2.html"&gt;Analysis with augur and Snakemake -- SARS-CoV_2 Challenge&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_tips_and_tricks.html"&gt;Important steps in setting up your own analysis&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Additional steps and details&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201910_RIVM_refine.html"&gt;Options for time tree inference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_color_geo.html"&gt;Specify color maps and geographic information&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_advanced_snakemake.html"&gt;Advanced snakemake (wildcards, functions, default rules)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_meta_from_fasta.html"&gt;Parsing metadata from fasta files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_community.html"&gt;Community pages on nextstrain&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Viral genetic clustering and transmission dynamics of the 2022 mpox outbreak in Portugal</title><link href="/borges_viral_2023.html" rel="alternate"></link><published>2023-09-11T00:00:00+02:00</published><updated>2023-09-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-09-11:/borges_viral_2023.html</id><summary type="html">&lt;p&gt;Pathogen genome sequencing during epidemics enhances our ability to identify and understand suspected clusters and investigate their relationships. Here, we combine genomic and epidemiological data of the 2022 mpox outbreak to better understand early viral spread, diversification and transmission dynamics. By sequencing 52\% of the confirmed cases in Portugal, we …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Pathogen genome sequencing during epidemics enhances our ability to identify and understand suspected clusters and investigate their relationships. Here, we combine genomic and epidemiological data of the 2022 mpox outbreak to better understand early viral spread, diversification and transmission dynamics. By sequencing 52\% of the confirmed cases in Portugal, we identified the mpox virus sublineages with the highest impact on case numbers and fitted them into a global context, finding evidence that several international sublineages probably emerged or spread early in Portugal. We estimated a 62\% infection reporting rate and that 1.3\% of the population of men who have sex with men in Portugal were infected. We infer the critical role played by sexual networks and superspreader gatherings, such as sauna attendance, in the dissemination of mpox virus. Overall, our findings highlight genomic epidemiology as a tool for the real-time monitoring and control of mpox epidemics, and can guide future vaccine policy in a highly susceptible population.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Adaptation and immune escape of SARS-CoV-2"</title><link href="/202308_SSM.html" rel="alternate"></link><published>2023-08-31T00:00:00+02:00</published><updated>2023-08-31T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-08-31:/202308_SSM.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1h4_9CjiApdz3Urdfv0I7EitOhmY0R_6onPO2Z5_Pl68/edit#slide=id.p"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Fitness effects of mutations to SARS-CoV-2 proteins</title><link href="/bloom_fitness_2023.html" rel="alternate"></link><published>2023-08-19T00:00:00+02:00</published><updated>2023-08-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-08-19:/bloom_fitness_2023.html</id><summary type="html">&lt;p&gt;Knowledge of the fitness effects of mutations to SARS-CoV-2 can inform assessment of new variants, design of therapeutics resistant to escape, and understanding of the functions of viral proteins. However, experimentally measuring effects of mutations is challenging: we lack tractable lab assays for many SARS-CoV-2 proteins, and comprehensive deep mutational …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Knowledge of the fitness effects of mutations to SARS-CoV-2 can inform assessment of new variants, design of therapeutics resistant to escape, and understanding of the functions of viral proteins. However, experimentally measuring effects of mutations is challenging: we lack tractable lab assays for many SARS-CoV-2 proteins, and comprehensive deep mutational scanning has been applied to only two SARS-CoV-2 proteins. Here we develop an approach that leverages millions of publicly available SARS-CoV-2 sequences to estimate effects of mutations. We first calculate how many independent occurrences of each mutation are expected to be observed along the SARS-CoV-2 phylogeny in the absence of selection. We then compare these expected observations to the actual observations to estimate the effect of each mutation. These estimates correlate well with deep mutational scanning measurements. For most genes, synonymous mutations are nearly neutral, stop-codon mutations are deleterious, and amino-acid mutations have a range of effects. However, some viral accessory proteins are under little to no selection. We provide interactive visualizations of effects of mutations to all SARS-CoV-2 proteins (https://jbloomlab.github.io/SARS2-mut-fitness). The framework we describe is applicable to any virus for which the number of available sequences is sufficiently large that many independent occurrences of each neutral mutation are observed.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"Adaptation and immune escape of SARS-CoV-2"</title><link href="/202306_MCID.html" rel="alternate"></link><published>2023-06-29T00:00:00+02:00</published><updated>2023-06-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-06-29:/202306_MCID.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/13kwSQJRr2VBt0GbI3T8lLP-q-8uD0KFOIVsD8o_WTLw/edit#slide=id.p"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Waves driven by immune evasive variants: How large and how often?</title><link href="/202306_size_of_waves.html" rel="alternate"></link><published>2023-06-18T00:00:00+02:00</published><updated>2023-06-18T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-06-18:/202306_size_of_waves.html</id><summary type="html">&lt;h4&gt;&lt;a href="/static/2023-06_size_of_waves.ipynb"&gt;Click here for the IPython Notebook used to generate this post&lt;/a&gt;&lt;/h4&gt;
&lt;h4&gt;Revised on 2023-07-05&lt;/h4&gt;
&lt;p&gt;Since late 2020, the dynamics of SARS-CoV-2 incidence is driven by the emergence of novel variants that are either more transmissible than competing variants, or have changed in such a way that they can (partially) evade …&lt;/p&gt;</summary><content type="html">&lt;h4&gt;&lt;a href="/static/2023-06_size_of_waves.ipynb"&gt;Click here for the IPython Notebook used to generate this post&lt;/a&gt;&lt;/h4&gt;
&lt;h4&gt;Revised on 2023-07-05&lt;/h4&gt;
&lt;p&gt;Since late 2020, the dynamics of SARS-CoV-2 incidence is driven by the emergence of novel variants that are either more transmissible than competing variants, or have changed in such a way that they can (partially) evade population immunity.  Immune evasive variants can spread faster due to a larger pool of susceptible hosts.
The spread of such contagious diseases and the competition between variants is typically modeled by Susceptible-Infected-Recovered (SIR) models.
These SIR models come in many flavors, but even more complex versions are rather crude approximations of the spread of a diverse virus in a population that is heterogenous in many aspects, including immunological, demographic, mobility, contact patters, etc.
As a result these models are of limited use for quantitative predictions and inference, but they can inform intuition and illuminate how observed patterns depend on phenomenological parameters that capture general aspects of spread.
The latter is the objective of this note and it is mostly reiterating well known material from textbooks.
But I find myself having to look them up now and then and it is useful for me to have them all in the same place.
In particular, I will discuss&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#no-waning"&gt;how the final epidemic size in absence of waning depends on model parameters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#with-waning"&gt;how the fixed point, frequency of waves, and dampening of oscillations depend on the rate of waning&lt;/a&gt;, and&lt;/li&gt;
&lt;li&gt;&lt;a href="#size-of-waves-caused-by-invading-variants"&gt;the size of variant waves and how they depend on population heterogeneity&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The last point arose in frequently when we observed a novel variant growing in proportion at a certain rate: How many people will get infected in such a variant driven wave.
It turns out that the size of a wave depends strongly on population heterogeneity.&lt;/p&gt;
&lt;p&gt;I will close with some &lt;a href="#incorporating-heterogeneous-population-immunity-in-sir-models"&gt;thoughts on how to incorporate gradual waning of immunity&lt;/a&gt; in the population, for example via gradually decreasing neutralization titers, into SIR models. Waves generated by immune evasive in these models fall between the extreme cases expected from simple SIR models without population heterogeneity.&lt;/p&gt;
&lt;h2&gt;Basic SIR model with waning&lt;/h2&gt;
&lt;p&gt;The basic SIR model is given by
$$
\dot{S} = -\beta I S + \gamma (1-S)
$$
$$
\dot{I} = \beta I S - \nu I
$$&lt;/p&gt;
&lt;p&gt;where \(\nu\) is the recovery rate of an infected individual. We will use this rate to set the unit of time, that is we measure time in units of pathogen generations and set to \(\nu=1\).
For diseases of interest here, \(\nu \approx 1/\mathrm{week}\) or \(2/\mathrm{week}\) such that there are 50 to 100 generations per year.
The parameters \(\beta\) and \(\gamma\) are the rate at which the disease spreads from infected to susceptible individuals and the rate at which recovered individuals loose their immunity and become susceptible again, respectively.
The &lt;em&gt;basic reproductive number&lt;/em&gt; is given by \(R_0 = \beta/\nu\), while the initial growth rate of an outbreak in a completely susceptible population is given by \(\beta - \nu\).  We ignore population turn-over in this note.&lt;/p&gt;
&lt;p&gt;The behavior of this model with and without waning (\(\gamma=0\) or \(\gamma&amp;gt;0\)) is shown below. The model is solved numerically, see the &lt;a href="/static/2023-06_size_of_waves.ipynb"&gt;notebook&lt;/a&gt; for the code.&lt;/p&gt;
&lt;p&gt;&lt;img alt="png" src="/images/size_of_waves_output_2_0.png"&gt;&lt;/p&gt;
&lt;p&gt;As expected, the numerical solution above shows that the initial dynamics do not depend on \(\gamma\).
This holds as long as waning is slow compared to the duration of the first wave.
After the initial peak, the solution with waning exhibits a damped oscillation around a fixed point.
Without waning, the pool of susceptibles is irreversibly reduced and so small that it does not support pathogen spread. The system hence settles to a disease free state \(I(t)=0\) with 94% of the population immune (in the above example). Both the final epidemic size in absence of waning and the equilibrium properties with waning can be explored analytically.&lt;/p&gt;
&lt;p&gt;&lt;a name="no-waning"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Final epidemic size&lt;/h2&gt;
&lt;p&gt;Without waning, the residual susceptibility is simply the fraction of people that didn't get infected during the wave. To solve for the final size (&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3506030/"&gt;See Miller (2012) for a detailed discussion&lt;/a&gt;) for \(\gamma=0\), one divides \(\dot{I}\) by \(\dot{S}\) to obtain
$$
\frac{dI}{dS} = -1 + \frac{1}{\beta S}
$$
which can be integrated
$$
I(t) - I(0) = S(0) - S(t)  + \frac{\log(S(0)/S(t))}{\beta}
$$
For \(t\to \infty\), \(I(t) \to 0\) and \(I(0)\) can be chosen infinitesimally small such that the final susceptibility is the solution of this transcendental equation:
$$
S(t_\infty) = S(0)e^{-\beta (S(0) - S(t_\infty))}
$$&lt;/p&gt;
&lt;p&gt;For large \(\beta\) and an initially completely susceptible population \(S(0)=1\), \(S(\infty)\approx e^{-\beta}\).
For \(\beta\) close to 1 we can expand the exponential and solve for \(R(t_\infty) = 1-S(t_\infty)\)
$$
\begin{split}
R(t_\infty) &amp;amp; = 1 - e^{-\beta R(t_\infty)} \approx  \beta R(t_\infty) - \frac{\beta^2 R(t_\infty)^2}{2}  + \cdots
\end{split}
$$
This linear approximation yields \(R(t_\infty) \approx 2(\beta-1)\) confirming the notion that a similar of people are infected before and after the peak of the wave. The full equation can be solved iteratively.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;beta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;1.4&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;final_epidemic_size&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_iter&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;S0&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;max_iter&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;max_iter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;Sf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;S0&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;max_iter&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;Sf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;S0&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;S0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Sf&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Sf&lt;/span&gt;

&lt;span class="n"&gt;beta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;final size for &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="si"&gt;=}&lt;/span&gt;&lt;span class="s2"&gt; is: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;final_epidemic_size&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;S0&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;1.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;1.3f&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;final&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;size&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;is&lt;/span&gt;:&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;.&lt;span class="mi"&gt;940&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a name="with-waning"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Equilibrium with waning&lt;/h2&gt;
&lt;p&gt;With positive \(\gamma\), there is a non-trivial fix point at
$$
\bar{S} = \beta^{-1} \quad \mathrm{and} \quad \bar{I} = \gamma(1-\beta^{-1}) =  \gamma(1-\bar{S})
$$
This fixed point has the intuitive property that average number of secondary cases \(R_e = \beta\bar{S} = 1\) and that the average incidence is rate at which immune individuals become susceptible (the product of the rate of waning and the size of the immune compartment \(1-\bar{S}\)).
Deviations \(\delta S\) and \(\delta I\) from this steady state (\(\bar{S}, \bar{I}\)) can be analyzed by linear perturbation theory.
In matrix form, the linearized system is given by
$$
\begin{pmatrix}
\dot{\delta S}\\
\dot{\delta I}
\end{pmatrix} =
\begin{pmatrix}
-\gamma \beta &amp;amp; -1\\
\gamma (\beta-1) &amp;amp; 0
\end{pmatrix}
\begin{pmatrix}
\delta S\\
\delta I
\end{pmatrix}
$$
with characteristic equation \(-\lambda(\gamma\beta - \lambda) + \gamma (\beta-1)=0\) and eigenvalues
$$
\lambda_{1/2} = -\frac{\gamma \beta}{2} \pm \sqrt{\gamma^2 \beta^2/4 - \gamma(\beta -1)}
$$
The corresponding right-eigenvectors are
$$
v_{1/2} = \begin{pmatrix} -1 \\ \lambda_{1/2} + \gamma \beta  \end{pmatrix}
$$
When \(\gamma &amp;lt; \frac{4}{\beta(1- \beta)}\), as is true in cases of interest, the system exhibits dampened oscillations with a frequency
$$
\omega = \sqrt{\gamma(\beta -1) - \gamma^2 \beta^2/4} \approx \sqrt{\gamma(\beta-1)}\left(1 - \frac{\gamma\beta^2}{8(\beta-1)}+\ldots \right)
$$
and a decay time \(\tau = \frac{2}{\gamma\beta}\).&lt;/p&gt;
&lt;p&gt;A period \(T\) is thus related to \(\gamma\) and \(\beta\) via \(2\pi = \omega T \approx \sqrt{\gamma(\beta-1)}T\) such that the rate of waning is \(\gamma = \frac{4\pi^2}{T^2(\beta-1)}\).
With \(\beta\) somewhere around 5 and waves every 4 months (20-25 serial intervals), we obtain \(\gamma = \frac{4\pi^2}{4\cdot{} 25^2}\approx \frac{1}{60}\) per serial interval.
Note that this rate of waning includes contributions from viral evolution, which will be discontinuous jumps associated with the emergence of novel variants, and individual loss of immunity which will be gradual at the population level.&lt;/p&gt;
&lt;h3&gt;Linear solution around the fixed point&lt;/h3&gt;
&lt;p&gt;To calculate the coefficients of the linear solution with the above eigenvalues and eigenvectors, we need the left eigenvectors
$$
u_{1/2} = \frac{1}{\gamma (\beta-1)}\left(\begin{matrix} \gamma (\beta-1) \ \lambda_{1/2} + \gamma \beta  \end{matrix}\right)
$$
which scaled such that \(v_i \cdot u_i = 1\). Coefficients of the solution
$$
\begin{pmatrix}
S\\
I
\end{pmatrix} =
\begin{pmatrix}
\bar{S}\\
\bar{I}
\end{pmatrix} +
e^{-t/\tau} \left(a_1 e^{i\omega t} + a_2 e^{-i \omega t}\right)
$$
where \(a_i = u_i \left(
\delta S(0),
\delta I(0)
\right)^t
\)&lt;/p&gt;
&lt;p&gt;&lt;img alt="png" src="/images/size_of_waves_output_9_0.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name="size-of-waves-caused-by-invading-variants"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Size of waves caused by invading variants&lt;/h2&gt;
&lt;p&gt;After having explored the size of an initial outbreak and the equilibrium in a population where immunity wanes, let's consider a new, initially rare, variant that grows at a rate \(\alpha\) in a population where the resident variant is at equilibrium.
This growth rate is related to \(\beta^{*} \) and the susceptibility \(S^{*} \) of the new variant via \(\alpha = \beta^{*} S^{*} - 1\).&lt;/p&gt;
&lt;p&gt;Within this simple model, a novel variant could grow with rate \(\alpha\) for different reasons&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Transmissibility&lt;/strong&gt;: The variant is more transmissible with increased \(\beta^{*}\) but unchanged \(S^{*}=S\), no immune evasion. In this case \(\beta^* = \frac{1+\alpha}{S} = (1 + \alpha)\beta\).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-One immune evasion&lt;/strong&gt;: The variant grows because a fraction of the population is completely susceptible again but \(\beta^*=\beta\) is unchanged. In this case, the new susceptibility is \(S^* = S (1+\alpha)\).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Uniform immune evasion&lt;/strong&gt;: The variant grows because immune protection of the entire population is reduced. This would correspond to a model with \(S^* = 1\) and \(\beta^* = 1+\alpha\) (This ignores the previously susceptible fraction, but this will be small for a disease with large \(R_0\)).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These three scenarios (mixtures of them are of course possible) lead to waves of rather different size. Since we are concerned with the wave caused by a single invading variant, we can ignore waning and set \(\gamma=0\). Despite identical initial growth rates, the size of the wave is much higher when transmission is supported by slow spread in the entire population compared to fast spread in a small completely susceptible population. When significant waning occurs over the course of the wave caused by the new variant, the epidemic sizes of the different scenarios become more similar.&lt;/p&gt;
&lt;p&gt;&lt;img alt="png" src="/images/size_of_waves_output_11_0.png"&gt;&lt;/p&gt;
&lt;p&gt;Over the past 18 months, we have frequently seen variants with doubling times between one and two weeks, corresponding to growth rates between 0.25 and 0.5 per serial interval.
The above example is for \(\alpha=0.25\) per serial interval with attack rates varying from 10% to above 35%.
For faster growing variants, e.g. \(\alpha=0.5\), the attack rates range from 17% for the zero-one immune evasion scenario to 58% for the uniform evasion scenario.
In both cases, the size of resulting wave differs about 3-fold depending on population heterogeneity.&lt;/p&gt;
&lt;p&gt;&lt;a name="incorporating-heterogeneous-population-immunity-in-sir-models"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Incorporating heterogeneous population immunity in SIR models&lt;/h2&gt;
&lt;p&gt;The models above classify individuals as either completely susceptible or completely protected with transitions between these "compartments".
More generally, different individuals differ in their response to the virus and have been exposed to different variants at different times in the past with gradual waning of immunity.
We therefore expect there to be a distribution of protective immunity in the population.
Related extensions of SIR models have been proposed by &lt;a href="https://arxiv.org/abs/2211.09062"&gt;Mohamed El Khalifi and Tom Britton&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A simple model of the probability of infection upon exposure could be
$$
p = e^{-x}
$$
where \(x\) could be interpreted as a neutralization titer or some other correlate of protection. In the population, there is a distribution \(\phi(x,t)\) that is governed by waning with rate \(v\), boosting by infection with rate \(\nu I(t)\):
$$
\frac{\partial \phi}{\partial t} = D \frac{\partial^2 \phi(x,t)}{\partial^2 x} + v\frac{\partial \phi(x,t)}{\partial x} + I(t) \left(\delta(x-x_0) - \beta \phi(x,t) e^{-x}\right)
$$
The first diffusive term accounts for variation in the waning rate \(v\) and boosting through cross-immunity with other pathogens.&lt;/p&gt;
&lt;p&gt;The infection dynamics is given by
$$
\frac{dI}{dt} = I(t) \left(\beta \int_0^\infty dx \phi(x,t) e^{-x} - 1\right)
$$&lt;/p&gt;
&lt;p&gt;As before, we use the recovery rate to set the unit of time.
Other scales and numbers that play a role are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(\beta\) is the infectivity and related to \(R_0\) via \(R_0 = \frac{\beta}{\nu}\)&lt;/li&gt;
&lt;li&gt;\(v\) is the velocity at which titers drop. We generally expect this to be on the order of 0.01 to 0.1/per week corresponding to 0.5 to 5 antigenic units per year.&lt;/li&gt;
&lt;li&gt;\(x_0\) is the typical post-infection titer.&lt;/li&gt;
&lt;li&gt;\(D\) the titer diffusivity. This diffusivity will capture heterogeneity in the rate of titer drops and other variation. I don't have an expectation for its value. But I imagine something like \(0.02\) per serial interval is sensible, resulting in an 2 unit^2 variance after a year.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The average susceptibility in this model is then given by
$$
\langle S \rangle = \int_0^{x_0} dx\, \phi(x) e^{-x}
$$
And the resulting growth rate of the outbreak is
$$
\beta \langle S \rangle - 1 = \beta \int_0^{x_0} dx\, \phi(x) e^{-x} - 1
$$&lt;/p&gt;
&lt;p&gt;The simple discretized implementation of this model is given by:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;SusceptI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    time derivative of the prevalence and the susceptibility distribution.&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="c1"&gt;# convert D and v to right/left jump rates. stuff all waning into the left jumps&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;  &lt;span class="c1"&gt;#+ v/2/dx&lt;/span&gt;
    &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;

    &lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
    &lt;span class="n"&gt;dY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;dY&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;dY&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;dY&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;  &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;dY&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;dY&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This discretized model can be readily solved numerically, see the figure below.
At first, this model exhibits narrow waves with increasing frequency before settling into a pattern of damped oscillations similar to the compartmental model above (top left panel).&lt;/p&gt;
&lt;p&gt;Initially, the is no population heterogeneity and the time between waves is given by the time it takes for population to loose immunity from \(x=x_0\) to \(x&amp;lt;1\), which is \(t=x_0/v\).
These intervals are indicated by the gray vertical bars.
Since the gradual transmission from an immune state to a susceptible state takes time, this model effectively implements a delay which could give rise to sustained oscillations. For parameter values investigate here, oscillations are damped.&lt;/p&gt;
&lt;p&gt;The population distribution of immunity \(x\) is shown in the lower two panels.
The lower left panel show the distribution at three early time points, the right panel the approximate equilibrium distribution at long times.
Once the population distribution of \(x\) has equilibrated, the system has a tendency to oscillate around a fixed point similar to the SIR model.
But these oscillations decay less rapidly than in the equivalent SIR model with \(\gamma=v/x_0\), which would correspond to the inverse of the time over which people loose their immunity. The period of the oscillations is also longer than the \(t = 2\pi/\sqrt{(\beta-1)\gamma}\) expected in the compartmental model.&lt;/p&gt;
&lt;p&gt;&lt;img alt="png" src="/images/size_of_waves_output_16_0.png"&gt;&lt;/p&gt;
&lt;p&gt;This pattern of accelerating waves that gradually dampen is also observed in COVID-19, for example in the hospitalization data of the UK:&lt;/p&gt;
&lt;p&gt;&lt;img alt="image.png" src="/images/size_of_waves_UK_waves.png"&gt;
Figure: Hospitalization data from England visualized by &lt;a href="https://ourworldindata.org/grapher/uk-daily-covid-admissions?country=London~South+East~England"&gt;OurWorldInData&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However, the first two peaks here correspond to initial wave spring 2020 and the Alpha wave and their timing is not determined by immune waning dynamics but the emergence of variants. Since late 2021, the more or less continuous circulation of Omicron variants with a 3-4 months period is more suggestive of a dynamics determined by immune waning and reinfection.&lt;/p&gt;
&lt;h2&gt;Immune evasive variants&lt;/h2&gt;
&lt;p&gt;Now consider an immune evasive variant invading. The susceptibility of the population to this variant can differ from that of the original variant in different ways.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the titers in the population could be uniformly reduced by a factor, that is \(x \rightarrow \max(0, x-\Delta x)\) and \(\phi'(x) = \phi(x+\Delta x) + \phi_0 \delta(x)\), where \(\delta(x) \) is a Dirac-Delta function and \(\phi_0 = \int_0^{\Delta x} \phi(x)dx \). We'll refer to this case as &lt;strong&gt;shifted&lt;/strong&gt; susceptibility.&lt;/li&gt;
&lt;li&gt;a fraction \(\epsilon\) of the population becomes completely susceptible,
 i.e. \(\phi'(x) = \epsilon \delta(x) + (1-\epsilon)\phi(x)\). We'll refer to this case as &lt;strong&gt;partial loss&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With increasing number of variants, susceptibilities and cross-immunities, model become a lot more complex. But we will consider a simple case where with only one immune escape variant with the modified susceptibility \(\phi'(x)\) and ignore the resident variant. In this case, we still have a single variant model with the same parameters. The variant initially grows with a rate \(\beta \langle S' \rangle - 1\).&lt;/p&gt;
&lt;p&gt;To compare how the size of a wave depends on the model assumptions, we numerically solve for a wave with an initial susceptibility \(\phi\) according the &lt;strong&gt;shift&lt;/strong&gt; and &lt;strong&gt;partial loss&lt;/strong&gt; models and compare this to the waves in standard SIR models. For the latter, we assume that (i) every body in the population is partially susceptible (uniform evasion), that that a fraction of the population is fully susceptible and the remainder fully immune (zero/one). In all cases, parameters are adjusted such that the initial growth rates are equal:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;# copy the equilibrium susceptibility distribution&lt;/span&gt;
&lt;span class="n"&gt;phi_base_line&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;copy&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sol&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:])&lt;/span&gt;

&lt;span class="c1"&gt;# calculate the shifted probability distribution&lt;/span&gt;
&lt;span class="n"&gt;delta_x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="n"&gt;phi_shift&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi_base_line&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;phi_shift&lt;/span&gt;&lt;span class="p"&gt;[:(&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;delta_x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;()]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;phi_base_line&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;delta_x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;phi_shift&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;phi_shift&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;=&lt;/span&gt;&lt;span class="n"&gt;delta_x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;S_avg_shift&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi_shift&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;

&lt;span class="c1"&gt;# calculate the probability for the partial_loss case&lt;/span&gt;
&lt;span class="n"&gt;eps&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.21&lt;/span&gt;
&lt;span class="n"&gt;phi_loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;phi_base_line&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;eps&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;phi_loss&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;phi_base_line&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;eps&lt;/span&gt;
&lt;span class="n"&gt;S_avg_loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi_loss&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;

&lt;span class="n"&gt;growth_rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;S_avg_shift&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;average susceptibility -- shift:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;S_avg_shift&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;1.3f&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;, loss:&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;S_avg_loss&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;1.3f&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;growth rate: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;growth_rate&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;1.3f&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;I&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;
&lt;span class="n"&gt;T&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;Y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi_shift&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;sol_shift&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;odeint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;SusceptI&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;Y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;I&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi_loss&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;sol_loss&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;odeint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;SusceptI&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;gamma&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;xgrid&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;average susceptibility -- shift:0.365, loss:0.366
growth rate: 0.823
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;img alt="png" src="/images/size_of_waves_output_20_1.png"&gt;&lt;/p&gt;
&lt;p&gt;As expected, models with a continuous susceptibility distribution generate wave sizes in between the extreme cases where the entire population is uniformly susceptible, and where a fraction is completely susceptible. The shifted titer-case is closer to the former, the partial loss closer to the latter.&lt;/p&gt;</content><category term="post"></category><category term="sars-cov-2"></category></entry><entry><title>LAPIS is a fast web API for massive open virus sequencing data</title><link href="/chen_lapis_2023.html" rel="alternate"></link><published>2023-06-05T00:00:00+02:00</published><updated>2023-06-05T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-06-05:/chen_lapis_2023.html</id><summary type="html">&lt;p&gt;BACKGROUND: Recent epidemic outbreaks such as the SARS-CoV-2 pandemic and the mpox outbreak in 2022 have demonstrated the value of genomic sequencing data for tracking the origin and spread of pathogens. Laboratories around the globe generated new sequences at unprecedented speed and volume and bioinformaticians developed new tools and dashboards …&lt;/p&gt;</summary><content type="html">&lt;p&gt;BACKGROUND: Recent epidemic outbreaks such as the SARS-CoV-2 pandemic and the mpox outbreak in 2022 have demonstrated the value of genomic sequencing data for tracking the origin and spread of pathogens. Laboratories around the globe generated new sequences at unprecedented speed and volume and bioinformaticians developed new tools and dashboards to analyze this wealth of data. However, a major challenge that remains is the lack of simple and efficient approaches for accessing and processing sequencing data.
RESULTS: The Lightweight API for Sequences (LAPIS) facilitates rapid retrieval and analysis of genomic sequencing data through a REST API. It supports complex mutation- and metadata-based queries and can perform aggregation operations on massive datasets. LAPIS is optimized for typical questions relevant to genomic epidemiology. Using a newly-developed in-memory database engine, it has a high speed and throughput: between 25 January and 4 February 2023, the SARS-CoV-2 instance of LAPIS, which contains 14.5 million sequences, processed over 20 million requests with a mean response time of 411 ms and a median response time of 1 ms. LAPIS is the core engine behind our dashboards on genspectrum.org and we currently maintain public LAPIS instances for SARS-CoV-2 and mpox.
CONCLUSIONS: Powered by an optimized database engine and available through a web API, LAPIS enhances the accessibility of genomic sequencing data. It is designed to serve as a common backend for dashboards and analyses with the potential to be integrated into common database platforms such as GenBank.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>"From pandemic to endemic: the interplay of immunity, viral evolution, and seasonality"</title><link href="/202305_Nordita.html" rel="alternate"></link><published>2023-05-31T00:00:00+02:00</published><updated>2023-05-31T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-05-31:/202305_Nordita.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1mErUB6fYBxGhGARQuYrQCHlB-7SIzNseSxGcK59OYq4/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>"Evolution of SARS-CoV-2: fitness landscapes, immune escape, and emergence of variants of concern"</title><link href="/202305_Karolinska.html" rel="alternate"></link><published>2023-05-29T00:00:00+02:00</published><updated>2023-05-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-05-29:/202305_Karolinska.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/13Tm209MSXRQRhiRAv3Pk5_rdMl7NMtJgjt_9zWfhr5s/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title></title><link href="/202304_SSGM.html" rel="alternate"></link><published>2023-04-27T00:00:00+02:00</published><updated>2023-04-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-27:/202304_SSGM.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1CMOGRaiwXnT9CaVGYjmfT-82tYCHUGF7gvG49HBqMrw/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Rapid escape of new SARS-CoV-2 Omicron variants from BA.2-directed antibody responses</title><link href="/dijokaite-guraliuc_rapid_2023.html" rel="alternate"></link><published>2023-04-25T00:00:00+02:00</published><updated>2023-04-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-25:/dijokaite-guraliuc_rapid_2023.html</id><summary type="html">&lt;p&gt;In November 2021, Omicron BA.1, containing a raft of new spike mutations, emerged and quickly spread globally. Intense selection pressure to escape the antibody response produced by vaccines or severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infection then led to a rapid succession of Omicron sub-lineages with waves of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In November 2021, Omicron BA.1, containing a raft of new spike mutations, emerged and quickly spread globally. Intense selection pressure to escape the antibody response produced by vaccines or severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infection then led to a rapid succession of Omicron sub-lineages with waves of BA.2 and then BA.4/5 infection. Recently, many variants have emerged such as BQ.1 and XBB, which carry up to 8 additional receptor-binding domain (RBD) amino acid substitutions compared with BA.2. We describe a panel of 25 potent monoclonal antibodies (mAbs) generated from vaccinees suffering BA.2 breakthrough infections. Epitope mapping shows potent mAb binding shifting to 3 clusters, 2 corresponding to early-pandemic binding hotspots. The RBD mutations in recent variants map close to these binding sites and knock out or severely knock down neutralization activity of all but 1 potent mAb. This recent mAb escape corresponds with large falls in neutralization titer of vaccine or BA.1, BA.2, or BA.4/5 immune serum.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title></title><link href="/202304_dynamics.html" rel="alternate"></link><published>2023-04-22T00:00:00+02:00</published><updated>2023-04-22T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-22:/202304_dynamics.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1WkFbsH3dW7-U66xmjaae9qWCmS11Iuo-FHJPVavq7p4/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Post-doctoral position in phylogenetics and microbial evolution</title><link href="/202304_BZ_postdoc.html" rel="alternate"></link><published>2023-04-21T00:00:00+02:00</published><updated>2023-04-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-21:/202304_BZ_postdoc.html</id><summary type="html">&lt;p&gt;A postdoctoral position is available in the &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on evolution of pathogenic viruses and bacteria with a focus on seasonal influenza virus, SARS-CoV-2, enteroviruses, and drug resistance evolution in bacteria. Research in our group combines …&lt;/p&gt;</summary><content type="html">&lt;p&gt;A postdoctoral position is available in the &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on evolution of pathogenic viruses and bacteria with a focus on seasonal influenza virus, SARS-CoV-2, enteroviruses, and drug resistance evolution in bacteria. Research in our group combines population genetics, phylogenetics, mathematical models, and next-generation sequencing to understand the complex dynamics of host-pathogen interactions.
On one hand, we are interested in &lt;strong&gt;developing tools to analyze and visualize large datasets&lt;/strong&gt; and maintain several popular tools such as &lt;a href="http://nextstrain.org"&gt;Nextstrain&lt;/a&gt; (together with Trevor Bedford's group in Seattle), &lt;a href="https://github.com/neherlab/treetime/"&gt;TreeTime&lt;/a&gt;, &lt;a href="https://pangenome.org"&gt;panX&lt;/a&gt;, and &lt;a href="https://github.com/neherlab/pangraph"&gt;panGraph&lt;/a&gt;.
On the other hand, we tackle &lt;strong&gt;fundamental questions of how microbes evolve&lt;/strong&gt; in light of changing population immunity, drug therapy, or new environments.
Adaptation via recombination, reassortment, and genome structure evolution are of particular interest to us.&lt;/p&gt;
&lt;p&gt;Possible projects of a post-doctoral fellow include (i) novel phylogenetic and phylodynamic methods suitable for very large data sets, (ii) scalable inference from ancestral reassortment graphs of influenza, and (iii) evolution of gene content and gene order of bacterial chromosomes or plasmids.
The scope of the projects is flexible, can be tailored to the applicants interest and skills, and we are open to exciting new ideas.&lt;/p&gt;
&lt;h4&gt;What we offer&lt;/h4&gt;
&lt;p&gt;You would have the opportunity to pursue original research in a small, interactive, and interdisciplinary group that tackles diverse problems in computational biology.
We are internationally well connected and collaborate with several other research groups in Basel and in different parts of the world.
We have access to state-of-the-art computing facilities, wet lab space, and sufficient funding for conference travel and research expenses.
Our team includes a professional software engineer who can turn novel methods into robust and maintainable software.
Salaries are competitive.&lt;/p&gt;
&lt;h4&gt;Whom we are looking for&lt;/h4&gt;
&lt;p&gt;We are looking for a creative and collaborative person with a genuine interest in evolution and with either a&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a degree in bioinformatics, computer science, physics, applied math or similar and a strong genuine interest in biology, or&lt;/li&gt;
&lt;li&gt;a life science degree and strong quantitative skills&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are excited about this opportunity but unsure whether your profile matches what we are looking for, please get in touch.&lt;/p&gt;
&lt;h4&gt;Application&lt;/h4&gt;
&lt;p&gt;Please send your cover letter, statement of research interests, CV, publication list, and contact information of three references as one pdf file to &lt;a href="mailto:richard.neher@unibas.ch"&gt;Richard Neher&lt;/a&gt;. Please state clearly in your cover letter what your main interests are and how you think it resonates with the work of our group.
Reviewing of application will start on June 1st and continue until the position is filled.&lt;/p&gt;
&lt;h4&gt;Living and working in Basel&lt;/h4&gt;
&lt;p&gt;Quality of life in Basel is one of the highest worldwide. Basel is a very international city and a center of art, music, and research. The city is less than 5km from both France and Germany and an hour and a half from the Swiss Alps.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum&lt;/a&gt; of the &lt;a href="http://www.unibas.ch"&gt;University of Basel&lt;/a&gt; is one of the leading institutes worldwide for molecular and biomedical basic research. It is home to more than 30 research groups with scientists from over 40 countries. Research at the Biozentrum focuses on the areas of Cell Growth &amp;amp; Development, Infection Biology, Neurobiology, Structural Biology &amp;amp; Biophysics and Computational &amp;amp; Systems Biology. With its more than 500 employees, the Biozentrum is the largest department at the University of Basel’s Faculty of Science. Several other academic institutions are also in the city, including the &lt;a href="http://www.fmi.ch"&gt;Friedrich Miescher Institute&lt;/a&gt;, the &lt;a href="https://www.bsse.ethz.ch/"&gt;ETH Zurich Biosystems Science and Engineering Department&lt;/a&gt;, and the &lt;a href="http://www.swisstph.ch/"&gt;Swiss Tropical Health Institute&lt;/a&gt;.&lt;/p&gt;</content><category term="job_old"></category></entry><entry><title>PanGraph: scalable bacterial pan-genome graph construction</title><link href="/noll_pangraph_2023.html" rel="alternate"></link><published>2023-04-17T00:00:00+02:00</published><updated>2023-04-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-17:/noll_pangraph_2023.html</id><summary type="html">&lt;p&gt;The genomic diversity of microbes is commonly parameterized as population genetic polymorphisms relative to a reference genome of a well-characterized, but arbitrary, isolate. Reference genomes contain a fraction of the microbial pangenome, the set of genes observed within all isolates of a given species, and are thus blind to both …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The genomic diversity of microbes is commonly parameterized as population genetic polymorphisms relative to a reference genome of a well-characterized, but arbitrary, isolate. Reference genomes contain a fraction of the microbial pangenome, the set of genes observed within all isolates of a given species, and are thus blind to both the dynamics of the accessory genome, as well as variation within gene order and copy number. With the wide-spread usage of long-read sequencing, the number of high-quality, complete genome assemblies has increased dramatically. Traditional computational approaches towards whole-genome analysis either scale poorly, or treat genomes as dissociated bags of genes, and thus are not suited for this new era. Here, we present PanGraph, a Julia based library and command line interface for aligning whole genomes into a graph, wherein each genome is represented as an undirected path along vertices, which in turn, encapsulate homologous multiple sequence alignments. The resultant data structure succinctly summarizes population-level nucleotide and structural polymorphisms and can be exported into a several common formats for either downstream analysis or immediate visualization.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Evolution of the SARS-CoV-2 mutational spectrum</title><link href="/bloom_evolution_2023.html" rel="alternate"></link><published>2023-04-10T00:00:00+02:00</published><updated>2023-04-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-04-10:/bloom_evolution_2023.html</id><summary type="html">&lt;p&gt;SARS-CoV-2 evolves rapidly in part because of its high mutation rate. Here we examine whether this mutational process itself has changed during viral evolution. To do this, we quantify the relative rates of different types of single nucleotide mutations at four-fold degenerate sites in the viral genome across millions of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;SARS-CoV-2 evolves rapidly in part because of its high mutation rate. Here we examine whether this mutational process itself has changed during viral evolution. To do this, we quantify the relative rates of different types of single nucleotide mutations at four-fold degenerate sites in the viral genome across millions of human SARS-CoV-2 sequences. We find clear shifts in the relative rates of several types of mutations during SARS-CoV-2 evolution. The most striking trend is a roughly two-fold decrease in the relative rate of G→T mutations in Omicron versus early clades, as was recently noted by Ruis et al (2022). There is also a decrease in the relative rate of C→T mutations in Delta, and other subtle changes in the mutation spectrum along the phylogeny. We speculate that these changes in the mutation spectrum could arise from viral mutations that affect genome replication, packaging, and antagonization of host innate-immune factors—although environmental factors could also play a role. Interestingly, the mutation spectrum of Omicron is more similar than that of earlier SARS-CoV-2 clades to the spectrum that shaped the long-term evolution of sarbecoviruses. Overall, our work shows that the mutation process is itself a dynamic variable during SARS-CoV-2 evolution, and suggests that human SARS-CoV-2 may be trending towards a mutation spectrum more similar to that of other animal sarbecoviruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Visualizing how pathogens spread and change</title><link href="/202303_VizBi.html" rel="alternate"></link><published>2023-03-31T00:00:00+02:00</published><updated>2023-03-31T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-03-31:/202303_VizBi.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds …&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Many data dimensions&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Phylogenetic tree -- hierarchical relatedness structure&lt;/li&gt;
&lt;li&gt;Genotype -- mutations and variants&lt;/li&gt;
&lt;li&gt;Dynamics and time&lt;/li&gt;
&lt;li&gt;Spatial distribution&lt;/li&gt;
&lt;li&gt;Phenotypes&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a href="https://nextstrain.org"&gt;Nextstrain.org&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_splash_page.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_results.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_tree.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_tooltip.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;img src="/talk_images/2023-03-29_flu_titer_tree_rawA.png" width="30%"&gt;
    &lt;img src="/talk_images/2023-03-29_flu_titer_tree_rawB.png" width="30%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;img src="/talk_images/2023-03-29_flu_titer_treeA.png" width="30%"&gt;
    &lt;img src="/talk_images/2023-03-29_flu_titer_treeB.png" width="30%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;img src="/talk_images/2023-03_measurements_panel.png" width="80%"&gt;
    &lt;span class="ref"&gt;Jover Lee..., John Huddleston, 2023&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;img src="/talk_images/2023-03_measurements_panel_raw.png" width="80%"&gt;
    &lt;span class="ref"&gt;Jover Lee..., John Huddleston, 2023&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;None of this works for millions of tips&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
  &lt;img src="talk_images/2023-03_sequence_availablity.png" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Data from GISAID.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Taxonium by Theo Sanderson&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
  &lt;img src="talk_images/taxonium.png" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Theo Sanderson, eLife, 2022&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Pandemic scale trees by UShER &lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
  &lt;ul&gt;
  &lt;li&gt;phylogenetic tree of millions of samples grown through placement&lt;/li&gt;
  &lt;li&gt;Fast search on this tree to explore the context of specific samples&lt;/li&gt;
  &lt;li&gt;Extraction of the context and visualization in Nextstrain&lt;/li&gt;
  &lt;/ul&gt;
  &lt;img src="/talk_images/usher_example.jpg" width="800px"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Turakhia et al, 2021&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title></title><link href="/202303_TecNight.html" rel="alternate"></link><published>2023-03-28T00:00:00+02:00</published><updated>2023-03-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-03-28:/202303_TecNight.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1vrEOdQp3mLVITElDevzVwSpChFrbuowna63fUccUmKs/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>What can we learn from millions of viral genomes.</title><link href="/202303_Crick.html" rel="alternate"></link><published>2023-03-15T00:00:00+01:00</published><updated>2023-03-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-03-15:/202303_Crick.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1d2yDt0sQw88Rsct6H8bQvmhNI2IwdgA_gp1yFHQdXgo/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Predictability of influenza virus evolution</title><link href="/202303_RoyalSociety.html" rel="alternate"></link><published>2023-03-14T00:00:00+01:00</published><updated>2023-03-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-03-14:/202303_RoyalSociety.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine strain selection schedule&lt;/h3&gt;
    &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
    &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
    &lt;h2&gt;Can we pick a "winner"?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traditional approach: evolutionary race of viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Single mutations are easy to find, many such mutation are needed for success&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:45%; width:60%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting an optimal representative&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Moderate prediction success&lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;But is a random strain for previous years a sensible null?&lt;/li&gt;
        &lt;li&gt;Does this work for the right reason?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Predicting the distribution in sequence space&lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/2020_Huddleston_prediction_illustration.png" width="70%"&gt;&lt;/object&gt;
    &lt;span class="ref"&gt;Huddleston et al, eLife, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Follow up investigations show very modest predictability&lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/2020_Huddleston_prediction_models.png" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Optimal transport distances between prediction and observation -- less than one amino acid gained&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;Huddleston et al, eLife, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Do A/H3N2 mutations have inertia?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Complicated "Ecology" of host and pathogen&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:85%; text-align:left "&gt;
    &lt;font size=6&gt;&lt;ul&gt;
        &lt;li&gt;Current approaches focus on the virus population&lt;/li&gt;
        &lt;li&gt;Models are predicated on identifying a 'winner'&lt;/li&gt;
        &lt;li&gt;Instead, dynamics might be slaved to host immunity:&lt;br&gt;
        &amp;rarr; exposure history and waning determine population immunity, viruses fill whatever niche there is&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:5%; width:85%; text-align:left" class="fragment"&gt;
    &lt;font size=6&gt;&lt;ul&gt;
        &lt;li&gt;For prediction, host data would be at least as important as viral dynamics&lt;/li&gt;
        &lt;li&gt;Prediction horizon is limited to within season dynamics that equilibrates the host-pathogen immunity landscape&lt;/li&gt;
        &lt;li&gt;Viral adaptations are niche specific and loose their benefit after equilibration.&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity in immune responses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/Lee_DMS_flu_antigenic_diversity.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.7554/eLife.49324"&gt;Lee et al, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/john_huddleston.jpg" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;John Huddleston&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fixation probability is quasi-neutral&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;h5&gt;A/H3N2 influenza&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_only.png" width="90%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%" class="fragment"&gt;
    &lt;h5&gt;Simulations with increasing interference&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_simulation.png" width="85%" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>A pseudovirus system enables deep mutational scanning of the full SARS-CoV-2 spike</title><link href="/dadonaite_pseudovirus_2023.html" rel="alternate"></link><published>2023-02-10T00:00:00+01:00</published><updated>2023-02-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2023-02-10:/dadonaite_pseudovirus_2023.html</id><summary type="html">&lt;p&gt;A major challenge in understanding SARS-CoV-2 evolution is interpreting the antigenic and functional effects of emerging mutations in the viral spike protein. Here, we describe a deep mutational scanning platform based on non-replicative pseudotyped lentiviruses that directly quantifies how large numbers of spike mutations impact antibody neutralization and pseudovirus infection …&lt;/p&gt;</summary><content type="html">&lt;p&gt;A major challenge in understanding SARS-CoV-2 evolution is interpreting the antigenic and functional effects of emerging mutations in the viral spike protein. Here, we describe a deep mutational scanning platform based on non-replicative pseudotyped lentiviruses that directly quantifies how large numbers of spike mutations impact antibody neutralization and pseudovirus infection. We apply this platform to produce libraries of the Omicron BA.1 and Delta spikes. These libraries each contain ∼7,000 distinct amino acid mutations in the context of up to ∼135,000 unique mutation combinations. We use these libraries to map escape mutations from neutralizing antibodies targeting the receptor-binding domain, N-terminal domain, and S2 subunit of spike. Overall, this work establishes a high-throughput and safe approach to measure how ∼105 combinations of mutations affect antibody neutralization and spike-mediated infection. Notably, the platform described here can be extended to the entry proteins of many other viruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Reversions to consensus are positively selected in HIV-1 and bias substitution rate estimates</title><link href="/druelle_reversions_2023.html" rel="alternate"></link><published>2022-12-15T00:00:00+01:00</published><updated>2022-12-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-12-15:/druelle_reversions_2023.html</id><summary type="html">&lt;p&gt;Human immunodeficiency virus 1 (HIV-1) is a rapidly evolving virus able to evade host immunity through rapid adaptation during chronic infection. The HIV-1 group M has diversified since its zoonosis into several subtypes at a rate of the order of 10−3 changes per site per year. This rate varies …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Human immunodeficiency virus 1 (HIV-1) is a rapidly evolving virus able to evade host immunity through rapid adaptation during chronic infection. The HIV-1 group M has diversified since its zoonosis into several subtypes at a rate of the order of 10−3 changes per site per year. This rate varies between different parts of the genome, and its inference is sensitive to the timescale and diversity spanned by the sequence data used. Higher rates are estimated on short timescales and particularly for within-host evolution, while rate estimates spanning decades or the entire HIV-1 pandemic tend to be lower. The underlying causes of this difference are not well understood. We investigate here the role of rapid reversions toward a preferred evolutionary sequence state on multiple timescales. We show that within-host reversion mutations are under positive selection and contribute substantially to sequence turnover, especially at conserved sites. We then use the rates of reversions and non-reversions estimated from longitudinal within-host data to parameterize a phylogenetic sequence evolution model. Sequence simulation of this model on HIV-1 phylogenies reproduces diversity and apparent evolutionary rates of HIV-1 in gag and pol, suggesting that a tendency to rapidly revert to a consensus-like state can explain much of the time dependence of evolutionary rate estimates in HIV-1.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Contributions of adaptation and purifying selection to SARS-CoV-2 evolution</title><link href="/neher_contributions_2022.html" rel="alternate"></link><published>2022-12-10T00:00:00+01:00</published><updated>2022-12-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-12-10:/neher_contributions_2022.html</id><summary type="html">&lt;p&gt;Continued evolution and adaptation of SARS-CoV-2 has led to more transmissible and immune-evasive variants with profound impacts on the course of the pandemic. Here I analyze the evolution of the virus over 2.5 years since its emergence and estimate the rates of evolution for synonymous and non-synonymous changes separately …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Continued evolution and adaptation of SARS-CoV-2 has led to more transmissible and immune-evasive variants with profound impacts on the course of the pandemic. Here I analyze the evolution of the virus over 2.5 years since its emergence and estimate the rates of evolution for synonymous and non-synonymous changes separately for evolution within clades—well-defined monophyletic groups with gradual evolution—and for the pandemic overall. The rate of synonymous mutation is found to be around 6 changes per year. Synonymous rates within variants vary little from variant to variant and are compatible with the overall rate of 7 changes per year (or \$7.5 {\textbackslash}times 10{\textasciicircum}{-4}\$ per year and codon). In contrast, the rate at which variants accumulate amino acid changes (non-synonymous mutations) was initially around 12-16 changes per year, but in 2021 and 2022 it dropped to 6-9 changes per year. The overall rate of non-synonymous evolution, that is across variants, is estimated to be about 26 amino acid changes per year (or \$2.7 {\textbackslash}times 10{\textasciicircum}{-3}\$ per year and codon). This strong acceleration of the overall rate compared to within clade evolution indicates that the evolutionary process that gave rise to the different variants is qualitatively different from that in typical transmission chains and likely dominated by adaptive evolution. I further quantify the spectrum of mutations and purifying selection in different SARS-CoV-2 proteins and show that the massive global sampling of SARS-CoV-2 is sufficient to estimate site-specific fitness costs across the entire genome. Many accessory proteins evolve under limited evolutionary constraints with little short-term purifying selection. About half of the mutations in other proteins are strongly deleterious.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Determinants of antigenic evolution in SARS-CoV-2 and Influenza Viruses</title><link href="/202212_Geneva.html" rel="alternate"></link><published>2022-12-09T00:00:00+01:00</published><updated>2022-12-09T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-12-09:/202212_Geneva.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1HoYjY0B-u8pVVjgk3Z6Y4-XDv20PvquaQDEdLK2yISo/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evolution and spread of Influenza, HIV, and SARS-CoV-2</title><link href="/202212_CBB.html" rel="alternate"></link><published>2022-12-01T00:00:00+01:00</published><updated>2022-12-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-12-01:/202212_CBB.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds …&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;thousands of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than &gt;14M sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of SARS-CoV-2 variants&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_S1_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Remarkable patterns of rapid adaptation&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/2022-05-09_ncov_diversity.png" width=100%&gt;
&lt;img src="/talk_images/omicron_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;, outbreak.info&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Gradual shift from selection on transmission to immune escape&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 55%"&gt;
  &lt;img src="/talk_images/SouthAfrica_seroprevalence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:65%; width: 35%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Until early-2021, seroprevalence was low to moderate&lt;/li&gt;
    &lt;li&gt;Delta infections and vaccination resulted in high seroprevalence in 2021&lt;/li&gt;
    &lt;li&gt;Variant success now is dominated by immune escape&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://www.cdc.gov/mmwr/volumes/71/wr/mm7117e3.htm&gt;Kleynhans et al&lt;/a&gt;, ourworldindata.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated sequentially&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 50%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_radial.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:18%; left:60%; width: 40%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Variant emergence likely through chronic infections&lt;/li&gt;
    &lt;li&gt;Strong dichotomy (until 2022): dramatic changes between variants, slow and steady within variants&lt;/li&gt;
    &lt;li&gt;Omicron variants are more dynamic&lt;/li&gt;
    &lt;li&gt;With BA.4/5 and BA.2 subvariants, we start to see second generation variants&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;What is driving this?&lt;/h5&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;Can we predict?&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;To predict, we need to quantify selection by immunity&lt;/h3&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%"&gt;
      &lt;img src="/talk_images/straten_SC2_serology.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:7%; width:55%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Given a population immunity "landscape", how much escape is caused by which mutation?&lt;/li&gt;
    &lt;li&gt;How variable are individual immune responses?&lt;/li&gt;
    &lt;li&gt;How does exposure history shape neutralization of different variants?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic vs acute infections?&lt;/li&gt;
    &lt;li&gt;Does escape during chronic infection mediate inter-individual escape?
        It did for Omicron, but will this stay that way?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic infections in other viruses?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%" class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_escape.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:7%; width:50%"class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_selection.png" width=100%&gt;
    &lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/10.1101/2022.01.28.477987v1"&gt;van der Straten et al, biorxiv, 2022&lt;/a&gt;;
                  &lt;a href="https://elifesciences.org/articles/49324"&gt;Lee, ... Bloom, eLife, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/moira_zuber.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/inaki_comas.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/fernando_gonzales.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/tanja_stadler.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Moira Zuber&lt;/li&gt;
        &lt;li&gt;Inaki Comas&lt;/li&gt;
        &lt;li&gt;Fernando Gonzales&lt;/li&gt;
        &lt;li&gt;Tanja Stadler&lt;/li&gt;
    &lt;li&gt;Sarah Nadeau&lt;/li&gt;
    &lt;li&gt;Tim Vaughan&lt;/li&gt;
    &lt;li&gt;Jesse Bloom&lt;/li&gt;
    &lt;li&gt;David Veesler&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/202211_Ringvorlesung.html" rel="alternate"></link><published>2022-11-30T00:00:00+01:00</published><updated>2022-11-30T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-11-30:/202211_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_tb.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;thousands of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than &gt;14M sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of SARS-CoV-2 variants&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spanish EU1 diversity was mirrored across Europe &lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:60%; width:30%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree_legend.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_S1_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Remarkable patterns of rapid adaptation&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/2022-05-09_ncov_diversity.png" width=100%&gt;
&lt;img src="/talk_images/omicron_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;, outbreak.info&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Gradual shift from selection on transmission to immune escape&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 55%"&gt;
  &lt;img src="/talk_images/SouthAfrica_seroprevalence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:65%; width: 35%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Until early-2021, seroprevalence was low to moderate&lt;/li&gt;
    &lt;li&gt;Delta infections and vaccination resulted in high seroprevalence in 2021&lt;/li&gt;
    &lt;li&gt;Variant success now is dominated by immune escape&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://www.cdc.gov/mmwr/volumes/71/wr/mm7117e3.htm&gt;Kleynhans et al&lt;/a&gt;, ourworldindata.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated sequentially&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 50%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_radial.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:18%; left:60%; width: 40%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Variant emergence likely through chronic infections&lt;/li&gt;
    &lt;li&gt;Strong dichotomy (until 2022): dramatic changes between variants, slow and steady within variants&lt;/li&gt;
    &lt;li&gt;Omicron variants are more dynamic&lt;/li&gt;
    &lt;li&gt;With BA.4/5 and BA.2 subvariants, we start to see second generation variants&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;What is driving this?&lt;/h5&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;Can we predict?&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;To predict, we need to quantify selection by immunity&lt;/h3&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%"&gt;
      &lt;img src="/talk_images/straten_SC2_serology.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:7%; width:55%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Given a population immunity "landscape", how much escape is caused by which mutation?&lt;/li&gt;
    &lt;li&gt;How variable are individual immune responses?&lt;/li&gt;
    &lt;li&gt;How does exposure history shape neutralization of different variants?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic vs acute infections?&lt;/li&gt;
    &lt;li&gt;Does escape during chronic infection mediate inter-individual escape?
        It did for Omicron, but will this stay that way?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic infections in other viruses?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%" class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_escape.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:7%; width:50%"class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_selection.png" width=100%&gt;
    &lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/10.1101/2022.01.28.477987v1"&gt;van der Straten et al, biorxiv, 2022&lt;/a&gt;;
                  &lt;a href="https://elifesciences.org/articles/49324"&gt;Lee, ... Bloom, eLife, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Impact of cross-border-associated cases on the SARS-CoV-2 epidemic in Switzerland during summer 2020 and 2021</title><link href="/reichmuth_impact_2022.html" rel="alternate"></link><published>2022-11-25T00:00:00+01:00</published><updated>2022-11-25T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-11-25:/reichmuth_impact_2022.html</id><summary type="html">&lt;p&gt;During the summers of 2020 and 2021, the number of confirmed cases of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infections in Switzerland remained at relatively low levels, but grew steadily over time. It remains unclear to what extent epidemic growth during these periods was a result of the relaxation …&lt;/p&gt;</summary><content type="html">&lt;p&gt;During the summers of 2020 and 2021, the number of confirmed cases of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) infections in Switzerland remained at relatively low levels, but grew steadily over time. It remains unclear to what extent epidemic growth during these periods was a result of the relaxation of local control measures or increased traveling and subsequent importation of cases. A better understanding of the role of cross-border-associated cases (imports) on the local epidemic dynamics will help to inform future surveillance strategies. We analyzed routine surveillance data of confirmed cases of SARS-CoV-2 in Switzerland from 1 June to 30 September 2020 and 2021. We used a stochastic branching process model that accounts for superspreading of SARS-CoV-2 to simulate epidemic trajectories in absence and in presence of imports during summer 2020 and 2021. The Swiss Federal Office of Public Health reported 22,919 and 145,840 confirmed cases of SARS-CoV-2 from 1 June to 30 September 2020 and 2021, respectively. Among cases with known place of exposure, 27\% (3,276 of 12,088) and 25\% (1,110 of 4,368) reported an exposure abroad in 2020 and 2021, respectively. Without considering the impact of imported cases, the steady growth of confirmed cases during summer periods would be consistent with a value of Re that is significantly above the critical threshold of 1. In contrast, we estimated Re at 0.84 (95\% credible interval, CrI: 0.78–0.90) in 2020 and 0.82 (95\% CrI: 0.74–0.90) in 2021 when imported cases were taken into account, indicating that the local Re was below the critical threshold of 1 during summer. In Switzerland, cross-border-associated SARS-CoV-2 cases had a considerable impact on the local transmission dynamics and can explain the steady growth of the epidemic during the summers of 2020 and 2021.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Estimation and worldwide monitoring of the effective reproductive number of SARS-CoV-2</title><link href="/huisman_estimation_2022.html" rel="alternate"></link><published>2022-11-20T00:00:00+01:00</published><updated>2022-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-11-20:/huisman_estimation_2022.html</id><summary type="html">&lt;p&gt;The effective reproductive number Re is a key indicator of the growth of an epidemic. Since the start of the SARS-CoV-2 pandemic, many methods and online dashboards have sprung up to monitor this number through time. However, these methods are not always thoroughly tested, correctly placed in time, or are …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The effective reproductive number Re is a key indicator of the growth of an epidemic. Since the start of the SARS-CoV-2 pandemic, many methods and online dashboards have sprung up to monitor this number through time. However, these methods are not always thoroughly tested, correctly placed in time, or are overly confident during high incidence periods. Here, we present a method for timely estimation of Re, applied to COVID-19 epidemic data from 170 countries. We thoroughly evaluate the method on simulated data, and present an intuitive web interface for interactive data exploration. We show that, in early 2020, in the majority of countries the estimated Re dropped below 1 only after the introduction of major non-pharmaceutical interventions. For Europe the implementation of non-pharmaceutical interventions was broadly associated with reductions in the estimated Re. Globally though, relaxing non-pharmaceutical interventions had more varied effects on subsequent Re estimates. Our framework is useful to inform governments and the general public on the status of epidemics in their country, and is used as the official source of Re estimates for SARS-CoV-2 in Switzerland. It further allows detailed comparison between countries and in relation to covariates such as implemented public health policies, mobility, behaviour, or weather data.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Swiss public health measures associated with reduced SARS-CoV-2 transmission using genome data</title><link href="/nadeau_swiss_2022.html" rel="alternate"></link><published>2022-11-08T00:00:00+01:00</published><updated>2022-11-08T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-11-08:/nadeau_swiss_2022.html</id><summary type="html">&lt;p&gt;Genome sequences from evolving infectious pathogens allow quantification of case introductions and local transmission dynamics. We sequenced 11,357 severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) genomes from Switzerland in 2020 - the sixth largest effort globally. Using a representative subset of these data, we estimated viral introductions to Switzerland and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Genome sequences from evolving infectious pathogens allow quantification of case introductions and local transmission dynamics. We sequenced 11,357 severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) genomes from Switzerland in 2020 - the sixth largest effort globally. Using a representative subset of these data, we estimated viral introductions to Switzerland and their persistence over the course of 2020. We contrasted these estimates with simple null models representing the absence of certain public health measures. We show that Switzerland’s border closures de-coupled case introductions from incidence in neighboring countries. Under a simple model, we estimate an 86–98\% reduction in introductions during Switzerland’s strictest border closures. Furthermore, the Swiss 2020 partial lockdown roughly halved the time for sampled introductions to die out. Last, we quantified local transmission dynamics once introductions into Switzerland occurred, using a phylodynamic model. We found that transmission slowed 35–63\% upon outbreak detection in summer 2020, but not in fall. This finding may indicate successful contact tracing over summer before overburdening in fall. The study highlights the added value of genome sequencing data for understanding transmission dynamics.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Contributions of adaptation and purifying selection to SARS-CoV-2 evolution</title><link href="/202211_StLucia.html" rel="alternate"></link><published>2022-11-03T00:00:00+01:00</published><updated>2022-11-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-11-03:/202211_StLucia.html</id><content type="html">&lt;section&gt;
&lt;h2&gt;&lt;a href="https://docs.google.com/presentation/d/1NGGtvwDXn9TpZjKqGROlZU1eUuWrpce_QbT8FN_BF9o/edit?usp=sharing"&gt;Link to Slides&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Physics of Life</title><link href="/2022_PoLI_overview.html" rel="alternate"></link><published>2022-09-20T00:00:00+02:00</published><updated>2022-09-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-09-20:/2022_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use what ever programming language you like.
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Refresher: Growth processes and simple differential equations&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Membraneless organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Preparatory material&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=WUvTyaaNkzM"&gt;Refresher on calculus (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;Installation of Python and jupyter notebooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/PoL_notebooks/week00_programming_resources.ipynb"&gt;Jupyter notebooks with links to programming resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 1 -- The relevant scales: sizes, energies, concentrations&lt;ul&gt;
&lt;li&gt;&lt;a href="/PoLI_week01_UnitsAndLaws.html"&gt;Quantitative problems, dimensions, and units&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;How big are biological entities? &lt;a href="https://tube.switch.ch/videos/439dc6b7"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01a_SizesAndLogScales.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01a_SizesAndLogScales.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Volumes and concentrations? &lt;a href="https://tube.switch.ch/videos/26d61d3c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01b_VolumesAndConcentrations.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01b_VolumesAndConcentrations.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Energies and Forces &lt;a href="https://tube.switch.ch/videos/5e03fb03"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01c_EnergiesAndForces.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01c_EnergiesAndForces.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Noise and Stochasticity &lt;a href="https://tube.switch.ch/videos/f031d439"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01d_NoiseAndStochasticity.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01d_NoiseAndStochasticity.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Genome sizes &lt;a href="https://tube.switch.ch/videos/a91a6c31"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01e_GenomeSizes.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture01e_GenomeSizes.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 2 -- Growth processes and differential equations&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=p_di4Zn4wz4"&gt;Background: Introduction to differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/ed5794b7"&gt;Linear and exponential growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture02a_linearAndExponentialGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture02a_linearAndExponentialGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/fb0c82ca"&gt;Logistic growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture02b_logisticGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture02b_logisticGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SIR and predator-prey &lt;a href="/PoL_notebooks/2022/lecture02c_SIR_and_LV_models.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture02c_SIR_and_LV_models.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 3 -- Brownian motion, diffusion, and Fick's law&lt;ul&gt;
&lt;li&gt;Random walks: &lt;a href="https://tube.switch.ch/videos/f618f8ff"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03a_RandomWalks.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03a_RandomWalks.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusion equation: &lt;a href="https://tube.switch.ch/videos/438c675b"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03b_diffusionEquation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03b_diffusionEquation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Boundary and initial conditions: &lt;a href="https://tube.switch.ch/videos/d4024a9f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03c_BoundaryAndInitialConditions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03c_BoundaryAndInitialConditions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusive transport: &lt;a href="https://tube.switch.ch/videos/634aedea"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03d_DiffusiveTransport.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03d_DiffusiveTransport.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stokes-Einstein relation: &lt;a href="https://tube.switch.ch/videos/63a3bae0"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03e_StokesEinsteinRelation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture03e_StokesEinsteinRelation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ly4S0oi3Yz8"&gt;Background: Introduction to partial differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ToIXSwZ1pJU"&gt;Background: Solutions to the heat and diffusion equation (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lecture 4 -- Polymers&lt;ul&gt;
&lt;li&gt;Introduction and ideal chains: &lt;a href="https://tube.switch.ch/videos/094db580"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04a_IntroductionToPolymerPhysics.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04a_IntroductionToPolymerPhysics.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stiff polymers: &lt;a href="https://tube.switch.ch/videos/7179ba6c"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/2022/lecture04b_StiffPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04b_StiffPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pulling: &lt;a href="https://tube.switch.ch/videos/45f301dd"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/2022/lecture04c_PullingOnPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04c_PullingOnPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pushing: &lt;a href="https://tube.switch.ch/videos/2fca4c13"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/2022/lecture04d_CompressionOfPolymers..ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04d_CompressionOfPolymers..pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://tube.switch.ch/videos/8e3c92c9"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/2022/lecture04e_DynamicCytoskeleton.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/2022/lecture04e_DynamicCytoskeleton.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://youtu.be/FIT0fdt6c3Y"&gt;Video by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/wQID2zmeWTQ"&gt;Cell motility by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/Ixt9We2hiGc"&gt;Evolution of the cytoskeleton by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Moving targets: Genomic epidemiology tools during a pandemic</title><link href="/202209_IMMEM.html" rel="alternate"></link><published>2022-09-15T00:00:00+02:00</published><updated>2022-09-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-09-15:/202209_IMMEM.html</id><summary type="html">&lt;section&gt;
&lt;h2&gt;From 1'000s to 1'000'000s of samples&lt;/h2&gt;
&lt;h2&gt;From a few labs to hundreds of contributing labs&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Our favorite fancy tools and models couldn't handle it&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;

&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Sample size:&lt;/b&gt; could only use a tiny fraction of data&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Slow:&lt;/b&gt; Analyses that take weeks are incompatible with actionable insights.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Complex:&lt;/b&gt; Link between inferences and data …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h2&gt;From 1'000s to 1'000'000s of samples&lt;/h2&gt;
&lt;h2&gt;From a few labs to hundreds of contributing labs&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Our favorite fancy tools and models couldn't handle it&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;

&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Sample size:&lt;/b&gt; could only use a tiny fraction of data&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Slow:&lt;/b&gt; Analyses that take weeks are incompatible with actionable insights.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Complex:&lt;/b&gt; Link between inferences and data signatures too indirect.&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;

&lt;div class="fragment"&gt;
&lt;br&gt;&lt;b&gt;Needed tools to make sense of an avalanche of data&lt;/b&gt;
&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Fast:&lt;/b&gt; immediate results/summaries&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Robust:&lt;/b&gt; data quality varies, sampling is biased. Complex models go wrong in weird ways when assumptions are violated.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Simple:&lt;/b&gt; anything to complex can't be interpreted reliably.&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:30%; left:50%; width: 40%; text-align:left"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;h2&gt;Many smart people made amazing tools with open data&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt;&lt;a href="https://cov-spectrum.ethz.ch"&gt;cov-spectrum&lt;/a&gt;: interactive interface to query any mutation/lineage&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://genome.ucsc.edu/cgi-bin/hgPhyloPlace"&gt;Usher&lt;/a&gt;: find related viruses in giant tree, assign pango-lineages&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://outbreak.info"&gt;outbreak.info&lt;/a&gt;: variant/mutation stats&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://cov2tree.org/"&gt;cov2tree.org&lt;/a&gt;: giant SC2 phylogenies&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://cov-lineages.org"&gt;PANGO lineages&lt;/a&gt;: granular lineages for tracking&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequence analysis and interpretation are challenging&lt;/h3&gt;
&lt;font size=6&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
&lt;b&gt;Nextstrain's focus: enable teams to make sense of their data&lt;/b&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;font size=5&gt;
&lt;div  style="position: absolute;top:35%; left:10%; width: 40%; text-align:left" class="fragment"&gt;
&lt;b&gt; Workflows to analyze custom data + background &lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt; Hierarchical sampling: global, country, division. &lt;/li&gt;
    &lt;li&gt; Hosting via Nextstrain groups&lt;/li&gt;
    &lt;li&gt; Aimed at completion within hours&lt;/li&gt;
    &lt;li&gt; Data sharing restriction made this more difficult than it should have been&lt;/li&gt;
    &lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:33%; left:50%; width: 40%; text-align:left" class="fragment"&gt;
&lt;img src="/talk_images/nextclade_logo.png" width="500px"&gt;
    &lt;ul&gt;
    &lt;li&gt; No experience necessary&lt;/li&gt;
    &lt;li&gt; QC: avoid releasing bad data&lt;/li&gt;
    &lt;li&gt; Clades, lineages, mutations&lt;/li&gt;
    &lt;li&gt; Private&lt;/li&gt;
    &lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2022-09_Basel_ncov.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;&lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_splash_page.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_results.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_tree.png"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/nextclade_tooltip.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextclade Web and CLI&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;img src="/talk_images/nextclade_cli.png"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;Aligns, translates, classifies a SARS-CoV-2 genome in 20ms &lt;/li&gt;
&lt;li&gt;Now used for QC and filtering in many Nextstrain workflows&lt;/li&gt;
&lt;li&gt;QC and mutations calls used for many downstream analysis&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:6%; left:10%; width: 80%; text-align:left"&gt;
&lt;font size=6&gt;
&lt;b&gt;All open sequences annotated and aligned, updated daily:&lt;/b&gt;&lt;br&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="https://data.nextstrain.org/files/ncov/open/metadata.tsv.gz"&gt;metadata.tsv.gz&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://data.nextstrain.org/files/ncov/open/sequences.fasta.xz"&gt;sequences.fasta.xz&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://data.nextstrain.org/files/ncov/open/aligned.fasta.xz"&gt;aligned.fasta.xz&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextclade Web and CLI&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 90%; text-align:left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Prevalent QC problems changed over time:&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;Initially: assembly/mapping problems with clustered SNPs&lt;/li&gt;
    &lt;li&gt;Later: Reference calls in uncovered regions&lt;/li&gt;
    &lt;li&gt;Later: Contamination/cross-talk&lt;/li&gt;
    &lt;/ul&gt;&lt;/li&gt;
&lt;li class="fragment"&gt;&lt;b&gt;Feature additions:&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;Differentiating between biological (known) frame shifts/stop codons and artefacts&lt;/li&gt;
    &lt;li&gt;Detecting mixed lineages (recombinants, chimeras, contaminants) &lt;/li&gt;
    &lt;li&gt;Added Pango lineage calling&lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
&lt;li class="fragment"&gt;&lt;b&gt;Rewrites:&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;Summer 2020: "web-first" JavaScript application (plus node.js CLI)&lt;/li&gt;
    &lt;li&gt;Spring 2021: rewrite in C++ with web-assembly&lt;/li&gt;
    &lt;li&gt;Jun 2022: release of the Rust version&lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;May 2022: Monkeypoxvirus&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;SARS-CoV-2 is a big RNA virus (30kb), the MPXV genome is 200kb long.
&lt;li&gt;Repeats, low complexity regions, etc...
&lt;li&gt;Can we still align this in the browser?
&lt;/ul&gt;
&lt;/font&gt;
  &lt;img src="/talk_images/nextclade_MPXV.png" class="fragment"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Take home messages&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
&lt;li&gt;Simple tools often more helpful than sophisticated ones
&lt;li&gt;Client side computing in the browser has a lot of potential
&lt;li&gt;Upsides: no expensive backends, no data privacy issues
&lt;li&gt;Lineage annotations are immensely useful! &lt;br&gt;
&amp;rarr; use sequence information without phylogenetics (done by humans).
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
    &lt;img src="/images/team_pics/ivan_aksamentov.png"      class="plain" height=180px&gt;
    &lt;img src="/images/team_pics/cornelius_roemer.jpeg"     class="plain" height=180px&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:37%; width: 50%; text-align:left"&gt;
&lt;font size=6&gt;
Ivan Aksamentov&lt;br&gt;
Cornelius Roemer
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left"&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;Data are contributed by scientists from all over the world and curated by Genbank or GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="180px"&gt;
  &lt;img src="/talk_images/INSDC_logos.png" class="plain" width="550px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Emergence of SARS-CoV-2 Omicron lineages BA.4 and BA.5 in South Africa</title><link href="/tegally_emergence_2022.html" rel="alternate"></link><published>2022-09-01T00:00:00+02:00</published><updated>2022-09-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-09-01:/tegally_emergence_2022.html</id><summary type="html">&lt;p&gt;Three lineages (BA.1, BA.2 and BA.3) of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) Omicron variant of concern predominantly drove South Africa's fourth Coronavirus Disease 2019 (COVID-19) wave. We have now identified two new lineages, BA.4 and BA.5, responsible for a fifth wave of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Three lineages (BA.1, BA.2 and BA.3) of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) Omicron variant of concern predominantly drove South Africa's fourth Coronavirus Disease 2019 (COVID-19) wave. We have now identified two new lineages, BA.4 and BA.5, responsible for a fifth wave of infections. The spike proteins of BA.4 and BA.5 are identical, and similar to BA.2 except for the addition of 69-70 deletion (present in the Alpha variant and the BA.1 lineage), L452R (present in the Delta variant), F486V and the wild-type amino acid at Q493. The two lineages differ only outside of the spike region. The 69-70 deletion in spike allows these lineages to be identified by the proxy marker of S-gene target failure, on the background of variants not possessing this feature. BA.4 and BA.5 have rapidly replaced BA.2, reaching more than 50\% of sequenced cases in South Africa by the first week of April 2022. Using a multinomial logistic regression model, we estimated growth advantages for BA.4 and BA.5 of 0.08 (95\% confidence interval (CI): 0.08-0.09) and 0.10 (95\% CI: 0.09-0.11) per day, respectively, over BA.2 in South Africa. The continued discovery of genetically diverse Omicron lineages points to the hypothesis that a discrete reservoir, such as human chronic infections and/or animal hosts, is potentially contributing to further evolution and dispersal of the virus.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Urgent need for a non-discriminatory and non-stigmatizing nomenclature for monkeypox virus</title><link href="/happi_urgent_2022.html" rel="alternate"></link><published>2022-08-23T00:00:00+02:00</published><updated>2022-08-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-08-23:/happi_urgent_2022.html</id><summary type="html">&lt;p&gt;We propose a novel, non-discriminatory classification of monkeypox virus. Together with the World Health Organization, we named three clades (I, IIa and IIb) in order of detection. Within IIb, the cause the current global outbreak, we identified multiple lineages (A.1, A.2, A.1.1 and B.1) to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We propose a novel, non-discriminatory classification of monkeypox virus. Together with the World Health Organization, we named three clades (I, IIa and IIb) in order of detection. Within IIb, the cause the current global outbreak, we identified multiple lineages (A.1, A.2, A.1.1 and B.1) to support real-time genomics surveillance.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>TreeKnit: Inferring ancestral reassortment graphs of influenza viruses</title><link href="/barrat-charlaix_treeknit_2022.html" rel="alternate"></link><published>2022-08-19T00:00:00+02:00</published><updated>2022-08-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-08-19:/barrat-charlaix_treeknit_2022.html</id><summary type="html">&lt;p&gt;When two influenza viruses co-infect the same cell, they can exchange genome segments in a process known as reassortment. Reassortment is an important source of genetic diversity and is known to have been involved in the emergence of most pandemic influenza strains. However, because of the difficulty in identifying reassortments …&lt;/p&gt;</summary><content type="html">&lt;p&gt;When two influenza viruses co-infect the same cell, they can exchange genome segments in a process known as reassortment. Reassortment is an important source of genetic diversity and is known to have been involved in the emergence of most pandemic influenza strains. However, because of the difficulty in identifying reassortments events from viral sequence data, little is known about its role in the evolution of the seasonal influenza viruses. Here we introduce TreeKnit, a method that infers ancestral reassortment graphs (ARG) from two segment trees. It is based on topological differences between trees, and proceeds in a greedy fashion by finding regions that are compatible in the two trees. Using simulated genealogies with reassortments, we show that TreeKnit performs well in a wide range of settings and that it is as accurate as a more principled bayesian method, while being orders of magnitude faster. Finally, we show that it is possible to use the inferred ARG to better resolve segment trees and to construct more informative visualizations of reassortments.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Transmission, escape, and resistance: how human pathogens adapt and change</title><link href="/202207_Berlin.html" rel="alternate"></link><published>2022-07-15T00:00:00+02:00</published><updated>2022-07-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-07-15:/202207_Berlin.html</id><summary type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2022-07_atlantic-BA.5.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;What sustains endemic circulation? Can we predict/understand?&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:15%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h5&gt;Continuous circulation requires a continuous "supply" of susceptibles&lt;/h5&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Birth of immunologically naive individuals&lt;/li&gt;
        &lt;li&gt;Waning of pre-existing immunity&lt;/li&gt;
        &lt;li&gt;Antigenic change of the virus&lt;/li&gt;
        &lt;li&gt;Non-sterilizing immunity &amp;rarr; persistence via asymptomatic acute infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:55%; left:15%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h4&gt;Measles Virus (pre vaccine)&lt;/h4&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Extremely rapid transmission among naive children&lt;/li&gt;
        &lt;li&gt;Long-lived immunity &amp;rarr; rare …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2022-07_atlantic-BA.5.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;What sustains endemic circulation? Can we predict/understand?&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:15%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h5&gt;Continuous circulation requires a continuous "supply" of susceptibles&lt;/h5&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Birth of immunologically naive individuals&lt;/li&gt;
        &lt;li&gt;Waning of pre-existing immunity&lt;/li&gt;
        &lt;li&gt;Antigenic change of the virus&lt;/li&gt;
        &lt;li&gt;Non-sterilizing immunity &amp;rarr; persistence via asymptomatic acute infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:55%; left:15%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h4&gt;Measles Virus (pre vaccine)&lt;/h4&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Extremely rapid transmission among naive children&lt;/li&gt;
        &lt;li&gt;Long-lived immunity &amp;rarr; rare re-infection&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:55%; left:55%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h4&gt;Influenza Virus (and many others!)&lt;/h4&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Frequent reinfection of adults&lt;/li&gt;
        &lt;li&gt;Combination of waning and antigenic evolution&lt;/li&gt;
        &lt;li&gt;Approximate equilibrium between immunity and infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Track how pathogens spread&lt;/b&gt;: clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Nextstrain.org: real-time analyses of influenza virus evolution&lt;/h3&gt;
    &lt;img src="talk_images/2022-07_H3N2_fitness.png" height=750px&gt;&lt;br&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, 2014; RN &amp; Bedford, 2015;  Huddleston et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Genotypic changes&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:90%"&gt;
    &lt;img src="talk_images/2022-07_H3N2_HA_mutations.png" width="80%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic changes via hemagglutination inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:40%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;One-to-one link between sera and the virus used to infect the ferret&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only closely related pairs covered.&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic data (ferret serology) and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/2022-05-09_flu_antigenic_advance.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:55%; width:40%"&gt;
    &lt;img src="/talk_images/2017_PNAS_antigenicRate.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:8%; left:5%; width:80%; textalign:left"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;~2-fold reduction in titers per year (Omicron vs Ancestral: ~32-fold)&lt;/li&gt;
    &lt;li&gt;Link antigenic changes with specific mutations mostly near the receptor binding site&lt;/li&gt;
    &lt;li&gt;Extrapolate antigenic properties to un-characterized viruses&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of successful variants to optimize vaccine composition&lt;/h3&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/2022-07_H3N2_fitness.png" height=700px&gt;&lt;br&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, 2014; RN &amp; Bedford, 2015;  Huddleston et al, 2020;  Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;&lt;a href="https://nextstrain.org/ncov"&gt;A/H3N2 variants replace each other every ~3 years&lt;/a&gt;&lt;/h3&gt;
  &lt;img src="/talk_images/H3N2_longterm_clades.png" width=100%&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;SARS-CoV-2&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
  &lt;img src="/talk_images/2022-07_SC2_variant_freq.png" width=100%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_S1_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Remarkable patterns of rapid adaptation&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/2022-05-09_ncov_diversity.png" width=100%&gt;
&lt;img src="/talk_images/omicron_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;, outbreak.info&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Gradual shift from selection on transmission to immune escape&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 55%"&gt;
  &lt;img src="/talk_images/SouthAfrica_seroprevalence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:65%; width: 35%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Until early-2021, seroprevalence was low to moderate&lt;/li&gt;
    &lt;li&gt;Delta infections and vaccination resulted in high seroprevalence in 2021&lt;/li&gt;
    &lt;li&gt;Variant success now is dominated by immune escape&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://www.cdc.gov/mmwr/volumes/71/wr/mm7117e3.htm&gt;Kleynhans et al&lt;/a&gt;, ourworldindata.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated sequentially&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 50%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_radial.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:18%; left:60%; width: 40%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Variant emergence likely through chronic infections&lt;/li&gt;
    &lt;li&gt;Strong dichotomy (until 2022): dramatic changes between variants, slow and steady within variants&lt;/li&gt;
    &lt;li&gt;Omicron variants are more dynamic&lt;/li&gt;
    &lt;li&gt;With BA.4/5 and BA.2 subvariants, we start to see second generation variants&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;What is driving this?&lt;/h5&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h5 class="fragment"&gt;Can we predict?&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;To predict, we need to quantify selection by immunity&lt;/h3&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%"&gt;
      &lt;img src="/talk_images/straten_SC2_serology.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:7%; width:55%" class="fragment"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Given a population immunity "landscape", how much escape is caused by which mutation?&lt;/li&gt;
    &lt;li&gt;How variable are individual immune responses?&lt;/li&gt;
    &lt;li&gt;How does exposure history shape neutralization of different variants?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic vs acute infections?&lt;/li&gt;
    &lt;li&gt;Does escape during chronic infection mediate inter-individual escape?
        It did for Omicron, but will this stay that way?&lt;/li&gt;
    &lt;li&gt;What is the contribution of chronic infections in other viruses?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:1%; left:68%; width:28%" class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_escape.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:7%; width:50%"class="fragment"&gt;
      &lt;img src="/talk_images/Lee_fluVariability_selection.png" width=100%&gt;
    &lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/10.1101/2022.01.28.477987v1"&gt;van der Straten et al, biorxiv, 2022&lt;/a&gt;;
                  &lt;a href="https://elifesciences.org/articles/49324"&gt;Lee, ... Bloom, eLife, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Host-microbe co-evolution beyond viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:7%; width:45%; text-align:left"&gt;
        &lt;b&gt;RNA viruses&lt;/b&gt;: mutations and homologous recombination
        &lt;img src="/talk_images/spike_evolution_example.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:55%; width:45%; text-align:left" class="fragment"&gt;
        &lt;b&gt;Bacteria:&lt;/b&gt; pick and choose from large pangenomes
        &lt;font size=5&gt;
        &lt;ul&gt;
        &lt;li&gt;Complex patterns of horizontal transfer of homologous and non-homologous sequence&lt;/li&gt;
        &lt;li&gt;Host-pathogen interactions and resistance controlled by the accessory genome&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;img src="/talk_images/pangenome_sketch.png" width=80%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Microbial pangenome graphs&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:7%; width:80%"&gt;
        &lt;img src="/talk_images/pangraph_sketch.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:7%; width:40%" class="fragment"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
        &lt;li&gt;Efficient method to construct pan-genome graphs of dozens to hundreds of (similar) genomes&lt;/li&gt;
        &lt;li&gt;Capture genome similarity, content, and structure&lt;/li&gt;
        &lt;li&gt;Breakpoints in the graph correspond to evolutionary events&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:57%; width:40%" class="fragment"&gt;
        &lt;img src="/talk_images/pangraph_sketch2.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href=https://www.biorxiv.org/content/10.1101/2022.02.24.481757v1&gt;Noll, Molari, Neher, 2022&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Microbial pangenome graphs&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:7%; width:45%"&gt;
        &lt;h5&gt;Klebsiella pneumonia genomes&lt;/h5&gt;
        &lt;img src="/talk_images/pangenome_example.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:55%; width:45%" class="fragment"&gt;
        &lt;h5&gt;New Delhi beta-lactamase carrying plasmids&lt;/h5&gt;
        &lt;img src="/talk_images/ndm_neighborhoods.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Liam Shaw, &lt;a href=https://www.biorxiv.org/content/10.1101/2022.02.24.481757v1&gt;Noll, Molari, Neher, 2022&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Summary and outlook&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:7%; width:80%"&gt;
        &lt;ul&gt;
        &lt;li&gt;RNA viruses:&lt;br&gt;
        &lt;small&gt;&lt;ul&gt;
        &lt;li&gt; diversity and evolution well covered
        &lt;li&gt; rapid phenotyping of relevant traits challenging
        &lt;/ul&gt;&lt;/small&gt;
        &lt;/li&gt;
        &lt;li&gt;Immunological diversity of humans:
        &lt;small&gt;&lt;ul&gt;
         &lt;li&gt;many basic open questions how repeated infections shapes the repertoire
         &lt;li&gt;important implications for prediction of evolution to improve vaccines
         &lt;li&gt;what we are doing for SARS-CoV-2 and influenza is inadequate
         &lt;li&gt;we can measure 100s of antigens against 100s of sera in longitudinal cohorts
        &lt;/ul&gt;&lt;/small&gt;
        &lt;/li&gt;
        &lt;li&gt;Bacteria: challenges in diversity and evolution are on the pathogen side&lt;br&gt;
        &lt;small&gt;&lt;ul&gt;
         &lt;li&gt;vast pan-genomes of largely unknown function
         &lt;li&gt;extensive horizontal transfer
         &lt;li&gt;long-read sequencing can resolve genomes now at scale
        &lt;/ul&gt;&lt;/small&gt;
        &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/nicholas_noll.jpg" class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/marco_molari.jpg" class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/liam_shaw.jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;ul&gt;
        &lt;li&gt;Nicholas Noll&lt;/li&gt;
        &lt;li&gt;Marco Molari&lt;/li&gt;
        &lt;li&gt;Liam Shaw&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Anna Parker</title><link href="/anna-parker.html" rel="alternate"></link><published>2022-07-10T00:00:00+02:00</published><updated>2022-07-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-07-10:/anna-parker.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Laura Urbanska</title><link href="/laura-urbanska.html" rel="alternate"></link><published>2022-07-10T00:00:00+02:00</published><updated>2022-07-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-07-10:/laura-urbanska.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Evolution, geographic spreading, and demographic distribution of Enterovirus D68</title><link href="/hodcroft_evolution_2022.html" rel="alternate"></link><published>2022-05-20T00:00:00+02:00</published><updated>2022-05-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-05-20:/hodcroft_evolution_2022.html</id><summary type="html">&lt;p&gt;Worldwide outbreaks of enterovirus D68 (EV-D68) in 2014 and 2016 have caused serious respiratory and neurological disease. We collected samples from several European countries during the 2018 outbreak and determined 53 near full-length genome (‘whole genome’) sequences. These sequences were combined with 718 whole genome and 1,987 VP1-gene publicly …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Worldwide outbreaks of enterovirus D68 (EV-D68) in 2014 and 2016 have caused serious respiratory and neurological disease. We collected samples from several European countries during the 2018 outbreak and determined 53 near full-length genome (‘whole genome’) sequences. These sequences were combined with 718 whole genome and 1,987 VP1-gene publicly available sequences. In 2018, circulating strains clustered into multiple subgroups in the B3 and A2 subclades, with different phylogenetic origins. Clusters in subclade B3 emerged from strains circulating primarily in the US and Europe in 2016, though some had deeper roots linking to Asian strains, while clusters in A2 traced back to strains detected in East Asia in 2015-2016. In 2018, all sequences from the USA formed a distinct subgroup, containing only three non-US samples. Alongside the varied origins of seasonal strains, we found that diversification of these variants begins up to 18 months prior to the first diagnostic detection during a EV-D68 season. EV-D68 displays strong signs of continuous antigenic evolution and all 2018 A2 strains had novel patterns in the putative neutralizing epitopes in the BC- and DE-loops. The pattern in the BC-loop of the USA B3 subgroup had not been detected on that continent before. Patients with EV-D68 in subclade A2 were significantly older than patients with a B3 subclade virus. In contrast to other subclades, the age distribution of A2 is distinctly bimodal and was found primarily among children and in the elderly. We hypothesize that EV-D68’s rapid evolution of surface proteins, extensive diversity, and high rate of geographic mixing could be explained by substantial reinfection of adults. Better understanding of evolution and immunity across diverse viral pathogens, including EV-D68 and SARS-CoV-2, is critical to pandemic preparedness in the future.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Reconstructing, tracking, and predicting viral spread and evolution</title><link href="/202205_Cologne.html" rel="alternate"></link><published>2022-05-10T00:00:00+02:00</published><updated>2022-05-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-05-10:/202205_Cologne.html</id><summary type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Track how pathogens spread&lt;/b&gt;: clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Continuous circulation …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Track how pathogens spread&lt;/b&gt;: clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Continuous circulation requires steady "supply" of susceptibles&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:15%; width: 90%; text-align:left;"&gt;
    &lt;ul&gt;
        &lt;li&gt;Birth of immunologically naive individuals&lt;/li&gt;
        &lt;li&gt;Waning of pre-existing immunity&lt;/li&gt;
        &lt;li&gt;Antigenic change of the virus&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:15%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h4&gt;Measles (pre vaccine)&lt;/h4&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;extremely rapid infection of naive children&lt;/li&gt;
        &lt;li&gt;long-lived immunity &amp;rarr; rare re-infection&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:55%; width: 90%; text-align:left;" class="fragment"&gt;
    &lt;h4&gt;Influenza&lt;/h4&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;frequent reinfection of adults&lt;/li&gt;
        &lt;li&gt;combination of waning and antigenic evolution&lt;/li&gt;
        &lt;li&gt;Approximate equilibrium between immunity and infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution -- ferret serology&lt;/h3&gt;
    &lt;img src="/talk_images/2022-05-09_flu_antigenic_advance.png" width="60%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Transition from pandemic to endemic: 2009 A/H1N1&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Simple SIR models predict over-shoot and extinction&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%; text-align:left"&gt;
  &lt;img src="/talk_images/SIR_overshoot.png" width=100%&gt;
  Final susceptibility $S_\infty$: $\log(S_\infty) = - R_0 (S_\infty-1)$ &lt;br&gt;
  $R_0=2$ &amp;rarr; $S_\infty = 0.2$, very small for later $R_0$.
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza during the 2009 pandemic&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log_2009.png" width="900px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza during the 2009 pandemic&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log_after2009.png" width="900px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Antigenic evolution during the pandemic-to-endemic transition&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 50%; text-align:left"&gt;
    &lt;small&gt;
    Model with strains $a,b,c,\ldots$:&lt;br&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    Infections: $ \frac{d}{dt}I_a = \beta S_a I_a - \nu I_a $&lt;br&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    Susceptibilty: $ \frac{d}{dt}S_a  = -\nu S_a \sum_{b} K_{ab}I_b $
    &lt;div class="spacer"&gt;&lt;/div&gt;
    cross-immunity: $K_{ab}$
    &lt;/small&gt;
    &lt;img class="plain" src="/talk_images/yan_eLife_pandemicToEndemic.png" width="65%" class="fragment"&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 45%; text-align:left" class="fragment"&gt;
    &lt;img class="plain" src="/talk_images/yan_eLife_pandemicToEndemic_model.png" width="90%"&gt;&lt;br&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;early large antigenic steps (relative to cross-immunity range) are necessary to persist&lt;/li&gt;
    &lt;li&gt;large cross-immunity range is necessary to prevent speciation&lt;/li&gt;
    &lt;li&gt;cross-immunity typically has short and long range components&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://doi.org/10.7554/eLife.44205"&gt;Yan, RN, Shraiman, eLife, 2019&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Speciation?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;The Yamagata lineage might have disappeared during the pandemic&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;SARS-CoV-2&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;A variant seemed to spread systematically in Summer 2020&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity patterns suggested a large role of holiday travel&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:4%; width:50%"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Spanish diversity mirrored in many European countries&lt;/li&gt;
    &lt;li&gt;Suggested many introduction with clusters of similar size &lt;br&gt; &amp;rarr; travel&lt;/li&gt;
    &lt;li&gt;A transmission advantage would result in a few dominating introductions&lt;/li&gt;
    &lt;li&gt;Screening and quarantine system rather leaky&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spread was dispersal driven, not fitness driven&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png" width="70%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt; --&gt;
&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;EU1 didn't have a strong advantage, later variants did&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High incidence differential and high travel volume can drive a variant to dominance&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_S1_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
&lt;img src="/talk_images/2022-05-09_ncov_diversity.png" width=100%&gt;
&lt;img src="/talk_images/omicron_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;, outbreak.info&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Delta vs Omicron&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 45%"&gt;
&lt;img src="/talk_images/ncov_B.1.617.2_mutation_structure.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:53%; width: 45%"&gt;
&lt;img src="/talk_images/ncov_BA.1_mutation_structure.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated sequentially&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 75%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_radial.png" width=70%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Current Omicron subvariants of interest&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
&lt;img src="/talk_images/2022-05-09_omicron_sublineages.png" width=70%&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;BA.2 (21L) has essentially taken over.&lt;/li&gt;
&lt;li&gt;BA.4 (22A) and BA.5 (22B) emerged in Southern Africa. Mutations at positions 452 and 486 lead to immune evasion&lt;/li&gt;
&lt;li&gt;BA.2.12.1 (22C) has a mutation at position 452 and is common in the US&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Medium term dynamics of SARS-CoV-2 is very uncertain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
&lt;ul&gt;
    &lt;li&gt;Will we start seeing second and third generation variants, as opposed to sister variants? &lt;/li&gt;
    &lt;li&gt;Will we the saltatory dynamics with heavily diverged variants continue? &lt;/li&gt;
    &lt;li&gt;Will a more diverse immunity landscape slow down future variant dynamics? &lt;/li&gt;
    &lt;li&gt;Will waning/antigenic evolution slow down and give rise to annual or even rarer waves? &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;Le Yan&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/inaki_comas.jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Reconstructing, tracking, and predicting viral spread and evolution</title><link href="/202205_MPGHD.html" rel="alternate"></link><published>2022-05-09T00:00:00+02:00</published><updated>2022-05-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-05-09:/202205_MPGHD.html</id><summary type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Track how pathogens spread&lt;/b&gt;: clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A …&lt;/h2&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;img src="/talk_images/evoepiimmuno.png" width=70%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/talk_images/flu_weekly_positives_log.png" width="1550px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:7%; left:10%; width: 80%; text-align:left"&gt;
&lt;h5&gt;&lt;b&gt;Track how pathogens spread&lt;/b&gt;: clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;&lt;b&gt;Link genotypic and phenotypic changes&lt;/b&gt;: immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution -- ferret serology&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_antigenic_advance.png" width="80%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:80%"&gt;
    &lt;ul&gt;
        &lt;li&gt;Explicit fitness scores based on specific mutations
        &lt;br&gt;&amp;rarr; mutations in previously characterized epitopes
        &lt;br&gt;&amp;rarr; mutations that likely reduce fitness
        &lt;br&gt;&amp;rarr; mostly historically ascertained&lt;/li&gt;
        &lt;li&gt;Phylogenetic indicators to spot rapidly expanding clades&lt;/li&gt;
        &lt;li&gt;Laboratory data (antigenicity, virulence)&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:7%; width:45%"&gt;
    &lt;img src="/talk_images/2022-05-09_flu_distance_to_future.png" width="100%" class="plain"&gt;
    &lt;h5&gt;Predicted "distance to future"&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:53%; width:45%"&gt;
    &lt;img src="/talk_images/2022-05-09_flu_projection_104.png" width="100%" class="plain"&gt;
    &lt;h5&gt;Projection for HA1 mutation 104&lt;/h5&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014; Huddleston et al, eLife, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;SARS-CoV-2&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;A variant seemed to spread systematically in Summer 2020&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity patterns suggested a large role of holiday travel&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:4%; width:50%"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Spanish diversity mirrored in many European countries&lt;/li&gt;
    &lt;li&gt;Suggested many introduction with clusters of similar size &lt;br&gt; &amp;rarr; travel&lt;/li&gt;
    &lt;li&gt;A transmission advantage would result in a few dominating introductions&lt;/li&gt;
    &lt;li&gt;Screening and quarantine system rather leaky&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spread was dispersal driven, not fitness driven&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png" width="70%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.nature.com/articles/s41586-021-03677-y"&gt;Hodcroft et al, Nature, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;EU1 did not have a strong advantage -- unlike later Variants of Concern&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High incidence differential and high travel volume can drive a variant to dominance&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Variants of Concern are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_S1_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Successful variants are characterized by many mutations in S1&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
&lt;img src="/talk_images/2022-05-09_ncov_diversity.png" width=100%&gt;
&lt;img src="/talk_images/omicron_mutations.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;, outbreak.info&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Delta vs Omicron&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 45%"&gt;
&lt;img src="/talk_images/ncov_B.1.617.2_mutation_structure.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:53%; width: 45%"&gt;
&lt;img src="/talk_images/ncov_BA.1_mutation_structure.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated sequentially&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 75%"&gt;
  &lt;img src="/talk_images/2022-05-09_ncov_radial.png" width=70%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Current Omicron subvariants of interest&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:7%; width: 85%"&gt;
&lt;img src="/talk_images/2022-05-09_omicron_sublineages.png" width=70%&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;BA.2 (21L) has essentially taken over.&lt;/li&gt;
&lt;li&gt;BA.4 (22A) and BA.5 (22B) emerged in Southern Africa. Mutations at positions 452 and 486 lead to immune evasion&lt;/li&gt;
&lt;li&gt;BA.2.12.1 (22C) has a mutation at position 452 and is common in the US&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Medium term dynamics of SARS-CoV-2 is very uncertain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
&lt;ul&gt;
    &lt;li&gt;Will we start seeing second and third generation variants, as opposed to sister variants? &lt;/li&gt;
    &lt;li&gt;Will we the saltatory dynamics with heavily diverged variants continue? &lt;/li&gt;
    &lt;li&gt;Will a more diverse immunity landscape slow down future variant dynamics? &lt;/li&gt;
    &lt;li&gt;Will waning/antigenic evolution slow down and give rise to annual or even rarer waves? &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Going forward, how diverse is SARS-CoV-2 going to be?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/inaki_comas.jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>How pandemics start and end</title><link href="/202204_KITP.html" rel="alternate"></link><published>2022-04-26T00:00:00+02:00</published><updated>2022-04-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-04-26:/202204_KITP.html</id><content type="html"></content><category term="talk_outreach"></category></entry><entry><title>Virus evolution and population genetics</title><link href="/202204_computational_biology.html" rel="alternate"></link><published>2022-04-07T00:00:00+02:00</published><updated>2022-04-07T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-04-07:/202204_computational_biology.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-04_ncov_tree.png" height=800px&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Tree building optimization with temporal constraints&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Time stamps single out a root&lt;/li&gt;
            &lt;li&gt;Root can be found by optimizing root-to-tip regression&lt;/li&gt;
            &lt;li&gt;BEAST: Markov-Chain Monte Carlo tree sampler&lt;/li&gt;
            &lt;li&gt;If topology is correct, temporal constraints can be accounted for in linear time&lt;/li&gt;
            &lt;li&gt;Multiple tools: treedate, LSD, treetime&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/wrong_root.png" width=50%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/correct_root.png" width=50%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1"  style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:20%; width:60%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Calibration points can be longitudinal samples, ancient DNA or fossils&lt;/li&gt;
            &lt;li&gt;Rates can vary between proteins and organisms from 0.01/year to $&lt;10^{-8}$/y &lt;/li&gt;
            &lt;li&gt;Some site change often, some rarely &amp;rarr; saturation&lt;/li&gt;
            &lt;li&gt;The apparent rate changes over time&lt;/li&gt;
            &lt;li&gt;Divergence times are often under estimated. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h2&gt;&lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;/h2&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Rise of Alpha and Beta&lt;/h3&gt;
  &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png" height=800px&gt;
  &lt;span class="ref"&gt;by Christian Althaus&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Multinomial regression&lt;/h3&gt;
  &lt;img src="/talk_images/2022-04_multinomial.png" height=800px&gt;
  &lt;span class="ref"&gt;by Christian Althaus&lt;/span&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Reconstructing, tracking, and predicting viral spread and evolution</title><link href="/202204_Ascona.html" rel="alternate"></link><published>2022-04-01T00:00:00+02:00</published><updated>2022-04-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-04-01:/202204_Ascona.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses are seasonal (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;The two alpha …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses are seasonal (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;The two alpha and beta coronaviruses alternate&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Viral dynamics beyond case counts?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations allow to reconstruct how pathogens spread -- clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;Mutations can result in phenotypic change -- immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
    &lt;ul&gt;
        &lt;li&gt;Explicit fitness scores based on specific mutations
        &lt;br&gt;&amp;rarr; mutations in previously characterized epitopes
        &lt;br&gt;&amp;rarr; mutations that likely reduce fitness
        &lt;br&gt;&amp;rarr; mostly historically ascertained&lt;/li&gt;
        &lt;li&gt;Phylogenetic indicators to spot rapidly expanding clades&lt;/li&gt;
        &lt;li&gt;Laboratory data (antigenicity, virulence)&lt;/li&gt;
        &lt;li&gt;Human serology&lt;/li&gt;
        &lt;li&gt;(other models try to predict incidence, not the dominating strain)&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutational signatures -- epitope mutations&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_epitope_mutations.png" width="80%"&gt;
    &lt;span class="ref"&gt;Luksza and Laessig, Nature, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Phylogenetic indicators -- LBI&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_lbi.png" width="80%"&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution -- ferret serology&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_antigenic_advance.png" width="80%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;!-- &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_huddleston_prediction.png" width="80%"&gt; --&gt;
    &lt;h2&gt;Accurate prediction remains a challenge!&lt;/h2&gt;
    &lt;!-- &lt;span class="ref"&gt;Huddleston et al, eLife, 2020&lt;/span&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;SARS-CoV-2&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;A variant seemed to spread systematically in Summer 2020&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png" width="55%"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spread was dispersal driven, not fitness driven&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hodcroft_pie_tree.png" width="70%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;EU1 didn't have a strong advantage, later variants did&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High incidence differential and high travel volume can shift variant distribution&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Spike mutations in Omicron&lt;/h2&gt;
    &lt;img src="/talk_images/omicron_mutations.png" width="100%"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of SARS-CoV-2 evolution&lt;/h3&gt;
    &lt;div style="position:absolute; text-align:left; top:20%; left:10%; width:80%"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Lots of data: around 10 million sequences now&lt;/li&gt;
    &lt;li&gt;However: not big data in the traditional sense&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;font size=6&gt;
&lt;ul class='fragment'&gt;
    &lt;li&gt;Fitting frequency dynamics to mutations and sequence/variant features.
        &lt;br&gt; &amp;rarr; complex epistatic interactions prevent extrapolation to new variants &lt;/li&gt;
    &lt;li&gt;Using laboratory data to map effects of all possible mutations (deep mutational scanning).
        &lt;br&gt; &amp;rarr; immune escape can be assessed from sequence, virulence and fitness not&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;h4 class='fragment'&gt;Too many aspects of SARS-CoV-2 evolution are unknown to make meaningful predictions.&lt;/h4&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated successively&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 75%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Medium term dynamics of SARS-CoV-2 is very uncertain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
&lt;ul&gt;
    &lt;li&gt;Will we start seeing second and third generation variants, as opposed to sister variants? &lt;/li&gt;
    &lt;li&gt;Will we the saltatory dynamics with heavily diverged variants continue? &lt;/li&gt;
    &lt;li&gt;Will a more diverse immunity landscape slow down future variant dynamics? &lt;/li&gt;
    &lt;li&gt;Will waning/antigenic evolution slow down and give rise to annual or even rarer waves? &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Going forward, how diverse is SARS-CoV-2 going to be?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Nextstrain workshop at QLife</title><link href="/202203_Qlife_nextstrain.html" rel="alternate"></link><published>2022-03-25T00:00:00+01:00</published><updated>2022-03-25T00:00:00+01:00</updated><author><name>Valentin Druelle, Marco Molari, and Richard Neher</name></author><id>tag:None,2022-03-25:/202203_Qlife_nextstrain.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;&lt;a href="202203_prerequisites.html"&gt;Prerequisites&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;Overview and Basics&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_nextstrain_toolchain.html"&gt;The nextstrain toolchain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202203_qlife_augur.html"&gt;Analysis with augur and Snakemake -- Virus tutorial &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Next steps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202203_sars_cov_2.html"&gt;Analysis with augur and Snakemake -- SARS-CoV_2 Challenge&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202203_sars_cov_2_wsol.html"&gt;Analysis with augur and Snakemake -- SARS-CoV_2 solutions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_augur_vcf.html"&gt;Analysis with augur and Snakemake -- Bacteria Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_tips_and_tricks.html"&gt;Important steps in setting up your own analysis&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Additional steps and details&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201910_RIVM_refine.html"&gt;Options for time tree inference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_color_geo.html"&gt;Specify color maps and geographic information&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_advanced_snakemake.html"&gt;Advanced snakemake (wildcards, functions, default rules)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_meta_from_fasta.html"&gt;Parsing metadata from fasta files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_community.html"&gt;Community pages on nextstrain&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching_pre"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Installation and data curation</title><link href="/202203_prerequisites.html" rel="alternate"></link><published>2022-03-25T00:00:00+01:00</published><updated>2022-03-25T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2022-03-25:/202203_prerequisites.html</id><summary type="html">&lt;h1&gt;Preparing for the Workshop&lt;/h1&gt;
&lt;p&gt;We look forward to working with you at the QLife workshop! Before you arrive, you should install Nextstrain on the computer you will bring. In the afternoon of the workshop, we aim to get your own data working on Nextstrain. To do this, you should follow …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Preparing for the Workshop&lt;/h1&gt;
&lt;p&gt;We look forward to working with you at the QLife workshop! Before you arrive, you should install Nextstrain on the computer you will bring. In the afternoon of the workshop, we aim to get your own data working on Nextstrain. To do this, you should follow the guide below to ensure your data are formatted and organized correctly, allowing you to get working on it straight away!&lt;/p&gt;
&lt;p&gt;First, &lt;a href="#installation"&gt;install Nextstrain&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you have data you want to analyze, &lt;a href="#prepare-your-data"&gt;prepare your data&lt;/a&gt;.
Otherwise, we will provide example data.&lt;/p&gt;
&lt;h2&gt;&lt;a id="installation"&gt;Installation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Nextstrain can be installed in a &lt;a href="https://docs.nextstrain.org/en/latest/install.html#installation-steps"&gt;variety of ways&lt;/a&gt; on all major operating systems.
We prefer the conda installation here over docker.
Feel free to deviate from this when you think you know what you are doing, but you'll be on your own.
If you encounter problems following these steps, get in touch with Valentin during the first days of the workshop.&lt;/p&gt;
&lt;p&gt;Due to the recent upgrade of the default python version of conda to 3.10, we need to modify step 4 of the installation instructions slightly:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;mamba create -n nextstrain -c bioconda nextstrain-cli --yes python=3.9
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Testing your installation&lt;/h3&gt;
&lt;p&gt;To test the installation, we suggest you download our simplest tutorial data set via&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;git&lt;span class="w"&gt; &lt;/span&gt;clone&lt;span class="w"&gt; &lt;/span&gt;https://github.com/nextstrain/zika-tutorial.git
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will download the pipeline and example data. You can run the analysis with&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;zika-tutorial
conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
snakemake&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To view the result, type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;auspice&lt;span class="w"&gt; &lt;/span&gt;view
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This should print the following to screen&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nb"&gt;---------------------------------------------------&lt;/span&gt;
&lt;span class="c"&gt;Auspice server now running at http://localhost:4000&lt;/span&gt;
&lt;span class="c"&gt;Serving auspice version 1&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;&lt;span class="c"&gt;38&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;&lt;span class="c"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;
&lt;span class="c"&gt;Looking for datasets in /home/richard/Projects/nextstrain/zika&lt;/span&gt;&lt;span class="nb"&gt;-&lt;/span&gt;&lt;span class="c"&gt;tutorial/auspice&lt;/span&gt;
&lt;span class="c"&gt;Looking for narratives in /home/richard/Projects/nextstrain/zika&lt;/span&gt;&lt;span class="nb"&gt;-&lt;/span&gt;&lt;span class="c"&gt;tutorial&lt;/span&gt;
&lt;span class="nb"&gt;---------------------------------------------------&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Opening up your web browser and setting the URL to &lt;code&gt;localhost:4000&lt;/code&gt; should show your analysis (you might need to allow exceptions to some firewall).
In this case, Nextstrain has run successfully!&lt;/p&gt;
&lt;p&gt;If something isn't working, please get in touch and we'll try to help you get it running before the workshop!&lt;/p&gt;
&lt;h2&gt;&lt;a id="prepare-your-data"&gt;Prepare your data&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We want to get you started analyzing your own data using Nextstrain during the workshop!
To facilitate this, it would be extremely helpful if your data was formatted such that nextstrain understands it. Otherwise you'll waste a lot of time on simple and boring stuff during the workshop.&lt;/p&gt;
&lt;h3&gt;Metadata&lt;/h3&gt;
&lt;p&gt;Your Nextstrain analysis is going to be vastly more interesting if the sequences or samples you analyze have rich 'meta data'.
This metadata would typically include collection dates, geographic location, symptoms of patients, host characteristics, etc.
But for Nextstrain to be able to parse these and visualize them, they need to be formated consistently.
Your data may have meta information coded into the sequence name (see example below).
If not, a very transparent way is to provide the meta data as a separate table in a tab- or comma-separated file.&lt;/p&gt;
&lt;p&gt;An example meta data file is shown here:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;strain&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="n"&gt;accession&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0087_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447509&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0181_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447512&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0199_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447519&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY785433&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;04&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;08&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY558989&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;02&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;23&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;There needs to be at least one column named &lt;code&gt;strain&lt;/code&gt; or &lt;code&gt;name&lt;/code&gt;.
These need to match the identifiers of your sequences (in the Fasta or VCF file) &lt;em&gt;exactly&lt;/em&gt; and must not contain characters such as spaces, or &lt;code&gt;()[]{}|#&amp;gt;&amp;lt;&lt;/code&gt;.
Dates should be formated according as &lt;code&gt;YYYY-MM-DD&lt;/code&gt;.
You can specify unknown dates or month by replacing the respected values by &lt;code&gt;XX&lt;/code&gt; (ex: &lt;code&gt;2013-01-XX&lt;/code&gt; or &lt;code&gt;2011-XX-XX&lt;/code&gt;) and completely unknown dates can be shown with &lt;code&gt;20XX-XX-XX&lt;/code&gt; (which does not restrict the sequence to being in the 21st century - they could be earlier).&lt;/p&gt;
&lt;p&gt;Because Excel will automatically change the date formatting, we recommend &lt;strong&gt;not&lt;/strong&gt; opening or preparing your meta data file in Excel.
If the metadata is already in Excel, or you decide to prepare it in Excel, we recommend using another program to correct the dates afterwards (and don't open it in Excel again!).&lt;/p&gt;
&lt;p&gt;Geographic locations can be broken down as &lt;code&gt;region&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;division&lt;/code&gt; or &lt;code&gt;city&lt;/code&gt; and for many of these Nextstrain already knows their coordinates.
It is important that these are spelled consistently and we have adopted the convention that spaces are replaced by underscores (ex: &lt;code&gt;New_Zealand&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;To make the most of Nextstrain's features, we recommend including sampling date and at least one type of geographic information if at all possible.
However, you can also include things like symptoms, host, clinical outcome - and more!&lt;/p&gt;
&lt;h3&gt;Sequence as Fasta -- virus and other small genomes&lt;/h3&gt;
&lt;p&gt;Most Nextstrain analyses start from a set of sequences saved in Fasta format.
It is crucial to ensure that the name of the sequence matches exactly the strain name in the metadata table.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;1_0087_PF
ACTCGCTGCATCG...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Often meta data is coded into the fasta header like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;1_0087_PF | KX447509 | 2013-12-XX | oceania
ACTCGCTGCATCG...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The analysis part of Nextstrain, &lt;code&gt;augur&lt;/code&gt;, can parse meta data from Fasta headers, but you have to make sure that every sequence has the exact same meta data fields and that they are consistently delimited with &lt;code&gt;|&lt;/code&gt;.
Furthermore, none of the metadata fields can contain the character &lt;code&gt;|&lt;/code&gt;.&lt;/p&gt;
&lt;h4&gt;Reference sequence&lt;/h4&gt;
&lt;p&gt;To provide consistent alignment and annotation, &lt;code&gt;augur&lt;/code&gt; uses an annotated reference sequence in &lt;code&gt;genbank&lt;/code&gt; format.
Please bring an appropriate reference sequence along with your data set.
You should be able to download such a sequence from data bases such as Genbank.&lt;/p&gt;
&lt;p&gt;For example, in our Zika build we use the reference sequence &lt;a href="https://www.ncbi.nlm.nih.gov/nuccore/KX369547"&gt;PF13/251013-18&lt;/a&gt;.
Since we have full-genome Zika samples, it was important we choose a reference that is also full-genome in length.
If you have partial-genome sequences, you should look for a reference that covers the same region you have.&lt;/p&gt;
&lt;p&gt;You can download a reference sequence you find on Genbank by using the 'send to' link in the top-right corner and then selecting 'Complete Record', 'File', and 'GenBank' as the format.&lt;/p&gt;
&lt;!-- Your reference genome should also be annotated with the genes it contains.
If you scroll down on the Zika reference sequence, you'll notice it has a section where it lists `mat_peptide` and products which are the genes of Zika.
Unfortunately if your reference sequence is in this format, you'll need to modify it slightly after you download it.
Open the file in a text-editor and change every instance of `mat_peptide` to `CDS`.
Then, for each gene, change `/product=` to `/gene=`.
(We would not recommend doing this for 'polyprotein' if you have individual genes available instead.)
Then save the file.
 --&gt;
&lt;h3&gt;Sequence in VCF -- bacteria and other larger genomes&lt;/h3&gt;
&lt;p&gt;If you would like to run Nextstrain on whole-genome bacterial data, you probably would like to start with VCF sequence data.
(Note that if you have bacterial SNP data, this may be in the above Fasta format.)&lt;/p&gt;
&lt;p&gt;All of your samples should be combined into one VCF file, where each sample has its own column.
As always, it's crucial that the sequence names in your VCF file (at the top of each column) match the sequence names in your meta data file.
The VCF file can be uncompressed (ending in &lt;code&gt;.vcf&lt;/code&gt;) or compressed (ending in &lt;code&gt;.vcf.gz&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;You will also need the reference sequence to which your VCF file maps.
This is a Fasta file that contains one full-length genome with positions that correspond to the positions in your VCF file.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Optional:&lt;/em&gt;
If you have areas of your genome that you would like to exclude from analysis (perhaps because they are repetitive or recombinant), you can provide a file in BED format which lists regions to 'mask' (exclude).
An example of this format is below. It does not matter what is in the &lt;code&gt;Chrom&lt;/code&gt;, &lt;code&gt;locus tag&lt;/code&gt; or &lt;code&gt;Comment&lt;/code&gt; fields.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Chrom   ChromStart  ChromEnd    locus tag   Comment
NC_000962   23182   23269   IG18_Rv0018c-Rv0019c
NC_000962   33582   33794   Rv0031  remnant of A transposase
NC_000962   80194   80623   IG71_Rv0071-Rv0072
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Optional:&lt;/em&gt;
Bacteria can have thousands of genes, and translating all of them can take quite a bit of time.
If you wouldn't like to translate all of them, you can provide a list of genes that you'd like to include in the analysis, and only these will be processed.
For example, you might include a list of genes that are associated with drug-resistance.
To do this, simply create a file with a list of the genes you'd like to include, with one gene name per line.&lt;/p&gt;
&lt;h4&gt;Annotation reference sequence&lt;/h4&gt;
&lt;p&gt;To correctly translate and identify genes in your data, you will also need to provide an annotation file - the equivalent of the GenBank file needed for Fasta input, above.
However, for VCF files, this should be in GFF format.&lt;/p&gt;
&lt;p&gt;You can also find an appropriate GFF annotation reference on GenBank.
Be sure to pick one that is very close to the strain you are using, if there might be variability in the genes present!
If the positions in the GFF file do not match the positions in your VCF file, it will not work.&lt;/p&gt;
&lt;p&gt;To download a file from GenBank, use the 'send to' button in the top-right corner, then select 'Complete Record', 'File', and 'GFF3' for the format.&lt;/p&gt;
&lt;p&gt;You will have to modify the first column of the GFF so that it matches the &lt;code&gt;CHROM&lt;/code&gt; (first column) of your VCF file.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake</title><link href="/202203_qlife_augur.html" rel="alternate"></link><published>2022-03-25T00:00:00+01:00</published><updated>2022-03-25T00:00:00+01:00</updated><author><name>Valentin Druelle, Marco Molari &amp; Richard Neher</name></author><id>tag:None,2022-03-25:/202203_qlife_augur.html</id><summary type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
We will work off the tutorial for Zika virus on the &lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;nextstrain web site&lt;/a&gt; and the github repository &lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;nextstrain/zika-tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Move to the zika-tutorial folder and ensure your nextstrain environment is activated.&lt;/p&gt;
&lt;h2&gt;Augur commands&lt;/h2&gt;
&lt;p&gt;As an example, we'll look at the &lt;code&gt;filter&lt;/code&gt; command in greater detail.
This command allows you to selected various subsets of your input data for different types of analysis.
A simple example use of this command would be&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command will select all sequences with collection date in 2012 or later.
The filter command has a large number of options that allow flexible filtering for many common situations.
One such use-case is the exclusion of sequences that are known to be outliers (e.g.because of sequencing errors, cell-culture adaptation, ...).
These can be specified in a separate file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;BRA/2016/FC_DQ75D1
COL/FLR_00034/2015
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To drop such strains, you can pass the name of this file to the augur filter command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;(To improve legibility, we have wrapped the command across multiple lines.)
If you run this command (you should be able to copy-paste this into your terminal), you should see that one of the sequences in the data set was dropped since its name was in the &lt;code&gt;drooped_strain.txt&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;Another common filtering operation is subsetting of data to achieve a more even spatio-temporal distribution or reduce the data set size to more manageable numbers.
The filter command allows you to select a specific number of sequences from specific groups, for example one sequence per month from each country:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--group-by&lt;span class="w"&gt; &lt;/span&gt;country&lt;span class="w"&gt; &lt;/span&gt;year&lt;span class="w"&gt; &lt;/span&gt;month&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences-per-group&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This subsampling and filtering will reduce the number of sequences in this tutorial data set from 34 to 24.&lt;/p&gt;
&lt;h2&gt;Chaining of augur commands with snakemake.&lt;/h2&gt;
&lt;p&gt;The output of one augur command serves as input to the next and hence these commands need to be executed in order.
This is a common pattern in bioinformatics and multiple tools -- so called workflow managers -- exist to facilitate this.
Within nextstrain, we have relied on &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.&lt;/p&gt;
&lt;p&gt;We suggest to build up the Snakefile one rule at a time, starting with the stub that just defines a bunch of files.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;input_fasta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;input_metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;dropped_strains&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/dropped_strains.txt&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;colors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/colors.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;lat_longs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/lat_longs.tsv&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;auspice_config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/auspice_config.json&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Copy this stub and name the file &lt;code&gt;Snakefile_Qlife&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A simple rule would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;index_sequences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        Creating an index of sequence composition for filtering.&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequence_index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/sequence_index.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur index \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.sequence_index}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Note that we explicitly specify what is an input and what is an output file.
Add this rule to the snakefile &lt;code&gt;Snakefile_Qlife&lt;/code&gt;, save the file, and execute&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake -j 1 -s Snakefile_Qlife index_sequences
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will run the rule and produce the desired output files.
Check and inspect the output.
Then repeat this process with all the rules below.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="nb"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/filtered.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;min_date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2012&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur filter \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --min-date {params.min_date}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule would produce &lt;code&gt;results/filtered.fasta&lt;/code&gt; from the input files &lt;code&gt;data/sequences.fasta&lt;/code&gt; and &lt;code&gt;data/metadata.tsv&lt;/code&gt; using the &lt;code&gt;augur filter&lt;/code&gt; command.
Note that we explicitly specify what is an input and what is an output file.
To filter our data, we would now call snakemake as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will run the same command as specified above.
Note that you can either specify an explicit output file, or call the rule by name.&lt;/p&gt;
&lt;p&gt;So far, this is just a complicated reformulation of what we did above, but the benefit of workflow management becomes clear once we add more steps.
The next natural step in our phylogenetic pipeline is aligning the filtered sequences and we define a rule &lt;code&gt;align&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sequences&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/aligned.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur align \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.alignment}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can download a Snakefile containing these two rules &lt;a href="teaching_notes/201910_RIVM_Snakefile_example"&gt;here&lt;/a&gt;.
If you now want to generate the alignment, you can type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;determine that &lt;code&gt;results/aligned.fasta&lt;/code&gt; is an output of rule &lt;code&gt;align&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;check whether all required input files are in place and run the necessary rules if not&lt;/li&gt;
&lt;li&gt;run rule &lt;code&gt;align&lt;/code&gt; and check whether the file &lt;code&gt;results/aligned.fasta&lt;/code&gt; appeared.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you supply a reference sequence to &lt;code&gt;augur align&lt;/code&gt;, augur will include that reference sequence in the alignment and strip all insertions relative to that reference.
This will guarantee a consistent reference coordinate system and genome annotation later on.&lt;/p&gt;
&lt;h3&gt;Construct the Phylogeny&lt;/h3&gt;
&lt;p&gt;Infer a phylogenetic tree from the multiple sequence alignment.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;alignment&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree_raw.nwk&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur tree \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.tree}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The resulting tree is stored in &lt;a href="http://evolution.genetics.washington.edu/phylip/newicktree.html"&gt;Newick format&lt;/a&gt;.
Branch lengths in this tree measure nucleotide divergence.&lt;/p&gt;
&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Most phylogenies you see on nextstrain are time-resolved, that is the branch lengths of the tree correspond to calendar time rather than evolutionary distance.
The default method to infer time-resolved phylogenies in nextstrain is &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt; and this analysis is an done using the augur command &lt;code&gt;refine&lt;/code&gt; (this steps "refines" the existing tree...).
The corresponding rule for in the snakefile would look as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Refining the tree&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;input_metadata&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/branch_lengths.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur refine \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --timetree \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command requires the output of the tree and align rules as input and will produce the file &lt;code&gt;results/tree.nwk&lt;/code&gt; and &lt;code&gt;results/branch_lengths.json&lt;/code&gt;.
The latter contains the inferred clock model and the inferred dates of all nodes, including internal nodes.
Each internal node has been given a unique name (e.g. &lt;code&gt;NODE_0000001211&lt;/code&gt;) which we will use in the following steps to attach more information to the tree.
The &lt;code&gt;refine&lt;/code&gt; command has many different options that allow to specify clock rates, filter sequences that don't follow the molecular clock, calculate confidence intervals, etc.
We'll get into these details later.&lt;/p&gt;
&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;h3&gt;Reconstruct Ancestral Traits&lt;/h3&gt;
&lt;p&gt;TreeTime can also infer ancestral traits from an existing phylogenetic tree and metadata annotating each tip of the tree.
The following command infers the region and country of all internal nodes from the time tree and original strain metadata.
As with the &lt;code&gt;refine&lt;/code&gt; command, the resulting JSON output is indexed by strain or internal node name.&lt;/p&gt;
&lt;p&gt;Specifying &lt;code&gt;--confidence&lt;/code&gt; means that the confidence intervals for the reconstructed trait values will be estimated.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Inferring ancestral traits&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/traits.json&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;columns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;region country&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur traits \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --columns {params.columns} \&lt;/span&gt;
&lt;span class="sd"&gt;            --confidence&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/traits.json&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;Using &lt;code&gt;ancestral&lt;/code&gt;, we can reconstruct what the ancesters of our samples' sequences must have looked like, and record the mutations that occurred on each branch.&lt;/p&gt;
&lt;p&gt;Next, infer the ancestral sequence of each internal node and identify any nucleotide mutations on the branches leading to any node in the tree.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;Reconstructing ancestral sequences and mutations&amp;quot;&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/nt_muts.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur ancestral \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can run the command by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_Qlife&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;--cores&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;Identify amino acid mutations from the nucleotide mutations and a reference sequence with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
To export a FASTA file with the complete amino acid translations for each gene from each node’s sequence, specify the &lt;code&gt;--alignment-output&lt;/code&gt; parameter in the form of &lt;code&gt;results/aligned_aa_%GENE.fasta&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The reference sequence needs to be in Genbank format (if working with Fasta input) or GFF format (if working with VCF input) - see the Prerequisites page for more information on how to find and download a reference sequence from Genbank.&lt;/p&gt;
&lt;p&gt;Open the Zika tutorial reference sequence &lt;code&gt;config/zika_outgroup.gb&lt;/code&gt; in a text editor.
For translation, the important parts are the &lt;code&gt;source&lt;/code&gt; and &lt;code&gt;CDS&lt;/code&gt; sections that are part of the &lt;code&gt;Features&lt;/code&gt; part of the file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
FEATURES&lt;span class="w"&gt;             &lt;/span&gt;Location/Qualifiers
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;..10769
&lt;span class="w"&gt;                     &lt;/span&gt;/collection_date&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;25-Oct-2013&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/country&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;French Polynesia&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/db_xref&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;taxon:64320&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/host&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Homo sapiens&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/isolation_source&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;serum&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/mol_type&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genomic RNA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/organism&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Zika virus&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/strain&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PF13/251013-18&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;91&lt;/span&gt;..456
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;capsid protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;CA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;457&lt;/span&gt;..735
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;propeptide&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PRO&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;736&lt;/span&gt;..960
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;membrane protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;MP&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;961&lt;/span&gt;..2472
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;envelope protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;ENV&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code&gt;source&lt;/code&gt; section tells &lt;code&gt;augur&lt;/code&gt; how long the whole genome is.
The &lt;code&gt;CDS&lt;/code&gt; sections describe each gene (using &lt;code&gt;/gene=&lt;/code&gt;) that should be translated by giving its name and its start and end location in the genome.&lt;/p&gt;
&lt;p&gt;In your downloaded file from Genbank, you might notice that it has only one or no &lt;code&gt;CDS&lt;/code&gt; sections, and that instead the sections you would like to translate as genes are described as &lt;code&gt;mat_peptide&lt;/code&gt;, like the below:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;     mat_peptide     91..465
                     /product=&amp;quot;capsid protein&amp;quot;
     mat_peptide     466..735
                     /product=&amp;quot;propeptide&amp;quot;
     mat_peptide     736..960
                     /product=&amp;quot;membrane protein&amp;quot;
     mat_peptide     961..2475
                     /product=&amp;quot;envelope protein&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In this case, you will have to manually modify this file to work in &lt;code&gt;augur&lt;/code&gt;.
Anything you wish to translate as a gene should be changed from &lt;code&gt;mat_peptide&lt;/code&gt; to &lt;code&gt;CDS&lt;/code&gt; as its section name.
You will also need to add &lt;code&gt;/gene=&lt;/code&gt; and a gene name to the sections you'd like to translate.
If you have one really long &lt;code&gt;CDS&lt;/code&gt; section that covers most of the genome, we'd recommend not including this to translate (don't provide a &lt;code&gt;/gene=&lt;/code&gt;) if you can include smaller genes instead, as such a long polyprotein is not very informative.&lt;/p&gt;
&lt;p&gt;If you are working with VCF-input, the GFF file contains the same information, but &lt;code&gt;augur&lt;/code&gt; will only translate those items coded as &lt;code&gt;gene&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/aa_muts.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur translate \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --ancestral-sequences {input.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
This command pulls together the metadata file and all of the output files generated by the previous steps, and combines it into two output files that contain the annotated tree (&lt;code&gt;"auspice/zika_tree.json"&lt;/code&gt;) and associated metadata (&lt;code&gt;"auspice/zika_meta.json"&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;There is one input file below that is not metadata or output from a previous step: the config file (&lt;code&gt;"config/auspice_config.json"&lt;/code&gt;).
This file is very important - it species the page title, maintainer(s), what filters are present, what places should be mapped by, and what the user is able to color the tree by ("color-bys").&lt;/p&gt;
&lt;p&gt;Open up &lt;code&gt;"config/auspice_config.json"&lt;/code&gt; in a text editor.
The &lt;code&gt;title&lt;/code&gt; and &lt;code&gt;maintiner&lt;/code&gt; fields should be easy to spot.
You can modify them if you wish (and should, if you are using your own data!).&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;filters&lt;/code&gt; section specifies what traits will be available for users to filter the data by.
For example, if "country" is a filter, users will be able to only show data from the countries they select.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;color_options&lt;/code&gt; section specifies what users will be allowed to color the data by. You will almost always have the first two sections: &lt;code&gt;"gt"&lt;/code&gt; and &lt;code&gt;"num_date"&lt;/code&gt;, unless you are using trees without sequences or trees that aren't time-resolved.
After that, you can include any trait in your data.
If you have additional traits in your metadata, you will need to add them here to have them show up in auspice! You can copy the entry for &lt;code&gt;"country"&lt;/code&gt; and re-name it to match the appropriate column from your metadata file.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;geo&lt;/code&gt; section informs auspice what traits should be used to draw the samples onto the map. Obviously, they must be location-related, like "country" and "region".
You can use other locations if that's more relevant to your data. We won't cover this right now, but can explain in detail as you come to this with your own data.&lt;/p&gt;
&lt;p&gt;Don't worry about the &lt;code&gt;defaults&lt;/code&gt; section for the moment.&lt;/p&gt;
&lt;p&gt;The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;export&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;input_metadata&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;branch_lengths&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;traits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;nt_muts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;aa_muts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;auspice_config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;config/auspice_config.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;auspice_json&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;auspice/zika.json&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur export v2 \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --node-data {input.branch_lengths} {input.traits} {input.nt_muts} {input.aa_muts} \&lt;/span&gt;
&lt;span class="sd"&gt;            --auspice-config {input.auspice_config} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.auspice_json}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We have now step-by-step reproduced the original &lt;code&gt;Snakefile&lt;/code&gt;, which in addition contains a rule &lt;code&gt;clean&lt;/code&gt;, that simply removes all outputs, and &lt;code&gt;all&lt;/code&gt;, which is a default rule at the beginning of the Snakefile.&lt;/p&gt;
&lt;p&gt;The whole purpose of Snakemake is to run all these rules in the right order and manage all the steps.
To get a glimpse of this, run&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake --forceall --dag | dot -Tpdf &amp;gt; dag.pdf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and open the &lt;code&gt;dag.pdf&lt;/code&gt; depiction of the execution graph.
Here, we have omitted the &lt;code&gt;-s Snakefile&lt;/code&gt; argument, which defaults to &lt;code&gt;Snakefile&lt;/code&gt; when not specified.&lt;/p&gt;
&lt;p&gt;Then type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake -j1 clean
snakemake -j1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will first remove the output of the previous runs and then the default rule &lt;code&gt;all&lt;/code&gt; to execute the entire workflow.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>SARS-COV-2 workshop</title><link href="/202203_sars_cov_2.html" rel="alternate"></link><published>2022-03-25T00:00:00+01:00</published><updated>2022-03-25T00:00:00+01:00</updated><author><name>Valentin Druelle &amp; Richard Neher</name></author><id>tag:None,2022-03-25:/202203_sars_cov_2.html</id><summary type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Qlife Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Qlife Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer using Nextstrain. Feel free to focus on other questions if you have something specific in mind.
- How many clades is there in your data ? What do they correspond to ?
- How fast does SARS-COV-2 evolve overall ?
- Is the root of the tree correctly inferred ?
- Where are most of the mutations happening ? What does this gene correspond to ?
- What are some of the mutations characterizing the different variants ?&lt;/p&gt;
&lt;h2&gt;Downloading sequence dataset&lt;/h2&gt;
&lt;p&gt;Use online resources to create a SARS-COV-2 sequence dataset of around 10 000 sequences. In our case we will be using NCBI website to get those sequences: https://www.ncbi.nlm.nih.gov/sars-cov-2/.&lt;/p&gt;
&lt;p&gt;Click there to access the sequence download page&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_1.png"&gt;&lt;/p&gt;
&lt;p&gt;You will arrive there&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_2.png"&gt;&lt;/p&gt;
&lt;p&gt;Do a selection of the sequences you want. I my case I selected sequences coming from New York that have no ambiguous character (there are enough sequences so we might as well remove the messy ones).&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_3.png"&gt;&lt;/p&gt;
&lt;p&gt;Then click download and define the header you want for your sequences&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_4.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_5.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_6.png"&gt;&lt;/p&gt;
&lt;p&gt;One also needs a reference sequence for the future alignment : https://www.ncbi.nlm.nih.gov/nuccore/MN908947.3/&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_7.png"&gt;
Take this sequence and save it as &lt;code&gt;reference.gb&lt;/code&gt; in your data folder.&lt;/p&gt;
&lt;h2&gt;Curating the dataset&lt;/h2&gt;
&lt;p&gt;Look at what you get on Aliview or similar. From what you see, you may have to curate the data to facilitate analysis downstream. One can do this manually, with a script or simply by being more restrictive when downloading the dataset.&lt;/p&gt;
&lt;h2&gt;Building the pipeline&lt;/h2&gt;
&lt;p&gt;The steps are very similar to the zika tutorial, except that we must create the metadata file from the sequence names and change a bit the parameters in the filter part to correctly subsample the dataset. You need this subsampling step otherwise it the following steps will take a long time to run (too many sequences).&lt;/p&gt;
&lt;p&gt;We suggest putting the raw data and metadata in a folder called &lt;code&gt;data&lt;/code&gt;. The files that you want to clean from one analysis to the next will be in another folders that will be removed via a snakemake &lt;code&gt;clean&lt;/code&gt; rule.&lt;/p&gt;
&lt;p&gt;Now it is time to create the snakemake pipeline. You can inspire yourself from the zika tutorial as it will be very similar.&lt;/p&gt;
&lt;p&gt;First define the input files you are going to use (the auspice config is given below):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;INPUT_FASTA = &amp;quot;data/Qlife_sequences.fasta&amp;quot;,
REFERENCE = &amp;quot;data/reference.gb&amp;quot;,
DROPPED = &amp;quot;data/dropped.txt&amp;quot;
AUSPICE_CONFIG = &amp;quot;auspice_config.json&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You need to create the &lt;code&gt;dropped.txt&lt;/code&gt; file even if it stays empty.&lt;/p&gt;
&lt;p&gt;Also define the cleaning rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule clean:
    message: &amp;quot;Removing directories: {params}&amp;quot;
    params:
        &amp;quot;results&amp;quot;,
        &amp;quot;visualisation&amp;quot;
    shell:
        &amp;quot;rm -rfv {params}&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Metadata&lt;/h3&gt;
&lt;p&gt;The metadata concerning our sequence is contained in their headers. To create the metadata from these headers one can use the &lt;code&gt;augur parse&lt;/code&gt; command.&lt;/p&gt;
&lt;h3&gt;Subsampling&lt;/h3&gt;
&lt;p&gt;One needs to perform subsampling of the raw data to run the analysis in a reasonable amount of time. This can be done using the &lt;code&gt;augur index&lt;/code&gt; command followed by the &lt;code&gt;augur filter&lt;/code&gt; command. We suggest working with a small dataset of ~100 sequences while building the pipeline, then ~500-1000 sequences once it works.&lt;/p&gt;
&lt;h3&gt;Alignment&lt;/h3&gt;
&lt;p&gt;The alignment can be performed with the &lt;code&gt;augur align&lt;/code&gt; command like in the zika tutorial. We suggest running it on several threads to speed up the process (4 is usually a good choice). It usually takes a couple of minutes. Inspect the result of the alignment (for ex. with Aliview) for quality control.&lt;/p&gt;
&lt;h3&gt;Tree&lt;/h3&gt;
&lt;p&gt;The phylogenetic tree is computed from the alignment with the &lt;code&gt;augur tree&lt;/code&gt; command like in the zika tutorial. Once again we suggest running it on 4 threads. Inspect the tree once it's done. It can be done easily using the online version of Auspice: https://auspice.us/.&lt;/p&gt;
&lt;h3&gt;Tree refining&lt;/h3&gt;
&lt;p&gt;By the looks of the tree computed above, you should notice that it's not usable as it is. For this reason we will refine this tree using the &lt;code&gt;augur refine&lt;/code&gt; command. You can once again use something similar to the zika tutorial. Tree refining is usually one of the slowest steps. We again suggest looking at this tree in https://auspice.us/.&lt;/p&gt;
&lt;h3&gt;Ancestral reconstruction and mutations&lt;/h3&gt;
&lt;p&gt;With the refining of the tree, the main part of the analysis is done. Now we can improve the information we will get when visualizing in Auspice by computing a few additional things. It is usually useful to reconstruct the ancestral state and translate the mutation / compute traits.&lt;/p&gt;
&lt;p&gt;This can be done using the &lt;code&gt;augur ancestral&lt;/code&gt; &lt;code&gt;augur translate&lt;/code&gt; and &lt;code&gt;augur traits&lt;/code&gt; commands.&lt;/p&gt;
&lt;h3&gt;Frequencies&lt;/h3&gt;
&lt;p&gt;Another interesting thing we can add to our analysis is the frequency analysis. This enables you to follow the frequency in time of variants. This is what you can see on the Nextstrain analysis for SARS-COV-2:
&lt;img alt src="/teaching_images/202320_Qlife/Qlife_workshop_20.png"&gt;&lt;/p&gt;
&lt;p&gt;This can be achieved using the &lt;code&gt;augur frequencies&lt;/code&gt; command. For this you can inspire yourself from the pipeline used by nextstrain for the SARS-COV-2 builds. To provide the frequencies to Auspice, you can save the &lt;code&gt;tip-frequencies.json&lt;/code&gt; directly in you &lt;code&gt;visualisation&lt;/code&gt; folder.&lt;/p&gt;
&lt;p&gt;The name of this file should be specific for Auspice to detect it. If the output of your augur export (below) is &lt;code&gt;visualisation/NAME.json&lt;/code&gt; the name of the frequency file should be &lt;code&gt;visualisation/NAME_tip-frequencies.json&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The rule should look something like:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule tip_frequencies:
    message: &amp;quot;Estimating censored KDE frequencies for tips&amp;quot;
    input:
        tree = rules.refine.output.tree,
        metadata = rules.metadata.output.metadata,
    output:
        tip_frequencies_json = &amp;quot;visualisation/SV2_tip-frequencies.json&amp;quot;
    params:
        min_date = &amp;quot;2020-01-01&amp;quot;,
        max_date = &amp;quot;2022-03-01&amp;quot;,
        pivot_interval = 3,
        pivot_interval_units = &amp;quot;weeks&amp;quot;,
        narrow_bandwidth = 0.041,
        proportion_wide = 0.0
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur frequencies \
            --method kde \
            --metadata {input.metadata} \
            --tree {input.tree} \
            --min-date {params.min_date} \
            --max-date {params.max_date} \
            --pivot-interval {params.pivot_interval} \
            --pivot-interval-units {params.pivot_interval_units} \
            --narrow-bandwidth {params.narrow_bandwidth} \
            --proportion-wide {params.proportion_wide} \
            --output {output.tip_frequencies_json} 2&amp;gt;&amp;amp;1 | tee {log}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Visualisation&lt;/h3&gt;
&lt;p&gt;Now that all the pipeline is built, we need to export the results for visualisation using the &lt;code&gt;augur export&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;You'll also need a small config file for auspice that you should call &lt;code&gt;auspice_config.json&lt;/code&gt;. This file should contain the following information:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Custom build for the Qlife nextstrain workshop&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;maintainers&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Your Name&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;panels&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;tree&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;entropy&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;frequencies&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;display_defaults&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;map_triplicate&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;true&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;filters&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;author&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Combine the whole pipeline in one rule&lt;/h3&gt;
&lt;p&gt;To combine the whole pipeline in one rule you can create the &lt;code&gt;all&lt;/code&gt; rule at the beginning of the snakefile. This rule needs to have as input the visualisation files. The whole pipeline can be run in a simple command &lt;code&gt;snakemake --cores 4&lt;/code&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>SARS-COV-2 workshop solution</title><link href="/202203_sars_cov_2_wsol.html" rel="alternate"></link><published>2022-03-25T00:00:00+01:00</published><updated>2022-03-25T00:00:00+01:00</updated><author><name>Valentin Druelle &amp; Richard Neher</name></author><id>tag:None,2022-03-25:/202203_sars_cov_2_wsol.html</id><summary type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Qlife Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Analysing SARS-COV-2 data&lt;/h1&gt;
&lt;p&gt;This is the last part of the Qlife Nextstrain workshop. One can either try things with their own data or choose to focus on SARS-COV-2. This document provides some guidelines to the SARS-COV-2 analysis.&lt;/p&gt;
&lt;h2&gt;Questions&lt;/h2&gt;
&lt;p&gt;These are some suggestions concerning the questions you should try to answer using Nextstrain. Feel free to focus on other questions if you have something specific in mind.
- How many clades is there in your data ? What do they correspond to ?
- How fast does SARS-COV-2 evolve overall ?
- Is the root of the tree correctly inferred ?
- Where are most of the mutations happening ? What does this gene correspond to ?
- What are some of the mutations characterizing the different variants ?&lt;/p&gt;
&lt;h2&gt;Downloading sequence dataset&lt;/h2&gt;
&lt;p&gt;Use online resources to create a SARS-COV-2 sequence dataset of around 10 000 sequences. In our case we will be using NCBI website to get those sequences: https://www.ncbi.nlm.nih.gov/sars-cov-2/.&lt;/p&gt;
&lt;p&gt;Click there to access the sequence download page&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_1.png"&gt;&lt;/p&gt;
&lt;p&gt;You will arrive there&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_2.png"&gt;&lt;/p&gt;
&lt;p&gt;Do a selection of the sequences you want. I my case I selected sequences coming from New York that have no ambiguous character (there are enough sequences so we might as well remove the messy ones).&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_3.png"&gt;&lt;/p&gt;
&lt;p&gt;Then click download and define the header you want for your sequences&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_4.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_5.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_6.png"&gt;&lt;/p&gt;
&lt;p&gt;One also needs a reference sequence for the future alignment : https://www.ncbi.nlm.nih.gov/nuccore/MN908947.3/&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_7.png"&gt;
Take this sequence and save it as &lt;code&gt;reference.gb&lt;/code&gt; in your data folder.&lt;/p&gt;
&lt;h2&gt;Curating the dataset&lt;/h2&gt;
&lt;p&gt;Look at what you get on Aliview or similar. It's around 500mb&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_8.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_9.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_10.png"&gt;&lt;/p&gt;
&lt;p&gt;As you can see the names are not good, and some sequences seem to be not complete&lt;/p&gt;
&lt;p&gt;We could curate this data manually or with a script, but we can also do this by being a bit more restrictive when download the dataset. Go back to the download page and additionally select for sequence length. Then redefine the header in a more useful way&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_11.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_12.png"&gt;&lt;/p&gt;
&lt;p&gt;What you get now is better, only full sequences and with easier names&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_13.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_14.png"&gt;&lt;/p&gt;
&lt;h2&gt;Building the pipeline&lt;/h2&gt;
&lt;p&gt;The steps are very similar to the zika tutorial, except that we must create the metadata file from the sequence names and change a bit the parameters in the filter part to correctly subsample the dataset. You need this subsampling step otherwise it the following steps will take a long time to run (too many sequences).&lt;/p&gt;
&lt;p&gt;We suggest putting the raw data and everything you want to keep in a folder called &lt;code&gt;data&lt;/code&gt;. The files that you want to clean from one analysis to the next will be in another folders that will be removed via a snakemake &lt;code&gt;clean&lt;/code&gt; rule.&lt;/p&gt;
&lt;p&gt;Now it is time to create the snakemake pipeline. You can inspire yourself from the zika tutorial as it will be very similar.&lt;/p&gt;
&lt;p&gt;First define the input files you are going to use:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;INPUT_FASTA = &amp;quot;data/Qlife_sequences.fasta&amp;quot;,
REFERENCE = &amp;quot;data/reference.gb&amp;quot;,
DROPPED = &amp;quot;data/dropped.txt&amp;quot;
AUSPICE_CONFIG = &amp;quot;auspice_config.json&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You need to create the &lt;code&gt;dropped.txt&lt;/code&gt; file even if it stays empty.&lt;/p&gt;
&lt;p&gt;Also define the cleaning rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule clean:
    message: &amp;quot;Removing directories: {params}&amp;quot;
    params:
        &amp;quot;results&amp;quot;,
        &amp;quot;visualisation&amp;quot;
    shell:
        &amp;quot;rm -rfv {params}&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Metadata&lt;/h3&gt;
&lt;p&gt;The metadata concerning our sequence si contained in their headers. To create the metadata from these headers one can use the &lt;code&gt;augur parse&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;A snakemake rule can be created for this, for ex:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule metadata:
    message:
        &amp;quot;&amp;quot;&amp;quot;
        Creating the metadata file from raw sequences {input.sequences}
        &amp;quot;&amp;quot;&amp;quot;
    input:
        sequences = INPUT_FASTA
    output:
        metadata = &amp;quot;data/metadata.tsv&amp;quot;,
        sequences = &amp;quot;data/sequences.fasta&amp;quot;
    params:
        fields= &amp;quot;accession country date&amp;quot;
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur parse \
            --sequences {input.sequences} \
            --output-sequences {output.sequences} \
            --output-metadata {output.metadata} \
            --fields {params.fields}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Checking the metadata we see the "country" field is not always the same.&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_15.png"&gt;&lt;/p&gt;
&lt;p&gt;This needs to be fixed otherwise the subsampling part will not work correctly. One can use something like libreoffice calc to fix it manually, or create a small script (that you could include in a rule) to do so.&lt;/p&gt;
&lt;h3&gt;Subsampling&lt;/h3&gt;
&lt;p&gt;One needs to perform subsampling of the raw data to run the analysis in a reasonable amount of time. This can be done using the &lt;code&gt;augur index&lt;/code&gt; command followed by the &lt;code&gt;augur filter&lt;/code&gt; command. We suggest working with a small dataset of ~100 sequences while building the pipeline, then ~500-1000 sequences once it works.&lt;/p&gt;
&lt;p&gt;Example for these two rules:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule index_sequences:
    message:
        &amp;quot;&amp;quot;&amp;quot;
        Creating an index of sequence composition from {input.sequences}.
        &amp;quot;&amp;quot;&amp;quot;
    input:
        sequences = rules.metadata.output.sequences,
        metadata = rules.metadata.output.metadata
    output:
        sequence_index = &amp;quot;data/sequence_index.tsv&amp;quot;
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur index \
            --sequences {input.sequences} \
            --output {output.sequence_index}
        &amp;quot;&amp;quot;&amp;quot;

rule filter:
    message:
        &amp;quot;&amp;quot;&amp;quot;
        Filtering to
          &lt;span class="k"&gt;-&lt;/span&gt; {params.max_sequences} sequence(s) in total
          &lt;span class="k"&gt;-&lt;/span&gt; from {params.min_date} onwards
          &lt;span class="k"&gt;-&lt;/span&gt; excluding strains in {input.exclude}
        &amp;quot;&amp;quot;&amp;quot;
    input:
        sequences = rules.metadata.output.sequences,
        sequence_index = rules.index_sequences.output.sequence_index,
        metadata = rules.metadata.output.metadata,
        exclude = DROPPED
    output:
        sequences = &amp;quot;results/filtered.fasta&amp;quot;,
        metadata = &amp;quot;results/filtered_metadata.tsv&amp;quot;
    params:
        group_by = &amp;quot;country year month&amp;quot;,
        max_sequences = 100,
        min_date = 2010,

    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur filter \
            --sequences {input.sequences} \
            --sequence-index {input.sequence_index} \
            --metadata {input.metadata} \
            --output {output.sequences} \
            --output-metadata {output.metadata}\
            --group-by {params.group_by} \
            --subsample-max-sequences {params.max_sequences} \
            --min-date {params.min_date} \
            --exclude {input.exclude}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Alignment&lt;/h3&gt;
&lt;p&gt;The alignment can be performed with the &lt;code&gt;augur align&lt;/code&gt; command like in the zika tutorial. We suggest running it on several threads to speed up the process (4 is usually a good choice). It usually takes a couple of minutes. Inspect the result of the alignment (for ex. with Aliview) for quality control.&lt;/p&gt;
&lt;p&gt;The rule should look like:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule align:
    message:
        &amp;quot;&amp;quot;&amp;quot;
        Aligning sequences frpm {input.sequences} to {input.reference}
        &amp;quot;&amp;quot;&amp;quot;
    input:
        sequences = rules.filter.output.sequences,
        reference = REFERENCE
    output:
        alignment = &amp;quot;results/aligned.fasta&amp;quot;
    params:
        nthreads = 4
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur align \
            --sequences {input.sequences} \
            --reference-sequence {input.reference} \
            --output {output.alignment} \
            --fill-gaps \
            --nthreads {params.nthreads}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The alignment should look something like:&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_16.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_17.png"&gt;&lt;/p&gt;
&lt;h3&gt;Tree&lt;/h3&gt;
&lt;p&gt;The phylogenetic tree is computed from the alignment with the &lt;code&gt;augur tree&lt;/code&gt; command like in the zika tutorial. Once again we suggest running it on 4 threads. Inspect the tree once it's done. It can be done easily using the online version of Auspice: https://auspice.us/.&lt;/p&gt;
&lt;p&gt;The rule should look like:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule tree:
    message: &amp;quot;Building tree from {input.alignment}&amp;quot;
    input:
        alignment = rules.align.output.alignment
    output:
        tree = &amp;quot;results/tree_raw.nwk&amp;quot;
    params:
        nthreads = 4
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur tree \
            --alignment {input.alignment} \
            --output {output.tree} \
            --nthreads {params.nthreads}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Tree making should be fast (~1min)&lt;/p&gt;
&lt;p&gt;The tree should look like:&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_18.png"&gt;&lt;/p&gt;
&lt;h3&gt;Tree refining&lt;/h3&gt;
&lt;p&gt;By the looks of the tree computed above, you should notice that it's not usable as it is. For this reason we will refine this tree using the &lt;code&gt;augur refine&lt;/code&gt; command. You can once again use something similar to the zika tutorial. Tree refining is usually one of the slowest steps. We again suggest looking at this tree in https://auspice.us/.&lt;/p&gt;
&lt;p&gt;The rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule refine:
    message:
        &amp;quot;&amp;quot;&amp;quot;
        Refining tree {input.tree}
          &lt;span class="k"&gt;-&lt;/span&gt; estimate timetree
          &lt;span class="k"&gt;-&lt;/span&gt; use {params.coalescent} coalescent timescale
          &lt;span class="k"&gt;-&lt;/span&gt; estimate {params.date_inference} node dates
          &lt;span class="k"&gt;-&lt;/span&gt; filter tips more than {params.clock_filter_iqd} IQDs from clock expectation
        &amp;quot;&amp;quot;&amp;quot;
    input:
        tree = rules.tree.output.tree,
        alignment = rules.align.output,
        metadata = rules.filter.output.metadata
    output:
        tree = &amp;quot;results/tree.nwk&amp;quot;,
        node_data = &amp;quot;results/branch_lengths.json&amp;quot;
    params:
        coalescent = &amp;quot;opt&amp;quot;,
        date_inference = &amp;quot;marginal&amp;quot;,
        clock_filter_iqd = 4
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur refine \
            --tree {input.tree} \
            --alignment {input.alignment} \
            --metadata {input.metadata} \
            --output-tree {output.tree} \
            --output-node-data {output.node_data} \
            --timetree \
            --coalescent {params.coalescent} \
            --date-confidence \
            --date-inference {params.date_inference} \
            --clock-filter-iqd {params.clock_filter_iqd}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The refined tree should look like:&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_19.png"&gt;&lt;/p&gt;
&lt;h3&gt;Ancestral reconstruction and mutations&lt;/h3&gt;
&lt;p&gt;With the refining of the tree, the main part of the analysis is done. Now we can improve the information we will get when visualizing in Auspice by computing a few additional things. It is usually useful to reconstruct the ancestral state and translate the mutation / compute traits.&lt;/p&gt;
&lt;p&gt;This can be done using the &lt;code&gt;augur ancestral&lt;/code&gt; &lt;code&gt;augur translate&lt;/code&gt; and &lt;code&gt;augur traits&lt;/code&gt; commands. It is just like the zika tutorial.&lt;/p&gt;
&lt;p&gt;The rules:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Reconstructing ancestral sequences and mutations from {input.tree} and {input.alignment}&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/nt_muts.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;inference&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;joint&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur ancestral \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --inference {params.inference}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Translating amino acid sequences&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;reference&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;REFERENCE&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/aa_muts.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur translate \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --ancestral-sequences {input.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Inferring ancestral traits for {params.columns}&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/traits.json&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;columns&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur traits \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data} \&lt;/span&gt;
&lt;span class="sd"&gt;            --columns {params.columns} \&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Frequencies&lt;/h3&gt;
&lt;p&gt;Another interesting thing we can add to our analysis is the frequency analysis. This enables you to follow the frequency in time of variants. This is what you can see on the Nextstrain analysis for SARS-COV-2:&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_20.png"&gt;&lt;/p&gt;
&lt;p&gt;This can be achieved using the &lt;code&gt;augur frequencies&lt;/code&gt; command. For this you can inspire yourself from the pipeline used by nextstrain for the SARS-COV-2 builds. To provide the frequencies to Auspice, you can save the &lt;code&gt;tip-frequencies.json&lt;/code&gt; directly in you &lt;code&gt;visualisation&lt;/code&gt; folder.&lt;/p&gt;
&lt;p&gt;The name of this file should be specific for Auspice to detect it. If the output of your augur export (below) is &lt;code&gt;visualisation/NAME.json&lt;/code&gt; the name of the frequency file should be &lt;code&gt;visualisation/NAME_tip-frequencies.json&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule tip_frequencies:
    message: &amp;quot;Estimating censored KDE frequencies for tips&amp;quot;
    input:
        tree = rules.refine.output.tree,
        metadata = rules.metadata.output.metadata,
    output:
        tip_frequencies_json = &amp;quot;visualisation/SV2_tip-frequencies.json&amp;quot;
    params:
        min_date = &amp;quot;2020-01-01&amp;quot;,
        max_date = &amp;quot;2022-03-01&amp;quot;,
        pivot_interval = 3,
        pivot_interval_units = &amp;quot;weeks&amp;quot;,
        narrow_bandwidth = 0.041,
        proportion_wide = 0.0
    shell:
        &amp;quot;&amp;quot;&amp;quot;
        augur frequencies \
            --method kde \
            --metadata {input.metadata} \
            --tree {input.tree} \
            --min-date {params.min_date} \
            --max-date {params.max_date} \
            --pivot-interval {params.pivot_interval} \
            --pivot-interval-units {params.pivot_interval_units} \
            --narrow-bandwidth {params.narrow_bandwidth} \
            --proportion-wide {params.proportion_wide} \
            --output {output.tip_frequencies_json} 2&amp;gt;&amp;amp;1 | tee {log}
        &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Visualisation&lt;/h3&gt;
&lt;p&gt;Now that all the pipeline is built, we need to export the results for visualisation using the &lt;code&gt;augur export&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;You'll also need a small config file for auspice that you should call &lt;code&gt;auspice_config.json&lt;/code&gt;. This file should contain the following information:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Custom build for the Qlife nextstrain workshop&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;maintainers&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Your Name&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;panels&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;tree&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;entropy&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;frequencies&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;display_defaults&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;map_triplicate&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;true&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;filters&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;author&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The export rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;export&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Exporting data files for visualisation auspice&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;branch_lengths&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;traits&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;nt_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;aa_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;translate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;node_data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;auspice_config&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;AUSPICE_CONFIG&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;auspice_json&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;auspice_json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur export v2 \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --node-data {input.branch_lengths} {input.traits} {input.nt_muts} {input.aa_muts} \&lt;/span&gt;
&lt;span class="sd"&gt;            --auspice-config {input.auspice_config} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.auspice_json}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Combine the whole pipeline in one rule&lt;/h3&gt;
&lt;p&gt;To combine the whole pipeline in one rule you can create the &lt;code&gt;all&lt;/code&gt; rule at the beginning of the snakefile. This rule needs to have as input the visualisation files. The whole pipeline can be run in a simple command &lt;code&gt;snakemake --cores 4&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule all:
    input:
        auspice_json = &amp;quot;visualisation/SV2.json&amp;quot;,
        tip_frequencies_json = &amp;quot;visualisation/SV2_tip-frequencies.json&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Results&lt;/h2&gt;
&lt;h3&gt;Visual&lt;/h3&gt;
&lt;p&gt;You should obtain a visualisation in Auspice that looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_21.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_22.png"&gt;
If you obtain something similar to this, you can answer all the questions asked by interacting with this interface.&lt;/p&gt;
&lt;h3&gt;Answers&lt;/h3&gt;
&lt;h4&gt;How many clades is there in your data ? What do they correspond to ?&lt;/h4&gt;
&lt;p&gt;In the example given above, you can see there are 3 main clades. These corresponds to the main variants we heard about. The top one are the ancestral variant (alpha, lambda, epsilon etc...), the one in the middle is the Delta wave and the bottom one is the Omicron wave (the most recent).&lt;/p&gt;
&lt;h3&gt;How fast does SARS-COV-2 evolve overall ?&lt;/h3&gt;
&lt;p&gt;My looking at the clock plot in Auspice, we see in my example that we find a mutation rate of $7.7\cdot 10^{-4}$ substitutions per site per year.&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_23.png"&gt;&lt;/p&gt;
&lt;h3&gt;Is the root of the tree correctly inferred ?&lt;/h3&gt;
&lt;p&gt;In my example it seems the root of the tree is not correctly inferred. The root of the tree is placed between the omicron and delta variant. From the current knowledge we have, it seems the ancestral variants should be closer to the root, while the Delta and Omicron variants came later.&lt;/p&gt;
&lt;h4&gt;Where are most of the mutations happening ? What does this gene correspond to ?&lt;/h4&gt;
&lt;p&gt;By looking at the diversity plot one can see that most of the mutations happen in the S gene. This gene is the spike protein that is on the outside of the virus. It is usually what is targeted by the immune system via antibodies. Hence it is probably under higher selection pressure, which means mutations accumulate faster than elsewhere.&lt;/p&gt;
&lt;h4&gt;What are some of the mutations characterizing the different variants ?&lt;/h4&gt;
&lt;p&gt;There are many mutations that differ from variant to variant. An example of one can be the position 681 of the spike protein (S681), where you can see a clear distinction between the variants.&lt;/p&gt;
&lt;p&gt;&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_24.png"&gt;
&lt;img alt src="/teaching_images/202203_Qlife/Qlife_workshop_25.png"&gt;&lt;/p&gt;
&lt;p&gt;You can check some other that are documented here: https://covariants.org/shared-mutations&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Reconstructing, tracking, and predicting viral spread and evolution</title><link href="/202203_Qlife.html" rel="alternate"></link><published>2022-03-23T00:00:00+01:00</published><updated>2022-03-23T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-03-23:/202203_Qlife.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;The …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;The two alpha and beta coronaviruses alternate&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Viral dynamics beyond case counts?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis to reconstruct pathogen spread and evolution&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations allow to reconstruct how pathogens spread -- clusters, introductions, etc&lt;/h5&gt;
&lt;h5&gt;Mutations can result in phenotypic change -- immune escape, drug resistance, host adaptation&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Influenza A/H3N2&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
    &lt;ul&gt;
        &lt;li&gt;Explicit fitness scores based on specific mutations
        &lt;br&gt;&amp;rarr; mutations in previously characterized epitopes
        &lt;br&gt;&amp;rarr; mutations that likely reduce fitness
        &lt;br&gt;&amp;rarr; mostly historically ascertained&lt;/li&gt;
        &lt;li&gt;Phylogenetic indicators to spot rapidly expanding clades&lt;/li&gt;
        &lt;li&gt;Laboratory data (antigenicity, virulence)&lt;/li&gt;
        &lt;li&gt;Human serology&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutational signatures -- epitope mutations&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_epitope_mutations.png" width="80%"&gt;
    &lt;span class="ref"&gt;Luksza and Laessig, Nature, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Phylogenetic indicators -- LBI&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_lbi.png" width="80%"&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;section&gt;
    &lt;h3&gt;Integrating antigenic and molecular evolution -- ferret serology&lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_antigenic_advance.png" width="80%"&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;!-- &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;img src="/talk_images/2022-03-09_flu_huddleston_prediction.png" width="80%"&gt; --&gt;
    &lt;h2&gt;Accurate prediction remains a challenge!&lt;/h2&gt;
    &lt;!-- &lt;span class="ref"&gt;Huddleston et al, eLife, 2020&lt;/span&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;SARS-CoV-2&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:5%; left:7%; width: 85%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Spike mutations in Omicron&lt;/h2&gt;
    &lt;img src="/talk_images/omicron_mutations.png" width="100%"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of SARS-CoV-2 evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Fitting frequency dynamics to mutations and sequence/variant features.
        &lt;br&gt; &amp;rarr; complex epistatic interactions prevent extrapolation to new variants &lt;/li&gt;
    &lt;li&gt;Using laboratory data to map effects of all possible mutations (deep mutational scanning).
        &lt;br&gt; &amp;rarr; immune escape can be assessed from sequence, virulence and fitness not&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;h4&gt;Too many aspects of SARS-CoV-2 evolution are unknown to make meaningful predictions.&lt;/h4&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Medium term dynamics of SARS-CoV-2 is very uncertain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
&lt;ul&gt;
    &lt;li&gt;Will we start seeing second and third generation variants, as opposed to sister variants? &lt;/li&gt;
    &lt;li&gt;Will we the saltatory dynamics with heavily diverged variants continue? &lt;/li&gt;
    &lt;li&gt;Will a more diverse immunity landscape slow down future variant dynamics? &lt;/li&gt;
    &lt;li&gt;Will waning/antigenic evolution slow down and give rise to annual or even rarer waves? &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;____&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;So far, independent variants have dominated successively&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:7%; width: 75%"&gt;
  &lt;img src="/talk_images/2022-03-09_ncov_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/gisaid/global&gt;nextstrain.org/ncov/gisaid/global&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Going forward, how diverse is SARS-CoV-2 going to be?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Cornelius Roemer, Moira Zuber, and John Huddleston&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>CoV-Spectrum: analysis of globally shared SARS-CoV-2 data to identify and characterize new variants</title><link href="/chen_cov-spectrum_2022.html" rel="alternate"></link><published>2022-03-04T00:00:00+01:00</published><updated>2022-03-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2022-03-04:/chen_cov-spectrum_2022.html</id><summary type="html">&lt;p&gt;SUMMARY: The CoV-Spectrum website supports the identification of new SARS-CoV-2 variants of concern and the tracking of known variants. Its flexible amino acid and nucleotide mutation search allows querying of variants before they are designated by a lineage nomenclature system. The platform brings together SARS-CoV-2 data from different sources and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;SUMMARY: The CoV-Spectrum website supports the identification of new SARS-CoV-2 variants of concern and the tracking of known variants. Its flexible amino acid and nucleotide mutation search allows querying of variants before they are designated by a lineage nomenclature system. The platform brings together SARS-CoV-2 data from different sources and applies analyses. Results include the proportion of different variants over time, their demographic and geographic distributions, common mutations, hospitalization and mortality probabilities, estimates for transmission fitness advantage and insights obtained from wastewater samples.
AVAILABILITY AND IMPLEMENTATION: CoV-Spectrum is available at https://cov-spectrum.org. The code is released under the GPL-3.0 license at https://github.com/cevo-public/cov-spectrum-website.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/202112_Ringvorlesung.html" rel="alternate"></link><published>2021-12-22T00:00:00+01:00</published><updated>2021-12-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-12-22:/202112_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_tb.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;hundreds of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than &gt;6M sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-09_CovariantsSharedMuts.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spanish EU1 diversity was mirrored across Europe &lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:60%; width:30%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree_legend.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Evolution and spread of Influenza, HIV, and SARS-CoV-2</title><link href="/202112_CBB.html" rel="alternate"></link><published>2021-12-04T00:00:00+01:00</published><updated>2021-12-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-12-04:/202112_CBB.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds …&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;hundreds of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than &gt;6M sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/moira_zuber.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/inaki_comas.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/fernando_gonzales.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/tanja_stadler.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Moira Zuber&lt;/li&gt;
        &lt;li&gt;Inaki Comas&lt;/li&gt;
        &lt;li&gt;Fernando Gonzales&lt;/li&gt;
        &lt;li&gt;Tanja Stadler&lt;/li&gt;
    &lt;li&gt;Sarah Nadeau&lt;/li&gt;
    &lt;li&gt;Tim Vaughan&lt;/li&gt;
    &lt;li&gt;Jesse Bloom&lt;/li&gt;
    &lt;li&gt;David Veesler&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Cornelius Roemer</title><link href="/cornelius-roemer.html" rel="alternate"></link><published>2021-11-20T00:00:00+01:00</published><updated>2021-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-11-20:/cornelius-roemer.html</id><content type="html"></content><category term="team"></category></entry><entry><title>János Winkler</title><link href="/janos-winkler.html" rel="alternate"></link><published>2021-11-20T00:00:00+01:00</published><updated>2021-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-11-20:/janos-winkler.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Marco Molari</title><link href="/marco-molari.html" rel="alternate"></link><published>2021-11-20T00:00:00+01:00</published><updated>2021-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-11-20:/marco-molari.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Reto Tschannen</title><link href="/reto-tschannen.html" rel="alternate"></link><published>2021-11-20T00:00:00+01:00</published><updated>2021-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-11-20:/reto-tschannen.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Nextclade: clade assignment, mutation calling and quality control for viral genomes</title><link href="/aksamentov_nextclade_2021.html" rel="alternate"></link><published>2021-11-15T00:00:00+01:00</published><updated>2021-11-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-11-15:/aksamentov_nextclade_2021.html</id><content type="html">&lt;p&gt;Aksamentov et al., (2021). Nextclade: clade assignment, mutation calling and quality control for viral genomes. Journal of Open Source Software, 6(67), 3773, https://doi.org/10.21105/joss.03773&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Using open data to track and predict infectious disease</title><link href="/202109_MPG.html" rel="alternate"></link><published>2021-09-29T00:00:00+02:00</published><updated>2021-09-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-29:/202109_MPG.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;Open Source &amp; methods&lt;/h2&gt;
    &lt;h2&gt;Open Data&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data owner &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;It took two years to have a detailed understanding of the …&lt;/h5&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;Open Source &amp; methods&lt;/h2&gt;
    &lt;h2&gt;Open Data&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data owner &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;It took two years to have a detailed understanding of the outbreak. Why did this take so long?&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sharing of Ebola virus sequences&lt;/h3&gt;
    &lt;div  style="position:absolute; top:17%; left:10%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24738640"&gt;Baize et al.:&lt;/a&gt; Samples collected in March 2014, sequences in GenBank within a month&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/25214632"&gt;Gire et al.:&lt;/a&gt; released data as it was generated &lt;/li&gt;
        &lt;li&gt;Followed by a long gap...&lt;/li&gt;
        &lt;li&gt;Early insights into transmission dynamics are important&lt;/li&gt;
        &lt;li&gt;Sharing has to be immediate -- not upon publication&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div  class="fragment"  style="position:absolute; top:15%; left:60%; width:20%"&gt;
    &lt;img src="/talk_images/ebola_data_gap.jpg"&gt;
    &lt;h5&gt;&lt;a href="http://www.nature.com/news/data-sharing-make-outbreak-research-open-access-1.16966"&gt;Yozwiak et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:41%; left:10%; width:37%"&gt;
    &lt;img src="/talk_images/quick_ebola_speed.png"&gt;
    &lt;h5&gt;&lt;a href="https://www.nature.com/articles/nature16996"&gt;Quick et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Recurring problem&lt;/h2&gt;
    &lt;ul&gt;
        &lt;!-- &lt;li&gt;Human genome sequencing data: Bermuda Principles&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;Clinical trials&lt;/li&gt; --&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2020- SARS-CoV-2: remarkably rapid data sharing, but continued discussions&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="fragment"&gt;
    &lt;h4&gt;Different disease -- different scientists and institutions.&lt;/h5&gt;
    &lt;h5&gt;&amp;rarr;Lessons need to be relearned.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Privacy of study participants&lt;/li&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Building Trust&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;GISAID coordinates Influenza and SARS-CoV-2 data sharing and curation&lt;/li&gt;
        &lt;li&gt;Andrew Rambaut coordinated Ebola virus data sharing&lt;/li&gt;
        &lt;li&gt;During the EBV outbreak, WHO and journals explicitly encouraged data sharing&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;div style="position:absolute; top:10%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/zika_grubaugh.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22400.html"&gt; Grubaugh et al, samples from Florida&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:10%; left:55%; width:41%"&gt;
&lt;img src="/talk_images/zika_metsky.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22402.html"&gt;Metsky et al, sample from the Caribbean&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;Nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-09_VoCs.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;nextstrain.org&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Global analysis provides context for new sequences&lt;/li&gt;
            &lt;li&gt;Once nextstrain became the largest collection of Ebola/Zika sequences, everybody wanted their sequences on nextstrain&lt;/li&gt;
            &lt;li&gt;We take care to highlight the scientists contributing data&lt;/li&gt;
            &lt;li&gt;Link to original source, rather than reshare&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://nextstrain.org/zika?f_authors=Metsky%20et%20al"&gt;nextstrain.org/zika?f_authors=Metsky et al&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="/talk_images/nextstrain_strain_info.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:5%; width:40%"&gt;
    &lt;h5&gt;Open source: &lt;a href="https://github.com/nextstrain"&gt;github.com/nextstrain&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Open Data makes wonderful things possible&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Most coronavirus trackers are only possible because somebody decided to share data in a machine readable form.&lt;/li&gt;
&lt;li&gt;Publicly generated data (maps, air quality, weather, disease circulation, demographics, etc) should be open whenever legally possible.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ourworldindata.org/"&gt;OurWorldinData.org&lt;/a&gt; is a fantastic example&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h2&gt;The role of journals in public health crisis&lt;/h2&gt;
    &lt;ul style="width:60%"&gt;
        &lt;li&gt;Need: explicit statement that data release doesn't prejudice against publication&lt;/li&gt;
        &lt;li&gt;Better: insist that data are released and analyses are shared as preprints (e.g. biorxiv)&lt;/li&gt;
        &lt;li&gt;Issue: researchers want to publish in "luxury" journals &lt;br&gt;&amp;rarr; cycle of review-rejection-revision causes delay
        &lt;li&gt;Journals dedicated to rapid processing of papers describing outbreaks (PLOS currents, Eurosurveillance)&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Summary and outlook&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:90%"&gt;
    &lt;font size=6&gt;
    &lt;ul style="width:100%"&gt;
        &lt;li&gt;In public health emergencies, immediate data sharing is imperative&lt;/li&gt;
        &lt;li&gt;Response has to be fast
            &lt;br&gt;&amp;rarr; pre-existing trusted framework to share data
            &lt;br&gt;&amp;rarr; rapid and readily deployable analysis tools
        &lt;/li&gt;
        &lt;li&gt;We need incentives for high quality data sets&lt;/li&gt;
        &lt;li&gt;We need better ways to credit data producers &lt;br&gt;&amp;rarr; data citations&lt;/li&gt;
        &lt;li&gt;We should rethink licensing models of data bases. &lt;/li&gt;
        &lt;li&gt;Wider acceptance of preprints should help &lt;br&gt;&amp;rarr; establishes priority and a citation hook&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach_pre"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 using Nextstrain</title><link href="/202109_PAHO.html" rel="alternate"></link><published>2021-09-28T00:00:00+02:00</published><updated>2021-09-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-28:/202109_PAHO.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;&gt;3.5 million sequences&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Nextstrain started in 2014 -- before the pandemic, too much data wasn't a problem&lt;/li&gt;
        &lt;li&gt;A whole eco-system of tools and trackers has …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;&gt;3.5 million sequences&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Nextstrain started in 2014 -- before the pandemic, too much data wasn't a problem&lt;/li&gt;
        &lt;li&gt;A whole eco-system of tools and trackers has emerged since&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://cov-spectrum.ethz.ch"&gt;cov-spectrum&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://genome.ucsc.edu/cgi-bin/hgPhyloPlace"&gt;Usher&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://outbreak.info"&gt;outbreak.info&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://cov2tree.org/"&gt;cov2tree.org&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Tracking variants turned out to be crucial&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-09_CovariantsSharedMuts.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other strains quickly&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:5%; left:15%; width: 70%; text-align:left" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06-03_UK_Sgene_positivity.png"&gt;
        &lt;font size=4&gt;&lt;span&gt;S-gene positivity in the UK&lt;/span&gt;&lt;/font&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, PHE Technical Briefing&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Global&lt;/h3&gt;
    &lt;img src="/talk_images/2021-09_cladeFrequencies.png" height=700px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;South America&lt;/h3&gt;
    &lt;img src="/talk_images/2021-09_VoC_southamerica.png" height=700px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2021-09_VoC_southamerica_map.png" height=700px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;How do we tell early on whether a variant is concerning?&lt;/h3&gt;
&lt;h3&gt;How unusual are the patterns of convergent evolution?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spanish EU1 diversity was mirrored across Europe &lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:60%; width:30%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree_legend.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Travel driven variant dispersal and displacement&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High incidence differential and high travel volume can shift variant distribution&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutational signatures&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-09_S1_mutations.png"&gt;
        &lt;h5&gt;Number of amino acid changes in the S1 domain&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-09_NTD_deletions.png"&gt;
        &lt;h5&gt;Prominent deletions the spike NTD&lt;/h5&gt;
        &lt;h5&gt;Common convergent deletion in NSP6&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Growth measures and fitness scores&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-07_logistic_growth.png"&gt;
        &lt;h5&gt;Recent growth rate&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-09_mutational_fitness.png"&gt;
        &lt;h5&gt;Fitness based on mutational effects by Obermeyer et al&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;&lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;Within browser alignment and phylogenetic placement&lt;/li&gt;
    &lt;li&gt;Calls mutations relative to the reference&lt;/li&gt;
    &lt;li&gt;Assigns clades&lt;/li&gt;
    &lt;li&gt;Calculates QC metrics&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Physics of Life</title><link href="/2021_PoLI_overview.html" rel="alternate"></link><published>2021-09-24T00:00:00+02:00</published><updated>2021-09-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-24:/2021_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use what ever programming language you like.
The University of Basel now provides a &lt;a href="https://jupyterhub-edu.scicore.unibas.ch/"&gt;Jupyter Hub&lt;/a&gt; for students that you can use when you don't have a suitable computer.&lt;/p&gt;
&lt;p&gt;This course will be partly taught remotely and asynchronously.
For each week, there are multiple short videos in which either I present the material, or go through iPython notebooks that explore the material quantitatively.
In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.
There will also be lecturing in the class room.
These class room lectures will be complementary to the online videos and repeat material or cover in depth discussion of the material of the exercises.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Refresher: Growth processes and simple differential equations&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Membraneless organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Preparatory material&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=WUvTyaaNkzM"&gt;Refresher on calculus (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;Installation of Python and jupyter notebooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/PoL_notebooks/week00_programming_resources.ipynb"&gt;Jupyter notebooks with links to programming resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 1 -- The relevant scales: sizes, energies, concentrations&lt;ul&gt;
&lt;li&gt;&lt;a href="/PoLI_week01_UnitsAndLaws.html"&gt;Quantitative problems, dimensions, and units&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;How big are biological entities? &lt;a href="https://tube.switch.ch/videos/439dc6b7"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01b_SizesAndLogScales.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week01b_SizesAndLogScales.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Volumes and concentrations? &lt;a href="https://tube.switch.ch/videos/26d61d3c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01c_VolumesAndConcentrations.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week01c_VolumesAndConcentrations.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Energies and Forces &lt;a href="https://tube.switch.ch/videos/5e03fb03"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01d_EnergiesAndForces.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week01d_EnergiesAndForces.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Noise and Stochasticity &lt;a href="https://tube.switch.ch/videos/f031d439"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_NoiseAndStochasticity.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week01e_NoiseAndStochasticity.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Genome sizes &lt;a href="https://tube.switch.ch/videos/a91a6c31"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_GenomeSizes.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week01e_GenomeSizes.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 2 -- Growth processes and differential equations&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=p_di4Zn4wz4"&gt;Background: Introduction to differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/ed5794b7"&gt;Linear and exponential growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02a_linearAndExponentialGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week02a_linearAndExponentialGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/fb0c82ca"&gt;Logistic growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02b_logisticGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week02b_logisticGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/93848723"&gt;SIR models&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02c_SIR_models.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week02c_SIR_models.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 3 -- Brownian motion, diffusion, and Fick's law&lt;ul&gt;
&lt;li&gt;Random walks: &lt;a href="https://tube.switch.ch/videos/f618f8ff"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03a_RandomWalks.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week03a_RandomWalks.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusion equation: &lt;a href="https://tube.switch.ch/videos/438c675b"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03b_diffusionEquation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week03b_diffusionEquation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Boundary and initial conditions: &lt;a href="https://tube.switch.ch/videos/d4024a9f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03c_BoundaryAndInitialConditions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week03c_BoundaryAndInitialConditions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusive transport: &lt;a href="https://tube.switch.ch/videos/634aedea"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03d_DiffusiveTransport.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week03d_DiffusiveTransport.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stokes-Einstein relation: &lt;a href="https://tube.switch.ch/videos/63a3bae0"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03e_StokesEinsteinRelation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week03e_StokesEinsteinRelation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ly4S0oi3Yz8"&gt;Background: Introduction to partial differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ToIXSwZ1pJU"&gt;Background: Solutions to the heat and diffusion equation (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 11 -- Polymers&lt;ul&gt;
&lt;li&gt;Introduction and ideal chains: &lt;a href="https://tube.switch.ch/videos/094db580"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11a_IntroductionToPolymerPhysics.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week11a_IntroductionToPolymerPhysics.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stiff polymers: &lt;a href="https://tube.switch.ch/videos/7179ba6c"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11b_StiffPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week11b_StiffPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pulling: &lt;a href="https://tube.switch.ch/videos/45f301dd"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11c_PullingOnPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week11c_PullingOnPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pushing: &lt;a href="https://tube.switch.ch/videos/2fca4c13"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11d_CompressionPolymers..ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week11d_CompressionPolymers..pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://tube.switch.ch/videos/8e3c92c9"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11e_DynamicCytoskeleton.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week11e_DynamicCytoskeleton.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://youtu.be/FIT0fdt6c3Y"&gt;Video by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/wQID2zmeWTQ"&gt;Cell motility by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/Ixt9We2hiGc"&gt;Evolution of the cytoskeleton by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 12 -- Gene regulation&lt;ul&gt;
&lt;li&gt;Introduction into gene regulation. &lt;a href="https://tube.switch.ch/videos/8d661dd6"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12a_IntroToGeneRegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week12a_IntroToGeneRegulation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Simple models of gene regulation. &lt;a href="https://tube.switch.ch/videos/2781a72f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12b_SimpleModelsOfGeneRegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week12b_SimpleModelsOfGeneRegulation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Elements of dynamics systems. &lt;a href="https://tube.switch.ch/videos/6e37f331"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12c_DynamicalSystems.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week12c_DynamicalSystems.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Auto-activation and repression. &lt;a href="https://tube.switch.ch/videos/c73b3b6e"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12d_AutoActivationRepression.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week12d_AutoActivationRepression.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Morphogen gradients -- regulation in space. &lt;a href="https://tube.switch.ch/videos/b2a4db07"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12e_RegulationInSpace.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week12e_RegulationInSpace.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 13 -- Liquid-liquid phase transitions&lt;ul&gt;
&lt;li&gt;Phase transitions in biology. &lt;a href="https://tube.switch.ch/videos/ebe62082"&gt;lecture&lt;/a&gt;, &lt;a href="w/PoL_notebooks/eek13a_PhaseTransitionsInBiology.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week13a_PhaseTransitionsInBiology.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Simple models of phase transitions, &lt;a href="https://tube.switch.ch/videos/653b6cd9"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13b_SimpleModelOfPhaseTransitions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week13b_SimpleModelOfPhaseTransitions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Properties of membraneless organells &lt;a href="https://tube.switch.ch/videos/7842b0da"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13c_PropertiesOfMembranelessOrganells.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week13c_PropertiesOfMembranelessOrganells.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;P granules, &lt;a href="https://tube.switch.ch/videos/0f1e7e8f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13d_PGranules.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week13d_PGranules.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 14 -- Fidelity, accuracy, and kinetic proof-reading&lt;ul&gt;
&lt;li&gt;Fidelity and accuacy. &lt;a href="https://tube.switch.ch/videos/ef78391c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14a_FidelityAndLimits.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week14a_FidelityAndLimits.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Kinetic Proofreading. &lt;a href="https://tube.switch.ch/videos/86457e7f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14b_KineticProofreading.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/pdfs/week14b_KineticProofreading.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Real-time tracking of RNA viruses using Nextstrain</title><link href="/202109_Recomb.html" rel="alternate"></link><published>2021-09-22T00:00:00+02:00</published><updated>2021-09-22T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-22:/202109_Recomb.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;&gt;3.5 million sequences&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Nextstrain started in 2014&lt;/li&gt;
        &lt;li&gt;A whole eco-system …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;&gt;3.5 million sequences&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Nextstrain started in 2014&lt;/li&gt;
        &lt;li&gt;A whole eco-system of tools and trackers has emerged since&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://cov-spectrum.ethz.ch"&gt;cov-spectrum&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://genome.ucsc.edu/cgi-bin/hgPhyloPlace"&gt;Usher&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://outbreak.info"&gt;outbreak.info&lt;/li&gt;&lt;/a&gt;
        &lt;li&gt;&lt;a href="https://cov2tree.org/"&gt;cov2tree.org&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Tracking variants turned out to be crucial&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-09_CovariantsSharedMuts.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other strains quickly&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:5%; left:15%; width: 70%; text-align:left" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06-03_UK_Sgene_positivity.png"&gt;
        &lt;font size=4&gt;&lt;span&gt;S-gene positivity in the UK&lt;/span&gt;&lt;/font&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, PHE Technical Briefing&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2021-09_cladeFrequencies.png" height=700px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;How do we tell early on whether a variant is concerning?&lt;/h3&gt;
&lt;h3&gt;How unusual are the patterns of convergent evolution?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Spanish EU1 diversity was mirrored across Europe &lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:60%; width:30%"&gt;
    &lt;img src="/talk_images/2021-05_Hodcroft_collapsedTree_legend.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Travel driven variant dispersal and displacement&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High invidence differential and high travel volume can shift variant distribution&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutational signatures&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-09_S1_mutations.png"&gt;
        &lt;h5&gt;Number of amino acid changes in the S1 domain&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-09_NTD_deletions.png"&gt;
        &lt;h5&gt;Prominent deletions the spike NTD&lt;/h5&gt;
        &lt;h5&gt;Common convergent deletion in NSP6&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Growth measures and experimental scores&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-07_logistic_growth.png"&gt;
        &lt;h5&gt;Recent growth rate&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-07_DMS_serum.png"&gt;
        &lt;h5&gt;RBD escape based on deep mutational scanning.&lt;br&gt;Allie Greaney (Jesse Bloom's lab)&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Deep mutational scanning for RBD mutations that affect AB binding and ACE2 binding&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;By Tyler Starr, Allie Greaney, Jesse Bloom and colleagues&lt;/li&gt;
    &lt;li&gt;Systematic evaluation of all RBD mutations for escape and ACE2 binding&lt;/li&gt;
    &lt;li&gt;Monoclonals binding to class 1,2,3,4 epitopes&lt;/li&gt;
    &lt;li&gt;Convalescent and vaccine sera to map population escape&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/&gt;Escape maps of indivual sera and antibodies by Bloom lab&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/escape-calc/&gt;Escape calculator for retained binding by Jesse Bloom&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_dms_escape_maps.png" class="plain" width="800px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;&lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;Within browser alignment and phylgenetic placement&lt;/li&gt;
    &lt;li&gt;Calls mutations relative to the reference&lt;/li&gt;
    &lt;li&gt;Assigns clades&lt;/li&gt;
    &lt;li&gt;Calculates QC metrics&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Adaptation and convergent evolution of SARS-CoV-2 and other human RNA viruses</title><link href="/202109_GfV.html" rel="alternate"></link><published>2021-09-17T00:00:00+02:00</published><updated>2021-09-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-17:/202109_GfV.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;&lt;a href="https://nextstrain.org/groups/neherlab/ncov/germany?f_country=Germany&amp;r=division"&gt;Real-time tracking on Nextstrain&lt;/a&gt;&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-09_CovariantsSharedMuts.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-09_VoCs.png" height=750px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;&lt;a href="https://nextstrain.org/groups/neherlab/ncov/germany?f_country=Germany&amp;r=division"&gt;Real-time tracking on Nextstrain&lt;/a&gt;&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-09_CovariantsSharedMuts.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other strains quickly&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:5%; left:15%; width: 70%; text-align:left" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06-03_UK_Sgene_positivity.png"&gt;
        &lt;font size=4&gt;&lt;span&gt;S-gene positivity in the UK&lt;/span&gt;&lt;/font&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, PHE Technical Briefing&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2021-09_cladeFrequencies.png" height=700px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without transmission advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Large differences in incidence (Spain vs most of Europe in Summer 2020)&lt;/li&gt;
        &lt;li&gt;High travel volume during summer 2020&lt;/li&gt;
        &lt;li&gt;Demographics with more social contacts&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;How do we tell early on whether a variant is concerning?&lt;/h3&gt;
&lt;h3&gt;How unusual are the patterns of convergent evolution?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Convergent evolution is common in RNA viruses&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Influenza A/H3N2:&lt;/h4&gt;
&lt;font size=5&gt;
&lt;h4&gt;4-fold convergence at positions 142 and 193 of HA1&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Convergent evolution is a tell-tale sign of adaptation&lt;br&gt;
        (hitting the same site by chance is unlikely)&lt;/li&gt;
    &lt;li&gt;But: RNA viruses are not mutation limited&lt;/li&gt;
    &lt;li&gt;In suitable environments, homoplasies are common&lt;/li&gt;
    &lt;li&gt;Variation at homoplasic positions is often selected &lt;br&gt;
        &amp;rarr; but success depends on background&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="talk_images/2021-06_H3N2_recurrence.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Convergent evolution is common in RNA viruses&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;A/H1N1pdm:&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Convergence at positions 186 and 189&lt;/li&gt;
    &lt;li&gt;Ferret serology is rather insensitive to these changes, but very sensitive to 156K&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="talk_images/2021-09_H1N1_recurrence.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutational signatures&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-09_S1_mutations.png"&gt;
        &lt;h5&gt;Number of amino acid changes in the S1 domain&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-09_NTD_deletions.png"&gt;
        &lt;h5&gt;Prominent deletions the spike NTD&lt;/h5&gt;
        &lt;h5&gt;Common convergent deletion in NSP6&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Growth measures and experimental scores&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-07_logistic_growth.png"&gt;
        &lt;h5&gt;Recent growth rate&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-07_DMS_serum.png"&gt;
        &lt;h5&gt;RBD escape based on deep mutational scanning.&lt;br&gt;Allie Greaney (Jesse Bloom's lab)&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Deep mutational scanning for RBD mutations that affect AB binding and ACE2 binding&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;By Tyler Starr, Allie Greaney, Jesse Bloom and colleagues&lt;/li&gt;
    &lt;li&gt;Systematic evaluation of all RBD mutations for escape and ACE2 binding&lt;/li&gt;
    &lt;li&gt;Monoclonals binding to class 1,2,3,4 epitopes&lt;/li&gt;
    &lt;li&gt;Convalescent and vaccine sera to map population escape&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/&gt;Escape maps of indivual sera and antibodies by Bloom lab&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/escape-calc/&gt;Escape calculator for retained binding by Jesse Bloom&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_dms_escape_maps.png" class="plain" width="800px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;Since late 2020, dominance of variants with abundant changes in Spike&lt;/li&gt;
&lt;li&gt;So far, successful variants had increased transmissibility, not immune escape&lt;br&gt;
    &amp;rarr; Beta, Gamma, and Mu are driven out by Delta&lt;/li&gt;
&lt;li&gt;We expect a gradual shift to selection for immune escape&lt;/li&gt;
&lt;li&gt;Prior to Delta, success of variants was regional. Delta is successful across the globe&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;img src="talk_images/2021-07_Zhou_batdivergence.png" width=800px class="fragment"&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/10.1101/2021.03.08.434390v1"&gt;Zhou et al, 2021&lt;/a&gt;&lt;span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Lessons from other viruses: how pandemics start and end</title><link href="/202109_BC2.html" rel="alternate"></link><published>2021-09-13T00:00:00+02:00</published><updated>2021-09-13T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-09-13:/202109_BC2.html</id><content type="html">&lt;h3&gt;&lt;a href="https://docs.google.com/presentation/d/1CSIwIdi7Gq1DAF77k9e6BdH11mVsBXe4k1HEFtOETvs/edit?usp=sharing"&gt;Link to Google Slides&lt;/a&gt;&lt;/h3&gt;</content><category term="talk"></category></entry><entry><title>Nextstrain webinar at Africa CDC</title><link href="/202107_AfricaCDC.html" rel="alternate"></link><published>2021-07-27T00:00:00+02:00</published><updated>2021-07-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-07-27:/202107_AfricaCDC.html</id><summary type="html">&lt;p&gt;This workshop provides an overview of SARS-CoV-2 sequence analysis with Nextstrain.
We will try to cover the following topics.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Preliminary analysis of new data with &lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Producing your own build using a background set, a download from GISAID, and your data&lt;/li&gt;
&lt;li&gt;Discuss the possibility to establish weekly updated analysis for …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;This workshop provides an overview of SARS-CoV-2 sequence analysis with Nextstrain.
We will try to cover the following topics.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Preliminary analysis of new data with &lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Producing your own build using a background set, a download from GISAID, and your data&lt;/li&gt;
&lt;li&gt;Discuss the possibility to establish weekly updated analysis for each country in Africa.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the first two points, hope you'll be able to follow along.
The previous webinar already used nextstrain, so I assume most of you have &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;code&gt;augur&lt;/code&gt;&lt;/a&gt; and the &lt;a href="https://github.com/nextstrain/ncov"&gt;&lt;code&gt;ncov&lt;/code&gt;&lt;/a&gt; pipeline installed.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;example data for the Nextclade analysis (180 recent global sequences):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="teaching_notes/2021-07-27_AfricaCDC_sequences.fasta.xz"&gt;sequences.fasta.xz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2021-07-27_AfricaCDC_metadata.tsv"&gt;metadata.tsv&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If you are unsure how to decompress the sequence file, use this uncompressed link  &lt;a href="teaching_notes/2021-07-27_AfricaCDC_sequences.fasta"&gt;sequences.fasta&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;if this is all going a bit too fast, click on the following link and Nextclade will open and load the data file directly from the web: &lt;br&gt;
  &lt;a href="https://clades.nextstrain.org?input-fasta=https://neherlab.org/teaching_notes/2021-07-27_AfricaCDC_sequences.fasta"&gt;clades.nextstrain.org?input-fasta=https://neherlab.org/teaching_notes/2021-07-27_AfricaCDC_sequences.fasta&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;background data for the &lt;code&gt;ncov&lt;/code&gt; build.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://data.nextstrain.org/files/ncov/open/global/sequences.fasta.xz"&gt;sequences.fasta.xz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://data.nextstrain.org/files/ncov/open/global/metadata.tsv.xz"&gt;metadata.tsv&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;GISAID allows to download data in a format that can be directly read in by augur. But one challenge is to find search parameters that yield a data set of suitable size (&lt;a href="https://docs.nextstrain.org/en/latest/tutorials/SARS-CoV-2/steps/data-prep.html#curate-data-from-gisaid-search-and-downloads"&gt;see here&lt;/a&gt;).
   I used the following (this will generate a few thousand sequences, but we will subsample them further):&lt;ul&gt;
&lt;li&gt;collection date: 2021-06-01 --&lt;/li&gt;
&lt;li&gt;region: Africa&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;add your own data with appropriately formatted metadata.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changes required to &lt;a href="https://github.com/nextstrain/ncov/blob/master/my_profiles/getting_started/builds.yaml"&gt;&lt;code&gt;my_profile/getting_started/builds.yaml&lt;/code&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nt"&gt;inputs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p p-Indicator"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;global_context&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;s3://nextstrain-data/files/ncov/open/global/metadata.tsv.xz&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;sequences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;s3://nextstrain-data/files/ncov/open/global/sequences.fasta.xz&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p p-Indicator"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;africa_set&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;ACDC_data/gisaid_auspice_input_hcov-19_2021_07_26_15.tar&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;sequences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;ACDC_data/gisaid_auspice_input_hcov-19_2021_07_26_15.tar&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p p-Indicator"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;additional_data&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;ACDC_data/metadata.tsv&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;sequences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;ACDC_data/sequences.fasta&lt;/span&gt;

&lt;span class="nt"&gt;builds&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;my-build&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;subsampling_scheme&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;my-subsampling&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;region&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;global&lt;/span&gt;

&lt;span class="nt"&gt;subsampling&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;my-subsampling&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;world&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;group_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;country&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;year&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;month&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;seq_per_group&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;10&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;exclude&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;--exclude-where&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;region==&amp;#39;Africa&amp;#39;&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;africa&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;group_by&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;country&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;year&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;month&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;seq_per_group&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l l-Scalar l-Scalar-Plain"&gt;100&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;exclude&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;--exclude-where&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;region!=&amp;#39;Africa&amp;#39;&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;min_date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;--min-date&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;2021-06-01&amp;quot;&lt;/span&gt;

&lt;span class="nt"&gt;refine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;root&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Wuhan-Hu-1/2019&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If fetching from &lt;code&gt;s3&lt;/code&gt; doesn't work, you can download these files and point directly to the files.
You can find the links to these files above.&lt;/p&gt;
&lt;p&gt;In addition, if you have more than one core available on your computer, you should change the &lt;a href="https://github.com/nextstrain/ncov/blob/master/my_profiles/getting_started/config.yaml"&gt;&lt;code&gt;my_profile/getting_started/config.yaml&lt;/code&gt;&lt;/a&gt; to reflect that.&lt;/p&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;h4&gt;Nextstrain&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org"&gt;Nextclade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nextstrain.org/en/latest/"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_augur.html"&gt;Analysis with augur and Snakemake -- viruses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=oWHY1plmYIM"&gt;Explore SARS-CoV-2 evolution in Auspice by Cassia Wagner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=lFmtfnDGbo4"&gt;Nextstrain webinar by US CDC&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;General&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Tracking and predicting SARS-CoV-2 variants with Nextstrain</title><link href="/202107_CSHL.html" rel="alternate"></link><published>2021-07-07T00:00:00+02:00</published><updated>2021-07-07T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-07-07:/202107_CSHL.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-07_VoCs.png" height=600px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/VoCs_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Emergence and dominance of VoCs&lt;/h3&gt;
&lt;img src="/talk_images/2021-07_VoCs.png" height=600px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/VoCs_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other strains quickly&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:5%; left:15%; width: 70%; text-align:left" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06-03_UK_Sgene_positivity.png"&gt;
        &lt;font size=4&gt;&lt;span&gt;S-gene positivity in the UK&lt;/span&gt;&lt;/font&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, PHE Technical Briefing&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Relative growth advantage depends on setting&lt;/h3&gt;
    &lt;font size=4&gt;
    &lt;div  style="position: absolute;top:18%; left:0%; width: 52%; text-align:left"&gt;
        Africa&lt;br&gt;
        &lt;img src="/talk_images/2021-07_freq_africa.png"&gt;&lt;br&gt;
        Asia&lt;br&gt;
        &lt;img src="/talk_images/2021-07_freq_asia.png"&gt;&lt;br&gt;
        Europe&lt;br&gt;
        &lt;img src="/talk_images/2021-07_freq_europe.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:18%; left:50%; width: 52%; text-align:left"&gt;
        North America&lt;br&gt;
        &lt;img src="/talk_images/2021-07_freq_north-america.png"&gt;&lt;br&gt;
        South America&lt;br&gt;
        &lt;img src="/talk_images/2021-07_freq_south-america.png"&gt;
    &lt;ul&gt;
    &lt;li&gt;Intrinsic transmission advantage&lt;/li&gt;
    &lt;li&gt;Immune evasion &amp;rarr; more (mild) reinfections&lt;/li&gt;
    &lt;li&gt;Likely depends on seropositivity in the population&lt;/li&gt;
    &lt;li&gt;Dozens of other variants with comparably mutational signatures&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;How do we tell early on whether a variant is concerning?&lt;/h3&gt;
&lt;h3&gt;How unusual are the patterns of convergent evolution?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without transmission advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Large differences in incidence (Spain vs most of Europe in Summer 2020)&lt;/li&gt;
        &lt;li&gt;High travel volume during summer 2020&lt;/li&gt;
        &lt;li&gt;Demographics with more social contacts&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Convergent evolution is common in RNA viruses&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Recent Influenza A/H3N2 example:&lt;/h4&gt;
&lt;font size=5&gt;
&lt;h4&gt;4-fold convergence at positions 142 and 193 of HA1&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;RNA viruses are not mutation limited&lt;/li&gt;
    &lt;li&gt;In suitable environments, homoplasies are common&lt;/li&gt;
    &lt;li&gt;Variation at homoplasic positions is often selected &lt;br&gt; &amp;rarr; but success depends on background&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="talk_images/2021-06_H3N2_recurrence.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutational signatures&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-07_S1_mutations.png"&gt;
        &lt;h5&gt;Number of amino acid changes in the S1 domain&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-07_NTD_deletions.png"&gt;
        &lt;h5&gt;Prominent deletions the spike NTD&lt;/h5&gt;
        &lt;h5&gt;Common convergent deletion in NSP6&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Growth measures and experimental scores&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:5%; width: 45%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-07_logistic_growth.png"&gt;
        &lt;h5&gt;Recent growth rate&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;top:12%; left:50%; width: 45%; text-align:left" class='fragment'&gt;
        &lt;img src="/talk_images/2021-07_DMS_serum.png"&gt;
        &lt;h5&gt;RBD escape based on deep mutational scanning.&lt;br&gt;Allie Greaney (Jesse Bloom's lab)&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;Since late 2020, dominance of variants with abundant changes in Spike&lt;/li&gt;
&lt;li&gt;Success due to a complex mix of epidemiological, immunological and viral factors &amp;rarr; hard to predict&lt;/li&gt;
&lt;li&gt;Regional variation in success -- alas VoC Delta is successful across the globe&lt;/li&gt;
&lt;li&gt;We don't know how flexible SARS-CoV-2 is...&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;img src="talk_images/2021-07_Zhou_batdivergence.png" width=800px class="fragment"&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/10.1101/2021.03.08.434390v1"&gt;Zhou et al, 2021&lt;/a&gt;&lt;span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Patterns of early diversity of SARS-CoV-2</title><link href="/202106_ParisGroup.html" rel="alternate"></link><published>2021-06-17T00:00:00+02:00</published><updated>2021-06-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-17:/202106_ParisGroup.html</id><summary type="html">&lt;section&gt;
  &lt;h2&gt;Do early patterns of diversity give us clues about the origin of SARS-CoV-2?&lt;/h2&gt;
  &lt;h4&gt;Maybe, but interpreting these patterns is hard an much uncertainty remains.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-06-12_WhoOriginReport.png" width="1300px"&gt;
&lt;span class='ref'&gt;WHO report&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Multi-market hypothesis&lt;/h3&gt;
&lt;img src="/talk_images/2021-06-12_VirologicalGarry_1.png" width="1300px"&gt;
&lt;img src="/talk_images/2021-06-12_VirologicalGarry_2.png" width="500px"&gt;
&lt;span class='ref'&gt;&lt;a href=https://virological.org/t/early-appearance-of-two-distinct-genomic-lineages-of-sars-cov-2-in-different-wuhan-wildlife-markets-suggests-sars-cov-2-has-a-natural-origin/691&gt;Garry, virological.org, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Plausible roots of current SC2 diversity&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;19A/lineage B&lt;/b&gt;: Huanan market cluster, favored by models without explicit outgroups …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;h2&gt;Do early patterns of diversity give us clues about the origin of SARS-CoV-2?&lt;/h2&gt;
  &lt;h4&gt;Maybe, but interpreting these patterns is hard an much uncertainty remains.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-06-12_WhoOriginReport.png" width="1300px"&gt;
&lt;span class='ref'&gt;WHO report&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Multi-market hypothesis&lt;/h3&gt;
&lt;img src="/talk_images/2021-06-12_VirologicalGarry_1.png" width="1300px"&gt;
&lt;img src="/talk_images/2021-06-12_VirologicalGarry_2.png" width="500px"&gt;
&lt;span class='ref'&gt;&lt;a href=https://virological.org/t/early-appearance-of-two-distinct-genomic-lineages-of-sars-cov-2-in-different-wuhan-wildlife-markets-suggests-sars-cov-2-has-a-natural-origin/691&gt;Garry, virological.org, 2021&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Plausible roots of current SC2 diversity&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;19A/lineage B&lt;/b&gt;: Huanan market cluster, favored by models without explicit outgroups, implies 2 reversions&lt;/li&gt;
&lt;li&gt;&lt;b&gt;19B/lineage A&lt;/b&gt;: 2 mutations closer to bat viruses, would result in an earlier TMRCA&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Guangdong cluster&lt;/b&gt;: 3 mutations closer to bat viruses, epidemiologically less plausible, still earlier TMRCA&lt;/li&gt;
&lt;li&gt;Other viruses close to bat viruses: mostly one-offs, some reversions are expected by chance&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Root inferred by Pekar et al&lt;/h3&gt;
&lt;img src="/talk_images/Pekar_etal_SM_SC2_root.png"&gt;
&lt;span class='ref'&gt;&lt;a href="https://science.sciencemag.org/content/372/6540/412"&gt;Pekar et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Similarity to bat viruses&lt;/h3&gt;
&lt;img src="/talk_images/2021-06_Sc2_distance_to_RaTG13.png" width="1000px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;The 8782/28144 split&lt;/h3&gt;
&lt;img src="/talk_images/2021-06_Sc2_8782_28144.png" width="1000px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Homoplasies and Reversions to bat-like states&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
  &lt;img src="/talk_images/terminal_non-terminal_hits.png" width="1300px"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:50%; width: 40%; text-align:left"&gt;
  &lt;img src="/talk_images/rev_nonrev_hits.png" width="1300px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Homoplasies and Reversions to bat-like states (non-terminals only)&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:20%; width: 60%; text-align:left"&gt;
  &lt;img src="/talk_images/rev_nonrev_hits_hist.png" width="1300px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conclusions&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
&lt;ul&gt;
&lt;li&gt;Both 19A/19B rootings are plausible&lt;/li&gt;
&lt;li&gt;Early epidemiological dynamics is expected to be very stochastic, sampling focussed on 19A (lineage B, Huanan cluster)
&lt;br&gt;&amp;rarr; epi-evidence weak in my opinion&lt;/li&gt;
&lt;li&gt;Positions 8782 and 21844 are reasonably stable
&lt;br&gt;&amp;rarr; points towards 19B (lineage A) as root&lt;/li&gt;
&lt;li&gt;Some genomes need to be interpreted with caution&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_hidden"></category></entry><entry><title>SARS-CoV-2 Variants of Interest and Concern naming scheme conducive for global discourse</title><link href="/konings_sars-cov-2_2021.html" rel="alternate"></link><published>2021-06-09T00:00:00+02:00</published><updated>2021-06-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-09:/konings_sars-cov-2_2021.html</id><content type="html">&lt;p&gt;A group convened and led by the Virus Evolution Working Group of the World Health Organization reports on its deliberations and announces a naming scheme that will enable clear communication about SARS-CoV-2 variants of interest and concern.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Spread of a SARS-CoV-2 variant through Europe in the summer of 2020</title><link href="/hodcroft_spread_2021.html" rel="alternate"></link><published>2021-06-07T00:00:00+02:00</published><updated>2021-06-07T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-07:/hodcroft_spread_2021.html</id><summary type="html">&lt;p&gt;Following its emergence in late 2019, the spread of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2)1,2 has been tracked via phylogenetic analysis of viral genome sequences in unprecedented detail3–5. While the virus spread globally in early 2020 before borders closed, intercontinental travel has since been greatly reduced …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Following its emergence in late 2019, the spread of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2)1,2 has been tracked via phylogenetic analysis of viral genome sequences in unprecedented detail3–5. While the virus spread globally in early 2020 before borders closed, intercontinental travel has since been greatly reduced. However, within Europe travel resumed in the summer of 2020. Here we report on a novel SARS-CoV-2 variant, 20E (EU1), that emerged in Spain in early summer, and subsequently spread across Europe. We find no evidence of increased transmissibility, but instead demonstrate how rising incidence in Spain, resumption of travel, and lack of effective screening and containment may explain the variant’s success. Despite travel restrictions, we estimate 20E (EU1) was introduced hundreds of times to European countries by summertime travelers, likely undermining local efforts to keep SARS-CoV-2 cases low. Our results demonstrate how a variant can rapidly become dominant even in absence of a substantial transmission advantage in favorable epidemiological settings. Genomic surveillance is critical to understanding how travel can impact SARS-CoV-2 transmission, and thus for informing future containment strategies as travel resumes.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking and interpreting novel SARS-CoV-2 variants</title><link href="/202106_DPG.html" rel="alternate"></link><published>2021-06-05T00:00:00+02:00</published><updated>2021-06-05T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-05:/202106_DPG.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;nextstrain.org&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-06-04_SC2_VoC.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-06-04_CoVariants_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs partially …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;nextstrain.org&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-06-04_SC2_VoC.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-06-04_CoVariants_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs partially escape neutralizing antibodies and transmit faster&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:4%; left:15%; width: 70%; text-align:center" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06_Wall_Lancet.png"&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, Wall et al, Lancet&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain builds for different countries&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;h4&gt;&lt;a href="https://nextstrain.org/groups/neherlab/"&gt;nextstrain.org/groups/neherlab&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Started as part of the surveillance effort in Switzerland&lt;/li&gt;
    &lt;li&gt;Most European countries -- updated twice a week&lt;/li&gt;
    &lt;li&gt;Heavy focus on sequences from the last 4 weeks (but still subsampled in many cases)&lt;/li&gt;
    &lt;li&gt;Administrative divisions for some countries&lt;/li&gt;
    &lt;li&gt;Variant specific builds via &lt;a href="https://covariants.org"&gt;CoVariants&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:55%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-06-04_ncov_germany.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Similarities to influenza virus evolution&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_H3N2_diversity.png"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_flu_pred.png"&gt;
&lt;font size=4&gt;Klingen et al, Trends in MicroBio, 2018&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:5%; left:5%; width: 80%; text-align:left"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
  &lt;h4&gt;Allie Greaney and Jesse Bloom for discussion of the dms data&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Real-time tracking of RNA viruses using Nextstrain</title><link href="/202106_EPFL.html" rel="alternate"></link><published>2021-06-03T00:00:00+02:00</published><updated>2021-06-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-03:/202106_EPFL.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid …&lt;/a&gt;&lt;/h2&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/VoCs_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;VoCs have been replacing other strains quickly&lt;/h3&gt;
    &lt;div  style="position: absolute;top:12%; left:15%; width: 70%; text-align:left"&gt;
        &lt;img src="/talk_images/2021-06-03_Althaus_variant_takeover.png"&gt;
    &lt;/div&gt;
    &lt;div  style="position: absolute;bottom:5%; left:15%; width: 70%; text-align:left" class="fragment"&gt;
        &lt;img src="/talk_images/2021-06-03_UK_Sgene_positivity.png"&gt;
        &lt;font size=4&gt;&lt;span&gt;S-gene positivity in the UK&lt;/span&gt;&lt;/font&gt;
    &lt;/div&gt;
  &lt;span class="ref"&gt;Althaus et al, 2021, PHE Technical Briefing&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;ul&gt;
&lt;li&gt;How unusual is this?&lt;/li&gt;
&lt;li&gt;How do we tell early on whether a variant is more transmissible?&lt;/li&gt;
&lt;li&gt;How important are travel and seasons?&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Recurrent mutations are common&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;RNA viruses are not mutation limited&lt;/li&gt;
    &lt;li&gt;In suitable environments, homoplasies are common&lt;/li&gt;
    &lt;li&gt;Clearly selected variation, but they don't necessarily sweep&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left" class="fragment fade-out" data-fragment-index="1"&gt;
&lt;img src="talk_images/2021-06_H3N2_recurrence.png"&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left" class="fragment fade-in-then-out" data-fragment-index="2"&gt;
&lt;img src="talk_images/2021-06_H1N1_recurrence.png"&gt;
&lt;/div&gt;

&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left" class="fragment fade-in-then-out" data-fragment-index="3"&gt;
&lt;img src="talk_images/2021-06_EVd68_recurrence.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Do A/H3N2 mutations have inertia?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fixation probability is quasi-neutral&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;h5&gt;A/H3N2 influenza&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_only.png" width="90%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%" class="fragment"&gt;
    &lt;h5&gt;Simulations with increasing interference&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_simulation.png" width="85%" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity in immune responses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/Lee_DMS_flu_antigenic_diversity.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.7554/eLife.49324"&gt;Lee et al, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;A/H3N2 influenza doesn't quite fit the textbook picture of rapid adaptation&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Strong signal of positive selection&lt;/li&gt;
            &lt;li&gt;Evolutionary rate at antigenic sites very high&lt;/li&gt;
            &lt;li&gt;Rapid clade displacement, interference&lt;/li&gt;
            &lt;li&gt;Any given escape only allows to escape a fraction of the population &lt;br&gt;
                &amp;rarr; expiration of selection long before a mutation is common&lt;/li&gt;
            &lt;li&gt;The more diverse the immune landscape, the more neutral it looks&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_VoC_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;CoVariants.org&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 variants can become dominant without advantage&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_frequencies.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High case numbers in Spain and high travel volume spread the variant&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelPattern.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_EU1_TravelModel.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.1101/2020.10.25.20219063"&gt;Hodcroft et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Travel driven variant dispersal and displacement&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;High invidence differential and high travel volume can shift variant distribution&lt;/li&gt;
            &lt;li&gt;Travel associated activities and behavior further increases impact&lt;/li&gt;
            &lt;li&gt;Onward spread in traveling demographics can be higher&lt;/li&gt;
            &lt;li&gt;We will see whether this also holds for 21A (delta)&lt;/li&gt;
            &lt;li&gt;Very easy to jump to premature conclusions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Travel driven variant dispersal and displacement&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
    &lt;img src="/talk_images/2021-06_21A_UK.png" width="100%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;rapid rise to dominance&lt;/li&gt;
            &lt;li&gt;BUT: India had very high incidence&lt;/li&gt;
            &lt;li&gt;travel between UK-India was high in March/April (put on red list on April 23rd)&lt;/li&gt;
            &lt;li&gt;Likely hundreds of imports&lt;/li&gt;
            &lt;li&gt;The variant is diverse and dates back to last summer.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:50%" class="fragment fade-in"&gt;
        &lt;img src="/talk_images/2021-06_21A_tree.png" width="100%"&gt;
        &lt;h4&gt;Transmission advantage relative to original variants likely.&lt;/h4&gt;
        &lt;h4&gt;But unclear how much.&lt;/h4&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Control of the virus might be harder in temperate winter&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus (model from Feb 2020)&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png"      class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;SARS-CoV-2 acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" class="plain" height=250px&gt;
            &lt;img src="https://esmycobacteriology.eu/Content/image/ESM/Inakiweb(1).jpg" class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft (now in Bern)&lt;/li&gt;
        &lt;li&gt;Moira Zuber (Basel)&lt;/li&gt;
        &lt;li&gt;Iñaki Comas and Fernando Gonzalez-Candelas, Valencia&lt;/li&gt;
        &lt;li&gt;Martina Reichmuth and Christian Althaus (Bern)&lt;/li&gt;
        &lt;li&gt;Tanja Stadler, Sarah Nadeau, Tim Vaughan at ETH&lt;/li&gt;
        &lt;li&gt;Alberto Hernando and David Matteo at Kido Dynamics&lt;/li&gt;
        &lt;li&gt;Jesse Bloom, Katherine Crawford at Fred Hutch&lt;/li&gt;
        &lt;li&gt;David Veesler, Alex Walls, Davide Corti, John Bowen at UW&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, John Huddleston, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Molecular Epidemiology and Evolutionary Trajectory of Emerging Echovirus 30, Europe</title><link href="/benschop_molecular_2021.html" rel="alternate"></link><published>2021-06-01T00:00:00+02:00</published><updated>2021-06-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-06-01:/benschop_molecular_2021.html</id><summary type="html">&lt;p&gt;In 2018, an upsurge in echovirus 30 (E30) infections was reported in Europe. We conducted a large-scale epidemiologic and evolutionary study of 1,329 E30 strains collected in 22 countries in Europe during 2016–2018. Most E30 cases affected persons 0–4 years of age (29\%) and 25–34 years …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In 2018, an upsurge in echovirus 30 (E30) infections was reported in Europe. We conducted a large-scale epidemiologic and evolutionary study of 1,329 E30 strains collected in 22 countries in Europe during 2016–2018. Most E30 cases affected persons 0–4 years of age (29\%) and 25–34 years of age (27\%). Sequences were divided into 6 genetic clades (G1–G6). Most (53\%) sequences belonged to G1, followed by G6 (23\%), G2 (17\%), G4 (4\%), G3 (0.3\%), and G5 (0.2\%). Each clade encompassed unique individual recombinant forms; G1 and G4 displayed {\textgreater}2 unique recombinant forms. Rapid turnover of new clades and recombinant forms occurred over time. Clades G1 and G6 dominated in 2018, suggesting the E30 upsurge was caused by emergence of 2 distinct clades circulating in Europe. Investigation into the mechanisms behind the rapid turnover of E30 is crucial for clarifying the epidemiology and evolution of these enterovirus infections.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Novel SARS-CoV-2 variants: the pandemics within the pandemic</title><link href="/boehm_novel_2021.html" rel="alternate"></link><published>2021-05-25T00:00:00+02:00</published><updated>2021-05-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-05-25:/boehm_novel_2021.html</id><summary type="html">&lt;p&gt;Background
Many new variants of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) have been termed variants of concern/interest (VOC/I) because of the greater risk they pose due to possible enhanced transmissibility and/or severity, immune escape, diagnostic and/or treatment failure, and reduced vaccine efficacy.
Aims
We …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Background
Many new variants of the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) have been termed variants of concern/interest (VOC/I) because of the greater risk they pose due to possible enhanced transmissibility and/or severity, immune escape, diagnostic and/or treatment failure, and reduced vaccine efficacy.
Aims
We sought to review the current knowledge of emerging SARS-CoV-2 variants, particularly those deemed VOC/Is: B.1.351, B.1.1.7, and P.1.
Sources
MEDLINE and BioRxiv databases, as well as the grey literature, were searched for reports of SARS-CoV-2 variants since November 2020. Relevant articles and their references were screened.
Content
Mutations on the spike protein in particular may affect both affinity for the SARS-CoV-2 cell receptor ACEII and antibody binding. These VOC/Is often share similar mutation sets. The N501Y mutation is shared by the three main VOCs: B.1.1.7, first identified in the United Kingdom, P.1, originating from Brazil, and B.1.351, first described in South Africa. This mutation likely increases transmissibility by increasing affinity for ACEII. The B.1.351 and P.1 variants also display the E484K mutation which decreases binding of neutralizing antibodies, leading to partial immune escape; this favours reinfections, and decreases the in vitro efficacy of some antibody therapies or vaccines. Those mutations may also have phenotypical repercussions of greater severity. Furthermore, the accumulation of mutations poses a diagnostic risk (lowered when using multiplex assays), as seen for some assays targeting the S gene. With ongoing surveillance, many new VOC/Is have been identified. The emergence of the E484K mutation independently in different parts of the globe may reflect the adaptation of SARS-CoV-2 to humans against a background of increasing immunity.
Implications
These VOC/Is are increasing in frequency globally and pose challenges to any herd immunity approach to managing the pandemic. While vaccination is ongoing, vaccine updates may be prudent. The virus continues to adapt to transmission in humans, and further divergence from the initial Wuhan sequences is expected.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Investigate the origins of COVID-19</title><link href="/bloom_investigate_2021.html" rel="alternate"></link><published>2021-05-14T00:00:00+02:00</published><updated>2021-05-14T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-05-14:/bloom_investigate_2021.html</id><summary type="html">&lt;p&gt;On 30 December 2019, the Program for Monitoring Emerging Diseases notified the world about a pneumonia of unknown cause in Wuhan, China ([ 1 ][1]). Since then, scientists have made remarkable progress in understanding the causative agent, severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), its transmission, pathogenesis, and mitigation by vaccines …&lt;/p&gt;</summary><content type="html">&lt;p&gt;On 30 December 2019, the Program for Monitoring Emerging Diseases notified the world about a pneumonia of unknown cause in Wuhan, China ([ 1 ][1]). Since then, scientists have made remarkable progress in understanding the causative agent, severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), its transmission, pathogenesis, and mitigation by vaccines, therapeutics, and non-pharmaceutical interventions. Yet more investigation is still needed to determine the origin of the pandemic. Theories of accidental release from a lab and zoonotic spillover both remain viable. Knowing how COVID-19 emerged is critical for informing global strategies to mitigate the risk of future outbreaks.&lt;/p&gt;
&lt;p&gt;In May 2020, the World Health Assembly requested that the World Health Organization (WHO) director-general work closely with partners to determine the origins of SARS-CoV-2 ([ 2 ][2]). In November, the Terms of Reference for a China–WHO joint study were released ([ 3 ][3]). The information, data, and samples for the study's first phase were collected and summarized by the Chinese half of the team; the rest of the team built on this analysis. Although there were no findings in clear support of either a natural spillover or a lab accident, the team assessed a zoonotic spillover from an intermediate host as “likely to very likely,” and a laboratory incident as “extremely unlikely” [([ 4 ][4]), p. 9]. Furthermore, the two theories were not given balanced consideration. Only 4 of the 313 pages of the report and its annexes addressed the possibility of a laboratory accident ([ 4 ][4]). Notably, WHO Director-General Tedros Ghebreyesus commented that the report's consideration of evidence supporting a laboratory accident was insufficient and offered to provide additional resources to fully evaluate the possibility ([ 5 ][5]).&lt;/p&gt;
&lt;p&gt;As scientists with relevant expertise, we agree with the WHO director-general ([ 5 ][5]), the United States and 13 other countries ([ 6 ][6]), and the European Union ([ 7 ][7]) that greater clarity about the origins of this pandemic is necessary and feasible to achieve. We must take hypotheses about both natural and laboratory spillovers seriously until we have sufficient data. A proper investigation should be transparent, objective, data-driven, inclusive of broad expertise, subject to independent oversight, and responsibly managed to minimize the impact of conflicts of interest. Public health agencies and research laboratories alike need to open their records to the public. Investigators should document the veracity and provenance of data from which analyses are conducted and conclusions drawn, so that analyses are reproducible by independent experts.&lt;/p&gt;
&lt;p&gt;Finally, in this time of unfortunate anti-Asian sentiment in some countries, we note that at the beginning of the pandemic, it was Chinese doctors, scientists, journalists, and citizens who shared with the world crucial information about the spread of the virus—often at great personal cost ([ 8 ][8], [ 9 ][9]). We should show the same determination in promoting a dispassionate science-based discourse on this difficult but important issue.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking and interpreting novel SARS-CoV-2 variants</title><link href="/202105_ECDC.html" rel="alternate"></link><published>2021-05-12T00:00:00+02:00</published><updated>2021-05-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-05-12:/202105_ECDC.html</id><summary type="html">&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly sequence submissions&lt;/h3&gt;
&lt;img src="/talk_images/2021-04_SC2_seqs_per_week.png" class="plain" width="1200px"&gt;
&lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
&lt;h4&gt;Data are shared via and curated by GISAID
&lt;img src="/talk_images/GISAID_logo.png" class="plain" width="100px"&gt;&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain builds for different countries&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;h4&gt;&lt;a href="https://nextstrain.org/groups/neherlab/"&gt;nextstrain.org/groups/neherlab&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Started as part of the surveillance effort in Switzerland&lt;/li&gt;
    &lt;li&gt;Most European countries -- updated twice a week&lt;/li&gt;
    &lt;li&gt;Heavy focus …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly sequence submissions&lt;/h3&gt;
&lt;img src="/talk_images/2021-04_SC2_seqs_per_week.png" class="plain" width="1200px"&gt;
&lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
&lt;h4&gt;Data are shared via and curated by GISAID
&lt;img src="/talk_images/GISAID_logo.png" class="plain" width="100px"&gt;&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain builds for different countries&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;h4&gt;&lt;a href="https://nextstrain.org/groups/neherlab/"&gt;nextstrain.org/groups/neherlab&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Started as part of the surveillance effort in Switzerland&lt;/li&gt;
    &lt;li&gt;Most European countries -- updated twice a week&lt;/li&gt;
    &lt;li&gt;Heavy focus on sequences from the last 4 weeks (but still subsampled in many cases)&lt;/li&gt;
    &lt;li&gt;Administrative divisions for some countries&lt;/li&gt;
    &lt;li&gt;Variant specific builds via &lt;a href="https://covariants.org"&gt;CoVariants&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;We sometimes include experimental features&lt;/li&gt;
    &lt;li&gt;Moderate effort to add more -- get in touch if you have specific ideas or requests&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:55%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-05-12_ncov_austria.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Similarities to influenza virus evolution&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_H3N2_diversity.png"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_flu_pred.png"&gt;
&lt;font size=4&gt;Klingen et al, Trends in MicroBio, 2018&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:5%; left:5%; width: 80%; text-align:left"&gt;
&lt;h4&gt;Continuous back and forth between experimental and computational groups.&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Challenges assessing novel variants&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Frequency dynamics are skewed by sampling biases and varying incidence&lt;/li&gt;
    &lt;li&gt;Rare sequences might represent large outbreaks in poorly sampled regions&lt;/li&gt;
    &lt;li&gt;Sudden changes in sampling strategies might look like rapidly increasing frequencies&lt;/li&gt;
    &lt;li&gt;Focus on specific mutations in known VoCs might miss important others&lt;/li&gt;
    &lt;li&gt;Laboratory characterization takes time&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 45%; text-align:left" class="fragment"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Prioritization of variants for laboratory characterization. &lt;/li&gt;
    &lt;li&gt;Harmonized categorization of sequences as
        &lt;ul&gt;
        &lt;li&gt;General surveillance&lt;/li&gt;
        &lt;li&gt;Outbreak investigations&lt;/li&gt;
        &lt;li&gt;Vaccine breakthroughs, reinfections, etc&lt;/li&gt;
        &lt;li&gt;Travel associated cases&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Support for denser sampling across the globe&lt;br&gt;
    (some places in Europe are still undersampled)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Deep mutational scanning for RBD mutations that affect AB binding and ACE2 binding&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;By Tyler Starr, Allie Greaney, Jesse Bloom and colleagues&lt;/li&gt;
    &lt;li&gt;Systematic evaluation of all RBD mutations for escape and ACE2 binding&lt;/li&gt;
    &lt;li&gt;Monoclonals binding to class 1,2,3,4 epitopes&lt;/li&gt;
    &lt;li&gt;Convalescent and vaccine sera to map population escape&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/&gt;Escape maps of indivual sera and antibodies by Bloom lab&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/escape-calc/&gt;Escape calculator for retained binding by Jesse Bloom&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_dms_escape_maps.png" class="plain" width="800px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Scoring all sequences for further characterization&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Escape in distinct RBD epitope classes&lt;/li&gt;
    &lt;li&gt;RBD escape in convalescent/vaccine sera&lt;/li&gt;
    &lt;li&gt;NTD mutations&lt;/li&gt;
    &lt;li&gt;Other VoC associated mutations (nsp6 del)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:55%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;ACE2 binding&lt;/li&gt;
    &lt;li&gt;Furin cleavage site mutations&lt;/li&gt;
    &lt;li&gt;Recent growth&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:5%; width: 95%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_scores.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Incorporation of scores into phylogenetic analysis&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 45%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_S1_muts.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 45%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_growth_rate.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
  &lt;h4&gt;Allie Greaney and Jesse Bloom for discussion of the dms data&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Multiplex qPCR discriminates variants of concern to enhance global surveillance of SARS-CoV-2</title><link href="/vogels_multiplex_2021.html" rel="alternate"></link><published>2021-05-07T00:00:00+02:00</published><updated>2021-05-07T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-05-07:/vogels_multiplex_2021.html</id><summary type="html">&lt;p&gt;With the emergence of Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) variants that may increase transmissibility and/or cause escape from immune responses, there is an urgent need for the targeted surveillance of circulating lineages. It was found that the B.1.1.7 (also 501Y.V1) variant, first detected …&lt;/p&gt;</summary><content type="html">&lt;p&gt;With the emergence of Severe Acute Respiratory Syndrome Coronavirus 2 (SARS-CoV-2) variants that may increase transmissibility and/or cause escape from immune responses, there is an urgent need for the targeted surveillance of circulating lineages. It was found that the B.1.1.7 (also 501Y.V1) variant, first detected in the United Kingdom, could be serendipitously detected by the Thermo Fisher TaqPath COVID-19 PCR assay because a key deletion in these viruses, spike Δ69–70, would cause a “spike gene target failure” (SGTF) result. However, a SGTF result is not definitive for B.1.1.7, and this assay cannot detect other variants of concern (VOC) that lack spike Δ69–70, such as B.1.351 (also 501Y.V2), detected in South Africa, and P.1 (also 501Y.V3), recently detected in Brazil. We identified a deletion in the ORF1a gene (ORF1a Δ3675–3677) in all 3 variants, which has not yet been widely detected in other SARS-CoV-2 lineages. Using ORF1a Δ3675–3677 as the primary target and spike Δ69–70 to differentiate, we designed and validated an open-source PCR assay to detect SARS-CoV-2 VOC. Our assay can be rapidly deployed in laboratories around the world to enhance surveillance for the local emergence and spread of B.1.1.7, B.1.351, and P.1.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and population genetics</title><link href="/202104_computational_biology.html" rel="alternate"></link><published>2021-04-29T00:00:00+02:00</published><updated>2021-04-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-04-29:/202104_computational_biology.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_time_scaled.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_divergence.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_clock.png" width=100%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Tree building optimization with temporal constraints&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Time stamps single out a root&lt;/li&gt;
            &lt;li&gt;Root can be found by optimizing root-to-tip regression&lt;/li&gt;
            &lt;li&gt;BEAST: Markov-Chain Monte Carlo tree sampler&lt;/li&gt;
            &lt;li&gt;If topology is correct, temporal constraints can be accounted for in linear time&lt;/li&gt;
            &lt;li&gt;Multiple tools: treedate, LSD, treetime&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/wrong_root.png" width=50%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/correct_root.png" width=50%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1"  style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:20%; width:60%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Calibration points can be longitudinal samples, ancient DNA or fossils&lt;/li&gt;
            &lt;li&gt;Rates can vary between proteins and organisms from 0.01/year to $&lt;10^{-8}$/y &lt;/li&gt;
            &lt;li&gt;Some site change often, some rarely &amp;rarr; saturation&lt;/li&gt;
            &lt;li&gt;The apparent rate changes over time&lt;/li&gt;
            &lt;li&gt;Divergence times are often under estimated. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h2&gt;&lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;/h2&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2021-04-29_SC2_europe.fasta"&gt;Download these SARS-CoV-2 sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;go to &lt;a href="https://clades.nextstrain.org"&gt;clades.nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;upload the sequence data above (will process for a few minutes)&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Computational Biologist/Bioinformatician (50-100%)</title><link href="/202104_BZ_bioinformatician.html" rel="alternate"></link><published>2021-04-27T00:00:00+02:00</published><updated>2021-04-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-04-27:/202104_BZ_bioinformatician.html</id><summary type="html">&lt;p&gt;Starting immediately or as per agreement.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="https://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt; looking for a bioinformatician or computational biologist.
Our group is a (co-)developer of multiple scientific software packages used to track and visualize viral and bacterial evolution including &lt;a href="http://nextstrain.org"&gt;nextstrain.org …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;Starting immediately or as per agreement.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="https://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt; looking for a bioinformatician or computational biologist.
Our group is a (co-)developer of multiple scientific software packages used to track and visualize viral and bacterial evolution including &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;, &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt;, and &lt;a href="http://pangenome.ch"&gt;panX&lt;/a&gt;.
These tools are extensively used around the world to analyze the spread and evolution of pathogens. Nextstrain is a corner stone of genomic epidemiology of SARS-CoV-2.&lt;/p&gt;
&lt;h3&gt;Your position&lt;/h3&gt;
&lt;p&gt;Your core task would be to develop and maintain workflows to analyze the continuous stream of SARS-CoV-2, influenza virus, and other pathogen sequences. The rapidly increasing data volumes require new methodological approaches and robust hard- and software infrastructure. In addition, sequence data needs to be integrated with serological data, drug resistance data, epidemiological data or other information and turned into output that is actionable for public health. You would be working along side a full time software engineer as well as PhD students and postdocs.&lt;/p&gt;
&lt;h3&gt;Your profile&lt;/h3&gt;
&lt;p&gt;The ideal candidate for this position has experience in sequence bioinformatics and phylogenetics with an interest in pathogen evolution and data visualization. Knowledge of Linux environments, Python, git version control, and best-practices for reproducible bioinformatic analysis are required. The candidate should have a Master degree or PhD in bioinformatics, computational biology or equivalent experience. Working language of the team is English. In addition to developing workflows and methods, communicating these results to public health professionals, documentation, and user training are part of this position.&lt;/p&gt;
&lt;p&gt;If you are unsure whether your profile matches what we are looking for but feel you could bring a lot to this role, please get in touch with Richard Neher at richard.neher@unibas.ch.&lt;/p&gt;
&lt;h3&gt;We offer&lt;/h3&gt;
&lt;p&gt;You would be embedded in an international group that does cutting-edge research in pathogen evolution and and that is tightly integrated in the global surveillance of pathogens and the response to the ongoing pandemic. The Biozentrum offers a cutting-edge research infrastructure, a highly international environment that provides numerous opportunities to learn more, and excellent working conditions. The position is initially for 2 years, with the possibility of further extension. Salary and benefits according to University of Basel standards.&lt;/p&gt;
&lt;h2&gt;Application&lt;/h2&gt;
&lt;p&gt;Please apply online with a CV, letter of motivation, and a summary of past projects you worked on including links to relevant publications or source code repositories through our &lt;a href="https://biped2.biozentrum.unibas.ch/apply/bioinformatician-rg-neher"&gt;online application system&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For specific questions, feel free to contact Richard Neher at richard.neher@unibas.ch.
Reviewing of applications will start immediately and continue until the position is filled.&lt;/p&gt;</content><category term="job_old"></category></entry><entry><title>Assessing SARS-CoV-2 variants early on</title><link href="/202104_ECDC.html" rel="alternate"></link><published>2021-04-27T00:00:00+02:00</published><updated>2021-04-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-04-27:/202104_ECDC.html</id><summary type="html">&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Similarities to influenza virus evolution&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_H3N2_diversity.png"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_flu_pred.png"&gt;
&lt;font size=4&gt;Klingen et al, Trends in MicroBio, 2018&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:5%; left:5%; width: 80%; text-align:left"&gt;
&lt;h4&gt;Continuous back and forth between experimental and computational groups.&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly sequence submissions&lt;/h3&gt;
&lt;img src="/talk_images/2021-04_SC2_seqs_per_week.png" class="plain" width="1200px"&gt;
&lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
&lt;h4&gt;Data are shared via and curated by GISAID
&lt;img src="/talk_images/GISAID_logo.png" class="plain" width="100px"&gt;&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Challenges assessing novel variants&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Frequency dynamics …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;img src="/talk_images/2021-04-25_SC2_spike_diversity.png" class="plain" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Similarities to influenza virus evolution&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_H3N2_diversity.png"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;img src="talk_images/2021-04-26_flu_pred.png"&gt;
&lt;font size=4&gt;Klingen et al, Trends in MicroBio, 2018&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:5%; left:5%; width: 80%; text-align:left"&gt;
&lt;h4&gt;Continuous back and forth between experimental and computational groups.&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly sequence submissions&lt;/h3&gt;
&lt;img src="/talk_images/2021-04_SC2_seqs_per_week.png" class="plain" width="1200px"&gt;
&lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
&lt;h4&gt;Data are shared via and curated by GISAID
&lt;img src="/talk_images/GISAID_logo.png" class="plain" width="100px"&gt;&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Challenges assessing novel variants&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Frequency dynamics are skewed by sampling biases and varying incidence&lt;/li&gt;
    &lt;li&gt;Rare sequences might represent large outbreaks in poorly sampled regions&lt;/li&gt;
    &lt;li&gt;Sudden changes in sampling strategies might look like rapidly increasing frequencies&lt;/li&gt;
    &lt;li&gt;Focus on specific mutations in known VoCs might miss important others&lt;/li&gt;
    &lt;li&gt;Laboratory characterization takes time&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 45%; text-align:left" class="fragment"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Prioritization of variants for laboratory characterization. &lt;/li&gt;
    &lt;li&gt;Harmonized categorization of sequences as
        &lt;ul&gt;
        &lt;li&gt;General surveillance&lt;/li&gt;
        &lt;li&gt;Outbreak investigations&lt;/li&gt;
        &lt;li&gt;Vaccine breakthroughs, reinfections, etc&lt;/li&gt;
        &lt;li&gt;Travel associated cases&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Support for denser sampling across the globe&lt;br&gt;
    (some places in Europe are still undersampled)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:5%; width: 85%; text-align:left" class="fragment"&gt;
&lt;h4&gt;We need a sustainable and coordinated approach.&lt;/h4&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Avoid too much duplication of efforts&lt;/li&gt;
        &lt;li&gt;Maximize usefulness and usability of data and analyses&lt;/li&gt;
        &lt;li&gt;Establish exchange between groups with different expertise and stakeholders&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Deep mutational scanning for RBD mutations that affect AB binding and ACE2 binding&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:20%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;By Tyler Starr, Allie Greaney, Jesse Bloom and colleagues&lt;/li&gt;
    &lt;li&gt;Systematic evaluation of all RBD mutations for escape and ACE2 binding&lt;/li&gt;
    &lt;li&gt;Monoclonals binding to class 1,2,3,4 epitopes&lt;/li&gt;
    &lt;li&gt;Convalescent and vaccine sera to map population escape&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/&gt;Escape maps of indivual sera and antibodies by Bloom lab&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=https://jbloomlab.github.io/SARS2_RBD_Ab_escape_maps/escape-calc/&gt;Escape calculator for retained binding by Jesse Bloom&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_dms_escape_maps.png" class="plain" width="800px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Scoring all sequences for further characterization&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Escape in distinct RBD epitope classes&lt;/li&gt;
    &lt;li&gt;RBD escape in convalescent/vaccine sera&lt;/li&gt;
    &lt;li&gt;NTD mutations&lt;/li&gt;
    &lt;li&gt;Other VoC associated mutations (nsp6 del)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:55%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;ACE2 binding&lt;/li&gt;
    &lt;li&gt;Furin cleavage site mutations&lt;/li&gt;
    &lt;li&gt;Recent growth&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:5%; width: 95%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_scores.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3 class="slidetitle"&gt;Incorporation of scores into phylogenetic analysis&lt;/h3&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 45%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_S1_muts.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 45%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-25_SC2_growth_rate.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
  &lt;h4&gt;Allie Greaney and Jesse Bloom for discussion of the dms data&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>SIB resource candidate: Nextstrain</title><link href="/202104_SIB_resource.html" rel="alternate"></link><published>2021-04-27T00:00:00+02:00</published><updated>2021-04-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-04-27:/202104_SIB_resource.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Origins of Nextstrain&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Started as an influenza specific project in 2015&lt;/li&gt;
    &lt;li&gt;Meant to accompany attempts to predict future influenza population with "always up-to-date" trees and predictions&lt;/li&gt;
    &lt;li&gt;Initially a project of Trevor Bedford and myself&lt;/li&gt;
    &lt;li&gt;Expansion beyond influenza (Ebola, Mers, Zika)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;img src="/images/team_pics/trevor-bedford.jpg" width="200px" class=plain&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
  &lt;img src="/talk_images/2021-04-25_legacy_nextflu.png" width="750px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain is both a tool chain and a web-app&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Core …&lt;/h4&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Origins of Nextstrain&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Started as an influenza specific project in 2015&lt;/li&gt;
    &lt;li&gt;Meant to accompany attempts to predict future influenza population with "always up-to-date" trees and predictions&lt;/li&gt;
    &lt;li&gt;Initially a project of Trevor Bedford and myself&lt;/li&gt;
    &lt;li&gt;Expansion beyond influenza (Ebola, Mers, Zika)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;img src="/images/team_pics/trevor-bedford.jpg" width="200px" class=plain&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:50%; width: 50%; text-align:left"&gt;
  &lt;img src="/talk_images/2021-04-25_legacy_nextflu.png" width="750px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain is both a tool chain and a web-app&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Core tools by nextstrain&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Augur -- extensible phylodynamics pipeline&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;composible, modular, and extensible&lt;/li&gt;
    &lt;li&gt;wrappers for alignment, tree building, etc&lt;/li&gt;
    &lt;li&gt;phylodynamic and phylogeographic modules&lt;/li&gt;
    &lt;li&gt;custom modules for frequency and fitness estimation&lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Auspice -- interactive visualization&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
    &lt;li&gt;Tree viewer, map module, flexible frequencies, charts, filters...&lt;/li&gt;
    &lt;li&gt;Customizable and available for white labeling&lt;/li&gt;
    &lt;li&gt;powers &lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;of course completely open&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;workflows and data (to the extend that we are allowed) open&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;extensive documentation&lt;/b&gt;&lt;/li&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Analyses maintained by the Nextstrain&lt;/h4&gt;
&lt;img src="/talk_images/2021-04-25_nextstrain_builds.png" width="700px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain-hosted community resources&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Community builds via github&lt;/h4&gt;
&lt;img src="/talk_images/2021-04-25_community_builds.png" width="700px"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;SARS-CoV-2 analyses by the community&lt;/h4&gt;
&lt;img src="/talk_images/2021-04-25_nextstrain_SC2_builds.png" width="700px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain in the pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:12%; left:10%; width: 80%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04_SC2_seqs_per_week.png" class="plain" width="1200px"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;ever increasing data volumes&lt;/li&gt;
    &lt;li&gt;massive public interest and media coverage&lt;/li&gt;
    &lt;li&gt;rapidly shifting requirements&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Usage in Public Health and Academia&lt;/h3&gt;
&lt;div  style="position: absolute;top:13%; left:5%; width: 40%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-26_SC2_peru_virological_header.png" width="600px"&gt;
&lt;img src="/talk_images/2021-04-26_SC2_peru_virological.png" width="600px"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;In-house use by public health stake holders&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;US CDC&lt;/li&gt;
    &lt;li&gt;Robert-Koch-Institut&lt;/li&gt;
    &lt;li&gt;RIVM -- Dutch public health institute&lt;/li&gt;
    &lt;li&gt;ECDC&lt;/li&gt;
    &lt;li&gt;GISAID&lt;/li&gt;
    &lt;li&gt;Seq-COVID Spain&lt;/li&gt;
    &lt;li&gt;Broad Institute&lt;/li&gt;
    &lt;li&gt;Chan Zuckerberg Institute&lt;/li&gt;
    &lt;li&gt;and many more...&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;h4&gt;Enabling other tools&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;CoVariants.org by Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;SPSP by SIB&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;New developments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
&lt;img src="/talk_images/2021-04-26_nextclade.png" class="plain" width="1300px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Plans and outlook&lt;/h3&gt;

&lt;div  style="position: absolute;top:15%; left:5%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Basel focussed efforts&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Nextclade&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;Effortless first analysis of new data&lt;/li&gt;
    &lt;li&gt;Client based and 100% privacy preserving&lt;/li&gt;
    &lt;li&gt;Speed-up via RUST and WASM&lt;/li&gt;
    &lt;li&gt;Extend to other viruses&lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;TreeTime refactor&lt;/b&gt;
&lt;ul&gt;
    &lt;li&gt;workhorse of much of augur&lt;/li&gt;
    &lt;li&gt;computational bottleneck&lt;/li&gt;
    &lt;li&gt;huge scope for algorithmic and implementation improvements&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Reassortment, recombination, and other non-tree-like evolution&lt;/b&gt;
&lt;/li&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Joint or Seattle focussed efforts&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Cloud computing&lt;/b&gt;
    &lt;ul&gt;
    &lt;li&gt;Allow users to run their analysis via a web interface&lt;/li&gt;
    &lt;li&gt;Host user spaces&lt;/li&gt;
    &lt;li&gt;Integrated with Pathogen Genomics initiative of the Gates Foundation&lt;/li&gt;
    &lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;auspice and nextstrain.org&lt;/b&gt;
&lt;ul&gt;
    &lt;li&gt;More visualization components&lt;/li&gt;
    &lt;li&gt;Data set discovery options&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Documentation&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Pathogen specific dashboards &lt;/b&gt;
&lt;ul&gt;
    &lt;li&gt;Integration with serological and high throughput data&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:10%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Basel&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;
      Ivan Aksamentov (Software Engineer)&lt;br&gt;
      &lt;img src="/images/team_pics/ivan_aksamentov.png" width="150px"&gt;
        &lt;ul&gt;
            &lt;li&gt;Nextclade&lt;/li&gt;
            &lt;li&gt;Nextclade&lt;/li&gt;
            &lt;li&gt;CoVariants&lt;/li&gt;
            &lt;li&gt;Covid19-Scenarios&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Bioinformatician (N.N.)&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft (former post-doc, now Bern)&lt;/li&gt;
    &lt;li&gt;Moira Zuber (Student assistent, running analyses)&lt;/li&gt;
    &lt;li&gt;Benjamin Otter (Student assistent, augur dev)&lt;/li&gt;
    &lt;li&gt;
      Research led by myself involving 2FTEs
    &lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Seattle/NZ&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Trevor Bedford (PI)&lt;/li&gt;
    &lt;li&gt;Tom Sibley (Software engineer)&lt;/li&gt;
    &lt;li&gt;John Huddleston (former PhD Student/research scientist)&lt;/li&gt;
    &lt;li&gt;James Hadfield (Software/frontend)&lt;/li&gt;
    &lt;li&gt;Jover Lee (bioinformatics)&lt;/li&gt;
    &lt;li&gt;Eliah Harkins (frontend/builds)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:10%; left:10%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Basel&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Uni Basel/Biozentrum core funding&lt;/li&gt;
    &lt;li&gt;Open Science Prize 2017&lt;/li&gt;
    &lt;li&gt;Special SARS-CoV-2 call from the SNF (joint grant with Bern)&lt;/li&gt;
    &lt;li&gt;Future: funding from BAG through WGS Surveillance initiative&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:50%; width: 40%; text-align:left"&gt;
&lt;h4&gt;Seattle/NZ&lt;/h4&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Open Science Prize 2017&lt;/li&gt;
    &lt;li&gt;Research grants&lt;/li&gt;
    &lt;li&gt;Philantropy&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-04-26_WH_genomic-epi-funding.png"&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Tracking and predicting the evolution of human RNA viruses</title><link href="/202104_Karolinska.html" rel="alternate"></link><published>2021-04-08T00:00:00+02:00</published><updated>2021-04-08T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-04-08:/202104_Karolinska.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Interactive part on Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;VoCs have more mutations than expected...&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/2021-04_P1_clock_tree.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/ncov/global"&gt;nextstrain&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;&lt;a href="https://covariants.org"&gt;VoCs and VoIs: rapid converging evolution&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/talk_images/VoCs_shared_mutations.png" height=700px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://covariants.org"&gt;covariants.org by Emma Hodcroft&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Reduced neutralization of VoCs by convalescent serum (B.1.351)&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:8%; width: 42%"&gt;
  &lt;img src="/talk_images/Cele_SC2_V2_neut.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:50%; width: 40%"&gt;
  &lt;img src="/talk_images/Wibmer_SC2_V2_neut.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Cele et al, 2021, Wibmer et al 2021&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Deep mutational scanning approaches&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 35%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt; Library of pseudo-typed virus with mutations at every position&lt;/li&gt;
    &lt;li&gt; Propagate in cell culture with and without selection (serum, ABs)&lt;/li&gt;
    &lt;li&gt; Measure which variants are selected for&lt;/li&gt;
    &lt;li&gt; &amp;rarr; assess mutations before they are observed&lt;/li&gt;
    &lt;li&gt; &amp;rarr; screen for potentially important variants &lt;/li&gt;
    &lt;li&gt; &amp;rarr; follow-up with virological/serological studies &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:40%; width: 60%"&gt;
  &lt;img src="/talk_images/Greaney_SC2_dms.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Greaney et al 2021&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h2&gt;Summary and Conclusions&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt; Enormous amounts of data provide unprecedented real time picture of a pandemic&lt;/li&gt;
    &lt;li&gt; Several highly evolved variants of SARS-CoV-2 emerged in a short time &lt;/li&gt;
    &lt;li&gt; The current VoCs are likely just the tip of the iceberg &lt;/li&gt;
    &lt;li&gt; Processing, analyzing, and interpreting data is a major challenge&lt;/li&gt;
    &lt;li&gt; Integration of genomic and experimental data is key to generate insight&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>SARS-CoV-2 N501Y Introductions and Transmissions in Switzerland from Beginning of October 2020 to February 2021—Implementation of Swiss-Wide Diagnostic Screening and Whole Genome Sequencing</title><link href="/goncalves_cabecinhas_sars-cov-2_2021.html" rel="alternate"></link><published>2021-03-25T00:00:00+01:00</published><updated>2021-03-25T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-03-25:/goncalves_cabecinhas_sars-cov-2_2021.html</id><summary type="html">&lt;p&gt;The rapid spread of the SARS-CoV-2 lineages B.1.1.7 (N501Y.V1) throughout the UK, B.1.351 (N501Y.V2) in South Africa, and P.1 (B.1.1.28.1; N501Y.V3) in Brazil has led to the definition of variants of concern (VoCs) and recommendations for lineage …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The rapid spread of the SARS-CoV-2 lineages B.1.1.7 (N501Y.V1) throughout the UK, B.1.351 (N501Y.V2) in South Africa, and P.1 (B.1.1.28.1; N501Y.V3) in Brazil has led to the definition of variants of concern (VoCs) and recommendations for lineage specific surveillance. In Switzerland, during the last weeks of December 2020, we established a nationwide screening protocol across multiple laboratories, focusing first on epidemiological and microbiological definitions. In January 2021, we validated and implemented an N501Y-specific PCR to rapidly screen for VoCs, which are then confirmed using amplicon sequencing or whole genome sequencing (WGS). A total of 13,387 VoCs have been identified since the detection of the first Swiss case in October 2020, with 4194 being B.1.1.7, 172 B.1.351, and 7 P.1. The remaining 9014 cases of VoCs have been described without further lineage specification. Overall, all diagnostic centers reported a rapid increase of the percentage of detected VOCs, with a range of 6 to 46\% between 25 to 31 of January 2021 increasing towards 41 to 82\% between 22 to 28 of February. A total of 739 N501Y positive genomes were analysed and show a broad range of introduction events to Switzerland. In this paper, we describe the nationwide coordination and implementation process across laboratories, public health institutions, and researchers, the first results of our N501Y-specific variant screening, and the phylogenetic analysis of all available WGS data in Switzerland, that together identified the early introduction events and subsequent community spreading of the VoCs.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Limited Predictability of Amino Acid Substitutions in Seasonal Influenza Viruses</title><link href="/barrat-charlaix_limited_2021.html" rel="alternate"></link><published>2021-03-05T00:00:00+01:00</published><updated>2021-03-05T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-03-05:/barrat-charlaix_limited_2021.html</id><summary type="html">&lt;p&gt;Seasonal influenza viruses repeatedly infect humans in part because they rapidly change their antigenic properties and evade host immune responses, necessitating frequent updates of the vaccine composition. Accurate predictions of strains circulating in the future could therefore improve the vaccine match. Here, we studied the predictability of frequency dynamics and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Seasonal influenza viruses repeatedly infect humans in part because they rapidly change their antigenic properties and evade host immune responses, necessitating frequent updates of the vaccine composition. Accurate predictions of strains circulating in the future could therefore improve the vaccine match. Here, we studied the predictability of frequency dynamics and fixation of amino acid substitutions. Current frequency was the strongest predictor of eventual fixation, as expected in neutral evolution. Other properties, such as occurrence in previously characterized epitopes or high Local Branching Index (LBI) had little predictive power. Parallel evolution was found to be moderately predictive of fixation. Although the LBI had little power to predict frequency dynamics, it was still successful at picking strains representative of future populations. The latter is due to a tendency of the LBI to be high for consensus-like sequences that are closer to the future than the average sequence. Simulations of models of adapting populations, in contrast, show clear signals of predictability. This indicates that the evolution of influenza HA and NA, while driven by strong selection pressure to change, is poorly described by common models of directional selection such as traveling fitness waves.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 using Nextstrain</title><link href="/202102_abwasser.html" rel="alternate"></link><published>2021-02-10T00:00:00+01:00</published><updated>2021-02-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-02-10:/202102_abwasser.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Summer 2020: Mutations accumulate constantly …&lt;/h5&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Summer 2020: Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-02_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;In the second half of 2020, &lt;b&gt;Variants of Concern&lt;/b&gt; emerged.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-02_nCov_clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month... but some variants are more diverged&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-02_nCov_Europe_Clades.png" width=1600px&gt;
&lt;h5&gt;Diversification into multiple clades/variants distributed across Europe. &lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2021-02_nCov_VariantFreqs.png" width=1400px&gt;
&lt;h5&gt;Variants are rising and falling in frequency. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Why molecular surveillance of novel variants?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:70%"&gt;
        &lt;font size=6&gt;
            &lt;ul&gt;
                &lt;li&gt;Epidemiological investigations&lt;/li&gt;
                &lt;li&gt;Molecular correlates of changing patterns in spread and disease &lt;/li&gt;
                &lt;li&gt;Early warning signals&lt;/li&gt;
                &lt;li&gt;Changes in transmissibility or presentation&lt;/li&gt;
                &lt;li&gt;Immune-escape variants and effects on vaccine efficacy&lt;/li&gt;
                &lt;li&gt;Essential input for future vaccine strain selection process&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Interactions between seasonal human coronaviruses and implications for the SARS-CoV-2 pandemic: A retrospective study in Stockholm, Sweden, 2009-2020</title><link href="/dyrdak_interactions_2021.html" rel="alternate"></link><published>2021-02-01T00:00:00+01:00</published><updated>2021-02-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-02-01:/dyrdak_interactions_2021.html</id><summary type="html">&lt;p&gt;Objectives
The four seasonal coronaviruses 229E, NL63, OC43, and HKU1 are frequent causes of respiratory infections and show annual and seasonal variation. Increased understanding about these patterns could be informative about the epidemiology of SARS-CoV-2.
Methods
Results from PCR diagnostics for the seasonal coronaviruses, and other respiratory viruses, were obtained …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Objectives
The four seasonal coronaviruses 229E, NL63, OC43, and HKU1 are frequent causes of respiratory infections and show annual and seasonal variation. Increased understanding about these patterns could be informative about the epidemiology of SARS-CoV-2.
Methods
Results from PCR diagnostics for the seasonal coronaviruses, and other respiratory viruses, were obtained for 55,190 clinical samples analyzed at the Karolinska University Hospital, Stockholm, Sweden, between 14 September 2009 and 2 April 2020.
Results
Seasonal coronaviruses were detected in 2130 samples (3.9 \%) and constituted 8.1 \% of all virus detections. OC43 was most commonly detected (28.4 \% of detections), followed by NL63 (24.0 \%), HKU1 (17.6 \%), and 229E (15.3 \%). The overall fraction of positive samples was similar between seasons, but at species level there were distinct biennial alternating peak seasons for the Alphacoronaviruses, 229E and NL63, and the Betacoronaviruses, OC43 and HKU1, respectively. The Betacoronaviruses peaked earlier in the winter season (Dec-Jan) than the Alphacoronaviruses (Feb-Mar). Coronaviruses were detected across all ages, but diagnostics were more frequently requested for paediatric patients than adults and the elderly. OC43 and 229E incidence was relatively constant across age strata, while that of NL63 and HKU1 decreased with age.
Conclusions
Both the Alphacoronaviruses and Betacoronaviruses showed alternating biennial winter incidence peaks, which suggests some type of immune mediated interaction. Symptomatic reinfections in adults and the elderly appear relatively common. Both findings may be of relevance for the epidemiology of SARS-CoV-2.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Population genetics of rapid adaptation and influenza virus evolution</title><link href="/202101_.html" rel="alternate"></link><published>2021-01-11T00:00:00+01:00</published><updated>2021-01-11T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-01-11:/202101_.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Simple heuristic: Local branching index&lt;/h3&gt;
    &lt;img src="/talk_images/lbi_unrooted.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fixation probability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:45%"&gt;
    &lt;h5&gt;A/H3N2 influenza&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_only.png" width="90%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%" class="fragment"&gt;
    &lt;h5&gt;Simulations with increasing interference&lt;/h5&gt;
    &lt;img src="/talk_images/Barrat_limits_pfix_simulation.png" width="85%" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity in immune responses&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/Lee_DMS_flu_antigenic_diversity.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://doi.org/10.7554/eLife.49324"&gt;Lee et al, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;A/H3N2 influenza doesn't quite fit&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Strong signal of positive selection&lt;/li&gt;
            &lt;li&gt;Rapid clade displacement, interference&lt;/li&gt;
            &lt;li&gt;Any given escape only allows to escape a fraction of the population &lt;br&gt;
                &amp;rarr; expiration of selection long before a mutation is common&lt;/li&gt;
            &lt;li&gt;The more diverse the immune landscape, the more neutral it looks&lt;/li&gt;
            &lt;li&gt;Still, evolutionary rate at antigenic sites very high&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Why do predictions work&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_consensus.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Augur: a bioinformatics toolkit for phylogenetic analyses of human pathogens</title><link href="/huddleston_augur_2021.html" rel="alternate"></link><published>2021-01-07T00:00:00+01:00</published><updated>2021-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2021-01-07:/huddleston_augur_2021.html</id><content type="html">&lt;p&gt;Huddleston et al., (2021). Augur: a bioinformatics toolkit for phylogenetic analyses of human pathogens. Journal of Open Source Software, 6(57), 2906, https://doi.org/10.21105/joss.02906&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/202012_Ringvorlesung.html" rel="alternate"></link><published>2020-12-16T00:00:00+01:00</published><updated>2020-12-16T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-12-16:/202012_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_tb.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;hundreds of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than 200k sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Large scale spread of the virus&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Regional variants emerged over the summer&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU_clusters.png" width="1500px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Spread of a variant through travel and tourism&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU1_spread.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Evolution and spread of Influenza, HIV, and SARS-CoV-2</title><link href="/202012_MolecularVirology.html" rel="alternate"></link><published>2020-12-04T00:00:00+01:00</published><updated>2020-12-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-12-04:/202012_MolecularVirology.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds …&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Where does all that evolution happen?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Suppressive therapy and the latent reservoir:&lt;/h2&gt;
    &lt;h2&gt;Where is HIV hiding?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The latent proviral DNA reservoir&lt;/h3&gt;
    &lt;div style="position: absolute; left:20%; top:12%; width: 60%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:10%; width: 55%" class="fragment"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Viruses integrate but don't express &amp;rarr; pro-viral DNA reservoir&lt;/li&gt;
        &lt;li&gt;Therapy fully suppresses virus replication, but interruption results in rebound&lt;/li&gt;
        &lt;li&gt;When is the reservoir established? How is it maintained?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;p17 sequencing from PBMCs on fully suppressive therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80% class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Proviral DNA mostly identical to pre-therapy RNA&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="100%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;No evidence of ongoing evolution&lt;/h2&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1100px class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;, see also &lt;a href="https://www.biorxiv.org/content/early/2019/01/04/512475"&gt;Abrahams et al, bioRxiv, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Most proviral DNA originates from shortly after start of therapy&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=700px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:45%; width: 50%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=450px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:65%; left:50%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time tracking of SARS-CoV-2&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;hundreds of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than 200k sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Large scale spread of the virus&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Regional variants emerged over the summer&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU_clusters.png" width="1500px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Spread of a variant through travel and tourism&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU1_spread.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/moira_zuber.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/inaki_comas.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/fernando_gonzales.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/tanja_stadler.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Moira Zuber&lt;/li&gt;
        &lt;li&gt;Inaki Comas&lt;/li&gt;
        &lt;li&gt;Fernando Gonzales&lt;/li&gt;
        &lt;li&gt;Tanja Stadler&lt;/li&gt;
    &lt;li&gt;Sarah Nadeau&lt;/li&gt;
    &lt;li&gt;Tim Vaughan&lt;/li&gt;
    &lt;li&gt;Jesse Bloom&lt;/li&gt;
    &lt;li&gt;David Veesler&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Evolution of human RNA viruses</title><link href="/202201_Thaler.html" rel="alternate"></link><published>2020-12-04T00:00:00+01:00</published><updated>2020-12-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-12-04:/202201_Thaler.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Do all eukaryotic viruses do this?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:19%; width:70%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Many human RNA viruses show such patterns of rapid antigenic evolution …&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Do all eukaryotic viruses do this?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:19%; width:70%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Many human RNA viruses show such patterns of rapid antigenic evolution&lt;/li&gt;
            &lt;li&gt;BUT: the same viruses evolve less rapidly in live-stock
            &lt;ul&gt;
                &lt;li&gt; Shorter generation time &amp;rarr; less frequent re-infection&lt;/li&gt;
                &lt;li&gt; Selection is on transmission rather than re-infection&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
            &lt;li&gt;Human DNA viruses behave very differently&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How do viruses achieve endemicity?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%; text-align:left"&gt;
        Endemicity requires&lt;br&gt;
        &lt;ul&gt;
            &lt;li&gt;Waning immunity&lt;/li&gt;
            &lt;li&gt;Antigenic evolution/escape&lt;/li&gt;
            &lt;li&gt;Population turnover&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:40%; text-align:left"&gt;
        &lt;small&gt;
            &lt;li&gt;Measles&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt;Infection all naive as quickly as possible&lt;/li&gt;
                &lt;li&gt;Antigenically stable&lt;/li&gt;
                &lt;li&gt;Very high R0/transmissibility&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
            &lt;li&gt;Influenza and other respiratory viruses
            &lt;ul&gt;
                &lt;li&gt;Reinfection through antigenic evolution&lt;/li&gt;
                &lt;li&gt;Waning of immunity&lt;/li&gt;
                &lt;li&gt;Different viruses employ both strategies to different degrees&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
            &lt;li&gt;Plasticity/transmissibility trade-off&lt;/li&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Eukaryotic vs prokaryotic viruses, RNA vs DNA viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:19%; width:70%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Life-time of the host compared to the infection duration&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt; long: HIV, Herpes Viruses, HPV&lt;/li&gt;
                &lt;li&gt; short: Influenza, common colds, enteroviruses, measles virus&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
            &lt;li&gt;Frequency of reinfections&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt; common: Influenza viruses, enteroviruses, &lt;/li&gt;
                &lt;li&gt; rare: Herpes, HPV, Measles&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
            &lt;li&gt;Lytic vs lysogenic&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt; maybe latent infections can be thought of as some sort of lysogeny? but no replication with the host &lt;/li&gt;
                &lt;li&gt; lytic would be more akin to a virus that kills its host&lt;/li&gt;
            &lt;/ul&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>SARS-CoV-2 und COVID19 -- genomische Epidemilogie in Echtzeit</title><link href="/202011_DigitalHumanities.html" rel="alternate"></link><published>2020-11-30T00:00:00+01:00</published><updated>2020-11-30T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-11-30:/202011_DigitalHumanities.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014 …&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
&lt;b&gt;A/Brisbane/100/2014&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1000/2015&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;b&gt;A/Brisbane/1/2017&lt;/b&gt;&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... hundreds of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Turning data into actionable insights &lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;hundreds of new sequences every day&lt;/li&gt;
    &lt;li&gt;more than 200k sequences right now &lt;/li&gt;
    &lt;li&gt;comprehensive analysis require hours to days to complete&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Large scale spread of the virus&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Regional variants emerged over the summer&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU_clusters.png" width="1500px"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Spread of a variant through travel and tourism&lt;/h3&gt;
&lt;img src="/talk_images/2020-11-29_EU1_spread.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Genomic analysis as complement to contact tracing&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Investigation of hospital outbreaks&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 30%"&gt;
  &lt;img src="/talk_images/Lucey_SARS_noso_transmission_tree.jpg" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:45%; width: 55%" class="fragment"&gt;
  &lt;img src="/talk_images/Lucey_SARS_noso_transmission_summary.jpg" width=100%&gt;
&lt;/div&gt;
  &lt;span class="ref"&gt;&lt;a href="https://academic.oup.com/cid/advance-article/doi/10.1093/cid/ciaa1433/5909421"&gt;Lucey et al, Clinical Infectious Diseases, 2020&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;h3&gt;Influenza vaccine strain selection schedule&lt;/h3&gt;
  &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
  &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Herausforderungen und Zusammenfassung&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:15%; width: 80%"&gt;
&lt;ul&gt;
  &lt;li&gt;Offener Datenaustausch und Urheberschaft stehen immer wieder im Konflikt&lt;/li&gt;
  &lt;li&gt;Analysen sind nicht einfach zu interpretieren&lt;/li&gt;
  &lt;li&gt;Grosse Datenmengen, anspruchsvolle Methoden&lt;/li&gt;
  &lt;li&gt;Zeitnahe und automatisierte Analysen sind essentiell&lt;/li&gt;
  &lt;li&gt;Dennoch: Wir sollten Möglichkeiten, nicht Herausfordungen, sehen!&lt;/li&gt;
  &lt;li&gt;Integration in die Routine-Surveillance&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/moira_zuber.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/inaki_comas.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/fernando_gonzales.jpg" height=250px&gt;&lt;/object&gt;
      &lt;object data="/images/team_pics/tanja_stadler.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Moira Zuber&lt;/li&gt;
        &lt;li&gt;Inaki Comas&lt;/li&gt;
        &lt;li&gt;Fernando Gonzales&lt;/li&gt;
        &lt;li&gt;Tanja Stadler&lt;/li&gt;
    &lt;li&gt;Sarah Nadeau&lt;/li&gt;
    &lt;li&gt;Tim Vaughan&lt;/li&gt;
    &lt;li&gt;Jesse Bloom&lt;/li&gt;
    &lt;li&gt;David Veesler&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Asynchrony between virus diversity and antibody selection limits influenza virus evolution</title><link href="/morris_asynchrony_2020.html" rel="alternate"></link><published>2020-11-11T00:00:00+01:00</published><updated>2020-11-11T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-11-11:/morris_asynchrony_2020.html</id><summary type="html">&lt;p&gt;Seasonal influenza viruses create a persistent global disease burden by evolving to escape immunity induced by prior infections and vaccinations. New antigenic variants have a substantial selective advantage at the population level, but these variants are rarely selected within-host, even in previously immune individuals. Using a mathematical model, we show …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Seasonal influenza viruses create a persistent global disease burden by evolving to escape immunity induced by prior infections and vaccinations. New antigenic variants have a substantial selective advantage at the population level, but these variants are rarely selected within-host, even in previously immune individuals. Using a mathematical model, we show that the temporal asynchrony between within-host virus exponential growth and antibody-mediated selection could limit within-host antigenic evolution. If selection for new antigenic variants acts principally at the point of initial virus inoculation, where small virus populations encounter well-matched mucosal antibodies in previously-infected individuals, there can exist protection against reinfection that does not regularly produce observable new antigenic variants within individual infected hosts. Our results provide a theoretical explanation for how virus antigenic evolution can be highly selective at the global level but nearly neutral within-host. They also suggest new avenues for improving influenza control.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking and predicting the evolution of human RNA viruses</title><link href="/202010_rockefeller.html" rel="alternate"></link><published>2020-10-20T00:00:00+02:00</published><updated>2020-10-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-10-20:/202010_rockefeller.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
    &lt;h3&gt;Can we infer fitness from a genomic snapshot?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
&lt;!--
&lt;section&gt;
    &lt;h3&gt;Simple heuristic: Local branching index&lt;/h3&gt;
    &lt;img src="/talk_images/lbi_unrooted.png" width="1200px"&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_hist.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_consensus.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;
&lt;!--
&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

 --&gt;
&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_Clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month...&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European clusters in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-10-20_SUKS_screenshot.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;What's next?&lt;/h1&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1500px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- US&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/H1N1pdm_cases_NorthSouth.png" width="900px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Most respiratory virus including established CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Little direct evidence; absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;But expect control of the virus to be harder in winter&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 evolution and spread</title><link href="/202010_KNAW_CoV.html" rel="alternate"></link><published>2020-10-13T00:00:00+02:00</published><updated>2020-10-13T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-10-13:/202010_KNAW_CoV.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only …&lt;/h5&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_Clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month...&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Swiss sequences on August 31&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;, most sequencing by Tanja Stadler's group at ETH, D-BSSE&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_cluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;What's next?&lt;/h1&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1500px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- US&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/H1N1pdm_cases_NorthSouth.png" width="900px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- Germany&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/RKI_H1N12009.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Robert-Koch-Institut&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Most respiratory virus including established CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Little direct evidence; absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;But expect control of the virus to be harder in winter&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Modeling and predicting RNA virus evolution</title><link href="/202010_KNAW_long.html" rel="alternate"></link><published>2020-10-13T00:00:00+02:00</published><updated>2020-10-13T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-10-13:/202010_KNAW_long.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:45%; width:60%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Simple heuristic: Local branching index&lt;/h3&gt;
    &lt;img src="/talk_images/lbi_unrooted.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_hist.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_consensus.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Tracking and predicting viral evolution, from flu to covid-19</title><link href="/202010_NYC.html" rel="alternate"></link><published>2020-10-09T00:00:00+02:00</published><updated>2020-10-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-10-09:/202010_NYC.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:45%; width:60%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Simple heuristic: Local branching index&lt;/h3&gt;
    &lt;img src="/talk_images/lbi_unrooted.png" width="1200px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_sketch.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%" class="fragment"&gt;
    &lt;img src="/talk_images/Barrat_flupred_traj.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_hist.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Limits of predictability&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/Barrat_flupred_consensus.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Barrat-Charlaix et al, 2020&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_Clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month...&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Swiss sequences on August 31&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;, most sequencing by Tanja Stadler's group at ETH, D-BSSE&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_cluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;What's next?&lt;/h1&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;What have we learned? What are the unknowns?&lt;/h2&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 90%; text-align: left"&gt;
  &lt;font size=6&gt;
  &lt;ul&gt;
    &lt;li&gt;Social distancing is very effective &lt;br&gt; &amp;rarr; we can suppress the outbreak if we want!&lt;/li&gt;
    &lt;li class='fragment'&gt;Many Asian and European countries have largely re-opened
        &lt;br&gt; &amp;rarr; some now see consistent rise in cases
        &lt;br&gt; &amp;rarr; exponential increase&lt;/li&gt;
    &lt;li class='fragment'&gt; Test-Trace-Isolate-Quarantine is more effective and less disruptive at low case numbers
        &lt;br&gt; &amp;rarr; acceleration possible when TTIQ systems get overwhelmed&lt;/li&gt;
    &lt;li class='fragment'&gt;What role does seasonality have?
        &lt;br&gt; &amp;rarr; behavioral component: indoor vs outdoor activities
        &lt;br&gt; &amp;rarr; environmental component: less ventilation, drier air
        &lt;br&gt; &amp;rarr; interaction with other viruses&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1500px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- US&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/H1N1pdm_cases_NorthSouth.png" width="900px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- Germany&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/RKI_H1N12009.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Robert-Koch-Institut&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Most respiratory virus including established CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Little direct evidence; absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;But expect control of the virus to be harder in winter&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/pierre_barrat.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Pierre Barrat&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 spread and evolution</title><link href="/202009_ECCVID.html" rel="alternate"></link><published>2020-09-23T00:00:00+02:00</published><updated>2020-09-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-23:/202009_ECCVID.html</id><summary type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_Clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month...&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Molecular epidemiology and phylogenetic analysis</title><link href="/202009_ECCVID_basics.html" rel="alternate"></link><published>2020-09-23T00:00:00+02:00</published><updated>2020-09-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-23:/202009_ECCVID_basics.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-09-23_OToole_acknowledgements.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at …&lt;/h5&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-09-23_OToole_acknowledgements.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;illustration by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/infection_tree_combined.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences and Alignment&lt;/h3&gt;

&lt;div  style="position: absolute;top:20%; left:10%; width: 40%; text-align:left"&gt;
&lt;div class="codehilite"&gt;
&lt;code&gt;
  &gt;SampleA&lt;br&gt;
  ACGCYTCGCGTCGACTCGCTAC...&lt;br&gt;
  &gt;SampleB&lt;br&gt;
  CYTCGCCTCGACTCGCTACGCA...&lt;br&gt;
  &gt;SampleC&lt;br&gt;
  GCYTCGCGTCGACTCGCTACGC...&lt;br&gt;
  &gt;SampleC&lt;br&gt;
  GCYTCGCGTCGAGCTACGCATG...&lt;br&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;top:20%; left:50%; width: 40%; text-align:left"&gt;
&lt;div class="codehilite"&gt;
&lt;code&gt;
  &gt;SampleA&lt;br&gt;
  ACGCYTCGCGTCGACTCGCTAC---...&lt;br&gt;
  &gt;SampleB&lt;br&gt;
  ---CYTCGCCTCGACTCGCTACGCA...&lt;br&gt;
  &gt;SampleC&lt;br&gt;
  --GCYTCGCGTCGACTCGCTACGC-...&lt;br&gt;
  &gt;SampleC&lt;br&gt;
  --GCYTCGCGTCGA---GCTACGCA...&lt;br&gt;
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;bottom:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;span&gt;Third party software: mafft, ClustalW, muscle...
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/aliview_screenshot.png" width=1100px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="http://localhost:8000/talk_images/infection_tree_combined_v2.png" width=1500px&gt;
&lt;div style="text-align:left"&gt;
  &lt;span&gt;Third party software: IQ-Tree, RAxML, fasttree...
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/rooted_vs_unrooted.png" width=1300px class="plain"&gt;
&lt;/section&gt;</content><category term="talk_teaching"></category></entry><entry><title>Introduction to Phylogenetic Analysis</title><link href="/202009_ECCVID_intro.html" rel="alternate"></link><published>2020-09-23T00:00:00+02:00</published><updated>2020-09-23T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2020-09-23:/202009_ECCVID_intro.html</id><summary type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many times and random mutations -- copying mistakes -- will accumulate in the genome.
Such random mutations can help to track the spread of the pathogen and learn about its transmission routes and dynamics.&lt;/p&gt;
&lt;p&gt;&lt;img alt="transmission_sketch" src="/talk_images/infection_tree_combined.png"&gt;&lt;/p&gt;
&lt;p&gt;The illustration above shows a transmission tree with a subset of cases that were sampled (blue).
In practice, the transmission tree is unknown and typically only rough estimates of the total case counts are available.
Genome sequences, however, will allow us to reconstruct the transmission tree.
In this example, three mutations (little diamonds) are indicated on the tree and these mutations allow us to group samples into clusters of closely related viruses that belong to the same transmission chains.
Real data will contain many more mutations and many more samples that allow detailed reconstructions.&lt;/p&gt;
&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Sequencing of pathogens from patient samples and the processing of the raw sequence data won't be discussed here.
We start assuming we have genome sequences of the same pathogen sampled from many cases during an outbreak.
These will typically come as text files in &lt;em&gt;fasta&lt;/em&gt; format:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;Sample_A
ACTGCTCGATCGCTACGCTACGCTA...
&amp;gt;Sample_B
CTGCTCCATCGATCGCTANNNN...
&amp;gt;...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Each line that starts with a '&amp;gt;' sign is interpreted as a line that specifies the name of the sample, followed by the sequence.
The sequence can be broken over several lines.
Sequences obtained in outbreak scenarios will often be incomplete.
Unknown bases are typically denoted by 'N', but other characters like '?' or '.' are also common.&lt;/p&gt;
&lt;p&gt;Fasta files like the above will be the point of departure for the phylogenetic analysis that follow.&lt;/p&gt;
&lt;h2&gt;Alignment&lt;/h2&gt;
&lt;p&gt;Partial genome sequences typically don't all start in exactly the same place and mutations not only change the nucleotide content but can also delete or insert a couple of bases.
As a consequence, the different sequences are not in register and need to be &lt;em&gt;aligned&lt;/em&gt;.
Such alignments are a common task in bioinformatics and many robust programs are available to solve this problem.
The aim is to insert gaps into the sequences, encoded with character '-', that corresponding characters are in the same column.
For the two sequences from above, this would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ACTGCTCGATCGCTACGCTACGCTA...
-CTGCTCCATCGAT-CGCTANNNN...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;At most positions, the two sequences now agree.
Formally, alignment is trying to insert gaps such that &lt;em&gt;homologous&lt;/em&gt; parts (i.e. parts that descent from a common ancestral sequence) of the sequence are in the same column.
Common programs to perform this task are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mafft.cbrc.jp/alignment/software/"&gt;mafft&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drive5.com/muscle/"&gt;muscle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.clustal.org/"&gt;clustalW&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The output of an alignment is best viewed (and edited) in specialized multiple alignment viewers.
My favorite one is &lt;a href="http://www.ormbunkar.se/aliview/"&gt;aliview&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="aliview" src="/talk_images/aliview_screenshot.png"&gt;&lt;/p&gt;
&lt;h2&gt;Phylogenetic trees&lt;/h2&gt;
&lt;p&gt;Once sequences are aligned, we can meaningfully look for differences between them and group them into clusters of similar sequences, which in essence boils down to reconstructing their "family tree" or evolutionary history.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/infection_tree_combined_v2.png" alt="toy_tree" width="800"/&gt;&lt;/p&gt;
&lt;p&gt;One the right, different colored balls indicate differences between the sequences that we assume originated in a mutation event in a common ancestor of all sequences that carry the variant.
In this simple example, it is straightforward to group sequences according to the mutations they carry -- in practice finding the tree that explains your data best is a computationally challenging problem.
But a large number of highly optimized programs are available to solve this task.
We will use one of the following three&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="www.iqtree.org"&gt;IQ-TREE&lt;/a&gt;: Fast and accurate&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cme.h-its.org/exelixis/software.html"&gt;RAxML&lt;/a&gt;: Current gold standard, but slower than IQ-TREE&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microbesonline.org/fasttree/"&gt;FastTree&lt;/a&gt;: Fast and rough, but often good enough (depends who you ask)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most common output format of these programs is called &lt;a href="https://en.wikipedia.org/wiki/Newick_tree_format"&gt;&lt;em&gt;newick&lt;/em&gt; format&lt;/a&gt;.
The branch length of trees estimated by the above programs roughly correspond to the fraction of positions in the sequence that changed along the branch (more precisely the expected number of changes per site).&lt;/p&gt;
&lt;p&gt;Trees can graphed in different ways.
The most important distinction is whether a tree is rooted or not.
In a rooted tree (the left example below) a particular bifurcation is the ancestor of &lt;em&gt;all&lt;/em&gt; sequences in the sample.
Time scaled phylogenies (where branch length corresponds to time) will always be rooted and the root is by necessity the oldest node.
In other applications, it is difficult to single out a root node and a more appropriate layout is and &lt;em&gt;unrooted&lt;/em&gt; layout shown on the right.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/rooted_vs_unrooted.png" alt="rooted_vs_unrooted" width="800"/&gt;&lt;/p&gt;
&lt;h2&gt;Molecular clock and transmission&lt;/h2&gt;
&lt;p&gt;The number of changes accumulate in a pathogen genome in a year depends on&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the mutation rate&lt;/li&gt;
&lt;li&gt;the duration of one replication cycle&lt;/li&gt;
&lt;li&gt;the size of the genome&lt;/li&gt;
&lt;li&gt;the fraction of mutations that persist and spread&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While the first three factors are very natural and intuitive, the last one depends on the biology of the pathogen and the environment it is replicating in.
The majority of mutations that change the sequence of important proteins will be detrimental and are quickly removed by natural selection, while other mutations, for example those that help a virus to evade human immunity, will preferentially spread.
In addition, a substantial fraction of mutations (mostly mutations at 3rd codon positions) don't affect pathogen replication much and accumulate freely.
As a consequence, the exact rate at which changes accumulate is not known a priori.
Nevertheless, mutations tend to accumulate at a constant rate and the accumulation can be used as a &lt;em&gt;molecular clock&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The molecular clock is a relationship between time and the expected number of changes in the sequence.
These substitution rates vary greatly between organisms and within organisms between genomic regions&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: \(0.0001\ldots 0.01\) substitutions per site and year&lt;/li&gt;
&lt;li&gt;bacteria: \(10^{-8}\ldots 10^{-6}\) substitutions per site and year&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Multiplying the rate per site with the size of the genome, we get the expected number of substitutions per year:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: Genome size \(\approx 10^{4}\) &amp;rarr; 1-100 substitutions year and genome&lt;/li&gt;
&lt;li&gt;bacteria: Genome size \(5\times 10^{6}\) &amp;rarr; \(0.05 - 5\) substitutions per year and genome&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This suggests that whole genome sequencing often has high enough resolution to distinguish pathogens that were sequences a few month apart -- sometimes even down to a few weeks.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>SARS-CoV-2 phylogenetic analysis</title><link href="/202009_ECCVID_overview.html" rel="alternate"></link><published>2020-09-23T00:00:00+02:00</published><updated>2020-09-23T00:00:00+02:00</updated><author><name>Emma Hodcroft, Áine O'Toole, and Richard Neher</name></author><id>tag:None,2020-09-23:/202009_ECCVID_overview.html</id><summary type="html">&lt;p&gt;This &lt;a href="https://www.escmid.org/research_projects/escmid_conferences/eccvid/scientific_programme/practical_workshops/"&gt;workshop&lt;/a&gt; provides a brief overview of the basics of phylogenetic analysis, the spread and evolution of SARS-CoV-2, different nomenclature systems, and the use of web-tools.&lt;/p&gt;
&lt;h3&gt;Slides and materials&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202009_ECCVID_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;, &lt;a href="202009_ECCVID_basics.html"&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202009_ECCVID.html"&gt;Real-time tracking of SARS-CoV-2 spread and evolution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_OToole_ECCVID_slides.pdf"&gt;Strains, clades, lineages &amp;amp; variants …&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;This &lt;a href="https://www.escmid.org/research_projects/escmid_conferences/eccvid/scientific_programme/practical_workshops/"&gt;workshop&lt;/a&gt; provides a brief overview of the basics of phylogenetic analysis, the spread and evolution of SARS-CoV-2, different nomenclature systems, and the use of web-tools.&lt;/p&gt;
&lt;h3&gt;Slides and materials&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202009_ECCVID_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;, &lt;a href="202009_ECCVID_basics.html"&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202009_ECCVID.html"&gt;Real-time tracking of SARS-CoV-2 spread and evolution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_OToole_ECCVID_slides.pdf"&gt;Strains, clades, lineages &amp;amp; variants&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_Hodcroft_ancestral-reconstruct-pitfalls.pdf"&gt;Interpreting phylogenies: pitfalls and uncertainty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.eurosurveillance.org/content/10.2807/1560-7917.ES.2020.25.32.2001410?crawler=true"&gt;Geographical and temporal distribution of SARS-CoV-2 clades in the WHO European Region, January to June 2020&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Links and example data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org"&gt;nextclade&lt;/a&gt;: Clade assignment, sequence &lt;strong&gt;Q:&lt;/strong&gt;, phylogenetic placement&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cov-lineages.org"&gt;cov-lineages&lt;/a&gt;: Lineage assignment and phylogenetic placement&lt;/li&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2020-09_SARSCoV2_VIPR_Aug-Sep_download_selection.fasta"&gt;Example data small&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2020-09_SARSCoV2_VIPR_Aug-Sep_download.fasta"&gt;Example data large&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>SARS-CoV-2 phylogenetic analysis</title><link href="/202009_ECCVID_overview_QA.html" rel="alternate"></link><published>2020-09-23T00:00:00+02:00</published><updated>2020-09-23T00:00:00+02:00</updated><author><name>Emma Hodcroft, Áine O'Toole, and Richard Neher</name></author><id>tag:None,2020-09-23:/202009_ECCVID_overview_QA.html</id><summary type="html">&lt;p&gt;This &lt;a href="https://www.escmid.org/research_projects/escmid_conferences/eccvid/scientific_programme/practical_workshops/"&gt;workshop&lt;/a&gt; provides a brief overview of the basics of phylogenetic analysis, the spread and evolution of SARS-CoV-2, different nomenclature systems, and the use of web-tools.&lt;/p&gt;
&lt;h3&gt;Slides and materials&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202009_ECCVID_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;, &lt;a href="202009_ECCVID_basics.html"&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202009_ECCVID.html"&gt;Real-time tracking of SARS-CoV-2 spread and evolution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_OToole_ECCVID_slides.pdf"&gt;Strains, clades, lineages &amp;amp; variants …&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;This &lt;a href="https://www.escmid.org/research_projects/escmid_conferences/eccvid/scientific_programme/practical_workshops/"&gt;workshop&lt;/a&gt; provides a brief overview of the basics of phylogenetic analysis, the spread and evolution of SARS-CoV-2, different nomenclature systems, and the use of web-tools.&lt;/p&gt;
&lt;h3&gt;Slides and materials&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="202009_ECCVID_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;, &lt;a href="202009_ECCVID_basics.html"&gt;slides&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="202009_ECCVID.html"&gt;Real-time tracking of SARS-CoV-2 spread and evolution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_OToole_ECCVID_slides.pdf"&gt;Strains, clades, lineages &amp;amp; variants&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="teaching_notes/2020-09-23_Hodcroft_ancestral-reconstruct-pitfalls.pdf"&gt;Interpreting phylogenies: pitfalls and uncertainty&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.eurosurveillance.org/content/10.2807/1560-7917.ES.2020.25.32.2001410?crawler=true"&gt;Geographical and temporal distribution of SARS-CoV-2 clades in the WHO European Region, January to June 2020&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Links and example data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://clades.nextstrain.org"&gt;nextclade&lt;/a&gt;: Clade assignment, sequence &lt;strong&gt;Q:&lt;/strong&gt;, phylogenetic placement&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cov-lineages.org"&gt;cov-lineages&lt;/a&gt;: Lineage assignment and phylogenetic placement&lt;/li&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2020-09_SARSCoV2_VIPR_Aug-Sep_download_selection.fasta"&gt;Example data small&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/teaching_notes/2020-09_SARSCoV2_VIPR_Aug-Sep_download.fasta"&gt;Example data large&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Question and answer session&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; How does that rate of mutations compare to other viruses?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; It’s relatively slow evolving for an RNA virus (slower than flu for instance). On average we see a new mutation being transmitted every 2 weeks.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Influenza virus for example mutate about 3-4 times faster. But the SARS-CoV-2 genome is about twice the size.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Is it known if any of these mutations has an impact on the virulence of the virus for example?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; There is no evidence at the moment that any of these mutations affect virulence. There is some evidence that S:D614G increases transmission.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; A large deletion in ORF8 might decrease severity, but it looks as if this variant has gone extinct.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Could you please kindly explain difference among strain, clad , lineage ? Thanks&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; No problem, all these terms can be very confusing. Different strains of viruses have different biological properties that are stable in natural conditions. For instance different antigenic properties. Clades are groupings of the SARS-CoV-2 phylogeny based on a minimum size and persistence threshold (Nextstrain has 5 clades. Lineages are finer scale, epidemiologically informed groups in the SARS-CoV-2 phylogeny. There are &amp;gt;250 lineages at the moment.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; At what point does the diversity represent a new strain.  Or what does define a different strain?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; That's a great question. In virology we don't have a hard definition for 'strain' - it's used very loosely and there's not really clear criteria for when something becomes a strain. However, as Aine showed in her talk, it's important to keep in mind that the diversity we see in SARS-COV-2 is much, much less than the viruses we commonly study, which have been circulating in humans much longer - and where we might more commonly refer to 'strains'. So, there's no hard-and-fast threshold, but we wouldn't expect to be saying 'strain' for SARS-CoV-2 very soon!
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; How do you know the strain that you have sequences is the original strain to cause an outbreak?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Based on the sequences we have and the alignment, we can tell that all sequences originated from a single spillover event late last year. The closest sequence other than the pandemic sequences has a branch with ~1,200 mutations on it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; This is mostly a question of terminology - compared to other viruses we would say there is only one 'strain' of SARS-CoV-2. However, we can see there is definitely diversity - which we might call clades, lineages, variants, as we've covered. However, it says above, all of these are much, much more closely related to each other than to their nearest neighbour - they're all part of the same outbreak. I hope that helps!
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; How can we tell two Viruses belong to same Strain? Thanks&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; If they fall into the SARS-CoV-2 diversity they are the same strain of SARS-CoV-2.
​
​---&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Is there going to be an updated version of the Focal analysis for specific European countries in the near future? By that I mean: will other countries be added?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Hi Ioana, it's true that defining 'Europe' is not always so easy :) What country are you looking for? In some cases we unfortunately may not have enough samples for a separate build. But we are definitely open to adding more countries!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; I was curious about the status of Romania (being a romanian myself). Maybe we aren't providing the complete information. Thank you for your reply and for being open to adding more countries, as well!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; I've just had a look - it does seem like we've got enough sequences for Romania to do a build. Not sure why it was left out - may simply be that when we started this months ago, it didn't have many! But I can add this so we can start including a Romanian build :)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Fantastic so far. On the same topic, do you have a build for Canada?  Thanks!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Unfortunately we don't have a build for Canada, and as far as I'm aware I'm not aware of any other groups maintaining a Canadan run. You can see the North American build &lt;a href="https://nextstrain.org/ncov/north-america"&gt;here&lt;/a&gt;. And you can see all the builds maintained by us (excluding the Europe ones - sorry!) and other groups &lt;a href="https://nextstrain.org/sars-cov-2/"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Sorry for the naive question but what would constitute enough for a build for a country?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; There isn't a hard cutoff for the number of sequences needed for a build - we could technically do this even if there was just 1! It just won't be very useful as it'll mostly be sequences from elsewhere :) Then, just looking at the (for exampe) Europe build would be just as informative. Each build takes time &amp;amp; computation to run, so we are likely to start maintaining a build for a country when it has a few hundred sequences at least.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; What is known about the mutation rate within a host?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Hi Karin! Research on this is still ongoing - as an acute virus it is less common to have multiple samples per person. However, with an average rate of 2 mutations per month we don't necessarily expect to see large diversity within host.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Would we be able to apply these tools to SARS-CoV-2 samples from wastewater (representing multiple cases in one sample)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Great question Hillary. Yes, you can apply these tools, but the interpretation is indeed harder. We have just recently been discussing this. The difficulty is how to interpret a sample which has an 'excess' of mutations due to containing multiple variants. So while the tools will work - the interpretation will be harder. We are working on a better way to show this in Nextstrain, but at the moment we don't have an automatic way to do this. You'll likely get a sample that shows up as being really divergent from the others.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Hello! Emma, could you tell us more about the downsampling process you applied to the samples showed by Nextstrain??&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Yes, of course. For the global builds, we sample 16 samples per country, per month, per year. With samples from over 112 countries, that adds up!
For the regional builds (and the Europe &amp;amp; other smaller focal builds Nextstrain members maintain) we have two steps - a 'focal' sample which is taken from the region in question, and the 'global context' which is from the rest of the world. For regions, we sample 32 samples per division (like state or canton) per month, per year. Then, we take 4 samples per country per month per year from the rest of the world - but we preferentially take samples that link most closely to the 'focal' set - so that we capture important links and context!
To be extra detailed, that is actually the sampling done for regions which aren't Europe. For Europe we do slightly differently since it has so many countries &amp;amp; so many samples - we take 44 samples per country per month per year for Europe, then add 5 samples per country per month per year for regions outside Europe - those samples that link most closely to Europe samples.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Thank you very much. I see…. it is very dynamic depdning on what are you looking for at each moment. Great!!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; Yes! And for our more focused builds (ex: I maintain builds for Texas) we adjust this accordingly. It's very flexible!
You can read a bit more about the subsampling options here (go to the Subsampling heading): https://nextstrain.github.io/ncov/customizing-analysis
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; I'm about to start my PHD (next monday) and the data would be absolutely helpful. My paper is about coronaviruses, but being a vet school alumni, will be focused on the transmission aspects, if there are some similarities between strands that we find in the pets of the infected owners and the owners, themselves.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; There have been some interesting transmission patterns in mink farm in the Netherlands&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; If you go to the &lt;a href="https://nextstrain.org/groups/neherlab/ncov/netherlands?c=subclade_membership&amp;amp;f_country=Netherlands&amp;amp;p=grid&amp;amp;r=division"&gt;Netherlands build:&lt;/a&gt; You can look for the box on the left called 'search strains' and start typing 'mink' - it'll show you all the mink sequences that have been included - and they pop up as larger circles on the tree!"
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; At this point and with avaliable information, Which genome region would you select to do an amplicon sequence approach to study viral diveristy of SARS-CoV-2 in complexe samples (i.e. Sewage)?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; The sequencing pimers by the ARTIC consortium are updated frequently. These would probably be a good starting point.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; Considering the low number of mutations present at this point, all sequences would group within the same OTUs. Should we should work only with unique sequences avoiding the OTus approach?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; These sequences are all at least 99.9% identical. I don't see a need to use OTUs. The clades and lineages are classification systems to address this need.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; How do we choose an Outgroup?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; For making the SARS-CoV-2 tree generally we use early Wuhan sequences to root the tree - these aren't really an outgroup though as they're part of the same virus/outbreak. You could use the RaTG13 sequence as an 'outgroup' but it's quite divergent, as Aine showed - it'll be quite far from the SARS-CoV-2 sequences.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; We typically the reference sequence Wuhan-01 as a reference and outgroup.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; For us, we’re rooting on Wuhan-04 which is an A-lineage sequence. But again, an early sequence from Wuhan used to root the tree yes.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; If a particular region in the same country (or large city) has a relatively high number of lineages, that would imply a greater risk of transmission? It would be wise to pay close attention to that kinds of regions for public health interventions?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; I don't think it implies a greater risk of transmission. But is does mean that multiple concurrent transmission clusters exist.
​&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Q:&lt;/strong&gt; The enterovirus D68 analysis tool is really specific for EV-D species or covers other interesting EV- types (ie.EV-71)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A:&lt;/strong&gt; The pipeline could be used for other Enteroviruses - you'd need to change out the reference genome (used for alignment &amp;amp; knowing where genes are) and of course the dataset. However the base of the rest should work fairly well :)
​
​
​&lt;/p&gt;
&lt;h3&gt;FEEDBACK/nice words&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Thank you for the very useful session&lt;/li&gt;
&lt;li&gt;Thanks!&lt;/li&gt;
&lt;li&gt;Thank you all!&lt;/li&gt;
&lt;li&gt;thanks very much guys :)&lt;/li&gt;
&lt;li&gt;Great, Thanks Professor!&lt;/li&gt;
&lt;li&gt;Thanks !&lt;/li&gt;
&lt;li&gt;That is innovative! Many thanks !!&lt;/li&gt;
&lt;li&gt;Thanks for organizing this workshop, which has been extremely informative and practical for an ID epidemioloist to catch up with the latest development in how genomic tools can be applied to understanding the current pandemic in real time!&lt;/li&gt;
&lt;li&gt;That was helpful Sir, many thanks!&lt;/li&gt;
&lt;li&gt;What a great Workshop it is. Thanks everyone!&lt;/li&gt;
&lt;li&gt;Thank you for this webinar! It was really helpful.&lt;/li&gt;
&lt;li&gt;Thank you for this webinar. It has really helped my understanding in general, and introduced a field properly that until now I know my knowledge was totally skating the surface!&lt;/li&gt;
&lt;li&gt;This is even better than I have expected! Thank you so much!&lt;/li&gt;
&lt;li&gt;hi everyone, thank you for taking time to teach us on these exciting methods.&lt;/li&gt;
&lt;li&gt;Thank you
​
​
​&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Physics of Life</title><link href="/2020_PoLI_overview.html" rel="alternate"></link><published>2020-09-17T00:00:00+02:00</published><updated>2020-09-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-17:/2020_PoLI_overview.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many exercises will involve programming and you will use the computer to solve problems.
The preferred programming language for this is Python, but you can use what ever programming language you like.&lt;/p&gt;
&lt;p&gt;This course will be mostly taught remotely and asynchronously.
For each week, I will record multiple short videos in which either present the material, or go through iPython notebooks that explore the material quantitatively.
In addition, I will suggest material by third parties (for example the excellent videos on mathematics by &lt;a href="https://3Blue1Brown.com"&gt;3Blue1Brown&lt;/a&gt;) to give additional background and revise necessary mathematical techniques.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Refresher: Growth processes and simple differential equations&lt;/li&gt;
&lt;li&gt;Random walks, diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Chromatin organization&lt;/li&gt;
&lt;li&gt;Models of gene regulation&lt;/li&gt;
&lt;li&gt;Membraneless organelles and liquid-liquid phase transitions&lt;/li&gt;
&lt;li&gt;Discrimination and fidelity.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://routledgetextbooks.com/textbooks/9780815344506/default.php"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Preparatory material&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=WUvTyaaNkzM"&gt;Refresher on calculus (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;Installation of Python and jupyter notebooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/PoL_notebooks/week00_programming_resources.ipynb"&gt;Jupyter notebooks with links to programming resources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 1 -- The relevant scales: sizes, energies, concentrations&lt;ul&gt;
&lt;li&gt;&lt;a href="/PoLI_week01_UnitsAndLaws.html"&gt;Quantitative problems, dimensions, and units&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;How big are biological entities? &lt;a href="https://tube.switch.ch/videos/439dc6b7"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01b_SizesAndLogScales.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01b_SizesAndLogScales.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Volumes and concentrations? &lt;a href="https://tube.switch.ch/videos/26d61d3c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01c_VolumesAndConcentrations.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01c_VolumesAndConcentrations.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Energies and Forces &lt;a href="https://tube.switch.ch/videos/5e03fb03"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01d_EnergiesAndForces.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01d_EnergiesAndForces.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Noise and Stochasticity &lt;a href="https://tube.switch.ch/videos/f031d439"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_NoiseAndStochasticity.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_NoiseAndStochasticity.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Genome sizes &lt;a href="https://tube.switch.ch/videos/a91a6c31"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_GenomeSizes.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week01e_GenomeSizes.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 2 -- Growth processes and differential equations&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=p_di4Zn4wz4"&gt;Background: Introduction to differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/ed5794b7"&gt;Linear and exponential growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02_linearAndExponentialGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02_linearAndExponentialGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/fb0c82ca"&gt;Logistic growth&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02b_logisticGrowth.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02b_logisticGrowth.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tube.switch.ch/videos/93848723"&gt;SIR models&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02c_SIR_models.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week02c_SIR_models.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 3 -- Brownian motion, diffusion, and Fick's law&lt;ul&gt;
&lt;li&gt;Random walks: &lt;a href="https://tube.switch.ch/videos/f618f8ff"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03a_RandomWalks.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03a_RandomWalks.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusion equation: &lt;a href="https://tube.switch.ch/videos/438c675b"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03b_diffusionEquation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03b_diffusionEquation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Boundary and initial conditions: &lt;a href="https://tube.switch.ch/videos/d4024a9f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03c_BoundaryAndInitialConditions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03c_BoundaryAndInitialConditions.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Diffusive transport: &lt;a href="https://tube.switch.ch/videos/634aedea"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03d_DiffusiveTransport.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03d_DiffusiveTransport.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stokes-Einstein relation: &lt;a href="https://tube.switch.ch/videos/63a3bae0"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03e_StokesEinsteinRelation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week03e_StokesEinsteinRelation.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ly4S0oi3Yz8"&gt;Background: Introduction to partial differential equations (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ToIXSwZ1pJU"&gt;Background: Solutions to the heat and diffusion equation (3Blue1Brown)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 11 -- Polymers&lt;ul&gt;
&lt;li&gt;Introduction and ideal chains: &lt;a href="https://tube.switch.ch/videos/094db580"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11a_IntroductionToPolymerPhysics.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11a_IntroductionToPolymerPhysics.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Stiff polymers: &lt;a href="https://tube.switch.ch/videos/7179ba6c"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11b_StiffPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11b_StiffPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pulling: &lt;a href="https://tube.switch.ch/videos/45f301dd"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11c_PullingOnPolymers.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11c_PullingOnPolymers.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Polymers under force -- Pushing: &lt;a href="https://tube.switch.ch/videos/2fca4c13"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11d_CompressionPolymers..ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11d_CompressionPolymers..pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://tube.switch.ch/videos/8e3c92c9"&gt;lecture&lt;/a&gt;,  &lt;a href="/PoL_notebooks/week11e_DynamicCytoskeleton.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week11e_DynamicCytoskeleton.pdf"&gt;notebook-PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The dynamic cytoskeleton. &lt;a href="https://youtu.be/FIT0fdt6c3Y"&gt;Video by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/wQID2zmeWTQ"&gt;Cell motility by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Further information: &lt;a href="https://youtu.be/Ixt9We2hiGc"&gt;Evolution of the cytoskeleton by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 12 -- Gene regulation&lt;ul&gt;
&lt;li&gt;Introduction into gene regulation. &lt;a href="https://tube.switch.ch/videos/8d661dd6"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12a_IntroToGeneRegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12a_IntroToGeneRegulation.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Simple models of gene regulation. &lt;a href="https://tube.switch.ch/videos/2781a72f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12b_SimpleModelsOfGeneRegulation.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12b_SimpleModelsOfGeneRegulation.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Elements of dynamics systems. &lt;a href="https://tube.switch.ch/videos/6e37f331"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12c_DynamicalSystems.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12c_DynamicalSystems.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Auto-activation and repression. &lt;a href="https://tube.switch.ch/videos/c73b3b6e"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12d_AutoActivationRepression.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12d_AutoActivationRepression.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Morphogen gradients -- regulation in space. &lt;a href="https://tube.switch.ch/videos/b2a4db07"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12e_RegulationInSpace.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week12e_RegulationInSpace.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 13 -- Liquid-liquid phase transitions&lt;ul&gt;
&lt;li&gt;Phase transitions in biology. &lt;a href="https://tube.switch.ch/videos/ebe62082"&gt;lecture&lt;/a&gt;, &lt;a href="w/PoL_notebooks/eek13a_PhaseTransitionsInBiology.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13a_PhaseTransitionsInBiology.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Simple models of phase transitions, &lt;a href="https://tube.switch.ch/videos/653b6cd9"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13b_SimpleModelOfPhaseTransitions.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13b_SimpleModelOfPhaseTransitions.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Properties of membraneless organells &lt;a href="https://tube.switch.ch/videos/7842b0da"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13c_PropertiesOfMembranelessOrganells.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13c_PropertiesOfMembranelessOrganells.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;P granules, &lt;a href="https://tube.switch.ch/videos/0f1e7e8f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13d_PGranules.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week13d_PGranules.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Week 14 -- Fidelity, accuracy, and kinetic proof-reading&lt;ul&gt;
&lt;li&gt;Fidelity and accuacy. &lt;a href="https://tube.switch.ch/videos/ef78391c"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14a_FidelityAndLimits.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14a_FidelityAndLimits.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Kinetic Proofreading. &lt;a href="https://tube.switch.ch/videos/86457e7f"&gt;lecture&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14b_KineticProofreading.ipynb"&gt;notebook&lt;/a&gt;, &lt;a href="/PoL_notebooks/week14b_KineticProofreading.pdf"&gt;notebook-pdf&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>PoL I: Quantitative problems, dimensions, and units</title><link href="/PoLI_week01_UnitsAndLaws.html" rel="alternate"></link><published>2020-09-15T00:00:00+02:00</published><updated>2020-09-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-15:/PoLI_week01_UnitsAndLaws.html</id><summary type="html">&lt;section&gt;
&lt;h2&gt;Can we understand biology quantitatively?&lt;/h2&gt;
&lt;h2&gt;How is Biology different from Physics?&lt;/h2&gt;
&lt;h2&gt;How can Physics help understand biological systems?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be controlled and exploited&lt;/li&gt;
                &lt;li&gt;Unintuitive behavior is captured …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h2&gt;Can we understand biology quantitatively?&lt;/h2&gt;
&lt;h2&gt;How is Biology different from Physics?&lt;/h2&gt;
&lt;h2&gt;How can Physics help understand biological systems?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mathematics is extremely effective in physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Motions of planets and moons can be predicted with extreme accuracy&lt;/li&gt;
                &lt;li&gt;Behavior of atoms, particles, electrons etc can be controlled and exploited&lt;/li&gt;
                &lt;li&gt;Unintuitive behavior is captured by physical theories&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Biology is much more complex than Physics&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;b&gt;Physics is most effective in simple and controlled systems&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Laws of physics connect fundamental particles and forces.&lt;/li&gt;
                &lt;li&gt;Physics often describe homogenous or simple matter.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;&lt;br&gt;
        &lt;b&gt;Biological complexity&lt;/b&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Biological systems evolved -- layering complexity&lt;/li&gt;
                &lt;li&gt;Cells consist of thousands of molecular species, interacting in complicated ways&lt;/li&gt;
                &lt;li&gt;Biology is always in flux.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h4&gt;Much of biology describes complex dependencies in qualitative terms:&lt;/h4&gt;
    &lt;img src="/talk_images/981px-Signal_transduction_pathways.svg.png"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=12081090"&gt;Wikipedia, by cybertory&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Is there hope? YES!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Quantitative questions&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;How rapidly does a protein move from one end of the cell to another?&lt;/li&gt;
                &lt;li&gt;How many ribosomes/signaling molecules are in a cell?&lt;/li&gt;
                &lt;li&gt;What fraction of transcription factors is bound to DNA?&lt;/li&gt;
                &lt;li&gt;What are the speed limits for biochemical reactions?&lt;/li&gt;
                &lt;li&gt;How are polarities and developmental gradients set up?&lt;/li&gt;
                &lt;li&gt;How many human cells are in your body?&lt;/li&gt;
                &lt;li&gt;How many other cells?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;font size="6" class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;b&gt;Not:&lt;/b&gt; Gene X causes Y&lt;/li&gt;
                &lt;li&gt;&lt;b&gt;But:&lt;/b&gt; 20% faster diffusion of gene X extends the gradient by $20\mu m$&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dimensions and units&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 40%; text-align: left;"&gt;
        &lt;h5&gt;&lt;b&gt;Dimensions&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length&lt;/li&gt;
                &lt;li&gt;weight&lt;/li&gt;
                &lt;li&gt;energy&lt;/li&gt;
                &lt;li&gt;current&lt;/li&gt;
                &lt;li&gt;force&lt;/li&gt;
                &lt;li&gt;temperature&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:22%; left:45%; width: 45%; text-align: left;" class="fragment"&gt;
        &lt;h5&gt;&lt;b&gt;Units:&lt;/b&gt;&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;length: meters, miles, feet, Angstrom&lt;/li&gt;
                &lt;li&gt;weight: grams, stones, &lt;/li&gt;
                &lt;li&gt;energy: Joules, calories&lt;/li&gt;
                &lt;li&gt;current: ampere&lt;/li&gt;
                &lt;li&gt;force: Newton&lt;/li&gt;
                &lt;li&gt;temperature: Celsius, Kelvin&lt;/li&gt;
                &lt;li&gt;....&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:15%; width: 80%; text-align: left;" class="fragment"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Dimensions describe the nature of a quantity&lt;/li&gt;
                &lt;li&gt;Units are conventions to measure them&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Comparing quantities&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:15%; width: 70%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Only quantities of the same dimension can be compared: length $X$ is greater than length $Y$ etc. There is no sense is which length $X$ can be greater than weight $Y$.&lt;/li&gt;
                &lt;li class="fragment"&gt;Units are conventions -- there is nothing fundamental about them. &lt;/li&gt;
                &lt;li class="fragment"&gt;Some unit systems are more convenient than others.&lt;/li&gt;
                &lt;li class="fragment"&gt;Everyday units are often inconvienent for biological processes&lt;/li&gt;
                &lt;li class="fragment"&gt;We can pick units to make things as simple as possible&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Laws of physics relate quantities of different dimensions&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        Take Newton's law:&lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ F = m \times a$$
        $$ \mathrm{Force} = \mathrm{mass} \times \mathrm{acceleration}$$&lt;br&gt;
        &lt;/font&gt;
        Relates quantities of different dimensions to each other.
        &lt;br&gt;&lt;br&gt;
        &lt;div class="fragment"&gt;
        Common units for the quantities involved are: &lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ \mathrm{[Newton]} = \mathrm{[Kilogram]} \times \mathrm{[meter/second^2]}$$&lt;br&gt;
        &lt;/font&gt;
        thereby defining the unit of force "Newton".
        &lt;/div&gt;
        &lt;br&gt;&lt;br&gt;
        &lt;div class="fragment"&gt;
        &lt;b&gt;The law is valid in any system of units!&lt;/b&gt;
        &lt;br&gt;Units are chosen by humans, the law itself is fundamental.
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physical constants&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        Consider the gravitational law:
        &lt;br&gt;
        &lt;font color=#BB2211&gt;
        $$ F \sim \frac{m_1 m_2}{r^2}$$
        $$ \mathrm{Force} \sim \mathrm{mass^2}/\mathrm{length^2}$$&lt;br&gt;
        &lt;/font&gt;
        The quantities left and right do &lt;b&gt;not&lt;/b&gt; have the same dimensions!&lt;br&gt;

        Links force to masses and distance, but not what the absolute value of the force is.
        &lt;br&gt;
        &lt;div class="fragment"&gt;
        The missing link is established by the gravitational constant $G$:
        &lt;br&gt;
        &lt;font color=#BB2211&gt;
            $$ F = G\frac{m_1 m_2}{r^2}\quad \mathrm{with} \quad G \approx 6.67 \frac{m^3}{kg\,s^2}$$&lt;br&gt;
        &lt;/font&gt;
        The value of $G$ depends on the system of units we use.
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;This course: quantitative understanding of biology&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 70%; text-align: left;"&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;Laws of physics yield quantitative and predictive relationships and constraints for biology&lt;/li&gt;
                &lt;li&gt;Computer programming is essential to explore quantitative relationships and handle data&lt;/li&gt;
                &lt;li&gt;Units are absolutely critical to get right: &lt;br&gt;
                    If you calculate a &lt;i&gt;length&lt;/i&gt; and the result is in &lt;i&gt;seconds&lt;/i&gt; something went seriously wrong&lt;/li&gt;
                &lt;li&gt;Checking your units will catch many obvious mistakes.&lt;/li&gt;
                &lt;li&gt;Choosing your units wisely will make many calculations easier&lt;/li&gt;
            &lt;/ul&gt;
    &lt;/div&gt;

&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 spread and evolution</title><link href="/202009_SNI.html" rel="alternate"></link><published>2020-09-10T00:00:00+02:00</published><updated>2020-09-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-10:/202009_SNI.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in Nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:7%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-09-10_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_divTree.png" width=1600px&gt;
&lt;h5&gt;Mutations accumulate constantly, but most of them are irrelevant and rare.&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_Clock.png" width=1300px&gt;
&lt;h5&gt;The genome accumulates about two mutations a month...&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/202009_nCov_GlobalClades.png" width=1600px&gt;
&lt;h5&gt;Diversified into multiple global variants. Groups 20A/B/C have taken over. &lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;img src="/talk_images/2020-09_D614G_spread.png" height=860px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Swiss sequences on August 31&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;, most sequencing by Tanja Stadler's group at ETH, D-BSSE&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_cluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A predominantly GE/VD cluster&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-09-10_nCov_GenevaCluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A predominantly ZH/BS/BL/BE cluster&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:0%; width: 100%"&gt;
  &lt;img src="/talk_images/2020-09-10_nCov_ZurichCluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;What's next?&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;h3&gt;Weekly cases and deaths in Switzerland&lt;/h3&gt;
  &lt;img src="/talk_images/2020-09-10_CH_weeklyCases.png" width=1300px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;What have we learned? What are the unknowns?&lt;/h2&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 90%; text-align: left"&gt;
  &lt;font size=6&gt;
  &lt;ul&gt;
    &lt;li&gt;Social distancing is very effective &lt;br&gt; &amp;rarr; we can suppress the outbreak if we want!&lt;/li&gt;
    &lt;li class='fragment'&gt;Many Asian and European countries have largely re-opened
        &lt;br&gt; &amp;rarr; some now see consistent rise in cases
        &lt;br&gt; &amp;rarr; exponential increase&lt;/li&gt;
    &lt;li class='fragment'&gt; Test-Trace-Isolate-Quarantine is more effective and less disruptive at low case numbers
        &lt;br&gt; &amp;rarr; acceleration possible when TTIQ systems get overwhelmed&lt;/li&gt;
    &lt;li class='fragment'&gt;What role does seasonality have?
        &lt;br&gt; &amp;rarr; behavioral component: indoor vs outdoor activities
        &lt;br&gt; &amp;rarr; environmental component: less ventilation, drier air
        &lt;br&gt; &amp;rarr; interaction with other viruses&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza A pandemics of the last 120 years&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1500px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- US&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/H1N1pdm_cases_NorthSouth.png" width="900px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- Germany&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/RKI_H1N12009.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Robert-Koch-Institut&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Most respiratory virus including established CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Little direct evidence; absolute effect of seasonality unknown&lt;/li&gt;
    &lt;li&gt;But expect control of the virus to be harder in winter&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Cryptic transmission of SARS-CoV-2 in Washington state</title><link href="/bedford_cryptic_2020.html" rel="alternate"></link><published>2020-09-10T00:00:00+02:00</published><updated>2020-09-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-10:/bedford_cryptic_2020.html</id><summary type="html">&lt;p&gt;Following its emergence in Wuhan, China, in late November or early December 2019, the SARS-CoV-2 virus has rapidly spread globally. Genome sequencing of SARS-CoV-2 allows reconstruction of its transmission history, although this is contingent on sampling. We have analyzed 453 SARS-CoV-2 genomes collected between 20 February and 15 March 2020 …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Following its emergence in Wuhan, China, in late November or early December 2019, the SARS-CoV-2 virus has rapidly spread globally. Genome sequencing of SARS-CoV-2 allows reconstruction of its transmission history, although this is contingent on sampling. We have analyzed 453 SARS-CoV-2 genomes collected between 20 February and 15 March 2020 from infected patients in Washington State, USA. We find that most SARS-CoV-2 infections sampled during this time derive from a single introduction in late January or early February 2020 which subsequently spread locally before active community surveillance was implemented.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 spread and evolution</title><link href="/202009_USB.html" rel="alternate"></link><published>2020-09-03T00:00:00+02:00</published><updated>2020-09-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-03:/202009_USB.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SARS-CoV-2 and its relatives&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 is in the same family as SARS-CoV-1, MERS and &lt;br&gt; two seasonal coronavirus&lt;/li&gt;
    &lt;li&gt;The latter cause mild disease, the former severe&lt;/li&gt;
    &lt;li&gt;Relatives are found in many different animals&lt;/li&gt;
    &lt;li&gt;Closest known relative of SARS-CoV-2 is a virus isolated from bats &lt;br&gt; (RaTG13, approx 96% identical)&lt;/li&gt;
    &lt;li&gt;SARS-CoV-2 spreads more easily than SARS-CoV-1 or MERS; &lt;br&gt;pre-symptomatic transmission makes it hard to control&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The SARS-CoV-2 genome&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_diversity.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;29k linear (+)ssRNA genome -- one of largest RNA virus genomes&lt;/li&gt;
    &lt;li&gt;the first 2/3 code for the replication machinery&lt;/li&gt;
    &lt;li&gt;While it spreads, it accumulates about 2 mutations per month&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Early lessons from SARS-CoV-2 genomes (mid Jan)&lt;/h3&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;The outbreak originated from one source
    &lt;br&gt; &amp;rarr; not repeated zoonoses from a diverse reservoir.&lt;/li&gt;
    &lt;li&gt;The common ancestor of all samples was Nov - early Dec 2019.&lt;/li&gt;
    &lt;li&gt;Family clusters showed up as identical genomes (expected)&lt;/li&gt;
    &lt;li&gt;A second clade emerged that will continue to spread&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-07-15_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Swiss sequences on August 31&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;, most sequencing by Tanja Stadler's group at ETH, DBSSE&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;As SARS-CoV-2 spreads, in accumulates on average 2 mutations per month&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-07-14_ncov_divergence.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Tracking the spread of variants&lt;/h3&gt;
&lt;img src="/talk_images/2020-07-15_S-D614G_spread.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracking the spread of variants&lt;/h3&gt;
&lt;div  style="position: absolute;top:17%; left:10%; width: 80%"&gt;
&lt;ul&gt;
  &lt;li&gt;Clade 20A (and its daughters 20B and 20C) have essentially taken over&lt;/li&gt;
  &lt;li&gt;With them, several mutations, including S:D614G have become prevalent.&lt;/li&gt;
  &lt;li&gt;There are reports that S:D614G increases transmission&lt;/li&gt;
  &lt;li&gt;Overall no strong signal that the virus has changed in meaningful ways&lt;/li&gt;
  &lt;li&gt;But mutations are very useful to reconstruct how the virus spreads&lt;/li&gt;
&lt;/ul&gt;
&lt;img src="/talk_images/2020-07-15_ncov_cladefreq.png"&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_cluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_Montenegro.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h1&gt;What's next?&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="talk_images/covid_prediction_by_ruler.jpg"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;What's next?&lt;/h2&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;font size=7&gt;
  &lt;ul&gt;
    &lt;li&gt;Social distancing is very effective &lt;br&gt; &amp;rarr; we can suppress the outbreak if we want!&lt;/li&gt;
    &lt;li&gt;Many Asian and European countries have successfully suppressed the virus while re-opening&lt;/li&gt;
    &lt;li&gt;What role does seasonality have? &lt;br&gt; (indoor vs outdoor activities)&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Control of the virus might be harder in temperate winter&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2 style="color:#CC3333;"&gt;Fighting misinformation&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conspiracy theories and sensationalist research&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h3&gt;WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;COVID-19 has been with us for much longer&lt;/i&gt;
    &lt;br&gt; &lt;b&gt;Genetic diversity suggests recent emergence, respiratory samples from last year are PCR negative&lt;/b&gt; &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Recombinant with HIV&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;&lt;a href=https://twitter.com/trvrb/status/1223666856923291648&gt;debunked by Trevor Bedford&lt;/a&gt;&lt;/b&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;The virus is more/less aggressive now...&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;No genetic changes shared by a majority of viruses since March&lt;/b&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Prevalence is high, the mortality is low&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;False positive rates are not accounted for correctly, unrepresentative study populations&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are more severe than others&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;many more....&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Colorful trees are easily misinterpreted...&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_europeExItaly_clade.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_exposure_history.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Low genetic diversity combined with very biased sampling &amp;rarr; no directionality can be inferred&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 spread and evolution</title><link href="/202009_deCOI.html" rel="alternate"></link><published>2020-09-03T00:00:00+02:00</published><updated>2020-09-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-03:/202009_deCOI.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-07-15_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Swiss sequences on August 31&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;, most sequencing by Tanja Stadler's group at ETH, DBSSE&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_cluster.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;A European cluster in summer 2020&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-08-31_ncovCH_Montenegro.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;What's next?&lt;/h2&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;font size=7&gt;
  &lt;ul&gt;
    &lt;li&gt;Social distancing is very effective &lt;br&gt; &amp;rarr; we can suppress the outbreak if we want!&lt;/li&gt;
    &lt;li&gt;Many Asian and European countries have successfully suppressed the virus while re-opening&lt;/li&gt;
    &lt;li&gt;What role does seasonality have? &lt;br&gt; (indoor vs outdoor activities)&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Control of the virus might be harder in temperate winter&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Integrating genotypes and phenotypes improves long-term forecasts of seasonal influenza A/H3N2 evolution</title><link href="/huddleston_integrating_2020.html" rel="alternate"></link><published>2020-09-02T00:00:00+02:00</published><updated>2020-09-02T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-09-02:/huddleston_integrating_2020.html</id><summary type="html">&lt;p&gt;Seasonal influenza virus A/H3N2 is a major cause of death globally. Vaccination remains the most effective preventative. Rapid mutation of hemagglutinin allows viruses to escape adaptive immunity. This antigenic drift necessitates regular vaccine updates. Effective vaccine strains need to represent H3N2 populations circulating one year after strain selection. Experts …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Seasonal influenza virus A/H3N2 is a major cause of death globally. Vaccination remains the most effective preventative. Rapid mutation of hemagglutinin allows viruses to escape adaptive immunity. This antigenic drift necessitates regular vaccine updates. Effective vaccine strains need to represent H3N2 populations circulating one year after strain selection. Experts select strains based on experimental measurements of antigenic drift and predictions made by models from hemagglutinin sequences. We developed a novel influenza forecasting framework that integrates phenotypic measures of antigenic drift and functional constraint with previously published sequence-only fitness estimates. Forecasts informed by phenotypic measures of antigenic drift consistently outperformed previous sequence-only estimates, while sequence-only estimates of functional constraint surpassed more comprehensive experimentally-informed estimates. Importantly, the best models integrated estimates of both functional constraint and either antigenic drift phenotypes or recent population growth.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Geographical and temporal distribution of SARS-CoV-2 clades in the WHO European Region, January to June 2020</title><link href="/alm_geographical_2020.html" rel="alternate"></link><published>2020-08-26T00:00:00+02:00</published><updated>2020-08-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-08-26:/alm_geographical_2020.html</id><summary type="html">&lt;p&gt;We show the distribution of severe acute respiratory syndrome coronavirus-2 (SARS-CoV-2) genetic clades over time and between countries and outline potential genomic surveillance objectives. We applied three genomic nomenclature systems to all sequence data from the World Health Organization European Region available until 10 July 2020. We highlight the importance …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We show the distribution of severe acute respiratory syndrome coronavirus-2 (SARS-CoV-2) genetic clades over time and between countries and outline potential genomic surveillance objectives. We applied three genomic nomenclature systems to all sequence data from the World Health Organization European Region available until 10 July 2020. We highlight the importance of real-time sequencing and data dissemination in a pandemic situation, compare the nomenclatures and lay a foundation for future European genomic surveillance of SARS-CoV-2.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Efficient inference, potential, and limitations of site-specific substitution models</title><link href="/puller_efficient_2020.html" rel="alternate"></link><published>2020-08-20T00:00:00+02:00</published><updated>2020-08-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-08-20:/puller_efficient_2020.html</id><content type="html">&lt;p&gt;Abstract.  Natural selection imposes a complex filter on which variants persist in a population resulting in evolutionary patterns that vary greatly along the g&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Real-time tracking of SARS-CoV-2 spread and evolution</title><link href="/202007_ISMB.html" rel="alternate"></link><published>2020-07-16T00:00:00+02:00</published><updated>2020-07-16T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-07-16:/202007_ISMB.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/2020-01-03_ncov_bbc.png" height=800px&gt;
  &lt;span class="ref"&gt;BBC&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SARS-CoV-2 and its relatives&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 is in the same family as SARS-CoV-1, MERS and &lt;br&gt; two seasonal coronavirus&lt;/li&gt;
    &lt;li&gt;The latter cause mild disease, the former severe&lt;/li&gt;
    &lt;li&gt;Relatives are found in many different animals&lt;/li&gt;
    &lt;li&gt;Closest known relative of SARS-CoV-2 is a virus isolated from bats &lt;br&gt; (RaTG13, approx 96% identical)&lt;/li&gt;
    &lt;li&gt;SARS-CoV-2 spreads more easily than SARS-CoV-1 or MERS; &lt;br&gt;pre-symptomatic transmission makes it hard to control&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The SARS-CoV-2 genome&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_diversity.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;29k linear (+)ssRNA genome -- one of largest RNA virus genomes&lt;/li&gt;
    &lt;li&gt;the first 2/3 code for the replication machinery&lt;/li&gt;
    &lt;li&gt;While it spreads, it accumulates about 2 mutations per month&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Early lessons from SARS-CoV-2 genomes (mid Jan)&lt;/h3&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;The outbreak originated from one source
    &lt;br&gt; &amp;rarr; not repeated zoonoses from a diverse reservoir.&lt;/li&gt;
    &lt;li&gt;The common ancestor of all samples was Nov - early Dec 2019.&lt;/li&gt;
    &lt;li&gt;Family clusters showed up as identical genomes (expected)&lt;/li&gt;
    &lt;li&gt;A second clade emerged that will continue to spread&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-07-15_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Subset on July 14&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:1%; width: 99%"&gt;
  &lt;img src="/talk_images/2020-07-14_nextstrain.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;As SARS-CoV-2 spreads, in accumulates on average 2 mutations per month&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
  &lt;img src="/talk_images/2020-07-14_ncov_divergence.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;h3&gt;Tracking the spread of variants&lt;/h3&gt;
&lt;img src="/talk_images/2020-07-15_S-D614G_spread.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracking the spread of variants&lt;/h3&gt;
&lt;div  style="position: absolute;top:17%; left:10%; width: 80%"&gt;
&lt;ul&gt;
  &lt;li&gt;Clade 20A (and its daughters 20B and 20C) have essentially taken over&lt;/li&gt;
  &lt;li&gt;With them, several mutations, including S:D614G have become prevalent.&lt;/li&gt;
  &lt;li&gt;There are reports that S:D614G increases transmission &lt;br&gt;(equivocal in my view)&lt;/li&gt;
  &lt;li&gt;Overall no strong signal that the virus has changed in meaningful ways&lt;/li&gt;
  &lt;li&gt;But mutations are very useful to reconstruct how the virus spreads&lt;/li&gt;
&lt;/ul&gt;
&lt;img src="/talk_images/2020-07-15_ncov_cladefreq.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genomic analysis as complement to contact tracing&lt;/h3&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/infection_tree_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:25%; left:5%; width: 90%" class="fragment"&gt;
  &lt;img src="/talk_images/infection_tree_combined_v2.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracing the origins of samples from Iceland&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_Iceland_global.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_IcelandUS.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Prior to travel restrictions, SARS-CoV-2 is spread widely across the globe&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://doi.org/10.1056/NEJMoa2006100&gt;Gudbjartsson et al&lt;/a&gt;,
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Nextstrain was designed to track outbreaks in real-time ...&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 90%; text-align: left"&gt;
  Initially:&lt;br&gt;
  &lt;ul&gt;
    &lt;li&gt;comprehensive global analysis kept up-to-date by us&lt;/li&gt;
    &lt;li&gt;data curation done by GISAID&lt;/li&gt;
  &lt;/ul&gt;&lt;br&gt;
  Now:&lt;br&gt;
  &lt;ul&gt;
    &lt;li&gt;Focus on local analyses by Public Health Departments&lt;/li&gt;
    &lt;li&gt;Necessity to subsample sequences&lt;/li&gt;
    &lt;li&gt;Often little experience with command line tools&lt;/li&gt;
    &lt;li&gt;Large data sets &amp;rarr; computational challenges &lt;/li&gt;
    &lt;li&gt;Challenging to interpret&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;h2&gt;&lt;a href="https://github.com/nextstrain/ncov"&gt;SARS-CoV-2 phylodynamic analysis with nextstrain&lt;/a&gt;&lt;/h2&gt;
  &lt;ul&gt;
    &lt;li&gt;input: metadata (csv table) + sequences&lt;/li&gt;
    &lt;li&gt;composable snakemake pipeline
    &lt;ul&gt;
      &lt;li&gt;filtering (select relevant genomes)&lt;/li&gt;
      &lt;li&gt;alignment&lt;/li&gt;
      &lt;li&gt;tree building&lt;/li&gt;
      &lt;li&gt;infer time scaled phylogenies&lt;/li&gt;
      &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
      &lt;li&gt;clade classification&lt;/li&gt;
    &lt;/ul&gt;&lt;/li&gt;
    &lt;li&gt;export to visualization&lt;/li&gt;
    &lt;li&gt;runs in 1-3h for 4k genomes&lt;/li&gt;
  &lt;/ul&gt;
  &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;,
    &lt;a href="https://github.com/nextstrain/ncov"&gt;github.com/nextstrain/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;h2&gt;&lt;a href="https://github.com/nextstrain/auspice"&gt;Visualization with nextstrain&lt;/a&gt;&lt;/h2&gt;
  &lt;ul&gt;
    &lt;li&gt;run locally (localhost)&lt;br&gt;
    &lt;li&gt;deployed on your own servers&lt;/li&gt;
    &lt;li&gt;shared via github hosting&lt;/li&gt;
    &lt;li&gt;shared via nextstrain group (aws S3)&lt;/li&gt;
    &lt;li&gt;sensitive metadata can be dropped onto the tree&lt;/li&gt;
    &lt;li&gt;&lt;a href="https://github.com/neherlab/webclades"&gt;browser based tools to analyze your own sequences&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;&lt;br&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;What's next?&lt;/h2&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;font size=7&gt;
  &lt;ul&gt;
    &lt;li&gt;Social distancing is very effective &lt;br&gt; &amp;rarr; we can suppress the outbreak if we want!&lt;/li&gt;
    &lt;li&gt;Many Asian and European countries have successfully suppressed the virus while re-opening&lt;/li&gt;
    &lt;li&gt;What role does seasonality have? &lt;br&gt; (indoor vs outdoor activities)&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Respiratory virus incl seasonal CoVs show seasonality&lt;/li&gt;
    &lt;li&gt;Forcing through human behavior (indoor/outdoor activities).&lt;/li&gt;
    &lt;li&gt;Control of the virus might be harder in temperate winter&lt;/li&gt;
    &lt;li&gt;Absolute effect of seasonality unknown&lt;/li&gt;
  &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;especially James Hadfield, Emma Hodcroft, Ivan Aksamentov, Moira Zuber, and Tom Sibley&lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2 style="color:#CC3333;"&gt;Fighting misinformation&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conspiracy theories and sensationalist research&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h3&gt;WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;COVID-19 has been with us for much longer&lt;/i&gt;
    &lt;br&gt; &lt;b&gt;Genetic diversity suggests recent emergence, respiratory samples from last year are PCR negative&lt;/b&gt; &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Recombinant with HIV&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;&lt;a href=https://twitter.com/trvrb/status/1223666856923291648&gt;debunked by Trevor Bedford&lt;/a&gt;&lt;/b&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;The virus is more/less aggressive now...&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;No genetic changes shared by a majority of viruses since March&lt;/b&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Prevalence is high, the mortality is low&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;False positive rates are not accounted for correctly, unrepresentative study populations&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are more severe than others&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;many more....&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Colorful trees are easily misinterpreted...&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_europeExItaly_clade.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_exposure_history.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Low genetic diversity combined with very biased sampling &amp;rarr; no directionality can be inferred&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evolution and spread of SARS-CoV-2</title><link href="/202006_KITP.html" rel="alternate"></link><published>2020-06-04T00:00:00+02:00</published><updated>2020-06-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-06-04:/202006_KITP.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SARS-CoV-2 and its relatives&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 is in the same family as SARS-CoV-1, MERS and two seasonal coronavirus&lt;/li&gt;
    &lt;li&gt;The latter cause mild disease, the former severe&lt;/li&gt;
    &lt;li&gt;SARS-CoV-2 spreads more easily than SARS-CoV-1 or MERS&lt;/li&gt;
    &lt;li&gt;Relatives are found in many different animals&lt;/li&gt;
    &lt;li&gt;Closest known relative is a virus isolated from bats &lt;br&gt; (RaTG13, approx 96% identical)&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes change rapidly through time&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... tens of thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genome sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
  &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;in SARS-CoV-2 a new mutation accumulates about every 2 weeks &lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Early lessons from SARS-CoV-2 genomes (mid Jan)&lt;/h3&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;The outbreak originated from one source
    &lt;br&gt; &amp;rarr; not repeated zoonoses from a diverse reservoir.&lt;/li&gt;
    &lt;li&gt;The common ancestor of all samples was Nov - early Dec 2019.&lt;/li&gt;
    &lt;li&gt;Family clusters showed up as identical genomes (expected)&lt;/li&gt;
    &lt;li&gt;A second clade emerged that will continue to spread&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-05_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on June 4&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-06-04_nextstrain_ncov.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;The virus has reached most places where humans live&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on June 4&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-06-04_nextstrain_NA_ncov.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Different clades (virus variants) dominate in different parts of the US&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on June 4&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-06-04_nextstrain_NY_ncov.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Data from New York suggests viral diversity&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on June 4&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:25%; width: 50%"&gt;
  &lt;img src="/talk_images/2020-06-04_nextstrain_NY_europe.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;The outbreak in New York was likely seeded by introductions from Europe&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Genomes reveal how the virus moves around the globe&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracing the origins of samples from Iceland&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_Iceland_global.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_IcelandUS.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;SARS-CoV-2 is remarkably mixed geographically -- genomes connect outbreaks in different places&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://doi.org/10.1056/NEJMoa2006100&gt;Gudbjartsson et al&lt;/a&gt;,
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Current take-home from SARS-CoV-2 genomes&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 90%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 was disseminated widely before travel restrictions
      &lt;br&gt;&amp;rarr; Border closures had little effect (maybe if earlier)&lt;/li&gt;
    &lt;li&gt;The virus typically spread locally before it was noticed
      &lt;br&gt;(while testing focussed on people with travel history to hotspots)&lt;/li&gt;
    &lt;li&gt;Temporal resolution by mutation is about 4 weeks
      &lt;br&gt;&amp;rarr; too low to resolve direct transmissions or directionality
      &lt;br&gt;&amp;rarr; sufficient to connect outbreaks and identify clusters&lt;/li&gt;
    &lt;li&gt;Currently no solid evidence for mutations with functional significance
      &lt;br&gt;see &lt;a href=https://observablehq.com/@spond/natural-selection-analysis-of-sars-cov-2-covid-19&gt;Sergei Pond's analysis of signals of positive selection &lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The history of nextstrain -- KITP in summer 2014&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 50%; text-align: left"&gt;
  &lt;h4&gt;Nextstrain started at the &lt;a href="https://www.kitp.ucsb.edu/activities/superbugs14"&gt;KITP/superbugs14&lt;/a&gt; program&lt;/h4&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;Boris Shraiman and I had worked on &lt;a href="http://online.kitp.ucsb.edu/online/superbugs14/shraiman/"&gt;prediction of influenza virus&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;Trevor Bedford had the vision of an &lt;a href="http://online.kitp.ucsb.edu/online/superbugs14/bedford/oh/71.html"&gt;"always-on server [..] predicting clade trajectories"&lt;/a&gt;
    &lt;li&gt;In early 2015 we had a prototype for influenz virus (nextflu)&lt;/li&gt;
    &lt;li&gt;Rapidly diversified to cover Ebola Virus and MERS CoV&lt;/li&gt;
    &lt;li&gt;Rebranded as nextstrain&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:5%; left:60%; width: 35%; text-anchor: left"&gt;
  &lt;img src="/talk_images/kitp_drug_resistance_workshop.png"&gt;
  &lt;img src="/images/team_pics/trevor-bedford.jpg"&gt;&lt;br&gt;
  &lt;span&gt;Trevor Bedford, FHCRC Seattle&lt;/span&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2 style="color:#CC3333;"&gt;Fighting misinformation&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conspiracy theories and sensationalist research&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h3&gt;WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;COVID-19 has been with us for much longer&lt;/i&gt;
    &lt;br&gt; &lt;b&gt;Genetic diversity suggests recent emergence, respiratory samples from last year are PCR negative&lt;/b&gt; &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Origin are snakes (snake-flu)&lt;/i&gt;
    &lt;br&gt;&lt;b&gt;&lt;a href=http://virological.org/t/ncov-2019-codon-usage-and-reservoir-not-snakes-v2/339&gt;
        debunked by Kristian Andersen&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Recombinant with HIV&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;&lt;a href=https://twitter.com/trvrb/status/1223666856923291648&gt;debunked by Trevor Bedford&lt;/a&gt;&lt;/b&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
  &lt;p&gt;
  &lt;h3&gt;LIKELY WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;Prevalence is high, the mortality is low&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;False positive rates are not accounted for correctly, unrepresentative study populations&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are more severe than others&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are adapted to different parts of the world&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;many more....&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Colorful trees are easily misinterpreted...&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_europeExItaly_clade.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_exposure_history.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Low genetic diversity combined with very biased sampling &amp;rarr; no directionality can be inferred&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaborations since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft, and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
  &lt;h4&gt;People at the frontlines: health care staff and everybody else who keeps things going...&lt;/h4&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal variation in infectivity&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
 &lt;h4&gt;Original title mid February...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v1"&gt;&lt;img src="/talk_images/seasonality_v1.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
 &lt;h4&gt;Published two weeks later...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v2"&gt;&lt;img src="/talk_images/seasonality_v2.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of enteroviruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/Pons-Salort_seasonal_EVs.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://science.sciencemag.org/content/361/6404/800"&gt;Pons-Salort et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential seasonal drivers&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:20%; width: 80%; text-align:left"&gt;
  &lt;ul&gt;
    &lt;li&gt;humidity (e.g. dry air increases time before droplets fall down)&lt;/li&gt;
    &lt;li&gt;temperature&lt;/li&gt;
    &lt;li&gt;UV light&lt;/li&gt;
    &lt;li&gt;behavior (e.g. time spent indoors, ventilation, heating)&lt;/li&gt;
  &lt;/ul&gt;&lt;br&gt;
  &lt;span&gt;Exact nature of forcing not relevant for this talk...&lt;/span&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SIR model with seasonal forcing&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_model.svg" width=1500px class="plain"&gt;
  $$\beta(t) = \beta_0\left(1+\epsilon\cos(2\pi (t-\theta))\right)$$
  &lt;br&gt;
  &lt;span&gt; People import new infections at rate $\nu$&lt;/span&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Strong seasonality can be generated through strong forcing or resonance &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_Seasonality_forcing.png" width=1500px class="plain"&gt;
  &lt;h4&gt;Yellow: good fit -- Blue: poor fit&lt;/h4&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;h4&gt;Counter-factual scenario without strong social distancing!&lt;/h4&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_scenario.png" width=800px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_peaks.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Evolution and dynamics of SARS-CoV-2</title><link href="/202005_Paris.html" rel="alternate"></link><published>2020-05-20T00:00:00+02:00</published><updated>2020-05-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-05-20:/202005_Paris.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SARS-CoV-2 and its relatives&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 is in the same family as SARS-CoV-1, MERS and two seasonal coronavirus&lt;/li&gt;
    &lt;li&gt;The latter cause mild disease, the former severe&lt;/li&gt;
    &lt;li&gt;SARS-CoV-2 spreads more easily than SARS-CoV-1 or MERS&lt;/li&gt;
    &lt;li&gt;Relatives are found in many different animals&lt;/li&gt;
    &lt;li&gt;Closest known relative is a virus isolated from bats &lt;br&gt; (RaTG13, approx 96% identical)&lt;/li&gt;
    &lt;li&gt;Coronavirus recombine: trees need to be interpreted with caution&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The SARS-CoV-2 genome&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_diversity.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;29k linear (+)ssRNA genome -- one of largest RNA virus genomes&lt;/li&gt;
    &lt;li&gt;the first 2/3 code for the replication machinery&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Early lessons from SARS-CoV-2 genomes (mid Jan)&lt;/h3&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;The outbreak originated from one source
    &lt;br&gt; &amp;rarr; not repeated zoonoses from a diverse reservoir.&lt;/li&gt;
    &lt;li&gt;The common ancestor of all samples was Nov - early Dec 2019.&lt;/li&gt;
    &lt;li&gt;Family clusters showed up as identical genomes (expected)&lt;/li&gt;
    &lt;li&gt;A second clade emerged that will continue to spread&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-05_SARSCoV2_genomes.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield/Emma Hodcroft&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on April 22&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Subset of available data on April 22&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_clock.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_tripleMutation.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;About two mutations per month, but mutations are often clustered and overdispersed&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracing the origins of samples from Iceland&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_Iceland_global.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_IcelandUS.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;SARS-CoV-2 is remarkably mixed geographically -- genomes connect outbreaks in different places&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://doi.org/10.1056/NEJMoa2006100&gt;Gudbjartsson et al&lt;/a&gt;,
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Current take-home from SARS-CoV-2 genomes&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 90%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 was disseminated widely before travel restrictions
      &lt;br&gt;&amp;rarr; Border closures had little effect (maybe if earlier)&lt;/li&gt;
    &lt;li&gt;The virus typically spread locally before it was noticed
      &lt;br&gt;(while testing focussed on people with travel history to hotspots)&lt;/li&gt;
    &lt;li&gt;Temporal resolution by mutation is about 4 weeks
      &lt;br&gt;&amp;rarr; too low to resolve direct transmissions or directionality
      &lt;br&gt;&amp;rarr; sufficient to connect outbreaks and identify clusters&lt;/li&gt;
    &lt;li&gt;Currently no solid evidence for mutations with functional significance
      &lt;br&gt;see &lt;a href=https://observablehq.com/@spond/natural-selection-analysis-of-sars-cov-2-covid-19&gt;Sergei Pond's analysis of signals of positive selection &lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2 style="color:#CC3333;"&gt;Fighting misinformation&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conspiracy theories and sensationalist research&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h3&gt;WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;COVID-19 has been with us for much longer&lt;/i&gt;
    &lt;br&gt; &lt;b&gt;Genetic diversity suggests recent emergence, respiratory samples from last year are PCR negative&lt;/b&gt; &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Origin are snakes (snake-flu)&lt;/i&gt;
    &lt;br&gt;&lt;b&gt;&lt;a href=http://virological.org/t/ncov-2019-codon-usage-and-reservoir-not-snakes-v2/339&gt;
        debunked by Kristian Andersen&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Recombinant with HIV&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;&lt;a href=https://twitter.com/trvrb/status/1223666856923291648&gt;debunked by Trevor Bedford&lt;/a&gt;&lt;/b&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
  &lt;p&gt;
  &lt;h3&gt;LIKELY WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;Prevalence is high, the mortality is low&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;False positive rates are not accounted for correctly, unrepresentative study populations&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are more severe than others&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are adapted to different parts of the world&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;many more....&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Colorful trees are easily misinterpreted...&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_europeExItaly_clade.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_exposure_history.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Low genetic diversity combined with very biased sampling &amp;rarr; no directionality can be inferred&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal variation in infectivity&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
 &lt;h4&gt;Original title mid February...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v1"&gt;&lt;img src="/talk_images/seasonality_v1.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
 &lt;h4&gt;Published two weeks later...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v2"&gt;&lt;img src="/talk_images/seasonality_v2.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of enteroviruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Pons-Salort_seasonal_EVs.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://science.sciencemag.org/content/361/6404/800"&gt;Pons-Salort et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential seasonal drivers&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:20%; width: 80%; text-align:left"&gt;
  &lt;ul&gt;
    &lt;li&gt;humidity (e.g. dry air increases time before droplets fall down)&lt;/li&gt;
    &lt;li&gt;temperature&lt;/li&gt;
    &lt;li&gt;UV light&lt;/li&gt;
    &lt;li&gt;behavior (e.g. time spent indoors, ventilation, heating)&lt;/li&gt;
  &lt;/ul&gt;&lt;br&gt;
    &lt;span&gt;Exact nature of forcing not relevant for this talk...&lt;/span&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SIR model with seasonal forcing&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_model.svg" width=1500px class="plain"&gt;
  $$\beta(t) = \beta_0\left(1+\epsilon\cos(2\pi (t-\theta))\right)$$
  &lt;br&gt;
  &lt;span&gt; People import new infections at rate $\nu$&lt;/span&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Strong seasonality can be generated through strong forcing or resonance &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_Seasonality_forcing.png" width=1500px class="plain"&gt;
    &lt;h4&gt;Yellow: good fit -- Blue: poor fit&lt;/h4&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;h4&gt;Counter-factual scenario without strong social distancing!&lt;/h4&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_scenario.png" width=800px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_peaks.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaborations since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft, and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
  &lt;h4&gt;People at the frontlines: health care staff and everybody else who keeps things going...&lt;/h4&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Potential impact of seasonal forcing on a SARS-CoV-2 pandemic</title><link href="/202005_HIV_Dyn.html" rel="alternate"></link><published>2020-05-11T00:00:00+02:00</published><updated>2020-05-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-05-11:/202005_HIV_Dyn.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
 &lt;h4&gt;Original title mid February...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v1"&gt;&lt;img src="/talk_images/seasonality_v1.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
 &lt;h4&gt;Published two weeks later...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v2"&gt;&lt;img src="/talk_images/seasonality_v2.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of enteroviruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Pons-Salort_seasonal_EVs.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://science.sciencemag.org/content/361/6404/800"&gt;Pons-Salort et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential seasonal drivers&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:20%; width: 80%; text-align:left"&gt;
  &lt;ul&gt;
    &lt;li&gt;humidity (e.g. dry air increases time before droplets fall down)&lt;/li&gt;
    &lt;li&gt;temperature&lt;/li&gt;
    &lt;li&gt;UV light&lt;/li&gt;
    &lt;li&gt;behavior (e.g. time spent indoors, ventilation, heating …&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
 &lt;h4&gt;Original title mid February...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v1"&gt;&lt;img src="/talk_images/seasonality_v1.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
 &lt;h4&gt;Published two weeks later...&lt;/h4&gt;
 &lt;a href="https://www.medrxiv.org/content/10.1101/2020.02.13.20022806v2"&gt;&lt;img src="/talk_images/seasonality_v2.png" width="1300px"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal incidence of enteroviruses&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Pons-Salort_seasonal_EVs.png" width="1400px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://science.sciencemag.org/content/361/6404/800"&gt;Pons-Salort et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential seasonal drivers&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:20%; width: 80%; text-align:left"&gt;
  &lt;ul&gt;
    &lt;li&gt;humidity (e.g. dry air increases time before droplets fall down)&lt;/li&gt;
    &lt;li&gt;temperature&lt;/li&gt;
    &lt;li&gt;UV light&lt;/li&gt;
    &lt;li&gt;behavior (e.g. time spent indoors, ventilation, heating)&lt;/li&gt;
  &lt;/ul&gt;&lt;br&gt;
    &lt;span&gt;Exact nature of forcing not relevant for this talk...&lt;/span&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009 pandemic influenza -- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/Swineflu_uk_hpa_model.svg.png" width="900px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=8526003"&gt;By Dave Farrance - wikipedia&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;1918 influenza --- UK&lt;/h3&gt;
&lt;div style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img class="plain" src="/talk_images/1918_spanish_flu_waves.gif" width="1300px"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291398/"&gt;Taubenberger et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human corona viruses have pronounced seasonal prevalence (Sweden) &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_fig1.png" width=1500px&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SIR model with seasonal forcing&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_model.svg" width=1500px class="plain"&gt;
  $$\beta(t) = \beta_0\left(1+\epsilon\cos(2\pi (t-\theta))\right)$$
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Strong seasonality can be generated through strong forcing or resonance &lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_Seasonality_forcing.png" width=1500px class="plain"&gt;
    &lt;h4&gt;Yellow: good fit -- Blue: poor fit&lt;/h4&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://smw.ch/article/doi/smw.2020.20224"&gt;Neher et al&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;h4&gt;Counter-factual scenario without strong social distancing!&lt;/h4&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_scenario.png" width=800px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Seasonal forcing and the SARS-CoV-2 pandemic&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_peaks.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Potential transition to an endemic seasonal virus&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%"&gt;
  &lt;img src="/talk_images/Neher_CoV_seasonality_endemic.png" width=900px class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Valentin Druelle&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Sampling bias and incorrect rooting make phylogenetic network tracing of SARS-COV-2 infections unreliable</title><link href="/mavian_sampling_2020.html" rel="alternate"></link><published>2020-05-06T00:00:00+02:00</published><updated>2020-05-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-05-06:/mavian_sampling_2020.html</id><summary type="html">&lt;p&gt;There is obvious interest in gaining insights into the epidemiology and evolution of the virus that has recently emerged in humans as the cause of the coronavirus disease 2019 (COVID-19) pandemic. The recent paper by Forster et al. (1) analyzed 160 severe acute respiratory syndrome coronavirus (SARS-CoV-2) full genomes available …&lt;/p&gt;</summary><content type="html">&lt;p&gt;There is obvious interest in gaining insights into the epidemiology and evolution of the virus that has recently emerged in humans as the cause of the coronavirus disease 2019 (COVID-19) pandemic. The recent paper by Forster et al. (1) analyzed 160 severe acute respiratory syndrome coronavirus (SARS-CoV-2) full genomes available (https://www.gisaid.org/) in early March 2020. The central claim is the identification of three main SARS-CoV-2 types, named A, B, and C, circulating in different proportions among Europeans and Americans (types A and C) and East Asians (type B). According to a median-joining network analysis, variant A is proposed to be the ancestral type because it links to the sequence of a coronavirus from bats, used as an outgroup to trace the ancestral origin of the human strains. The authors further suggest that the “ancestral Wuhan B-type virus is immunologically or environmentally adapted to a large section of the East Asian population, and may need to mutate to overcome resistance outside...&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking SARS-CoV-2 using real-time phylogenetics with Nextstrain</title><link href="/202004_TAGC.html" rel="alternate"></link><published>2020-04-23T00:00:00+02:00</published><updated>2020-04-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-04-23:/202004_TAGC.html</id><summary type="html">&lt;section&gt;
&lt;h3&gt;I won't talk specifically about work by myself or by my group&lt;/h3&gt;
&lt;h4 style="color:#777;"&gt;Instead:&lt;/h4&gt;
&lt;h3&gt;Overview of a collective effort from the Nextstrain perspective&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by …&lt;/h4&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h3&gt;I won't talk specifically about work by myself or by my group&lt;/h3&gt;
&lt;h4 style="color:#777;"&gt;Instead:&lt;/h4&gt;
&lt;h3&gt;Overview of a collective effort from the Nextstrain perspective&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaboration since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:10%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists from all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
  &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
  &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/BCoV_blab.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/beta-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
  &lt;img src="/talk_images/SARS_like_CoV.png" height=800px&gt;
  &lt;span class="ref"&gt;&lt;a href="https://nextstrain.org/groups/blab/sars-like-cov"&gt;by Trevor Bedford&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;SARS-CoV-2 and its relatives&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 is in the same family as SARS-CoV-1, MERS and two seasonal coronavirus&lt;/li&gt;
    &lt;li&gt;The latter cause mild disease, the former severe&lt;/li&gt;
    &lt;li&gt;SARS-CoV-2 spreads more easily than SARS-CoV-1 or MERS&lt;/li&gt;
    &lt;li&gt;Relatives are found in many different animals&lt;/li&gt;
    &lt;li&gt;Closest known relative is a virus isolated from bats &lt;br&gt; (RaTG13, approx 96% identical)&lt;/li&gt;
    &lt;li&gt;Coronavirus recombine: trees need to be interpreted with caution&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread of SARS-CoV-2 in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The SARS-CoV-2 genome&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_diversity.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:50%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;29k linear (+)ssRNA genome -- one of largest RNA virus genomes&lt;/li&gt;
    &lt;li&gt;the first 2/3 code for the replication machinery&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on Jan 26&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-01-26_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Early genomes differed by only a few mutations, suggesting very recent emergence&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov/2020-01-26&gt;nextstrain.org/ncov/2020-01-26&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Early lessons from SARS-CoV-2 genomes (mid Jan)&lt;/h3&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
  &lt;ul&gt;
    &lt;li&gt;The outbreak originated from one source 
    &lt;br&gt; &amp;rarr; not repeated zoonoses from a diverse reservoir.&lt;/li&gt;
    &lt;li&gt;The common ancestor of all samples was Nov - early Dec 2019.&lt;/li&gt;
    &lt;li&gt;Family clusters showed up as identical genomes (expected)&lt;/li&gt;
    &lt;li&gt;A second clade emerged that will continue to spread&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/2020-04_nCoV_Sequences_Hadfield.png" width=1500px&gt;
&lt;h5&gt;&amp;rarr; the closest to "real-time" we have experienced so far...&lt;/h5&gt;
  &lt;span class="ref"&gt;Figure by James Hadfield&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Available data on April 22&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_divergence.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_time.png" width=100%&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Subset of available data on April 22&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_clock.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_hCoV_tripleMutation.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;About two mutations per month, but mutations are often clustered and overdispersed&lt;/h5&gt;
&lt;/div&gt;
 &lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracing the origins of samples from Iceland&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_Iceland_global.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-04-22_IcelandUS.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;SARS-CoV-2 is remarkably mixed geographically -- genomes connect outbreaks in different places&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;
&lt;a href=https://doi.org/10.1056/NEJMoa2006100&gt;Gudbjartsson et al&lt;/a&gt;,
&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Current take-home from SARS-CoV-2 genomes&lt;/h3&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 90%"&gt;
  &lt;ul&gt;
    &lt;li&gt;SARS-CoV-2 was disseminated widely before travel restrictions
      &lt;br&gt;&amp;rarr; Border closures had little effect&lt;/li&gt;
    &lt;li&gt;The virus typically spread locally before it was noticed 
      &lt;br&gt;(while testing focussed on people with travel history to hotspots)&lt;/li&gt;
    &lt;li&gt;Temporal resolution by mutation is about 4 weeks
      &lt;br&gt;&amp;rarr; too low to resolve direct transmissions or directionality
      &lt;br&gt;&amp;rarr; sufficient to connect outbreaks and identify clusters&lt;/li&gt;
    &lt;li&gt;Currently no solid evidence for mutations with functional significance
      &lt;br&gt;see &lt;a href=https://observablehq.com/@spond/natural-selection-analysis-of-sars-cov-2-covid-19&gt;Sergei Pond's analysis of signals of positive selection &lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2 style="color:#CC3333;"&gt;Fighting misinformation&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Conspiracy theories and sensationalist research&lt;/h3&gt;
&lt;div  style="position: absolute;top:16%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h3&gt;WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;COVID-19 has been with us for much longer&lt;/i&gt;
    &lt;br&gt; &lt;b&gt;Genetic diversity suggests recent emergence, respiratory samples from last year are PCR negative&lt;/b&gt; &lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Origin are snakes (snake-flu)&lt;/i&gt;
    &lt;br&gt;&lt;b&gt;&lt;a href=http://virological.org/t/ncov-2019-codon-usage-and-reservoir-not-snakes-v2/339&gt;
        debunked by Kristian Andersen&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Recombinant with HIV&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;&lt;a href=https://twitter.com/trvrb/status/1223666856923291648&gt;debunked by Trevor Bedford&lt;/a&gt;&lt;/b&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
  &lt;p&gt;
  &lt;h3&gt;LIKELY WRONG:&lt;/h3&gt;
  &lt;font size=5&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;i&gt;Prevalence is high, the mortality is low&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;False positive rates are not accounted for correctly, unrepresentative study populations&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are more severe than others&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;Some strains are adapted to different parts of the world&lt;/i&gt;
        &lt;br&gt;&lt;b&gt;confounders not accounted for&lt;/b&gt;&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;many more....&lt;/i&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Colorful trees are easily misinterpreted...&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_europeExItaly_clade.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:52%; width: 48%"&gt;
  &lt;img src="/talk_images/2020-03-20_exposure_history.png" width=100%&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;bottom:10%; left:5%; width: 90%"&gt;
  &lt;h5&gt;Low genetic diversity combined with very biased sampling &amp;rarr; no directionality can be inferred&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href=https://nextstrain.org/ncov&gt;nextstrain.org/ncov&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;&lt;a href=https://nextstrain.org/narratives/ncov/sit-rep/2020-04-17&gt;Nextstrain situation reports&lt;/a&gt;&lt;/h2&gt;
&lt;h3&gt;Sidney Bell, Cassia Wagner, Emma Hodcroft, James Hadfield, Nicola Müller and others&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:10%; width: 80%; text-align:left"&gt;
  &lt;h4&gt;Trevor Bedford and his lab -- terrific collaborations since 2014&lt;/h4&gt;
  &lt;img src="/talk_images/nextstrain_people.png" width="1300px"&gt;
  &lt;h4&gt;James Hadfield, Emma Hodcroft, and Tom Sibley have led the recent development &lt;/h4&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:10%; width: 80%; text-align:left" class="fragment"&gt;
  &lt;h4&gt;People at the frontlines: health care staff and everybody else who keeps things going...&lt;/h4&gt;
  &lt;h4&gt;Data we analyze are contributed by scientists all over the world&lt;/h4&gt;
  &lt;h4&gt;Data are shared and curated by GISAID&lt;h4&gt;
  &lt;img src="/talk_images/GISAID_logo.png" class="plain" width="200px"&gt;
&lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and population genetics</title><link href="/202004_computational_biology.html" rel="alternate"></link><published>2020-04-23T00:00:00+02:00</published><updated>2020-04-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-04-23:/202004_computational_biology.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_time_scaled.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_divergence.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_clock.png" width=100%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Tree building optimization with temporal constraints&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Time stamps single out a root&lt;/li&gt;
            &lt;li&gt;Root can be found by optimizing root-to-tip regression&lt;/li&gt;
            &lt;li&gt;BEAST: Markov-Chain Monte Carlo tree sampler&lt;/li&gt;
            &lt;li&gt;If topology is correct, temporal constraints can be accounted for in linear time&lt;/li&gt;
            &lt;li&gt;Multiple tools: treedate, LSD, treetime&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/wrong_root.png" width=50%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/correct_root.png" width=50%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1"  style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:20%; width:60%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Calibration points can be longitudinal samples, ancient DNA or fossils&lt;/li&gt;
            &lt;li&gt;Rates can vary between proteins and organisms from 0.01/year to $&lt;10^{-8}$/y &lt;/li&gt;
            &lt;li&gt;Some site change often, some rarely &amp;rarr; saturation&lt;/li&gt;
            &lt;li&gt;The apparent rate changes over time&lt;/li&gt;
            &lt;li&gt;Divergence times are often under estimated. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h2&gt;&lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;/h2&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="202004_TAGC.html"&gt;SARS-CoV-2 talk&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="teaching_notes/202004_compbio_exercise.pdf"&gt;Exercise sheet&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Tracking SARS-Cov-2 using viral genomes and projecting its spread</title><link href="/202003_HKKB.html" rel="alternate"></link><published>2020-04-01T00:00:00+02:00</published><updated>2020-04-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-04-01:/202003_HKKB.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;We have 2500 full genomes now&lt;/li&gt;
        &lt;li&gt;Provides structure to the outbreak &amp;rarr; resolves transmission chains and clusters&lt;/li&gt;
        &lt;li&gt;About one change every 2 weeks &amp;rarr; limit to resolution&lt;/li&gt;
        &lt;li&gt;heavily affected by sampling and sequencing efforts&lt;/li&gt;
        &lt;li&gt;This isn't big data: nothing is iid&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://neherlab.org/covid19/"&gt;Predictions and scenarios&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Substantial uncertainties …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;We have 2500 full genomes now&lt;/li&gt;
        &lt;li&gt;Provides structure to the outbreak &amp;rarr; resolves transmission chains and clusters&lt;/li&gt;
        &lt;li&gt;About one change every 2 weeks &amp;rarr; limit to resolution&lt;/li&gt;
        &lt;li&gt;heavily affected by sampling and sequencing efforts&lt;/li&gt;
        &lt;li&gt;This isn't big data: nothing is iid&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://neherlab.org/covid19/"&gt;Predictions and scenarios&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Substantial uncertainties in parameters&lt;/li&gt;
        &lt;li&gt;Uncertainties in how well interventions work, continuously changing policies and behavior&lt;/li&gt;
        &lt;li&gt;heterogeneity will become important as soon as you reach local saturation&lt;/li&gt;
        &lt;li&gt;transport and contact networks could be used to inform all of this.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;</content><category term="talk_tmp"></category></entry><entry><title>Tracking SARS-Cov-2 using viral genomes and projecting its spread</title><link href="/202004_Ellis.html" rel="alternate"></link><published>2020-04-01T00:00:00+02:00</published><updated>2020-04-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-04-01:/202004_Ellis.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;We have 2500 full genomes now&lt;/li&gt;
        &lt;li&gt;Provides structure to the outbreak &amp;rarr; resolves transmission chains and clusters&lt;/li&gt;
        &lt;li&gt;About one change every 2 weeks &amp;rarr; limit to resolution&lt;/li&gt;
        &lt;li&gt;heavily affected by sampling and sequencing efforts&lt;/li&gt;
        &lt;li&gt;This isn't big data: nothing is iid&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://neherlab.org/covid19/"&gt;Predictions and scenarios&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Substantial uncertainties …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://nextstrain.org/ncov"&gt;Tracking diversity and spread in nextstrain&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;We have 2500 full genomes now&lt;/li&gt;
        &lt;li&gt;Provides structure to the outbreak &amp;rarr; resolves transmission chains and clusters&lt;/li&gt;
        &lt;li&gt;About one change every 2 weeks &amp;rarr; limit to resolution&lt;/li&gt;
        &lt;li&gt;heavily affected by sampling and sequencing efforts&lt;/li&gt;
        &lt;li&gt;This isn't big data: nothing is iid&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="https://neherlab.org/covid19/"&gt;Predictions and scenarios&lt;/a&gt;&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Substantial uncertainties in parameters&lt;/li&gt;
        &lt;li&gt;Uncertainties in how well interventions work, continuously changing policies and behavior&lt;/li&gt;
        &lt;li&gt;heterogeneity will become important as soon as you reach local saturation&lt;/li&gt;
        &lt;li&gt;transport and contact networks could be used to inform all of this.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;</content><category term="talk_tmp"></category></entry><entry><title>Coast-to-Coast Spread of SARS-CoV-2 during the Early Epidemic in the United States</title><link href="/fauver_coast--coast_2020.html" rel="alternate"></link><published>2020-03-26T00:00:00+01:00</published><updated>2020-03-26T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-03-26:/fauver_coast--coast_2020.html</id><summary type="html">&lt;p&gt;The novel coronavirus SARS-CoV-2 was first detected in the Pacific Northwest region of the United States in January 2020, with subsequent COVID-19 outbreaks detected in all 50 states by early March. To uncover the sources of SARS-CoV-2 introductions and patterns of spread within the United States, we sequenced nine viral …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The novel coronavirus SARS-CoV-2 was first detected in the Pacific Northwest region of the United States in January 2020, with subsequent COVID-19 outbreaks detected in all 50 states by early March. To uncover the sources of SARS-CoV-2 introductions and patterns of spread within the United States, we sequenced nine viral genomes from early reported COVID-19 patients in Connecticut. Our phylogenetic analysis places the majority of these genomes with viruses sequenced from Washington state. By coupling our genomic data with domestic and international travel patterns, we show that early SARS-CoV-2 transmission in Connecticut was likely driven by domestic introductions. Moreover, the risk of domestic importation to Connecticut exceeded that of international importation by mid-March regardless of our estimated effects of federal travel restrictions. This study provides evidence of widespread sustained transmission of SARS-CoV-2 within the United States and highlights the critical need for local surveillance.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>COVID-19 epidemic in Switzerland: on the importance of testing, contact tracing and isolation</title><link href="/salathe_covid-19_2020.html" rel="alternate"></link><published>2020-03-19T00:00:00+01:00</published><updated>2020-03-19T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-03-19:/salathe_covid-19_2020.html</id><content type="html">&lt;p&gt;A liberal approach to testing for SARS-CoV-2 in Switzerland is needed as part of the package of control measures.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Ivan Aksamentov</title><link href="/ivan-aksamentov.html" rel="alternate"></link><published>2020-03-01T00:00:00+01:00</published><updated>2020-03-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-03-01:/ivan-aksamentov.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Valentin Druelle</title><link href="/valentin-druelle.html" rel="alternate"></link><published>2020-03-01T00:00:00+01:00</published><updated>2020-03-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-03-01:/valentin-druelle.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Potential impact of seasonal forcing on a SARS-CoV-2 pandemic</title><link href="/neher_potential_2020.html" rel="alternate"></link><published>2020-02-15T00:00:00+01:00</published><updated>2020-02-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-02-15:/neher_potential_2020.html</id><summary type="html">&lt;p&gt;The authors explore how seasonal variation in transmissibility could modulate a SARS-CoV-2 pandemic. The likely aggregated effect of seasonal variation, infection control measures, and transmission rate variation is a prolonged pandemic wave with lower prevalence at any given time, thereby providing a window of opportunity for better preparation of health …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The authors explore how seasonal variation in transmissibility could modulate a SARS-CoV-2 pandemic. The likely aggregated effect of seasonal variation, infection control measures, and transmission rate variation is a prolonged pandemic wave with lower prevalence at any given time, thereby providing a window of opportunity for better preparation of health care systems.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>2019-novel Coronavirus (2019-nCoV): estimating the case fatality rate – a word of caution</title><link href="/battegay_2019-novel_2020.html" rel="alternate"></link><published>2020-02-12T00:00:00+01:00</published><updated>2020-02-12T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-02-12:/battegay_2019-novel_2020.html</id><content type="html">&lt;p&gt;It is tempting to estimate the case fatality rate by dividing the number of known deaths by the number of confirmed cases. The resulting number, however, does not represent the true case fatality rate and might be off by orders of magnitude.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Outbreak of Novel Coronavirus in WuhanBackground, Spread, and Modellingdate: 2020-01-30</title><link href="/202001_nCov_en.html" rel="alternate"></link><published>2020-01-31T00:00:00+01:00</published><updated>2020-01-31T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-01-31:/202001_nCov_en.html</id><summary type="html">&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The first 41 cases from Wuhan (only hospitalized cases)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_infection_en.png" class="plain" width="1500px"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;Long incubation period makes prediction difficult.&lt;/li&gt;
        &lt;li&gt;How many cases show any symptoms at all is uncertain …&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_1_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_2_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_3_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_4_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_5_en.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;The first 41 cases from Wuhan (only hospitalized cases)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_infection_en.png" class="plain" width="1500px"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;Long incubation period makes prediction difficult.&lt;/li&gt;
        &lt;li&gt;How many cases show any symptoms at all is uncertain.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext"&gt;Chaolin Huang et al, Lancet, 2020&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Transmission&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_transmission_en.png" class="plain" width="1500px"&gt;
    &lt;font size=6&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;The viruses is transmitted primarily by droplet infection.&lt;/li&gt;
        &lt;li&gt;Whether someone is contagious before symptoms appear is unclear.&lt;/li&gt;
        &lt;li&gt;Whether asymptomatic people can transmit is also unknown.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;h3&gt;Die Ausbreitung des Virus zu Beginn des Ausbruchs&lt;/h3&gt;
    &lt;img src="/talk_images/2020-01_nCov_earlyCaseCount_EuroSurv.gif" width="1400px"&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Transmission chains and unobserved cases&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div   style="position: absolute;top:-5%; left:-3%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;How fast does the virus spread?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:20%; left:5%; width: 40%"&gt;
    &lt;img src="talk_images/2020-01_nCov_casecounts_wikipedia.png" width="90%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:25%; left:45%; width: 55%" class="fragment"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Since the virus was identified, more and more tests are being done. &lt;/li&gt;
        &lt;li&gt;The dynamics of the case numbers are therefore hard to interpret.&lt;/li&gt;
        &lt;li&gt;How can we estimate dispersion more accurately?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/2019%E2%80%9320_Wuhan_coronavirus_outbreak"&gt;wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Drängende Fragen&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style="position: absolute;top:20%; left:20%; width: 60%"&gt;
    &lt;li&gt;Welcher Bruchteil der Fälle ist bekannt?&lt;/li&gt;
    &lt;li&gt;Wie oft ist eine Infektion mild/ernst/kritisch/tödlich?&lt;/li&gt;
    &lt;li&gt;Wie schnell breitet sich das Virus aus?&lt;/li&gt;
    &lt;li&gt;Welche Massnahmen dämmen das Virus ein?&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;How do we estimate the total number of infections?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:6%; width: 50%"&gt;
    &lt;img src="talk_images/2020-01_nCov_traffic_mobs-lab.png" width="100%" class="plain"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Outside China, cases are easier to find&lt;/li&gt;
        &lt;li&gt;Infected person leaves China within a week: 1/1000 &lt;br&gt;
            100 Exports &amp;rarr; 10,0000 cases&lt;/li&gt;
        &lt;li&gt;Many cases are mild, the cases in Bavaria are also mild&lt;/li&gt;
        &lt;li&gt;Rough estimation -- but plausible&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:60%; width: 40%" class="fragment"&gt;
    &lt;img src="talk_images/2020-01_nCov_mobs_importrisk.png" class="plain"&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://www.mobs-lab.org/2019ncov.html"&gt;MOBS-lab, Northeastern University&lt;/a&gt;,
&lt;a href="https://www.imperial.ac.uk/mrc-global-infectious-disease-analysis/news--wuhan-coronavirus/"&gt;Imperical College London&lt;/a&gt;, and
&lt;a href="http://rocs.hu-berlin.de/corona/"&gt;ROCS lab am RKI&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_1_en.png" width="1500px" class="plain"&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_2_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_3_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_4_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_5_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_6_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_projection_en.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Model parameters: Start time, doubling time $t_2$. $R_0$ is the average number of subsequent cases&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_projection_log_en.png" width="1500px"  class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;What are we dealing with here?&lt;br&gt; What can science contribute?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 40%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:5%; width: 45%"&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Coronavirus: Diverse family of viruses&lt;/li&gt;
        &lt;li&gt;Some variants lead to slight colds&lt;/li&gt;
        &lt;li&gt;Others cause serious diseases (SARS, MERS)&lt;/li&gt;
        &lt;li&gt;Many varieties circulate in bats.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:5%; width: 55%" class="fragment"&gt;
    &lt;img src="/talk_images/betacoronaviruses_de.png" width=100% class="plain"&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus genomes are constantly changing&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:10%; width:90%; text-align: left"&gt;
&lt;font font-family="Andale Mono" size=7&gt;
Virus 1&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
Virus 2&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
Virus 3&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;/font&gt;
&lt;h4&gt;All viruses mutate -- most mutations do not change the properties of the viruses!&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Mutations in the genome sequences document the spread&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
&lt;h5&gt;About 1-3 mutations per month&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Illustration by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h1&gt;&lt;a href="https://nextstrain.org/ncov"&gt;nextstrain.org&lt;/a&gt;&lt;/h1&gt;
    &lt;h3&gt;Joint project with the laboratory of Trevor Bedford (Seattle)&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;a href="https://nextstrain.org/ncov"&gt;&lt;img src="talk_images/2020-01-29_nextstrain_screenshot.png"&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Epidemiological Key Points&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
&lt;font size=6&gt;
    &lt;ul&gt;
&lt;li&gt;    &lt;h3&gt;Start of the outbreak: early December&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3&gt;Growth rate: $R_0 = 2-3$ (Each infection leads to 2-3 subsequent infections)&lt;br&gt;
            &amp;rarr; Containment possible if 50-70% of all cases and contacts are quickly isolated.
            &lt;/h3&gt;
            &lt;br&gt;
            &lt;img src="/talk_images/2020-01_nCov_transmission_de.png" class="plain" width="900px"&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;h3&gt;Extrapolation very difficult at the moment!
        &amp;rarr; Comparison with historical outbreaks
        &lt;/h3&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009-2010 -- Swine Flu (A/H1N1pdm)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 15%"&gt;
    &lt;img src="/talk_images/640px-H1N1_navbox.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 65%"&gt;
&lt;img src="talk_images/Influenza-2009-cases-logarithmic.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:42%; left:70%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Originated in Mexico in 2009&lt;/li&gt;
        &lt;li&gt;Approximately 10% of the world population infected&lt;/li&gt;
        &lt;li&gt;Mortality under 0.03%&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
    &lt;h3&gt;Rapid spread -- fortunately few severe cases!&lt;/h3&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Influenza-2009-cases-logarithmic.png"&gt;wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2003 -- SARS (Severe acute respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/SARS_worldwide_cases.jpg" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:45%; left:60%; width: 40%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;November 2002 - July 2003: &lt;br&gt;about 8000 confirmed cases, 774 deaths&lt;/li&gt;
        &lt;li&gt;Related virus, probably originated in bats as well&lt;/li&gt;
        &lt;li&gt;Epicenter in south China. Significant case numbers in Hong Kong, Taiwan, Singapore, Canada&lt;/li&gt;
        &lt;li&gt;Mortality higher than nCov-2019&lt;/li&gt;
        &lt;li&gt;Successful containment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2013-2016 -- Ebola&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/ebola_virus_EM.jpg" width=100% class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/Ebola_cases.gif" class="plain" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:60%; width: 40%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Dezember 2013 - 2016: &lt;br&gt;ca 30000 bestätigte Fälle, 12000 Tote&lt;/li&gt;
        &lt;li&gt;Epicenter in West Afrika. Nur vereinzelte Exporte&lt;/li&gt;
        &lt;li&gt;Mortalität bei ca 40%&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;
&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;Graph from wikipedia by Chris55&lt;/a&gt;
&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2012-2016 -- MERS (Middle Eastern respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/mers_case_numbers.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:62%; left:10%; width: 90%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;2012 - 2016: 2253 bestätigte Fälle, 840 Tote&lt;/li&gt;
        &lt;li&gt;Auch ein Coronavirus -- Wirt sind Kamele&lt;/li&gt;
        &lt;li&gt;Keine robuste Mensch-zu-Mensch Übertragung&lt;/li&gt;
        &lt;li&gt;Epicenter in Saudi-Arabien. Ausserhalb des Mittleren Osten nur ein Ausbruch in Korea&lt;/li&gt;
        &lt;li&gt;Mortalität viel höher als bei nCov-2019&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2012-2016 -- MERS (Middle Eastern respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:20%; width: 55%"&gt;
&lt;img src="talk_images/Dudas_MERS_camel_human.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://elifesciences.org/articles/31257"&gt;Dudas et al, eLife&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
        &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;img src="talk_images/R0_vs_preSymptom_en.png" class="plain" width="1300px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Summary&lt;/h3&gt;
    &lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
        &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:20%; left:10%; width: 90%;"&gt;
    &lt;ul&gt;
        &lt;li&gt;In China, the virus has been spreading unchecked so far.&lt;/li&gt;
        &lt;li&gt;Origin multiplied end of November/beginning of December.&lt;/li&gt;
        &lt;li&gt;Extrapolation of cases abroad indicates a total of 100,000 cases.&lt;/li&gt;
        &lt;li&gt;Probably a large percentage of cases are mild.&lt;/li&gt;
        &lt;li&gt;Imported cases can currently be well isolated and monitored.&lt;/li&gt;
        &lt;li&gt;Containment would be more difficult if asymptomatic transmission is possible.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:40%; text-align: left;"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul&gt;
    &lt;li&gt;Medical staff, scientists, health authorities, and all others who care for the sick.&lt;/li&gt;
    &lt;li&gt;WHO, GISAID, and other organizations for coordinations and data exchange. &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach_en"></category></entry><entry><title>Ausbruch eines neuartigem Coronavirus in WuhanHintergründe, Ausbreitung, und ModelierungStand: 2020-01-30</title><link href="/202001_nCov.html" rel="alternate"></link><published>2020-01-30T00:00:00+01:00</published><updated>2020-01-30T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-01-30:/202001_nCov.html</id><summary type="html">&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_1_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_2_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_3_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_4_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_5_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Die ersten 41 Fälle aus Wuhan (nur hospalisierte Fälle)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_infection_de.png" class="plain" width="1500px"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;Lange Inkubationszeit erschwert Vorhersagen.&lt;/li&gt;
        &lt;li&gt;Wie viele Fälle überhaupt Symptome zeigen ist ungewiss.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext"&gt;Chaolin Huang et al …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_1_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_2_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_3_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_4_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="/talk_images/2020-01_nCov_timeline_5_de.png" class="plain" width="1300px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://virologydownunder.com/"&gt;Data summarized by Ian MacKay&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Die ersten 41 Fälle aus Wuhan (nur hospalisierte Fälle)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:30%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_infection_de.png" class="plain" width="1500px"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;Lange Inkubationszeit erschwert Vorhersagen.&lt;/li&gt;
        &lt;li&gt;Wie viele Fälle überhaupt Symptome zeigen ist ungewiss.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext"&gt;Chaolin Huang et al, Lancet, 2020&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Übertragung&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:20%; left:10%; width: 80%"&gt;
    &lt;img src="/talk_images/2020-01_nCov_transmission_de.png" class="plain" width="1500px"&gt;
    &lt;font size=6&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;Das Virus überträgt sich in erster Linie durch Tröpfcheninfektion.&lt;/li&gt;
        &lt;li&gt;Ob jemand ansteckend ist bevor Symptome auftauchen ist unklar.&lt;/li&gt;
        &lt;li&gt;Ob Personen ohne Symptome übertragen ist auch ungewiss.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;h3&gt;Die Ausbreitung des Virus zu Beginn des Ausbruchs&lt;/h3&gt;
    &lt;img src="/talk_images/2020-01_nCov_earlyCaseCount_EuroSurv.gif" width="1400px"&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Transmissionsketten und unbeobachtete Fälle&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div   style="position: absolute;top:-5%; left:-3%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Wie schnell breitet sich das Virus aus?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:20%; left:5%; width: 40%"&gt;
    &lt;img src="talk_images/2020-01_nCov_casecounts_wikipedia.png" width="90%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:25%; left:45%; width: 55%" class="fragment"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Seit das Virus bekannt ist, wird immer mehr getestet. &lt;/li&gt;
        &lt;li&gt;Fallzahl-Dynamik ist daher schwer zu interpretieren.&lt;/li&gt;
        &lt;li&gt;Wie können wir Ausbreitung genauer abschätzen?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/2019%E2%80%9320_Wuhan_coronavirus_outbreak"&gt;wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Drängende Fragen&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style="position: absolute;top:20%; left:20%; width: 60%"&gt;
    &lt;li&gt;Welcher Bruchteil der Fälle ist bekannt?&lt;/li&gt;
    &lt;li&gt;Wie oft ist eine Infektion mild/ernst/kritisch/tödlich?&lt;/li&gt;
    &lt;li&gt;Wie schnell breitet sich das Virus aus?&lt;/li&gt;
    &lt;li&gt;Welche Massnahmen dämmen das Virus ein?&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Wie schätzen wir die Gesamtzahl der Infektionen?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:6%; width: 50%"&gt;
    &lt;img src="talk_images/2020-01_nCov_traffic_mobs-lab.png" width="100%" class="plain"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Ausserhalb von China sind Fälle einfacher zu finden&lt;/li&gt;
        &lt;li&gt;Infizierte Person verlässt China innerhalb einer Woche: 1/1000 &lt;br&gt;
            100 Exporte &amp;rarr; 100000 Fälle&lt;/li&gt;
        &lt;li&gt;Viele Fälle mild, auch die Fälle in Bayern sind mild&lt;/li&gt;
        &lt;li&gt;Grobe Abschätzung -- aber plausibel&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:60%; width: 40%" class="fragment"&gt;
    &lt;img src="talk_images/2020-01_nCov_mobs_importrisk.png" class="plain"&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://www.mobs-lab.org/2019ncov.html"&gt;MOBS-lab, Northeastern University&lt;/a&gt;,
&lt;a href="https://www.imperial.ac.uk/mrc-global-infectious-disease-analysis/news--wuhan-coronavirus/"&gt;Imperical College London&lt;/a&gt;, and
&lt;a href="http://rocs.hu-berlin.de/corona/"&gt;ROCS lab am RKI&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section data-transition="fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_1_de.png" width="1500px" class="plain"&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_2_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_3_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_4_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_5_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_6_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_projection_de.png" width="1500px" class="plain"&gt;
    &lt;h4&gt;Modell Parameter: Startzeitpunkt, Verdopplungszeit $t_2$. $R_0$ is die mittlere Zahl von Folgefällen&lt;/h4&gt;
&lt;/section&gt;
&lt;section data-transition="fade-in fade-out"&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;img src="talk_images/2020-01_nCov_caseCounts_projection_log_de.png" width="1500px"  class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Womit haben wir es hier zu tun?&lt;br&gt; Was kann die Wissenschaft hier beitragen?&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 40%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:5%; width: 45%"&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Coronavirus: Diverse Familie von Viren&lt;/li&gt;
        &lt;li&gt;Manche Varianten führen zu leichten Erkältungen&lt;/li&gt;
        &lt;li&gt;Andere verursachen schwere Erkrankungen (SARS, MERS)&lt;/li&gt;
        &lt;li&gt;Viele Varianten zirkulieren in Fledermäusen.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;bottom:5%; left:5%; width: 55%" class="fragment"&gt;
    &lt;img src="/talk_images/betacoronaviruses_de.png" width=100% class="plain"&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Virus Genome verändern sich ständig&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:20%; left:10%; width:90%; text-align: left"&gt;
&lt;font font-family="Andale Mono" size=7&gt;
Virus 1&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
Virus 2&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
Virus 3&lt;br&gt;
CCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
&lt;/font&gt;
&lt;h4&gt;Alle Viren mutieren -- die meisten Mutationen ändern die Eigenschaften der Viren nicht!&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Mutationen in Genom-Sequenzen dokumentieren die Ausbreitung&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
&lt;h5&gt;Circa 1-3 Mutationen pro Monat&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;Illustration von Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h1&gt;&lt;a href="https://nextstrain.org/ncov"&gt;nextstrain.org&lt;/a&gt;&lt;/h1&gt;
    &lt;h3&gt;Gemeinsames Project mit dem Labor von Trevor Bedford (Seattle)&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;a href="https://nextstrain.org/ncov"&gt;&lt;img src="talk_images/2020-01-29_nextstrain_screenshot.png"&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Epidemiologische Eckpunkte&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
&lt;font size=6&gt;
    &lt;ul&gt;
&lt;li&gt;    &lt;h3&gt;Beginn des Ausbruchs: Anfang Dezember&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3&gt;Wachstumsrate: $R_0 = 2-3$ (Jede Infektion führt zu 2-3 Folgeinfektionen)&lt;br&gt;
            &amp;rarr; Eindämmung möglich wenn 50-70% aller Fälle und Kontakte schnell isoliert werden.
            &lt;/h3&gt;
            &lt;br&gt;
            &lt;img src="/talk_images/2020-01_nCov_transmission_de.png" class="plain" width="900px"&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;h3&gt;Extrapolation im Moment sehr schwierig!
        &amp;rarr; Vergleich mit historischen Ausbrüchen
        &lt;/h3&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2009-2010 -- Schweinegrippe (A/H1N1pdm)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 15%"&gt;
    &lt;img src="/talk_images/640px-H1N1_navbox.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 65%"&gt;
&lt;img src="talk_images/Influenza-2009-cases-logarithmic.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:42%; left:70%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Ursprung 2009 in Mexico&lt;/li&gt;
        &lt;li&gt;Insgesamt ca 10% der Weltbevölkerung infiziert&lt;/li&gt;
        &lt;li&gt;Sterblichkeit unter 0.03%&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:5%; left:10%; width: 80%"&gt;
    &lt;h3&gt;Rasante Ausbreitung -- zum Glück wenig schwere Fälle!&lt;/h3&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Influenza-2009-cases-logarithmic.png"&gt;wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2003 -- SARS (Severe acute respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/SARS_worldwide_cases.jpg" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:45%; left:60%; width: 40%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;November 2002 - July 2003: &lt;br&gt;ca 8000 bestätigte Fälle, 774 Tote&lt;/li&gt;
        &lt;li&gt;Verwandtes Virus, wahrscheinlicher Ursprung auch in Fledermäusen&lt;/li&gt;
        &lt;li&gt;Epicenter in Süd-China. Signifikante Fallzahlen in Hong Kong, Taiwan, Singapur, Kanada&lt;/li&gt;
        &lt;li&gt;Mortalität höher als bei nCov-2019&lt;/li&gt;
        &lt;li&gt;Erfolgreiche Eindämmung&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2013-2016 -- Ebola&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/ebola_virus_EM.jpg" width=100% class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/Ebola_cases.gif" class="plain" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:50%; left:60%; width: 40%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Dezember 2013 - 2016: &lt;br&gt;ca 30000 bestätigte Fälle, 12000 Tote&lt;/li&gt;
        &lt;li&gt;Epicenter in West Afrika. Nur vereinzelte Exporte&lt;/li&gt;
        &lt;li&gt;Mortalität bei ca 40%&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;
&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;Graph from wikipedia by Chris55&lt;/a&gt;
&lt;/span&gt;
&lt;/section&gt; --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2012-2016 -- MERS (Middle Eastern respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:2%; right:2%; width: 30%"&gt;
    &lt;img src="/talk_images/wikipedia_1600px-Coronaviruses_004_lores.jpg" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:15%; left:4%; width: 55%"&gt;
&lt;img src="talk_images/mers_case_numbers.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:62%; left:10%; width: 90%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;2012 - 2016: 2253 bestätigte Fälle, 840 Tote&lt;/li&gt;
        &lt;li&gt;Auch ein Coronavirus -- Wirt sind Kamele&lt;/li&gt;
        &lt;li&gt;Keine robuste Mensch-zu-Mensch Übertragung&lt;/li&gt;
        &lt;li&gt;Epicenter in Saudi-Arabien. Ausserhalb des Mittleren Osten nur ein Ausbruch in Korea&lt;/li&gt;
        &lt;li&gt;Mortalität viel höher als bei nCov-2019&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;2012-2016 -- MERS (Middle Eastern respiratory syndrome)&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;

&lt;div style="position: absolute;top:15%; left:20%; width: 55%"&gt;
&lt;img src="talk_images/Dudas_MERS_camel_human.png" class="plain" width="100%"&gt;
&lt;/div&gt;

&lt;span class="ref"&gt;&lt;a href="https://elifesciences.org/articles/31257"&gt;Dudas et al, eLife&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
        &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;img src="talk_images/R0_vs_preSymptom_de.png" class="plain" width="1300px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Zusammenfassung&lt;/h3&gt;
    &lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
        &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:20%; left:10%; width: 90%;"&gt;
    &lt;ul&gt;
        &lt;li&gt;Im China breitet sich dass Virus bislang ungebremst aus.&lt;/li&gt;
        &lt;li&gt;Ursprung vermultich Ende November/Anfang Dezember.&lt;/li&gt;
        &lt;li&gt;Extrapolation von Fällen im Ausland deuten auf insgesamt 100.000 Fälle hin.&lt;/li&gt;
        &lt;li&gt;Vermutlich ist ein grosser Teil der Fälle mild.&lt;/li&gt;
        &lt;li&gt;Importierte Fälle können zur Zeit gut isoliert und überwacht werden.&lt;/li&gt;
        &lt;li&gt;Eindämmung wäre erschwert, wenn Übertragung vor Symptomen möglich ist.&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
&lt;div style="position: absolute;top:-5%; left:-2%; width: 5%; height: 105%"&gt;
    &lt;img src="talk_images/BZ_sidebar.jpg" height="100%" class="plain"&gt;
&lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:40%; text-align: left;"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul&gt;
    &lt;li&gt;Medizinisches Personal, Wissenschaftler, Mitarbeiter von Gesundheitsbehörden, und alle anderen, die sich um die Kranken kümmern.&lt;/li&gt;
    &lt;li&gt;WHO, GISAID, und andere Organisationen für Koordination und Datenaustausch. &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Using open data to track and predict infectious disease</title><link href="/202001_digitalID.html" rel="alternate"></link><published>2020-01-21T00:00:00+01:00</published><updated>2020-01-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-01-21:/202001_digitalID.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data "owner" &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;... has been problematic in the past&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2014- H7N9 …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data "owner" &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;... has been problematic in the past&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2014- H7N9 influenza outbreak: Controversies about attribution and reuse &lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="fragment"&gt;
    &lt;h4&gt;Different disease -- different scientists and institutions.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2020-01_WuhanNews.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2020-01-20_CNN_nCov.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2020-01-21_nCov_tweet.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/Wuhan-Pneumonia-cluster_TIMELINE_ver5-2048x1504.png" class="plain" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2020-01-20_nextstrain_ncov.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Rapid identification of the virus, sequencing, and transparent sharing by Chinese scientists and authorities&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt; &gt;10 genomes shared on GISAID&lt;/li&gt;
        &lt;li&gt; all sequenced cases come from a single source&lt;/li&gt;
        &lt;li&gt; diagnostic recommendations shared through WHO &lt;/li&gt;
        &lt;li&gt; early days... things are moving fast&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Frequent mutations imply...&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak/season differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are can be inferred&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
    &lt;li&gt;age of an outbreak can be estimated&lt;/li&gt;
    &lt;li&gt;drug resistance surveillance&lt;/li&gt;
    &lt;li&gt;specific mutations might mediate antigenic mismatch&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Privacy of study participants&lt;/li&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Building Trust&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Peter Bogner coordinated Influenza data sharing&lt;/li&gt;
        &lt;li&gt;Andrew Rambaut coordinated Ebola virus data sharing&lt;/li&gt;
        &lt;li&gt;During the EBV outbreak, WHO and journals explicitly encouraged data sharing&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2020-01-20_nextstrain_ncov.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Co-circulation of multiple enterovirus D68 subclades, including a novel B3 cluster, across Europe in a season of expected low prevalence, 2019/20</title><link href="/midgley_co-circulation_2020.html" rel="alternate"></link><published>2020-01-16T00:00:00+01:00</published><updated>2020-01-16T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2020-01-16:/midgley_co-circulation_2020.html</id><summary type="html">&lt;p&gt;Enterovirus D68 (EV-D68) was detected in 93 patients from five European countries between 1 January 2019 and 15 January 2020, a season with expected low circulation. Patients were primarily children (n = 67, median age: 4 years), 59 patients required hospitalisation and five had severe neurologic manifestations. Phylogenetic analysis revealed two …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Enterovirus D68 (EV-D68) was detected in 93 patients from five European countries between 1 January 2019 and 15 January 2020, a season with expected low circulation. Patients were primarily children (n = 67, median age: 4 years), 59 patients required hospitalisation and five had severe neurologic manifestations. Phylogenetic analysis revealed two clusters in the B3 subclade and subclade A2/D. This circulation of EV-D68 associated with neurological manifestations stresses the importance of surveillance and diagnostics beyond expected peak years.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/201912_Ringvorlesung.html" rel="alternate"></link><published>2019-12-11T00:00:00+01:00</published><updated>2019-12-11T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-12-11:/201912_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Viral sequences&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
... thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_tb.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Evolution and rapid spread of a reassortant A(H3N2) virus that predominated the 2017–2018 influenza season</title><link href="/potter_evolution_2019.html" rel="alternate"></link><published>2019-12-04T00:00:00+01:00</published><updated>2019-12-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-12-04:/potter_evolution_2019.html</id><content type="html">&lt;p&gt;Abstract.  The 2017–2018 North American influenza season caused more hospitalizations and deaths than any year since the 2009 H1N1 pandemic. The majority of rec&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Scientific Software Developer/Programmer (50-100%)</title><link href="/201910_BZ_developer.html" rel="alternate"></link><published>2019-11-06T00:00:00+01:00</published><updated>2019-11-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-11-06:/201910_BZ_developer.html</id><summary type="html">&lt;p&gt;Starting immediately or as per agreement.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="https://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt; is looking for a programmer/developer.
Our group is a (co-)developer of multiple scientific software packages used to track and visualize viral and bacterial evolution including &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;, &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;Starting immediately or as per agreement.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="https://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt; is looking for a programmer/developer.
Our group is a (co-)developer of multiple scientific software packages used to track and visualize viral and bacterial evolution including &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;, &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt;, and &lt;a href="http://pangenome.ch"&gt;panX&lt;/a&gt;.
We are looking for somebody how would contribute to the development and maintenance of such tools and services that result from our research.
These tools are used by a global community of infectious disease and public health researchers.&lt;/p&gt;
&lt;h3&gt;Your position&lt;/h3&gt;
&lt;p&gt;Your core task would be to collaborate with scientists and take new ideas from a sketch to a robust application. You would be involved in a diverse set of projects including development of data visualizations, back-ends/web services, and bioinformatic analysis workflows. We expect you to creatively contribute to these projects and you would have the opportunity to shape their development. These projects are public facing and completely open source.&lt;/p&gt;
&lt;h3&gt;Your profile&lt;/h3&gt;
&lt;p&gt;The ideal candidate for this position has experience in scientific software development and/or web-applications adhering to best-practices in software development (version control, continuous integration, unit tests). Experience with Linux environments and Python is required. The candidates should have a degree in computer science, software development, bioinformatics or equivalent experience. Due to the broad set of projects, you should have experience in at least two of the following&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;web app development with react.js (or similar)&lt;/li&gt;
&lt;li&gt;data visualization with javascript/d3&lt;/li&gt;
&lt;li&gt;scientific programming in python/C++&lt;/li&gt;
&lt;li&gt;development of bioinformatic analysis workflows&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are unsure whether your profile matches what we are looking for, get in touch with Richard Neher at richard.neher@unibas.ch.&lt;/p&gt;
&lt;h3&gt;We offer&lt;/h3&gt;
&lt;p&gt;The Biozentrum offers a cutting-edge research infrastructure, a highly international environment that provides numerous opportunities to learn more, and excellent working conditions. The position is initially for 2 years, with the possibility of permanent employment. Salary and benefits according to University of Basel standards.&lt;/p&gt;
&lt;h2&gt;Application&lt;/h2&gt;
&lt;p&gt;Please apply online with a CV, letter of motivation, and a summary of past projects you worked on including links to relevant source code repositories (where possible) through our &lt;a href="https://biped2.biozentrum.unibas.ch/apply/softwaredev-rg-neher"&gt;online application system&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For specific questions, feel free to contact Richard Neher at richard.neher@unibas.ch.
Reviewing of application will start on Dec. 15 and continue until the position is filled.&lt;/p&gt;</content><category term="job_old"></category></entry><entry><title>How accurate are branch length estimates in RNA virus phylogenies?</title><link href="/201910_branch_length.html" rel="alternate"></link><published>2019-10-31T00:00:00+01:00</published><updated>2019-10-31T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-10-31:/201910_branch_length.html</id><summary type="html">&lt;p&gt;The rate at which amino acids change through evolution varies greatly among the positions in a protein.
Such rate variation is obvious in rapidly evolving RNA viruses: some sites are conserved over millions of years, while others change every few years.
It has long been realized that it is important …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The rate at which amino acids change through evolution varies greatly among the positions in a protein.
Such rate variation is obvious in rapidly evolving RNA viruses: some sites are conserved over millions of years, while others change every few years.
It has long been realized that it is important to model rate variation in phylogenetic inference and modern phylogeny programs typically account for this summing over many possible values of the rate at every site.&lt;/p&gt;
&lt;p&gt;A correct model of rate variation is particularly important when comparing sequences that are distant enough that rapidly evolving sites have likely undergone multiple changes shadowing each other.
Ignoring rate variation and the resulting partial saturation will then lead to underestimates of branch lengths.
When comparing very similar sequences, the effects of rate variation are less dramatic since multiple hits are rare and the number of differences between the sequences is still linear in the time that separates them.
But how dramatic is rate variation in RNA viruses, on what time scale does it kick in, and do standard methodologies correctly account for it?&lt;/p&gt;
&lt;h2&gt;Recurrent mutation in seasonal influenza&lt;/h2&gt;
&lt;p&gt;Seasonal influenza viruses provide a unique opportunity to shed some light on this question.
The HA protein undergoes rapid evolution driven by immune selection.
Most of this immune escape happens at a small number of epitope sites while other sites don't change often.
We thus expect strong rate variation.
Seasonal influenza is unique in that we have abundant longitudinal data.
HA sequences are available covering approximately 90 years for subtype A/H1N1 (1918-2009) and 50 years for subtype A/H3N2 (1968-2019).&lt;/p&gt;
&lt;h3&gt;50 years of A/H3N2 HA1 evolution -- 10%-20% relative error&lt;/h3&gt;
&lt;p&gt;To study the effect of rate variation and multiple changes, I estimated evolutionary distances between a recent sequence and the earliest sequence available using data sets consisting of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;3 sequences from 1968&lt;/li&gt;
&lt;li&gt;about 200 recent sequences from 2014 to 2019&lt;/li&gt;
&lt;li&gt;a variable number (0 to 125) of sequences between 1969 and 2014&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The graph below compares two extremes: The tree on the left has 3 sequences from 1968 and a bunch from the 2014 onwards, but nothing in the between. The tree on the left has about 100 additional sequences covering the entire range from 1969 to 2014.&lt;/p&gt;
&lt;p&gt;&lt;img alt="influenza_trees" src="/images/201910_h3n2_example_trees.png"&gt;&lt;/p&gt;
&lt;p&gt;These additional sequences provide information on the evolutionary trajectory separating recent and early sequences and pin down unobserved intermediate states, thereby unmasking multiple changes at the same site.
What might look like &lt;code&gt;189Q -&amp;gt; 189K&lt;/code&gt; in the left tree is quite certainly &lt;code&gt;189Q -&amp;gt; 189K -&amp;gt; 189R -&amp;gt; 189S -&amp;gt; 189N -&amp;gt; 189K&lt;/code&gt; on the right (this is an illustrative if somewhat extreme &lt;a href="https://nextstrain.org/community/neherlab/allflu/h3n2_ha?c=gt-HA1_189"&gt;example from A/H3N2&lt;/a&gt;).
By adding enough densely spaced samples, we are effectively chopping the long branch into many short branches on each of which we can observe mutations parsimoniously.
(Results from the same analysis without the 200 recent sequences &lt;a href="#norecent"&gt;shown below&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;How well do phylogenetic models account for such unobserved substitutions?
Adding more intervening sequences should not change the inferred evolutionary distances between a recent tip and the sequences at 1968 -- provided the reality conforms with the model.
The plot below shows the estimated branch length between A/H3N2 from 1968 and contemporary viruses as a function of the typical interval at which the influenza population is sampled, that is the inverse of the number of sequences in the tree between 1968 and 2014.&lt;/p&gt;
&lt;p&gt;&lt;img alt="h3n2_nuc_error" src="/images/201910_h3n2_branchlengths.png"&gt;&lt;/p&gt;
&lt;p&gt;The orange line shows the hamming distance (~0.18) between the two endpoints, which of course doesn't change as we add data.
The blue line shows the distance estimated by counting mutations mapped onto the tree by ML ancestral reconstruction.
The distance estimated that way increases as more sequences are added since evidence mounts that many positions change multiple times on the tree.
The plot also contains estimates by IQ-Tree using three different models of rate variation.
Assuming no rate variation (const) shows a similar pattern as the "counting mutations" method, while models with rate variation (G4 and R10) tend to overestimate the distance.
All these methods converge as more sequences are added to tree.&lt;/p&gt;
&lt;p&gt;In the case of A/H3N2, the mutation counting method on a densely sampled tree should more or less give the correct number of substitutions between 1968 and now or in any case should be a close lower bound.
Using this assumption, the right panel above shows the relative error made by different methods.&lt;/p&gt;
&lt;p&gt;Models with rate variation overestimate divergence from 1968 to now by about 5-10%, while the model ignoring rate variation (const) underestimates the length by about 15%.
Hamming distance after 50 years is about 2/3 of the true distance.&lt;/p&gt;
&lt;h3&gt;Amino acid alignments&lt;/h3&gt;
&lt;p&gt;The patterns change a bit when using amino acid alignments instead of nucleotide alignments:&lt;/p&gt;
&lt;p&gt;&lt;img alt="h3n2_aa" src="/images/201910_h3n2_branchlengths_aa.png"&gt;&lt;/p&gt;
&lt;p&gt;Now IQ-Tree w/o rate variation and the mutation count method show very similar trajectories.
IQ-Tree LG+G4 seems off while IQ-Tree LG+R10 is less sensitive to additional tips but still varies by about 15% as more data is thrown in.&lt;/p&gt;
&lt;p&gt;Amino acid sequences contain less information than the underlying nucleotide sequence, so the overall worse performance is not too surprising.
Hamming distance now underestimates the distance by about a factor of 2, and models that don't account for rate variation underestimate distance by 30-40%.
The LG-G4 and LG-R10 models implemented in IQ-Tree behave somewhat inconsistently and underestimate the branch length at one end of the spectrum, while overestimating it with densely sampled trees with errors ranging between -10% and 20%.
This is worrying.
The R10 (10 free rate categories) does better than the G4 model.&lt;/p&gt;
&lt;h2&gt;Conclusions&lt;/h2&gt;
&lt;p&gt;Ignoring rate variation introduces obvious and expected biases: 50 years of HA1 divergence is underestimated by 15% or 30% when using nucleotide or amino acid sequences, respectively.
Modeling rate variation improves estimates, but introduces biases that are harder to anticipate:
G4 or R10 models overestimate nucleotide divergence by about 5-10% while underestimating evolutionary distance from amino acid sequences.
The G4 model in particular seems unreliable when adding more data.&lt;/p&gt;
&lt;p&gt;Importantly, these errors are likely due to model misspecification rather than intrinsic stochasticity of the evolutionary process.
One source of error is insufficient sequence variation in the 200 recent sequences to accurately infer rate variation.
Another source of error has to do with the models themselves:
While some models account for rate variation, all models tested above assume the same substitution matrix at every site.
In reality, most positions only explore a subset of amino acids.
&lt;a href="https://academic.oup.com/ve/article/4/2/vey033/5163287"&gt;Hilton and Bloom&lt;/a&gt; have for example shown that accounting for site specific preferences both improves the model fit dramatically and increases estimates of evolutionary distances.
Model misspecification problems are expected to be severe when strong preferences of particular amino acids exist at rapidly evolving sites, as is likely the case for immune escape/reversion dynamics in HIV.&lt;/p&gt;
&lt;p&gt;Just 50 years of influenza virus evolution results in substantial errors -- be careful when trying to extrapolate further back!&lt;/p&gt;
&lt;h3&gt;Data source&lt;/h3&gt;
&lt;p&gt;This analysis was done using data from the &lt;a href="https://www.fludb.org/brc/home.spg?decorator=influenza"&gt;Influenza Research Database&lt;/a&gt; -- thanks to everyone out there contributing influenza sequence data.&lt;/p&gt;
&lt;h3&gt;Calls to tree-builders&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;iqtree&lt;span class="w"&gt; &lt;/span&gt;-redo&lt;span class="w"&gt; &lt;/span&gt;-fast&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;input.fasta&lt;span class="w"&gt;  &lt;/span&gt;-m&lt;span class="w"&gt; &lt;/span&gt;GTR+&lt;span class="o"&gt;{&lt;/span&gt;G4,R10&lt;span class="o"&gt;}&lt;/span&gt;&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="c1"&gt;# nucleotides&lt;/span&gt;
iqtree&lt;span class="w"&gt; &lt;/span&gt;-redo&lt;span class="w"&gt; &lt;/span&gt;-fast&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;input.fasta&lt;span class="w"&gt;  &lt;/span&gt;-m&lt;span class="w"&gt; &lt;/span&gt;LG+&lt;span class="o"&gt;{&lt;/span&gt;G4&lt;span class="o"&gt;}&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="c1"&gt;# amino acids&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Branch length estimates without recent variation &lt;a name="norecent"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The above analysis included A/H3N2 sequences from the last 5 years to allow the tree builders to estimate rate variation.
The last 5 years cover multiple clades with a most recent common ancestor about 8 years in the past and thus correspond to more than a decade worth of evolution.
Most rapidly evolving sites are variable in this sample.
If we don't include these recent sequences, we find the following.&lt;/p&gt;
&lt;p&gt;&lt;img alt="h3n2_nuc_error" src="/images/201910_h3n2_branchlengths_norecent.png"&gt;&lt;/p&gt;
&lt;p&gt;As expected, Hamming distance now equals the mutational distance at the largest sampling interval and inferences with the model without rate variation don't change.
Models with rate variation now underestimate rather than overestimate long branches.&lt;/p&gt;
&lt;p&gt;&lt;img alt="h3n2_nuc_error" src="/images/201910_h3n2_branchlengths_norecent_aa.png"&gt;&lt;/p&gt;</content><category term="post"></category><category term="influenza evolution"></category></entry><entry><title>Post-Doc position</title><link href="/201910_BZ_postdoc.html" rel="alternate"></link><published>2019-10-22T00:00:00+02:00</published><updated>2019-10-22T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-10-22:/201910_BZ_postdoc.html</id><summary type="html">&lt;p&gt;A postdoctoral position is available in the &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; offer Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on evolution of pathogenic viruses and bacteria with a focus on seasonal influenza virus, enteroviruses, and drug resistance evolution in bacteria. Research in our group combines population …&lt;/p&gt;</summary><content type="html">&lt;p&gt;A postdoctoral position is available in the &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; offer Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on evolution of pathogenic viruses and bacteria with a focus on seasonal influenza virus, enteroviruses, and drug resistance evolution in bacteria. Research in our group combines population genetics, phylogenetics, mathematical models, and next-generation sequencing to understand the complex dynamics of host-pathogen interactions. We have pioneered different analysis and visualization tools. We are, for example, a co-developers of the platform &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; used to track and visualize viral and bacterial evolution.&lt;/p&gt;
&lt;p&gt;Possible projects include (i) impact of reassortment/recombination on viral evolution, (ii) evolution of gene content and gene order of bacterial chromosomes or plasmids or (iii) bacterial drug resistance evolution in collaboration with experimental colleagues, or (iv) development of analysis and visualization tools for genomic epidemiology.
The scope of the projects is flexible, can be tailored to the applicants interest and skills, and we are open to exciting new ideas.&lt;/p&gt;
&lt;h4&gt;What we offer&lt;/h4&gt;
&lt;p&gt;You would have the opportunity to pursue original research in a small, interactive, and interdisciplinary group that tackles diverse problems in computational biology.
We are internationally well connected and collaborate with several other research groups in Basel and in different parts of the world.
We have access to state of the art computing facilities, web lab space, and sufficient funding for conference travel and research expenses.
Salaries are competitive.&lt;/p&gt;
&lt;h4&gt;Whom we are looking for&lt;/h4&gt;
&lt;p&gt;We are looking for a creative and collaborative person with a genuine interest in evolution and with either a&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a degree in physics, applied math, bioinformatics, computer science and strong interest in biology, or&lt;/li&gt;
&lt;li&gt;a life science degree and strong quantitative skills&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Depending on the project, the following skills will help getting started:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;experience with next-generation sequencing data&lt;/li&gt;
&lt;li&gt;experience with population genetic models, epidemiological models, or phylogenetic inference&lt;/li&gt;
&lt;li&gt;data visualization and experience with javascript/d3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are excited about this opportunity but unsure whether your profile matches what we are looking for, please get in touch.&lt;/p&gt;
&lt;h4&gt;Application&lt;/h4&gt;
&lt;p&gt;Please send your cover letter, statement of research interests (max one page), CV, publication list, and contact information of three references as one pdf file to &lt;a href="mailto:richard.neher@unibas.ch"&gt;Richard Neher&lt;/a&gt;. Please state clearly in your cover letter what your main interests are and how you think it resonates with the work of our group.
Reviewing of application will start on Dec 1st and continue until the position is filled.&lt;/p&gt;
&lt;h4&gt;Living and working in Basel&lt;/h4&gt;
&lt;p&gt;Quality of life in Basel is one of the highest worldwide. Basel is a very international city and a center of art, music, and research. The city is less than 5km from both France and Germany and an hour and a half from the Swiss Alps.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum&lt;/a&gt; of the &lt;a href="http://www.unibas.ch"&gt;University of Basel&lt;/a&gt; is one of the leading institutes worldwide for molecular and biomedical basic research. It is home to more than 30 research groups with scientists from over 40 countries. Research at the Biozentrum focuses on the areas of Cell Growth &amp;amp; Development, Infection Biology, Neurobiology, Structural Biology &amp;amp; Biophysics and Computational &amp;amp; Systems Biology. With its more than 500 employees, the Biozentrum is the largest department at the University of Basel’s Faculty of Science. Several other academic institutions are also in the city, including the &lt;a href="http://www.fmi.ch"&gt;Friedrich Miescher Institute&lt;/a&gt;, the &lt;a href="https://www.bsse.ethz.ch/"&gt;ETH Zurich Biosystems Science and Engineering Department&lt;/a&gt;, and the &lt;a href="http://www.swisstph.ch/"&gt;Swiss Tropical Health Institute&lt;/a&gt;.&lt;/p&gt;</content><category term="job_old"></category></entry><entry><title>Tracking and predicting influenza virus diversity</title><link href="/201910_multistrain.html" rel="alternate"></link><published>2019-10-10T00:00:00+02:00</published><updated>2019-10-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-10-10:/201910_multistrain.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Positive tests for influenza in the USA by week&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza B viruses have split into two lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Burst in the tree &amp;harr; high fitness&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:45%; width:60%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rate of antigenic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/influenza_antigenic_advance.png" width="100%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Cumulative antigenic evolution since the root: $\sum_i d_i$&lt;/li&gt;
        &lt;li&gt;A/H3N2 evolves faster antigenically&lt;/li&gt;
        &lt;li&gt;A/H3N2 has a more rapid population turn-over&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/h3n2_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/vic_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/yam_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How many sites are involved?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
    &lt;img src="/talk_images/H3N2_HA_structure.png"  class="plain"  width="70%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HI_H3N2_cumulative_effects.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:40%; width:20%"&gt;
        &lt;font size=5&gt;
        &lt;table class="table table-striped"&gt;
            &lt;col width="70%"&gt;
            &lt;col width="30%"&gt;
            &lt;thead&gt;&lt;tr&gt;&lt;td&gt;Mutation&lt;/td&gt;&lt;td&gt;effect&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;
            &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;K158N/N189K&lt;/td&gt;
                &lt;td&gt;3.64&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K158R&lt;/td&gt;
                &lt;td&gt;2.31&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K189N&lt;/td&gt;
                &lt;td&gt;2.18&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S157L&lt;/td&gt;
                &lt;td&gt;1.29&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;V186G&lt;/td&gt;
                &lt;td&gt;1.25&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S193F&lt;/td&gt;
                &lt;td&gt;1.2&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K140I&lt;/td&gt;
                &lt;td&gt;1.1&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;F159Y&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144D&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145N&lt;/td&gt;
                &lt;td&gt;0.91&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S159Y&lt;/td&gt;
                &lt;td&gt;0.89&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;I25V&lt;/td&gt;
                &lt;td&gt;0.88&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Q1L&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144N&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N8D&lt;/td&gt;
                &lt;td&gt;0.73&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;T212S&lt;/td&gt;
                &lt;td&gt;0.69&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N188D&lt;/td&gt;
                &lt;td&gt;0.65&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/tbody&gt;
        &lt;/table&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting successful influenza clades&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_H3N2_clade_trajectories.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_success.png" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
        &lt;li&gt;The GISAID initiative for influenza sequence data sharing&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Are antigenic distances tree-like?&lt;/h3&gt;
    &lt;div style="position:absolute; top:21%; left:5%; width:38%"&gt;
    &lt;img src="/talk_images/HI_quartett.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:11%; left:55%; width:38%"&gt;
    &lt;img src="/talk_images/HI_H3N2_tree_distances.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;There are many ways to escape immunity -- why doesn't influenza speciate?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/H3N2_HA_structure.png" class="plain" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:23%; left:50%; width:40%"&gt;
        &lt;img src="talk_images/flu_speciation_antigenic_classes.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;There are many ways to escape immunity -- why doesn't influenza speciate?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Combining SIR-models and rapid molecular adaptation &lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:85%; text-align: left"&gt;
        &lt;ul&gt;
            &lt;li&gt;Infections with strain $a$:
                &lt;span style="position: absolute;left:40%"&gt;$\frac{d I_a}{dt} = \beta S_a I_a - (\nu+\gamma)I_a$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Susceptibility to strain $a$:
                &lt;span style="position: absolute;left:40%"&gt;$S_a  =e^{-\sum_b K_{ab} R_b }$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;
                 Recovered from stain $a$: &lt;span style="position: absolute;left:40%"&gt; $\frac{d R_a}{dt}  = \nu I_a - \gamma R_a$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Cross-immunity: &lt;span style="position: absolute;left:40%"&gt; $K_{ab} = e^{-\frac{|a-b|}{d}}$&lt;/span&gt;&lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Mutations from $a\to b$ reduce cross-immunity and increase susceptibility&lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Antigenic evolution is essential to establish seasonal patterns&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Transition from pandemic to seasonal patterns&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%; text-align: left"&gt;
        &lt;img src="talk_images/flu_speciation_pandemic_escape.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_trajectories.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_oscillations.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Speciation into antigenically distinct lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%; text-align: left"&gt;
        &lt;img src="talk_images/flu_speciation_Tmrca.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_phase_diagram.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Using open data to track and predict infectious disease</title><link href="/201910_RIVM.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Frequent …&lt;/h2&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Frequent mutations imply...&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak/season differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are can be inferred&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
    &lt;li&gt;drug resistance surveillance&lt;/li&gt;
    &lt;li&gt;specific mutations might mediate antigenic mismatch&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine strain selection schedule&lt;/h3&gt;
    &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
    &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data through GISAID -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Visualization features of nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Regular and time scaled phylogenies&lt;/li&gt;
        &lt;li&gt;Mutations are mapped to the tree&lt;/li&gt;
        &lt;li&gt;Filtering to time interval, region, country, authors, ... &lt;/li&gt;
        &lt;li&gt;Zoom into clades&lt;/li&gt;
        &lt;li&gt;Information on specific viruses&lt;/li&gt;
        &lt;li&gt;Color by amino acid or nucleotide&lt;/li&gt;
        &lt;li&gt;Frequency trajectories of clades and mutations&lt;/li&gt;
        &lt;li&gt;Color by antigenic advance, predictive scores, etc&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:45%; width:60%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Our current prediction...&lt;/h2&gt;
    &lt;img src="/talk_images/nextstrain_h3n2_lbi.png" width="60%"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Almost everybody has antibodies against EV-D68&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in &lt;br&gt;young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks last fall &lt;br&gt;(201 AFM cases in the US in 2018)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:75%; text-align: center" class="fragment"&gt;
    &lt;h3&gt;EV-D68 whole genome deep sequencing project across Europe&lt;h3&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_enterovirus.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Geographic and demographic distribution EV-D68&lt;/h3&gt;
    &lt;img src="talk_images/nextstrain_enterovirus_region.png" width="48%"&gt;
    &lt;img src="talk_images/nextstrain_enterovirus_age.png" width="48.5%"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tb.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tbWalker.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- Enterovirus&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
        &lt;li&gt;Bert Niesters (Groningen)&lt;/li&gt;
        &lt;li&gt;Randy Poelman (Groningen)&lt;/li&gt;
        &lt;li&gt;Elke Wollants (Leuven)&lt;/li&gt;
        &lt;li&gt;Adrian Egli (Basel)&lt;/li&gt;
        &lt;li&gt;Andrés Antón Pagarolas (Barcelona)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Advanced Snakemake</title><link href="/201910_RIVM_advanced_snakemake.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_advanced_snakemake.html</id><summary type="html">&lt;h1&gt;Wildcards&lt;/h1&gt;
&lt;p&gt;One of the more powerful features of Snakemake is its ability to use use and interpret wildcards.
Wildcards are placeholders for data set names and come in very handy when analyzing viruses that exist in multiple lineages or have multiple segments, for example seasonal influenza viruses:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;align:
&lt;span class="w"&gt;    &lt;/span&gt;input …&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h1&gt;Wildcards&lt;/h1&gt;
&lt;p&gt;One of the more powerful features of Snakemake is its ability to use use and interpret wildcards.
Wildcards are placeholders for data set names and come in very handy when analyzing viruses that exist in multiple lineages or have multiple segments, for example seasonal influenza viruses:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;align:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/{virus}_{segment}_sequences.fasta&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;reference&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/{virus}_{segment}_reference.gb&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment_{virus}_{segment}.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur align \&lt;/span&gt;
&lt;span class="s2"&gt;                --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;                --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="s2"&gt;                --output {output.alignment}&lt;/span&gt;
&lt;span class="s2"&gt;    &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This defines a generic rule to align sequences of a particular segment belonging to a particular viral lineage.
Such generic rules can be combined with data set specific data and functionality using python syntax.
If we for example wanted to specify a data set specific evolutionary rate, we could do this as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;clock_rate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0043&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0029&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0040&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0032&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0015&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="mf"&gt;0.0019&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;&lt;span class="mf"&gt;0.0013&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;rate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;virus&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wildcards&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;segment&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;refine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;alignment&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rules&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;_metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/tree_&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;.nwk&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;node_data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/branchlengths_&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;.json&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;clock_rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;clock_rate&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur refine \&lt;/span&gt;
&lt;span class="sd"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --timetree \&lt;/span&gt;
&lt;span class="sd"&gt;            --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If we now asked snakemake to produce the file &lt;code&gt;results/tree_h3n2_ha.nwk&lt;/code&gt;, it would determine the wildcards &lt;code&gt;virus=h3n2&lt;/code&gt; and &lt;code&gt;segment=ha&lt;/code&gt; from the filename and then use the right input files and parameters.
As clock rate input parameter takes the form of a function in this case (defined above the rule) that takes the wildcards as parameters.&lt;/p&gt;
&lt;h1&gt;Default rules&lt;/h1&gt;
&lt;p&gt;The first rule in a Snakefile serves are as the default rule that is executed when no targets are specified.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;segments&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb2&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb1&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pa&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;np&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;mp&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ns&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="nv"&gt;viruses&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;

rule&lt;span class="w"&gt; &lt;/span&gt;all_auspice_files:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;expand&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/{virus}_{segment}_tree.json&amp;quot;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;segment&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;segments,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;virus&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;viruses&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule &lt;code&gt;all_auspice_files&lt;/code&gt; only specifies input files. These input files are the files we want our pipeline to spit out and by making this rule the first rule in the Snakefile, it will be the default rule.
Calling &lt;code&gt;snakemake&lt;/code&gt; bare without specifying a target will then run all rules necessary to produce the input files of the default rule.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake</title><link href="/201910_RIVM_augur.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_augur.html</id><summary type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
We will work off the tutorial for Zika virus on the &lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;nextstrain web site&lt;/a&gt; and the github repository &lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;nextstrain/zika-tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Augur commands&lt;/h2&gt;
&lt;p&gt;As an example, we'll look that the &lt;code&gt;filter&lt;/code&gt; command in greater detail.
This command allows you to selected various subsets of your input data for different types of analysis.
A simple example use of this command would be&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command will select all sequences with collection date in 2012 or later.
The filter command has a large number of options that allow flexible filtering for many common situations.
One such use-case is the exclusion of sequences that are known to be outliers (e.g.~because of sequencing errors, cell-culture adaptation, ...).
These can be specified in a separate file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;BRA/2016/FC_DQ75D1
COL/FLR_00034/2015
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To drop such strains, you can pass the name of this file to the augur filter command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;             &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;(To improve legibility, we have wrapped the command across multiple lines.)
If you run this command (you should be able to copy-paste this into your terminal), you should see that one of the sequences in the data set was dropped since its name was in the &lt;code&gt;drooped_strain.txt&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;Another common filtering operation is subsetting of data to a achieve a more even spatio-temporal distribution or cut-down data set size to more manageable numbers.
The filter command allows you to select a specific number of sequences from specific groups, for example one sequence per month from each country:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--group-by&lt;span class="w"&gt; &lt;/span&gt;country&lt;span class="w"&gt; &lt;/span&gt;year&lt;span class="w"&gt; &lt;/span&gt;month&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences-per-group&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This subsampling and filtering will reduce the number of sequences in this tutorial data set from 34 to 24.&lt;/p&gt;
&lt;h2&gt;Chaining of augur commands with snakemake.&lt;/h2&gt;
&lt;p&gt;The output of one augur command serves as input to the next and hence these commands need to be executed in order.
This is a common pattern in bioinformatics and multiple tools -- so called workflow managers -- exist to facilitate this.
Within nextstrain, we have relied on &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.
A simple rule would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="nb"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;results/filtered.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;min_date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2012&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="sd"&gt;        augur filter \&lt;/span&gt;
&lt;span class="sd"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="sd"&gt;            --output {output.sequences} \&lt;/span&gt;
&lt;span class="sd"&gt;            --min-date {params.min_date}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule would produce &lt;code&gt;results/filtered.fasta&lt;/code&gt; from the input files &lt;code&gt;data/sequences.fasta&lt;/code&gt; and &lt;code&gt;data/metadata.tsv&lt;/code&gt; using the &lt;code&gt;augur filter&lt;/code&gt; command.
Note that we explicitly specify what is an input and what is an output file.
To filter our data, we would now call snakemake as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_RIVM&lt;span class="w"&gt; &lt;/span&gt;results/filtered.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will run the same command as specified above.&lt;/p&gt;
&lt;p&gt;So far, this is just a complicated reformulation of what we did above, but the benefit of workflow management becomes clear once we add more steps.
The next natural step in our phylogenetic pipeline is aligning the filtered sequences and we define a rule &lt;code&gt;align&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;align:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.filter.output.sequences,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;reference&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/aligned.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur align \&lt;/span&gt;
&lt;span class="s2"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.alignment}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You can download a Snakefile containing these two rules &lt;a href="teaching_notes/201910_RIVM_Snakefile_example"&gt;here&lt;/a&gt;.
If you now want to generate the alignment, you can type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;Snakefile_RIVM&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snakemake will&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;determine that &lt;code&gt;results/aligned.fasta&lt;/code&gt; is an output of rule &lt;code&gt;align&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;check whether all required input files are in place and run the necessary rules if not&lt;/li&gt;
&lt;li&gt;run rule &lt;code&gt;align&lt;/code&gt; and check whether the file &lt;code&gt;results/aligned.fasta&lt;/code&gt; appeared.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you supply a reference sequence to &lt;code&gt;augur align&lt;/code&gt;, augur will include that reference sequence in the alignment and strip all insertions relative to that reference.
This will guarantee a consistent reference coordinate system and genome annotation later on.&lt;/p&gt;
&lt;h3&gt;Construct the Phylogeny&lt;/h3&gt;
&lt;p&gt;Infer a phylogenetic tree from the multiple sequence alignment.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;tree:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.align.output.alignment
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree_raw.nwk&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur tree \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.tree}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The resulting tree is stored in &lt;a href="http://evolution.genetics.washington.edu/phylip/newicktree.html"&gt;Newick format&lt;/a&gt;.
Branch lengths in this tree measure nucleotide divergence.&lt;/p&gt;
&lt;h3&gt;Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Most phylogenies you see on nextstrain are time-resolved, that is the branch lengths of the tree correspond to calendar time rather than evolutionary distance.
The default method to infer time-resolved phylogenies in nextstrain is &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt; and this analysis is an done using the augur command &lt;code&gt;refine&lt;/code&gt; (this steps "refines" the existing tree...).
The corresponding rule for in the snakefile would look as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;refine:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.tree.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.align.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/branch_lengths.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur refine \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --timetree \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This command requires the output of the tree and align rules as input and will produce the file &lt;code&gt;results/tree.nwk&lt;/code&gt; and &lt;code&gt;results/branch_lengths.json&lt;/code&gt;.
The latter contains the inferred clock model and the inferred dates of all nodes, including internal nodes.
Each internal node has been given a unique name (e.g.~&lt;code&gt;NODE_0000001211&lt;/code&gt;) which we will use in the following steps to attach more information to the tree.
The &lt;code&gt;refine&lt;/code&gt; command has many different options that allow to specify clock rates, filter sequences that don't follow the molecular clock, calculate confidence intervals, etc.
We'll get into these details later.&lt;/p&gt;
&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;h3&gt;Reconstruct Ancestral Traits&lt;/h3&gt;
&lt;p&gt;TreeTime can also infer ancestral traits from an existing phylogenetic tree and metadata annotating each tip of the tree.
The following command infers the region and country of all internal nodes from the time tree and original strain metadata.
As with the &lt;code&gt;refine&lt;/code&gt; command, the resulting JSON output is indexed by strain or internal node name.&lt;/p&gt;
&lt;p&gt;Specifying &lt;code&gt;--confidence&lt;/code&gt; means that the confidence intervals for the reconstructed trait values will be estimated.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;traits:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/traits.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;columns&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;region country&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur traits \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="s2"&gt;            --columns {params.columns} \&lt;/span&gt;
&lt;span class="s2"&gt;            --confidence&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;Using &lt;code&gt;ancestral&lt;/code&gt;, we can reconstruct what the ancesters of our samples' sequences must have looked like, and record the mutations that occurred on each branch.&lt;/p&gt;
&lt;p&gt;Next, infer the ancestral sequence of each internal node and identify any nucleotide mutations on the branches leading to any node in the tree.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;ancestral:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.align.output
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/nt_muts.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur ancestral \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.node_data}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;Identify amino acid mutations from the nucleotide mutations and a reference sequence with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
To export a FASTA file with the complete amino acid translations for each gene from each node’s sequence, specify the &lt;code&gt;--alignment-output&lt;/code&gt; parameter in the form of &lt;code&gt;results/aligned_aa_%GENE.fasta&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The reference sequence needs to be in Genbank format (if working with Fasta input) or GFF format (if working with VCF input) - see the Prerequisites page for more information on how to find and download a reference sequence from Genbank.&lt;/p&gt;
&lt;p&gt;Open the Zika tutorial reference sequence &lt;code&gt;config/zika_outgroup.gb&lt;/code&gt; in a text editor.
For translation, the important parts are the &lt;code&gt;source&lt;/code&gt; and &lt;code&gt;CDS&lt;/code&gt; sections that are part of the &lt;code&gt;Features&lt;/code&gt; part of the file:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
FEATURES&lt;span class="w"&gt;             &lt;/span&gt;Location/Qualifiers
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="m"&gt;1&lt;/span&gt;..10769
&lt;span class="w"&gt;                     &lt;/span&gt;/collection_date&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;25-Oct-2013&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/country&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;French Polynesia&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/db_xref&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;taxon:64320&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/host&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Homo sapiens&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/isolation_source&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;serum&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/mol_type&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genomic RNA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/organism&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Zika virus&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/strain&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PF13/251013-18&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;91&lt;/span&gt;..456
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;capsid protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;CA&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;457&lt;/span&gt;..735
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;propeptide&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;PRO&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;736&lt;/span&gt;..960
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;membrane protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;MP&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;CDS&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="m"&gt;961&lt;/span&gt;..2472
&lt;span class="w"&gt;                     &lt;/span&gt;/product&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;envelope protein&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;                     &lt;/span&gt;/gene&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;ENV&amp;quot;&lt;/span&gt;
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code&gt;source&lt;/code&gt; section tells &lt;code&gt;augur&lt;/code&gt; how long the whole genome is.
The &lt;code&gt;CDS&lt;/code&gt; sections describe each gene (using &lt;code&gt;/gene=&lt;/code&gt;) that should be translated by giving its name and its start and end location in the genome.&lt;/p&gt;
&lt;p&gt;In your downloaded file from Genbank, you might notice that it has only one or no &lt;code&gt;CDS&lt;/code&gt; sections, and that instead the sections you would like to translate as genes are described as &lt;code&gt;mat_peptide&lt;/code&gt;, like the below:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;     mat_peptide     91..465
                     /product=&amp;quot;capsid protein&amp;quot;
     mat_peptide     466..735
                     /product=&amp;quot;propeptide&amp;quot;
     mat_peptide     736..960
                     /product=&amp;quot;membrane protein&amp;quot;
     mat_peptide     961..2475
                     /product=&amp;quot;envelope protein&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In this case, you will have to manually modify this file to work in &lt;code&gt;augur&lt;/code&gt;.
Anything you wish to translate as a gene should be changed from &lt;code&gt;mat_peptide&lt;/code&gt; to &lt;code&gt;CDS&lt;/code&gt; as its section name.
You will also need to add &lt;code&gt;/gene=&lt;/code&gt; and a gene name to the sections you'd like to translate.
If you have one really long &lt;code&gt;CDS&lt;/code&gt; section that covers most of the genome, we'd recommend not including this to translate (don't provide a &lt;code&gt;/gene=&lt;/code&gt;) if you can include smaller genes instead, as such a long polyprotein is not very informative.&lt;/p&gt;
&lt;p&gt;If you are working with VCF-input, the GFF file contains the same information, but &lt;code&gt;augur&lt;/code&gt; will only translate those items coded as &lt;code&gt;gene&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;translate:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;reference&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/zika_outgroup.gb&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/aa_muts.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur translate \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --ancestral-sequences {input.node_data} \&lt;/span&gt;
&lt;span class="s2"&gt;            --reference-sequence {input.reference} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.node_data} \&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
This command pulls together the metadata file and all of the output files generated by the previous steps, and combines it into two output files that contain the annotated tree (&lt;code&gt;"auspice/zika_tree.json"&lt;/code&gt;) and associated metadata (&lt;code&gt;"auspice/zika_meta.json"&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;There is one input file below that is not metadata or output from a previous step: the config file (&lt;code&gt;"config/auspice_config.json"&lt;/code&gt;).
This file is very important - it species the page title, maintainer(s), what filters are present, what places should be mapped by, and what the user is able to color the tree by ("color-bys").&lt;/p&gt;
&lt;p&gt;Open up &lt;code&gt;"config/auspice_config.json"&lt;/code&gt; in a text editor.
The &lt;code&gt;title&lt;/code&gt; and &lt;code&gt;maintiner&lt;/code&gt; fields should be easy to spot.
You can modify them if you wish (and should, if you are using your own data!).&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;filters&lt;/code&gt; section specifies what traits will be available for users to filter the data by.
For example, if "country" is a filter, users will be able to only show data from the countries they select.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;color_options&lt;/code&gt; section specifies what users will be allowed to color the data by. You will almost always have the first two sections: &lt;code&gt;"gt"&lt;/code&gt; and &lt;code&gt;"num_date"&lt;/code&gt;, unless you are using trees without sequences or trees that aren't time-resolved.
After that, you can include any trait in your data.
If you have additional traits in your metadata, you will need to add them here to have them show up in auspice! You can copy the entry for &lt;code&gt;"country"&lt;/code&gt; and re-name it to match the appropriate column from your metadata file.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;geo&lt;/code&gt; section informs auspice what traits should be used to draw the samples onto the map. Obviously, they must be location-related, like "country" and "region".
You can use other locations if that's more relevant to your data. We won't cover this right now, but can explain in detail as you come to this with your own data.&lt;/p&gt;
&lt;p&gt;Don't worry about the &lt;code&gt;defaults&lt;/code&gt; section for the moment.&lt;/p&gt;
&lt;p&gt;The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;export:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/metadata.tsv&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;branch_lengths&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;traits&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.traits.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;nt_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aa_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.translate.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;auspice_config&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/auspice_config.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;auspice_tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/zika_tree.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;auspice_meta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/zika_meta.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur export \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --node-data {input.branch_lengths} {input.traits} {input.nt_muts} {input.aa_muts} \&lt;/span&gt;
&lt;span class="s2"&gt;            --auspice-config {input.auspice_config} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-tree {output.auspice_tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-meta {output.auspice_meta}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake for VCF input</title><link href="/201910_RIVM_augur_vcf.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_augur_vcf.html</id><summary type="html">&lt;p&gt;This tutorial explains how to create a Nextstrain build for Tuberculosis sequences.
However, much of it will be applicable to any run where you are starting with &lt;a href="https://en.wikipedia.org/wiki/Variant_Call_Format"&gt;VCF&lt;/a&gt; files rather than &lt;a href="https://en.wikipedia.org/wiki/FASTA_format"&gt;FASTA&lt;/a&gt; files.&lt;/p&gt;
&lt;p&gt;As in the Zika fasta-input &lt;a href="201910_RIVM_augur.html"&gt;tutorial&lt;/a&gt;, we'll build up a Snakefile step-by-step for each step of the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This tutorial explains how to create a Nextstrain build for Tuberculosis sequences.
However, much of it will be applicable to any run where you are starting with &lt;a href="https://en.wikipedia.org/wiki/Variant_Call_Format"&gt;VCF&lt;/a&gt; files rather than &lt;a href="https://en.wikipedia.org/wiki/FASTA_format"&gt;FASTA&lt;/a&gt; files.&lt;/p&gt;
&lt;p&gt;As in the Zika fasta-input &lt;a href="201910_RIVM_augur.html"&gt;tutorial&lt;/a&gt;, we'll build up a Snakefile step-by-step for each step of the analysis.&lt;/p&gt;
&lt;h2&gt;Build steps&lt;/h2&gt;
&lt;p&gt;Nextstrain builds typically require the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Preparing data&lt;/li&gt;
&lt;li&gt;Constructing a phylogeny&lt;/li&gt;
&lt;li&gt;Annotating the phylogeny&lt;/li&gt;
&lt;li&gt;Exporting the results&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However, the commands that make up each step can vary depending on your pathogen and your analysis.
Here, we'll follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Prepare pathogen sequences and metadata&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Filter the sequences (remove unwanted sequences and/or sample sequences)&lt;/li&gt;
&lt;li&gt;Mask the sequences (exclude regions of the sequence that are unreliable)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Construct a phylogeny&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Construct an initial tree (to get topology)&lt;/li&gt;
&lt;li&gt;Convert this into a time-resolved tree (to get accurate branch lengths)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Annotate the phylogeny&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Infer ancestral sequences&lt;/li&gt;
&lt;li&gt;Translate genes and identify amino-acid changes&lt;/li&gt;
&lt;li&gt;Reconstruct ancestral states (like location or host)&lt;/li&gt;
&lt;li&gt;Identify clades on the tree&lt;/li&gt;
&lt;li&gt;Identify drug resistance mutations&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Export the final results into auspice-readable format&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Download Data&lt;/h2&gt;
&lt;p&gt;The data in this tutorial is public and is a subset of the data from Lee et al.'s 2015 paper &lt;a href="http://www.pnas.org/content/112/44/13609"&gt;Population genomics of &lt;em&gt;Mycobacterium tuberculosis&lt;/em&gt; in the Inuit&lt;/a&gt;.
As location was anonymized in the paper, location data provided here was randomly chosen from the region for illustrative purposes.&lt;/p&gt;
&lt;p&gt;First, download the Tuberculosis (TB) build which includes example data and a pathogen build script.
Then enter the directory you just cloned.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;git&lt;span class="w"&gt; &lt;/span&gt;clone&lt;span class="w"&gt; &lt;/span&gt;https://github.com/nextstrain/tb.git
&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;tb
conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Prepare the Sequences&lt;/h2&gt;
&lt;p&gt;A Nextstrain build with VCF file input starts with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A VCF file containing all the sequences you want to include (variable sites only)&lt;/li&gt;
&lt;li&gt;A FASTA file of the reference sequence to which your VCF was mapped&lt;/li&gt;
&lt;li&gt;A tab-delimited metadata file&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are other files you will need if you want to perform certain steps, like masking.
If you are also working with TB sequences, you may be able to use the files provided here on your own data.
Otherwise, you'll need to provide files specific to your pathogen.&lt;/p&gt;
&lt;p&gt;Here, our input file is compressed with gzip - you can see it ends with &lt;code&gt;.vcf.gz&lt;/code&gt;.
However, &lt;code&gt;augur&lt;/code&gt; can take gzipped or un-gzipped VCF files.
It can also produce either gzipped or un-gzipped VCF files as output (detected from the file ending you provide).
Here, we'll usually keep our output VCF files gzipped, by giving our output files endings like &lt;code&gt;.vcf.gz&lt;/code&gt;, but you can specify &lt;code&gt;.vcf&lt;/code&gt; instead.&lt;/p&gt;
&lt;p&gt;All the data you need to make the TB build are in the &lt;code&gt;data&lt;/code&gt; and &lt;code&gt;config&lt;/code&gt; folders.&lt;/p&gt;
&lt;h3&gt;Filter the Sequences&lt;/h3&gt;
&lt;p&gt;Sometimes you may want to exclude certain sequences from analysis.
You may also wish to downsample your data based on certain criteria. &lt;code&gt;filter&lt;/code&gt; lets you do this.&lt;/p&gt;
&lt;p&gt;For this example, we'll just exclude sequences in the file &lt;code&gt;dropped_strains.txt&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;We'll need to specify these starting files at the top of our Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;seq_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/lee_2015.vcf.gz&amp;quot;&lt;/span&gt;,
&lt;span class="nv"&gt;meta_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/meta.tsv&amp;quot;&lt;/span&gt;,
&lt;span class="nv"&gt;exclude_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/dropped_strains.txt&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And we'll add this as our first rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;filter:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;seq&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;seq_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;meta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;meta_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;exclude&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;exclude_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/filtered.vcf.gz&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur filter --sequences {input.seq} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.meta} \&lt;/span&gt;
&lt;span class="s2"&gt;            --exclude {input.exclude} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now run filter. If you are using the Snakefile included with the TB tutorial, you can run:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;filter
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If you have created your own Snakefile, you'll need to specify its name. For example, if it is called &lt;code&gt;TB_snakefile&lt;/code&gt;, you would run:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;TB_snakefile&lt;span class="w"&gt; &lt;/span&gt;filter
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Mask the Sequences&lt;/h3&gt;
&lt;p&gt;There may be regions in your pathogen sequences that are unreliable.
For example, areas that are hard to map because of repeat regions.
Often, these are excluded from analysis so that incorrect calls in these areas don't influence the results.
The areas to be masked are specified in a BED-format file.
This is a standard, tab-delimited format with five columns: Chrom, ChomStart, ChromEnd, locus tag, and Comment.
You can open up &lt;code&gt;config/Locus_to_exclude_Mtb.bed&lt;/code&gt; in the TB tutorial to see the file format.&lt;/p&gt;
&lt;p&gt;The first, fourth, and fifth columns (Chrom, locus tag, and Comment) can be blank or contain anything - they will be ignored.
All sites between each ChromStart and ChromEnd will be removed from the analysis.&lt;/p&gt;
&lt;p&gt;We'll need to add this BED-format file to the top of the Snakefile (below the files already there):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;mask_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/Locus_to_exclude_Mtb.bed&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now we can add the &lt;code&gt;mask&lt;/code&gt; rule:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;mask:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;seq&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.filter.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;mask&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;mask_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;       &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/masked.vcf.gz&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur mask --sequences {input.seq} \&lt;/span&gt;
&lt;span class="s2"&gt;            --mask {input.mask} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Construct the Phylogeny&lt;/h2&gt;
&lt;p&gt;Now our sequences are ready to start analysis.&lt;/p&gt;
&lt;p&gt;With VCF files, we'll do this in two steps that are slightly different from FASTA-input.
1. First, we'll use only the variable sites to construct a tree quickly. This will give us the topology, but the branch lengths will be incorrect.
2. Next, we'll consider the entire sequence to correct our branch lengths.
At the same time, the sample date information will be used to create a time-resolved tree.&lt;/p&gt;
&lt;h3&gt;Get the Topology&lt;/h3&gt;
&lt;p&gt;You can use different tree-building programs to build your initial tree, and specify some parameters.
Here, we'll use IQTree.
We specify it here with the argument &lt;code&gt;--method&lt;/code&gt;, but it's also the default.&lt;/p&gt;
&lt;p&gt;In &lt;code&gt;tree&lt;/code&gt;, we pass in the VCF file and the reference it was mapped to.
We also pass in a list of sites that we'd like to exclude from building the topology (optional).
These are sites associated with drug-resistance mutations that can influence the topology.
We exclude them here, but they'll be allowed to influence branch length and be included in ancestral sequence reconstruction later.&lt;/p&gt;
&lt;p&gt;We must add the reference sequence our VCF file was mapped to, and our list of sites to exclude from tree-building to the top of the Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;ref_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/ref.fasta&amp;quot;&lt;/span&gt;
&lt;span class="nv"&gt;sites_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/drm_sites.txt&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And add the &lt;code&gt;tree&lt;/code&gt; rule to the Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;tree:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aln&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.mask.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;ref_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sites&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;sites_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree_raw.nwk&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;method&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;iqtree&amp;#39;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur tree --alignment {input.aln} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference {input.ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --method {params.method} \&lt;/span&gt;
&lt;span class="s2"&gt;            --exclude-sites {input.sites} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Fix Branch Lengths &amp;amp; Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Now we'll use the topology from &lt;code&gt;tree&lt;/code&gt;, but get more accurate branch lengths and a time-resolved tree.
This adjusts branch lengths in the tree to position tips by their sample date and infer the most likely time of their ancestors, using &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt;.
There are many options that can be specified here in &lt;code&gt;refine&lt;/code&gt; to help you get a good tree.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;refine&lt;/code&gt; will produce as output:
* another tree (newick format)
* a JSON format file with the inferred dates and mutations on each node/branch&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;refine:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.tree.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aln&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.mask.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;meta_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;ref_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;node_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/branch_lengths.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;root&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;min_dev&amp;#39;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;coal&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;opt&amp;#39;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur refine --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment {input.aln} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference {input.ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --timetree \&lt;/span&gt;
&lt;span class="s2"&gt;            --root {params.root} \&lt;/span&gt;
&lt;span class="s2"&gt;            --coalescent {params.coal} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-node-data {output.node_data}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In addition to assigning times to internal nodes, the &lt;code&gt;refine&lt;/code&gt; command filters tips that are likely outliers.
Branch lengths in the resulting Newick tree measure adjusted nucleotide divergence.
All other data inferred by TreeTime is stored by strain or internal node name in the JSON file.&lt;/p&gt;
&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;p&gt;Now that we have an accurate tree and some information about the ancestral sequences, we can annotate some interesting data onto our phylogeny.
TreeTime can infer ancestral sequences and ancestral traits from an existing phylogenetic tree and metadata to annotate each tip of the tree.&lt;/p&gt;
&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;We can reconstruct the ancestral sequences for the internal nodes on our phylogeny and identify any nucleotide mutations on the branches leading to any node in the tree.&lt;/p&gt;
&lt;p&gt;For VCF runs, &lt;code&gt;ancestral&lt;/code&gt; will produce another VCF that contains the reconstructed sequence of all the internal nodes and the sequences from the tip nodes, as well as a JSON-format file that contains nucleotide mutation information for each node.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;ancestral:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;alignment&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.mask.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;ref_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;nt_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/nt_muts.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;vcf_out&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/nt_muts.vcf&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;inference&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;joint&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur ancestral --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment {input.alignment} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference {input.ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --inference {params.inference} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.nt_data} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-vcf {output.vcf_out}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;With &lt;code&gt;translate&lt;/code&gt; we can identify amino acid mutations from the nucleotide mutations and a GFF file with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
&lt;code&gt;translate&lt;/code&gt; will also produce a VCF-style file with the amino acid changes for each gene and each sequence, and FASTA file with the translated 'reference' genes which the VCF-style file 'maps' to.&lt;/p&gt;
&lt;p&gt;Because of the number of genes in TB, we will only translate genes associated with drug resistance to save time.
We can pass in a list of genes to translate using &lt;code&gt;--genes&lt;/code&gt;.
Note that the &lt;code&gt;--reference-sequence&lt;/code&gt; option is how you pass in the GFF file with the gene coordinates.&lt;/p&gt;
&lt;p&gt;We'll need to add the GFF file with the gene annotations and the file with a list of genes to translate to the list of files at the top of the Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;generef_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/Mtb_H37Rv_NCBI_Annot.gff&amp;quot;&lt;/span&gt;,
&lt;span class="nv"&gt;genes_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/genes.txt&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;translate:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;ref_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;gene_ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;generef_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;vcf&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.vcf_out,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;genes&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;genes_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aa_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/aa_muts.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;vcf_out&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/translations.vcf&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;vcf_ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/translations_reference.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur translate --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference {input.ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --ancestral-sequences {input.vcf} \&lt;/span&gt;
&lt;span class="s2"&gt;            --genes {input.genes} \&lt;/span&gt;
&lt;span class="s2"&gt;            --reference-sequence {input.gene_ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.aa_data} \&lt;/span&gt;
&lt;span class="s2"&gt;            --alignment-output {output.vcf_out} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference-output {output.vcf_ref}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Reconstruct Ancestral States&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;traits&lt;/code&gt; can reconstruct the probable ancestral state of traits like location and host (or others).
This is done by specifying a column or columns in the meta-data file.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;--confidence&lt;/code&gt; will give confidence estimates for the reconstructed states.
The output will be a JSON file with the state (and confidence, if specified) information for each node.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;traits:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;meta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;meta_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/traits.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;traits&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;location&amp;#39;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur traits --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.meta} \&lt;/span&gt;
&lt;span class="s2"&gt;            --columns {params.traits} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Specified Clades&lt;/h3&gt;
&lt;p&gt;In the &lt;a href="http://www.pnas.org/content/112/44/13609"&gt;original paper&lt;/a&gt;, the authors identified 'sublineages' within the dataset.
We can add these to our dataset as 'clades' by defining the sublineages with amino-acid or nucleotide mutations specific to that sublineage, given here in the file &lt;code&gt;config/clades.tsv&lt;/code&gt;.
Open it up in a text editor to have a look at the format.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;clades.tsv&lt;/code&gt; file must be tab-delimited with four columns: clade, gene, site, and alt.
The 'clade' column gives the name of the clade being defined - you can have more than one row per clade - it will only be defined from the branch where all criteria are met.
The 'gene' and 'site' columns specify the gene (or &lt;code&gt;nuc&lt;/code&gt; for nucleotide) and location (by AA position in the gene, or nucleotide position in the genome) where the branch must have the 'alt' (4th column) value to be considered this clade.&lt;/p&gt;
&lt;p&gt;As clades, these sublineages will be labelled and we'll be able to color the tree by them.&lt;/p&gt;
&lt;p&gt;You can specify clades for your own data by first doing a run without clades, then mousing over branches where you'd like to start defining a clade to see what mutations are present.&lt;/p&gt;
&lt;p&gt;We'll need to add the file that defines the clades to the top of our Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;clades_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/clades.tsv&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;clades:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aa_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.translate.output.aa_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;nuc_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.nt_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;clades&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;clades_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;clade_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/clades.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur clades --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --mutations {input.nuc_muts} {input.aa_muts} \&lt;/span&gt;
&lt;span class="s2"&gt;            --clades {input.clades} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.clade_data}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Drug Resistance Mutations&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sequence-traits&lt;/code&gt; can identify any trait associated with particular nucleotide or amino-acid mutations, not just drug resistance mutations (DRMs).&lt;/p&gt;
&lt;p&gt;This dataset doesn't actually contain any drug resistance mutations, but identifying such mutations is often of interest to those working on tuberculosis.
Here, we'll run this step as an example, even though it won't add anything to the tree for this dataset.&lt;/p&gt;
&lt;p&gt;Open up the &lt;code&gt;config/DRMs-AAnuc.tsv&lt;/code&gt; file to see the format of a file that specifies sequence traits.
It contains five columns: GENE, SITE, ALT, DISPLAY_NAME, and FEATURE. DISPLAY_NAME can be blank.&lt;/p&gt;
&lt;p&gt;For drug resistance, we list the gene, the AA position in the gene, the AA mutation that confers resistance (you can list a site multiple times if multiple bases give resistance), and the name of the drug this mutation gives resistance to:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;GENE&lt;span class="w"&gt;    &lt;/span&gt;SITE&lt;span class="w"&gt;    &lt;/span&gt;ALT&lt;span class="w"&gt; &lt;/span&gt;DISPLAY_NAME&lt;span class="w"&gt;    &lt;/span&gt;FEATURE
gyrB&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="m"&gt;461&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;N&lt;span class="w"&gt;       &lt;/span&gt;Fluoroquinolones
gyrB&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="m"&gt;499&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;D&lt;span class="w"&gt;       &lt;/span&gt;Fluoroquinolones
rpoB&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="m"&gt;432&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;E&lt;span class="w"&gt;       &lt;/span&gt;Rifampicin
rpoB&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="m"&gt;432&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;K&lt;span class="w"&gt;       &lt;/span&gt;Rifampicin
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We can leave DISPLAY_NAME blank, as auspice will by default display the gene, site, and original and alternative base.&lt;/p&gt;
&lt;p&gt;For mutations outside of protein-coding genes, we can specify their position using nucleotides:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;GENE&lt;span class="w"&gt;    &lt;/span&gt;SITE&lt;span class="w"&gt;    &lt;/span&gt;ALT&lt;span class="w"&gt; &lt;/span&gt;DISPLAY_NAME&lt;span class="w"&gt;    &lt;/span&gt;FEATURE
nuc&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1472749&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;A&lt;span class="w"&gt;   &lt;/span&gt;rrs:&lt;span class="w"&gt; &lt;/span&gt;C904A&lt;span class="w"&gt;  &lt;/span&gt;Streptomycin
nuc&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1473246&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;G&lt;span class="w"&gt;   &lt;/span&gt;rrs:&lt;span class="w"&gt; &lt;/span&gt;A1401G&lt;span class="w"&gt; &lt;/span&gt;Amikacin&lt;span class="w"&gt; &lt;/span&gt;Capreomycin&lt;span class="w"&gt; &lt;/span&gt;Kanamycin
nuc&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1673423&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;T&lt;span class="w"&gt;   &lt;/span&gt;fabG1:&lt;span class="w"&gt; &lt;/span&gt;G-17T&lt;span class="w"&gt;    &lt;/span&gt;Isoniazid&lt;span class="w"&gt; &lt;/span&gt;Ethionamide
nuc&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1673425&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;T&lt;span class="w"&gt;   &lt;/span&gt;fabG1:&lt;span class="w"&gt; &lt;/span&gt;C-15T&lt;span class="w"&gt;    &lt;/span&gt;Isoniazid&lt;span class="w"&gt; &lt;/span&gt;Ethionamide
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In the literature, these mutations are still referred to by their position within non-protein-coding genes (&lt;code&gt;rrs&lt;/code&gt;) or location near genes (&lt;code&gt;-17 fabG1&lt;/code&gt;), not their nucleotide location.
We can ensure auspice displays the more useful common nomenclature by giving entries for the DISPLAY_NAME column.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sequence-traits&lt;/code&gt; will return a value for each "feature" - for example, all the mutations on the tree that lead to resistance to Streptomycin.
It will also generate a count either of the total number of "features" each node has (ex: the total number of drugs a sequence is resistant to), or the total number or mutations specified in the file each node has (ex: the total number of DRMs a sequence has, even if some are for the same drug).
You can specify a name for this count using the &lt;code&gt;--label&lt;/code&gt; argument (here: "Drug_Resistance").
The &lt;code&gt;--count&lt;/code&gt; argument value specifies whether to count the number of traits (ex: drugs resistant to) (use &lt;code&gt;traits&lt;/code&gt;) or number of overall mutations (use &lt;code&gt;mutations&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;We'll need to add the file that defines the sequence traits (DRMs) to the top of our Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;drms_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/DRMs-AAnuc.tsv&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;seqtraits:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;align&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.vcf_out,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;ref_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;trans_align&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.translate.output.vcf_out,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;trans_ref&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.translate.output.vcf_ref,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;drms&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;drms_file
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;drm_data&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/drms.json&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;count&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;traits&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;label&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Drug_Resistance&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur sequence-traits \&lt;/span&gt;
&lt;span class="s2"&gt;            --ancestral-sequences {input.align} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-reference {input.ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --translations {input.trans_align} \&lt;/span&gt;
&lt;span class="s2"&gt;            --vcf-translate-reference {input.trans_ref} \&lt;/span&gt;
&lt;span class="s2"&gt;            --features {input.drms} \&lt;/span&gt;
&lt;span class="s2"&gt;            --count {params.count} \&lt;/span&gt;
&lt;span class="s2"&gt;            --label {params.label} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output {output.drm_data}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;p&gt;The names of the output tree and meta data files are here specified by a rule called &lt;code&gt;all&lt;/code&gt; at the beginning of our Snakefile.
It should be even before the list of files, and looks like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;all:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;auspice_tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/tb_tree.json&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;auspice_meta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;auspice/tb_meta.json&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule tells Snakemake what the final output of our entire run should look like.
It will run all rules necessary to produce these files, so they should be the names of your final step.
If you have an "all" rule, you can run your entire analysis just by running &lt;code&gt;snakemake&lt;/code&gt; or &lt;code&gt;snakemake --snakefile Snakefile2&lt;/code&gt; (if the name of your Snakefile is not 'Snakefile').&lt;/p&gt;
&lt;p&gt;We'll need to add a few remaining files to our list of files at the start of our Snakefile:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;colors_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/color.tsv&amp;quot;&lt;/span&gt;,
&lt;span class="nv"&gt;config_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/config.json&amp;quot;&lt;/span&gt;,
&lt;span class="nv"&gt;geo_info_file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;config/lat_longs.tsv&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code&gt;color.tsv&lt;/code&gt; file is optional, but allows us to specify our own colors for particular traits.
If you open it up, you can see that we choose our own colors for values in 'region', 'country', 'location' and 'clade_membership'.
If you don't supply a &lt;code&gt;color.tsv&lt;/code&gt; file, auspice will choose colors for you.
This can be the simplest way to start - then you can add colors for any traits where you don't like what auspice has chosen.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;lat_longs.tsv&lt;/code&gt; file contains the latitudes and longitudes for the geographic locations of your data, and may or may not be needed for your data.
Augur contains many latitudes and longitudes for countries and regions, but if you want to specify data at a different level (state, province, county, city), you can include your own file as well (it will be used in addition to the defaults, so country location can still be retrieved from the augur file, for example).
At the bottom of the &lt;code&gt;config/lat_longs.tsv&lt;/code&gt; file in the TB tutorial, notice there are entries for 'location', listing each village.&lt;/p&gt;
&lt;p&gt;You can find out more details about the &lt;code&gt;color.tsv&lt;/code&gt; and &lt;code&gt;lat_longs.tsv&lt;/code&gt; file and their format &lt;a href="201910_RIVM_color_geo.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;config.json&lt;/code&gt; file should be familiar from the Zika Fasta-input &lt;a href="201910_RIVM_augur.html"&gt;tutorial&lt;/a&gt;.
There are a couple of changes worth pointing out, though.&lt;/p&gt;
&lt;p&gt;Since all the samples come from the region of North America and the country of Canada, we don't include these anywhere in our data - all the samples would be the same.
Instead, we have 'location' as a &lt;code&gt;color_options&lt;/code&gt; entry, and also as our &lt;code&gt;geo&lt;/code&gt; (where the samples will be drawn on the map), and as a &lt;code&gt;filters&lt;/code&gt; option.&lt;/p&gt;
&lt;p&gt;We also have a &lt;code&gt;color_options&lt;/code&gt; entry for 'clade_membership', since we designated clades with the &lt;code&gt;clades&lt;/code&gt; rule.
The trait is added to our tree as &lt;code&gt;clade_membership&lt;/code&gt; which is why this is the name of the option and the &lt;code&gt;key&lt;/code&gt; value, but we could set the &lt;code&gt;legendTitle&lt;/code&gt; and &lt;code&gt;menuItem&lt;/code&gt; to be anything we wish, if we wanted.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;export:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;meta_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;branch_lengths&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.refine.output.node_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;traits&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.traits.output,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;nt_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.ancestral.output.nt_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;aa_muts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.translate.output.aa_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;drms&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.seqtraits.output.drm_data,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;color_defs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;colors_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;config&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;config_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;geo_info&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;geo_info_file,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;clades&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.clades.output.clade_data
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.all.input.auspice_tree,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;meta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;rules.all.input.auspice_meta
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur export \&lt;/span&gt;
&lt;span class="s2"&gt;            --tree {input.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --metadata {input.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --node-data {input.branch_lengths} {input.traits} {input.drms} {input.aa_muts} {input.nt_muts} {input.clades} \&lt;/span&gt;
&lt;span class="s2"&gt;            --auspice-config {input.config} \&lt;/span&gt;
&lt;span class="s2"&gt;            --colors {input.color_defs} \&lt;/span&gt;
&lt;span class="s2"&gt;            --lat-longs {input.geo_info} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-tree {output.tree} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-meta {output.meta}&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;As mentioned previously, this dataset has no drug resistance, so it's not included in the &lt;code&gt;config.json&lt;/code&gt; file to display, even though we ran the &lt;code&gt;sequence-traits&lt;/code&gt; rule.
If you did have drug resistance information that you wanted to display, you would need to add it to the &lt;code&gt;config.json&lt;/code&gt; file as &lt;code&gt;color_options&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;First, you would want to add a color-by for the total number of drugs each node is resistant to.
Since we gave the label 'Drug_Resistance' when we ran the rule, this will be the name of the option, and the &lt;code&gt;key&lt;/code&gt;, but we can make the &lt;code&gt;menuItem&lt;/code&gt; and &lt;code&gt;legendTitle&lt;/code&gt; different if we wish:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;Drug_Resistance&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Drug_Resistance&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Drug Resistance&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Drug_Resistance&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If you had given a different label when you ran the rule, you would change this entry to match.&lt;/p&gt;
&lt;p&gt;You would then need an option for each drug where you have resistance information (or each FEATURE where you have information).
For example, to show the mutations present that confer resistance to Streptomycin and Rifampicin:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;Streptomycin&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Streptomycin&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Streptomycin Resistance&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Streptomycin&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;Rifampicin&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Rifampicin&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Rifampicin Resistance&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Rifampicin&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You would need an entry for every FEATURE in your original file (though you could then remove any that had no information on the tree).&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Colormaps and geographical coordinates</title><link href="/201910_RIVM_color_geo.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_color_geo.html</id><summary type="html">&lt;h2&gt;Colors&lt;/h2&gt;
&lt;p&gt;Auspice uses a number of default color schemes to color the tree using meta data or values that the augur pipeline computed.
In some cases these defaults are not suitable for particular type of data (countries, host species often fall into this category) and it is advisable to specify …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Colors&lt;/h2&gt;
&lt;p&gt;Auspice uses a number of default color schemes to color the tree using meta data or values that the augur pipeline computed.
In some cases these defaults are not suitable for particular type of data (countries, host species often fall into this category) and it is advisable to specify your own color schemes.
To specify a mapping between discrete values and colors, you can pass a tab-delimited fill to the augur export step.
This file should contain 3 columns separated by tab characters. The first columns specifies the trait (e.g.~country, host species, ...), the second columns specifies the value of the trait, and the third the associated color in hexadecimal notation.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;country thailand    #511EA8
country vietnam #4928B4
country singapore   #4334BF
country french_polynesia    #4041C7
country american_samoa  #3F50CC
country fiji    #3F5ED0
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The hexadecimal notation starts with a #, followed by two letters coding for red, green, blue values.
If you need advice or inspiration for colors, have a look at &lt;a href="http://colorbrewer2.org/"&gt;colorbrewer&lt;/a&gt;.
In our zika tutorial, this color file will be passed to the augur export command as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;--colors&lt;span class="w"&gt; &lt;/span&gt;config/colors.tsv
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Latitudes and longitudes&lt;/h2&gt;
&lt;p&gt;To place sequences on a map, auspice needs to know where the locations you specify are on the globe.
These coordinates are provided by augur and augur has preset coordinates for many places.
Some places, however, will inevitably be missing and you need to tell augur the latitudes and longitude of all locations not covered by defaults.
The file for latitude and longitude needs to be a tab-delimited table with four columns:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;country brazil  -10.3333332 -53.1999999
country colombia    2.893108    -73.7845142
country dominican_republic  18.50012    -69.98857
country ecuador -1.3397667  -79.3666964
country french_polynesia    -17.6797    -149.4068
country guatemala   15.6356088  -89.8988086
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The first columns specifies the type of location (country, city, region, ...) corresponding to a field in your meta data.
The second is the actual name of the location, while the third and fourth columns are latitude and longitude.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Community pages</title><link href="/201910_RIVM_community.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_community.html</id><summary type="html">&lt;p&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; has a feature that allows you to share your own analysis through the nextstrain.org website.
This works using github as a repository for your analysis files.
To share an analysis, you need to create a repository.
The name of the repository will be what is used to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; has a feature that allows you to share your own analysis through the nextstrain.org website.
This works using github as a repository for your analysis files.
To share an analysis, you need to create a repository.
The name of the repository will be what is used to access the results.
Within this repository, there should a folder called auspice which contains the output json files of the augur pipeline.
Importantly, the name of these files has to start with the name of the repository.
If so, you should be able to access your analysis via the nextstrain community feature.&lt;/p&gt;
&lt;p&gt;As an example, lets look at one of our nextstrain community analysis.
The following link shows you an analysis we made a few month ago of many influenza B sequences:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextstrain.org/community/neherlab/allflu/B_ha"&gt;nextstrain.org/community/neherlab/allflu/B_ha&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The analysis files are hosted on our github page in the reposity&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/neherlab/allflu"&gt;github.com/neherlab/allflu&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this repository, you'll find the folder &lt;code&gt;auspice&lt;/code&gt; which contains the files&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;allflu_B_ha_meta.json
allflu_B_ha_tree.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Note that all files start with "allflu" which matches the name of the repository.
In fact, there are multiple analysis in this folder. The corresponding files all start with "allflu" but they differ in the viral lineage they correspond to:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;allflu_B_ha_meta.json
allflu_B_ha_tree.json
allflu_h1n1_ha_meta.json
allflu_h1n1_ha_tree.json
allflu_h1n1pdm_ha_meta.json
allflu_h1n1pdm_ha_tree.json
allflu_h3n2_ha_meta.json
allflu_h3n2_ha_tree.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;All these can be accessed as&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextstrain.org/community/neherlab/allflu/h1n1_ha"&gt;nextstrain.org/community/neherlab/allflu/h1n1_ha&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextstrain.org/community/neherlab/allflu/h3n2_ha"&gt;nextstrain.org/community/neherlab/allflu/h3n2_ha&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextstrain.org/community/neherlab/allflu/h1n1pdm_ha"&gt;nextstrain.org/community/neherlab/allflu/h1n1pdm_ha&lt;/a&gt;&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Parsing meta data from fasta files</title><link href="/201910_RIVM_meta_from_fasta.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_meta_from_fasta.html</id><summary type="html">&lt;p&gt;If you download sequence data from data bases like GISAID or fludb, there often is an option to include meta data such as dates into the header of fasta files.
This might for example look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;A/Canoas/LACENRS_1793/2015|A|H3N2|07/17/2015||Brazil|Human|KY925125
ATG …&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;p&gt;If you download sequence data from data bases like GISAID or fludb, there often is an option to include meta data such as dates into the header of fasta files.
This might for example look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;A/Canoas/LACENRS_1793/2015|A|H3N2|07/17/2015||Brazil|Human|KY925125
ATG...
&amp;gt;A/Canoas/LACENRS_773/2015|A|H3N2|05/06/2015||Brazil|Human|KY925599
ATG...
[...]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The fasta header contains information such as influenza lineage, dates (in an unpreferred format), country, etc...
To turn this metadata into a table, augur has a special command called &lt;code&gt;parse&lt;/code&gt;.
A rule to parse the above file could look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule&lt;span class="w"&gt; &lt;/span&gt;parse:
&lt;span class="w"&gt;    &lt;/span&gt;input:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/h3n2_ha.fasta&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;output:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/sequences_h3n2_ha.fasta&amp;quot;&lt;/span&gt;,
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;metadata&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/metadata_h3n2_ha.tsv&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;params:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="nv"&gt;fields&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;strain type subtype date season country host accession&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;shell:
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;span class="s2"&gt;        augur parse \&lt;/span&gt;
&lt;span class="s2"&gt;            --sequences {input.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;            --fields {params.fields} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-sequences {output.sequences} \&lt;/span&gt;
&lt;span class="s2"&gt;            --output-metadata {output.metadata} \&lt;/span&gt;
&lt;span class="s2"&gt;            --fix-dates monthfirst&lt;/span&gt;
&lt;span class="s2"&gt;        &amp;quot;&amp;quot;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Note the additional argument &lt;code&gt;--fix-dates monthfirst&lt;/code&gt;.
This triggers an attempt to parse these dates and turn them into ISO format assuming that the month preceeds the date in the input data.
Note that this is a brittle process that should be spot-checked.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Nextstrain workshop at RIVM</title><link href="/201910_RIVM_nextstrain.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft and Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_nextstrain.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;&lt;a href="201909_prerequisites.html"&gt;Prerequisites&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_nextstrain_toolchain.html"&gt;The nextstrain toolchain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_augur.html"&gt;Analysis with augur and Snakemake -- Virus tutorial &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_augur_vcf.html"&gt;Analysis with augur and Snakemake -- Bacteria Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_tips_and_tricks.html"&gt;Important steps in setting up your own analysis&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Additional steps and details&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201910_RIVM_refine.html"&gt;Options for time tree inference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_color_geo.html"&gt;Specify color maps and geographic information&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_advanced_snakemake.html"&gt;Advanced snakemake (wildcards, functions, default rules)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_meta_from_fasta.html"&gt;Parsing metadata from fasta files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201910_RIVM_community.html"&gt;Community pages on nextstrain&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Optional parameters of the refine command</title><link href="/201910_RIVM_refine.html" rel="alternate"></link><published>2019-10-08T00:00:00+02:00</published><updated>2019-10-08T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-10-08:/201910_RIVM_refine.html</id><summary type="html">&lt;h1&gt;Specify the evolutionary rate&lt;/h1&gt;
&lt;p&gt;By default &lt;code&gt;augur&lt;/code&gt; (through &lt;code&gt;treetime&lt;/code&gt;) will estimate the rate of evolution from the data by regressing divergence vs sampling date.
In some scenarios, however, there is insufficient temporal signal to reliably estimate the rate and the analysis will be more robust and reproducible if one fixes …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Specify the evolutionary rate&lt;/h1&gt;
&lt;p&gt;By default &lt;code&gt;augur&lt;/code&gt; (through &lt;code&gt;treetime&lt;/code&gt;) will estimate the rate of evolution from the data by regressing divergence vs sampling date.
In some scenarios, however, there is insufficient temporal signal to reliably estimate the rate and the analysis will be more robust and reproducible if one fixes this rate explicitly.
This can be done via the flag &lt;code&gt;--clock-rate &amp;lt;value&amp;gt;&lt;/code&gt; where the implied units are substitutions per site and year.
In our zika example, this would look like this&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule refine:
&lt;span class="w"&gt; &lt;/span&gt;   input:
&lt;span class="w"&gt; &lt;/span&gt;       tree = rules.tree.output.tree,
&lt;span class="w"&gt; &lt;/span&gt;       alignment = rules.align.output,
&lt;span class="w"&gt; &lt;/span&gt;       metadata = &amp;quot;data/metadata.tsv&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   output:
&lt;span class="w"&gt; &lt;/span&gt;       tree = &amp;quot;results/tree.nwk&amp;quot;,
&lt;span class="w"&gt; &lt;/span&gt;       node_data = &amp;quot;results/branch_lengths.json&amp;quot;
&lt;span class="gi"&gt;+    params:&lt;/span&gt;
&lt;span class="gi"&gt;+       clock_rate = 0.0008&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;   shell:
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;       augur refine \
&lt;span class="w"&gt; &lt;/span&gt;           --tree {input.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --alignment {input.alignment} \
&lt;span class="w"&gt; &lt;/span&gt;           --metadata {input.metadata} \
&lt;span class="w"&gt; &lt;/span&gt;           --timetree \
&lt;span class="gi"&gt;+           --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           --output-tree {output.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --output-node-data {output.node_data}
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1&gt;Confidence intervals for divergence times&lt;/h1&gt;
&lt;p&gt;Divergence time estimates are probabilistic and uncertain for multiple reasons, primarily because the accumulation of mutations is a probabilistic process and the rate estimate itself is not precise.
Augur/TreeTime will account for this uncertainty if the refine command is run with the flag &lt;code&gt;--date-confidence&lt;/code&gt; and the standard deviation of the rate estimate is specified.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;rule refine:
&lt;span class="w"&gt; &lt;/span&gt;   input:
&lt;span class="w"&gt; &lt;/span&gt;       tree = rules.tree.output.tree,
&lt;span class="w"&gt; &lt;/span&gt;       alignment = rules.align.output,
&lt;span class="w"&gt; &lt;/span&gt;       metadata = &amp;quot;data/metadata.tsv&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   output:
&lt;span class="w"&gt; &lt;/span&gt;       tree = &amp;quot;results/tree.nwk&amp;quot;,
&lt;span class="w"&gt; &lt;/span&gt;       node_data = &amp;quot;results/branch_lengths.json&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;   params:
&lt;span class="w"&gt; &lt;/span&gt;       clock_rate = 0.0008,
&lt;span class="gi"&gt;+       clock_std_dev = 0.0002&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;   shell:
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;span class="w"&gt; &lt;/span&gt;       augur refine \
&lt;span class="w"&gt; &lt;/span&gt;           --tree {input.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --alignment {input.alignment} \
&lt;span class="w"&gt; &lt;/span&gt;           --metadata {input.metadata} \
&lt;span class="w"&gt; &lt;/span&gt;           --timetree \
&lt;span class="w"&gt; &lt;/span&gt;           --date-confidence \
&lt;span class="gi"&gt;+            --clock-rate {params.clock_rate} \&lt;/span&gt;
&lt;span class="gi"&gt;+            --clock-std-dev {params.clock_std_dev} \&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;           --output-tree {output.tree} \
&lt;span class="w"&gt; &lt;/span&gt;           --output-node-data {output.node_data}
&lt;span class="w"&gt; &lt;/span&gt;       &amp;quot;&amp;quot;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If run with these parameters, augur will save an confidence interval (e.g. &lt;code&gt;[2014.5,2014.7]&lt;/code&gt;) for each node in the tree.&lt;/p&gt;
&lt;p&gt;By default, augur runs TreeTime in a "covariance-aware" mode where the root-to-tip regression accounts for shared ancestry and covariance between terminal nodes.
This, however, is sometimes unstable when the temporal signal is low and can be switch off with the flag &lt;code&gt;--no-covariance&lt;/code&gt;.&lt;/p&gt;
&lt;h1&gt;Specifying the root of the tree&lt;/h1&gt;
&lt;p&gt;By default, augur/TreeTime reroots your input tree to optimize the temporal signal in the data. This is robust when there is robust temporal signal.
In other situations, you might want to specify the root explicitly, specify a rerooting mechanisms, or keep the root of the input tree.
The latter can be achieved by passing the argument &lt;code&gt;--keep-root&lt;/code&gt;.
To specify a particular strain (or the common ancestor of a group of strains), pass the name(s) of the(se) strain(s) like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;--root&lt;span class="w"&gt; &lt;/span&gt;strain1&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;strain2&lt;span class="w"&gt; &lt;/span&gt;strain3&lt;span class="w"&gt; &lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Other available rooting mechanisms are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;least-squares&lt;/code&gt; (default): minimize squared deviation of the root-to-tip regression&lt;/li&gt;
&lt;li&gt;&lt;code&gt;min-dev&lt;/code&gt;: essentially midpoint rooting minimizing the variance in root-to-tip distance&lt;/li&gt;
&lt;li&gt;&lt;code&gt;oldest&lt;/code&gt;: use the oldest strain as outgroup&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Polytomy resolution&lt;/h1&gt;
&lt;p&gt;if the data set contains many very similar sequences, their evolutionary relationship some times remains ambiguous resulting in zero-length branches or polytomies (that is internal nodes with more than 2 children).
Augur partially resolves those polytomies if such resolution helps the make the tree fit the temporal structure in the data.
If this is undesired, this can be switched-off using &lt;code&gt;--keep-polytomies&lt;/code&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Within-host evolution of HIV</title><link href="/201910_Amsterdam.html" rel="alternate"></link><published>2019-10-04T00:00:00+02:00</published><updated>2019-10-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-10-04:/201910_Amsterdam.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The people who made this happen...&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
        &lt;li&gt;The participants of this study!&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%" class="plain"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The people who made this happen...&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
        &lt;li&gt;The participants of this study!&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%" class="plain"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within individuals&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:45%; width:55%"&gt;
        &lt;img src="talk_images/reservoir_study_design.png" width=100% class="fragment plain"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Untreated early to chronic infection:&lt;/h2&gt;
    &lt;h2&gt;Virus-immune system coevolution&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution and diversity across the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:60%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:58%; width:55%; text-align: left"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Approximately neutral divergence at silent mutations&lt;/h2&gt;
        &lt;img src="talk_images/HIV_neutral_divergence.svg" width=80% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;In vivo mutation rate estimates&lt;/h2&gt;
        &lt;img src="talk_images/HIV_mutation_matrix_only.svg" width=70% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion towards the center of HIV phylogeny&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:17%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:17%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:17%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Reversions accumulate slowly throughout chronic infection&lt;/li&gt;
    &lt;li&gt;Reversion can explain much of the intra/inter-host evolutionary rate mismatch&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:50%; width:50%; text-align:justify;"&gt;
    &lt;font size=6&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Fitness landscape of HIV-1&lt;/h2&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1100px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Suppressive therapy and the latent reservoir:&lt;/h2&gt;
    &lt;h2&gt;Where is HIV hiding?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The latent proviral DNA reservoir&lt;/h3&gt;
    &lt;div style="position: absolute; left:20%; top:12%; width: 60%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:10%; width: 55%" class="fragment"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Viruses integrate but don't express &amp;rarr; pro-viral DNA reservoir&lt;/li&gt;
        &lt;li&gt;Therapy fully suppresses virus replication, but interruption results in rebound&lt;/li&gt;
        &lt;li&gt;When is the reservoir established? How is it maintained?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;p17 sequencing from PBMCs on fully suppressive therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80% class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Proviral DNA mostly identical to pre-therapy RNA&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="100%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;No evidence of ongoing evolution&lt;/h2&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1100px class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;, see also &lt;a href="https://www.biorxiv.org/content/early/2019/01/04/512475"&gt;Abrahams et al, bioRxiv, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Most proviral DNA originates from shortly after start of therapy&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=700px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:45%; width: 50%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=450px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:65%; left:50%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Summary&lt;/h2&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Continuous reversion to ancestral states throughout chronic infection &lt;/li&gt;
            &lt;li&gt;Minor diversity allows fitness cost estimates at every position in the genome &lt;/li&gt;
            &lt;li&gt;The latent reservoir is a snapshot of the pre-treatment population&lt;/li&gt;
            &lt;li&gt;No evidence of ongoing replication&lt;/li&gt;
            &lt;li&gt;No clear trend of diversity loss on treatment&lt;/li&gt;
            &lt;li&gt;Proviral DNA can serve as a T-cell lineage marker&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/silly_colin.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing evolution -- hypermutated provirus&lt;/h3&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_root_to_tip_hyper.jpg" width=900px class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hypermutated and intact proviral p17 sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
        &lt;img src="talk_images/HIVEVO_hypermutation_stats.png" width="60%" class="plain"&gt;&lt;/img&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Between 0 and 43% hypermutants, median 13%&lt;/li&gt;
            &lt;li&gt;Between 3 and 43 unique sequences &gt;1% read frequency, median 25&lt;/li&gt;
            &lt;li&gt;Majority of hypermutant sequences have stop codons&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Phylodynamic theory of persistence, extinction and speciation of rapidly adapting pathogens</title><link href="/yan_phylodynamic_2019.html" rel="alternate"></link><published>2019-09-19T00:00:00+02:00</published><updated>2019-09-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-09-19:/yan_phylodynamic_2019.html</id><summary type="html">&lt;p&gt;Rapidly evolving pathogens like influenza viruses can persist by changing their antigenic properties fast enough to evade the adaptive immunity, yet they rarely split into diverging lineages. By mapping the multi-strain Susceptible-Infected-Recovered model onto the traveling wave model of adapting populations, we demonstrate that persistence of a rapidly evolving, Red-Queen-like …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Rapidly evolving pathogens like influenza viruses can persist by changing their antigenic properties fast enough to evade the adaptive immunity, yet they rarely split into diverging lineages. By mapping the multi-strain Susceptible-Infected-Recovered model onto the traveling wave model of adapting populations, we demonstrate that persistence of a rapidly evolving, Red-Queen-like state of the pathogen population requires long-ranged cross-immunity and sufficiently large population sizes. This state is unstable and the population goes extinct or 'speciates' into two pathogen strains with antigenic divergence beyond the range of cross-inhibition. However, in a certain range of evolutionary parameters, a single cross-inhibiting population can exist for times long compared to the time to the most recent common ancestor (TMRCA) and gives rise to phylogenetic patterns typical of influenza virus. We demonstrate that the rate of speciation is related to fluctuations of TMRCA and construct a 'phase diagram' identifying different phylodynamic regimes as a function of evolutionary parameters.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Echtzeit-Analyse, Visualisierung, und Vorhersage der Evolution von Grippe-Viren</title><link href="/201909_PublicHealthCH.html" rel="alternate"></link><published>2019-09-17T00:00:00+02:00</published><updated>2019-09-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-09-17:/201909_PublicHealthCH.html</id><summary type="html">&lt;section&gt;
    &lt;h3&gt;Die vergangene Grippesaison in der Schweiz&lt;/h3&gt;
    &lt;img src="talk_images/2018_2019_flu_switzerland.png" width="1200px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.bag.admin.ch"&gt;www.bag.admin.ch&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
                &lt;li&gt;zwei Linien die sich …&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h3&gt;Die vergangene Grippesaison in der Schweiz&lt;/h3&gt;
    &lt;img src="talk_images/2018_2019_flu_switzerland.png" width="1200px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.bag.admin.ch"&gt;www.bag.admin.ch&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
                &lt;li&gt;zwei Linien die sich vor 30-40 Jahren geteilt haben&lt;/li&gt;
                &lt;li&gt;B/Victoria und B/Yamagata&lt;/li&gt;
                &lt;li&gt;nur eine Variante ist in der tri-valenten Impfung enthalten&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza A Viren des Menschen&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
&lt;h3&gt;Wöchentliche Grippe-Fallzahlen in den USA&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Aussergewöhnlich frühe Grippe Saison in Australien)&lt;/h3&gt;
    &lt;img src="talk_images/flu_australia_2019.jpeg"&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;img src="talk_images/mutation_sketch_leichester.png" width=900px&gt;
    &lt;span class="ref"&gt;adapted from &lt;a href="https://www2.le.ac.uk/projects/vgec/schoolsandcolleges/topics/genetics-mutation-and-cancer"&gt;&lt;/a&gt;www2.le.ac.uk&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Mutationen in Genom-Sequenzen verraten die Ausbreitung und Evolution des Virus&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... Tausende Sequenzen mehr...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetische Analyse von Virus-Genomen&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA Viren haben hohe Mutationsraten. Ein Genom mutiert all paar Wochen.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:18%; width:30%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza Viren verändern sich und weichen so dem Immunsystem aus.&lt;/li&gt;
                &lt;li&gt;Impfstoffe müssen laufend aktualisiert werden&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/flu_h3n2_overview_2019.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/flu_h3n2_australia_2019.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Ist Evolution von Grippe vorhersehbar?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:28%; left:40%; width:50%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Extrapolation&lt;/li&gt;
            &lt;li&gt;Vorhersagen durch Vergleich mit historischen Mustern&lt;/li&gt;
            &lt;li&gt;Erfolgreiche Varianten anhand des Verzweigungsmuster detektieren&lt;/li&gt;
            &lt;li&gt;Antigenische Eigenschaften zirkulierender Viren&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness Inferenz anhand des Baums&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/flu_h3n2_lbi_2019.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=200px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=200px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vorhersage der dominierenden H3N2 Influenza Variante &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Nicht Grippe-spezifisch&lt;/li&gt;
        &lt;li&gt;Wie kann das Model weiter verbessert werden? (siehe z.B. das Model von Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;Anwendbarkeit in anderen Zusammenhängen?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Physics of Life I -- 44702-01</title><link href="/201909_PhysicsOfLife.html" rel="alternate"></link><published>2019-09-16T00:00:00+02:00</published><updated>2019-09-16T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-09-16:/201909_PhysicsOfLife.html</id><summary type="html">&lt;h1&gt;General information&lt;/h1&gt;
&lt;p&gt;Prof. Jan Pieter Abraham is on medical leave and Prof. Richard Neher will substitute for him.
Prof. Neher will lecture the first two weeks of the Semester, followed by 7 weeks of lectures by Prof. Hiller, and another 5 weeks by Prof. Neher.
Lecture take place Thu and …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;General information&lt;/h1&gt;
&lt;p&gt;Prof. Jan Pieter Abraham is on medical leave and Prof. Richard Neher will substitute for him.
Prof. Neher will lecture the first two weeks of the Semester, followed by 7 weeks of lectures by Prof. Hiller, and another 5 weeks by Prof. Neher.
Lecture take place Thu and Fri 10-12h in Vesalianum, Kleiner Hörsaal (O1.13).&lt;/p&gt;
&lt;h2&gt;Exercises&lt;/h2&gt;
&lt;p&gt;Each week, we will distribute a set of exercises that you should work on at home and upload to a folder on ADAM.
These won't be graded, but only checked for consistency.
Deadline for uploading the exercises is 10:15 on Friday -- solutions will be discussed in the exercise session Fridays 11:15-12:00.&lt;/p&gt;
&lt;h2&gt;Exam&lt;/h2&gt;
&lt;p&gt;To pass the course, you'll need to pass the exam.
Each lecturer will prepare their own exam each accounting for 50% of the final mark.
Regular submission of solutions to the exercises will increase the exam mark by 0.5
You can bring 2 handwritten pages of formalue and notes.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Augur and Snakemake</title><link href="/201909_BC2_augur.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-09-09:/201909_BC2_augur.html</id><summary type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
To compose such tools into an analysis pipeline, augur advocates the workflow management tool &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Snakemake&lt;/h1&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.
A simple rule would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;nthreads&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur align --sequences {input.seq} --nthreads {params.nthreads} --ouput {output.aln}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule would produce &lt;code&gt;results/alignment.fasta&lt;/code&gt; from the input file &lt;code&gt;data/sequences.fasta&lt;/code&gt; using the &lt;code&gt;augur align&lt;/code&gt; command and additionally specifies that &lt;code&gt;augur&lt;/code&gt; is supposed to use 2 CPUs for this task.&lt;/p&gt;
&lt;p&gt;When executing a rule, Snakemake will check whether all necessary input files are present, if not, it will determine which rules produce the necessary files and execute those first.
Say there was an additional rule to build a tree that dependended on the alignment:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur tree --alignment {input.aln} --ouput {output.tree}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To build the tree, you would now call Snakemake as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and Snakemake would&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;find the rule that produces &lt;code&gt;results/tree.nwk&lt;/code&gt; (rule &lt;code&gt;tree&lt;/code&gt; in this case)&lt;/li&gt;
&lt;li&gt;determine that it needs to run rule &lt;code&gt;align&lt;/code&gt; to produce &lt;code&gt;results/alignment.fasta&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;run rules &lt;code&gt;align&lt;/code&gt; and &lt;code&gt;tree&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These simple examples only scratch the surface of what Snakemake can do but should give you the general idea.&lt;/p&gt;
&lt;h1&gt;Augur commands and Snakefiles&lt;/h1&gt;
&lt;p&gt;We will work off the tutorial for Zika virus on the &lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;nextstrain web site&lt;/a&gt; and the github repository &lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;nextstrain/zika-tutorial&lt;/a&gt;.
Clone the tutorial using&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;git clone https://github.com/nextstrain/zika-tutorial.git
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and open the &lt;code&gt;Snakefile&lt;/code&gt; in your text editor.&lt;/p&gt;
&lt;h3&gt;Filter the Sequences&lt;/h3&gt;
&lt;p&gt;Filter the parsed sequences and metadata to exclude strains from subsequent analysis and subsample the remaining strains to a fixed number of samples per group.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/sequences.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/filtered.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--group-by&lt;span class="w"&gt; &lt;/span&gt;country&lt;span class="w"&gt; &lt;/span&gt;year&lt;span class="w"&gt; &lt;/span&gt;month&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences-per-group&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;20&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--min-date&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;2012&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Align the Sequences&lt;/h3&gt;
&lt;p&gt;Create a multiple alignment of the sequences using a custom reference.
After this alignment, columns with gaps in the reference are removed.
Additionally, the &lt;code&gt;--fill-gaps&lt;/code&gt; flag fills gaps in non-reference sequences with "N" characters.
These modifications force all sequences into the same coordinate space as the reference sequence.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;align&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;results/filtered.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--reference-sequence&lt;span class="w"&gt; &lt;/span&gt;config/zika_outgroup.gb&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--fill-gaps
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now the pathogen sequences are ready for analysis.&lt;/p&gt;
&lt;h2&gt;Construct the Phylogeny&lt;/h2&gt;
&lt;p&gt;Infer a phylogenetic tree from the multiple sequence alignment.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;tree&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The resulting tree is stored in &lt;a href="http://evolution.genetics.washington.edu/phylip/newicktree.html"&gt;Newick format&lt;/a&gt;.
Branch lengths in this tree measure nucleotide divergence.&lt;/p&gt;
&lt;h3&gt;Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Augur can also adjust branch lengths in this tree to position tips by their sample date and infer the most likely time of their ancestors, using &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt;.
Run the &lt;code&gt;refine&lt;/code&gt; command to apply TreeTime to the original phylogenetic tree and produce a "time tree".&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;refine&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output-tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output-node-data&lt;span class="w"&gt; &lt;/span&gt;results/branch_lengths.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--timetree&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--coalescent&lt;span class="w"&gt; &lt;/span&gt;opt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--date-confidence&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--date-inference&lt;span class="w"&gt; &lt;/span&gt;marginal&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--clock-filter-iqd&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;4&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In addition to assigning times to internal nodes, the &lt;code&gt;refine&lt;/code&gt; command filters tips that are likely outliers and assigns confidence intervals to inferred dates.
Branch lengths in the resulting Newick tree measure adjusted nucleotide divergence.
All other data inferred by TreeTime is stored by strain or internal node name in the corresponding JSON file.&lt;/p&gt;
&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;h3&gt;Reconstruct Ancestral Traits&lt;/h3&gt;
&lt;p&gt;TreeTime can also infer ancestral traits from an existing phylogenetic tree and metadata annotating each tip of the tree.
The following command infers the region and country of all internal nodes from the time tree and original strain metadata.
As with the &lt;code&gt;refine&lt;/code&gt; command, the resulting JSON output is indexed by strain or internal node name.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;traits&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/traits.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--columns&lt;span class="w"&gt; &lt;/span&gt;region&lt;span class="w"&gt; &lt;/span&gt;country&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--confidence
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;Next, infer the ancestral sequence of each internal node and identify any nucleotide mutations on the branches leading to any node in the tree.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;ancestral&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/aligned.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--inference&lt;span class="w"&gt; &lt;/span&gt;joint
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;Identify amino acid mutations from the nucleotide mutations and a reference sequence with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
To export a FASTA file with the complete amino acid translations for each gene from each node’s sequence, specify the &lt;code&gt;--alignment-output&lt;/code&gt; parameter in the form of &lt;code&gt;results/aligned_aa_%GENE.fasta&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;translate&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--ancestral-sequences&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--reference-sequence&lt;span class="w"&gt; &lt;/span&gt;config/zika_outgroup.gb&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/aa_muts.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
This refers to three config files to define colors via &lt;code&gt;config/colors.tsv&lt;/code&gt;, lat/long coordinates via &lt;code&gt;config/lat_longs.tsv&lt;/code&gt; and page title, maintainer, filters present, etc... via &lt;code&gt;config/auspice_config.json&lt;/code&gt;.
The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;export&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/metadata.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--node-data&lt;span class="w"&gt; &lt;/span&gt;results/branch_lengths.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;              &lt;/span&gt;results/traits.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;              &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;              &lt;/span&gt;results/aa_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--colors&lt;span class="w"&gt; &lt;/span&gt;config/colors.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--lat-longs&lt;span class="w"&gt; &lt;/span&gt;config/lat_longs.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--auspice-config&lt;span class="w"&gt; &lt;/span&gt;config/auspice_config.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output-tree&lt;span class="w"&gt; &lt;/span&gt;auspice/zika_tree.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;--output-meta&lt;span class="w"&gt; &lt;/span&gt;auspice/zika_meta.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake for VCF input</title><link href="/201909_BC2_augur_vcf.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-09-09:/201909_BC2_augur_vcf.html</id><summary type="html">&lt;p&gt;This tutorial explains how to create a Nextstrain build for Tuberculosis sequences.
However, much of it will be applicable to any run where you are starting with &lt;a href="https://en.wikipedia.org/wiki/Variant_Call_Format"&gt;VCF&lt;/a&gt; files rather than &lt;a href="https://en.wikipedia.org/wiki/FASTA_format"&gt;FASTA&lt;/a&gt; files.&lt;/p&gt;
&lt;p&gt;We will first make the build step-by-step using an example data set.
Then we will see how …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This tutorial explains how to create a Nextstrain build for Tuberculosis sequences.
However, much of it will be applicable to any run where you are starting with &lt;a href="https://en.wikipedia.org/wiki/Variant_Call_Format"&gt;VCF&lt;/a&gt; files rather than &lt;a href="https://en.wikipedia.org/wiki/FASTA_format"&gt;FASTA&lt;/a&gt; files.&lt;/p&gt;
&lt;p&gt;We will first make the build step-by-step using an example data set.
Then we will see how to automate this stepwise process by defining a pathogen build script which contains the commands we will run below.&lt;/p&gt;
&lt;h2&gt;Build steps&lt;/h2&gt;
&lt;p&gt;Nextstrain builds typically require the following steps:
* Preparing data
* Constructing a phylogeny
* Annotating the phylogeny
* Exporting the results&lt;/p&gt;
&lt;p&gt;However, the commands that make up each step can vary depending on your pathogen and your analysis.
Here, we'll follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Prepare pathogen sequences and metadata&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Filter the sequences (remove unwanted sequences and/or sample sequences)&lt;/li&gt;
&lt;li&gt;Mask the sequences (exclude regions of the sequence that are unreliable)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Construct a phylogeny&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Construct an initial tree (to get topology)&lt;/li&gt;
&lt;li&gt;Convert this into a time-resolved tree (to get accurate branch lengths)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Annotate the phylogeny&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Infer ancestral sequences&lt;/li&gt;
&lt;li&gt;Translate genes and identify amino-acid changes&lt;/li&gt;
&lt;li&gt;Reconstruct ancestral states (like location or host)&lt;/li&gt;
&lt;li&gt;Identify clades on the tree&lt;/li&gt;
&lt;li&gt;Identify drug resistance mutations&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Export the final results into auspice-readable format&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Download Data&lt;/h2&gt;
&lt;p&gt;The data in this tutorial is public and is a subset of the data from Lee et al.'s 2015 paper &lt;a href="http://www.pnas.org/content/112/44/13609"&gt;Population genomics of &lt;em&gt;Mycobacterium tuberculosis&lt;/em&gt; in the Inuit&lt;/a&gt;.
As location was anonymized in the paper, location data provided here was randomly chosen from the region for illustrative purposes.&lt;/p&gt;
&lt;p&gt;First, download the Tuberculosis (TB) build which includes example data and a pathogen build script.
Then enter the directory you just cloned.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;git clone https://github.com/nextstrain/tb.git
cd tb
conda activate nextstrain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Prepare the Sequences&lt;/h2&gt;
&lt;p&gt;A Nextstrain build with VCF file input starts with:
* A VCF file containing all the sequences you want to include (variable sites only)
* A FASTA file of the reference sequence to which your VCF was mapped
* A tab-delimited metadata file &lt;em&gt;we need better info about what format this should be...&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There are other files you will need if you want to perform certain steps, like masking.
If you are also working with TB sequences, you may be able to use the files provided here on your own data.
Otherwise, you'll need to provide files specific to your pathogen.&lt;/p&gt;
&lt;p&gt;Here, our input file is compressed with gzip - you can see it ends with &lt;code&gt;.vcf.gz&lt;/code&gt;.
However, &lt;code&gt;augur&lt;/code&gt; can take gzipped or un-gzipped VCF files.
It can also produce either gzipped or un-gzipped VCF files as output.
Here, we'll usually keep our VCF files gzipped, by giving our output files endings like &lt;code&gt;.vcf.gz&lt;/code&gt;, but you can specify &lt;code&gt;.vcf&lt;/code&gt; instead.&lt;/p&gt;
&lt;p&gt;All the data you need to make the TB build is in the &lt;code&gt;data&lt;/code&gt; and &lt;code&gt;config&lt;/code&gt; folders.&lt;/p&gt;
&lt;h3&gt;Filter the Sequences&lt;/h3&gt;
&lt;p&gt;Sometimes you may want to exclude certain sequences from analysis.
You may also wish to downsample your data based on certain criteria. &lt;code&gt;filter&lt;/code&gt; lets you do this.
For more information on all the ways you can filter data, see &lt;a href="/docs/bioinformatics/commands#filter"&gt;the bioinformatics commands reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For this example, we'll just exclude sequences in the file &lt;code&gt;dropped_strains.txt&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;First, we'll make a folder to hold all of our results from each step:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;mkdir&lt;span class="w"&gt; &lt;/span&gt;-p&lt;span class="w"&gt; &lt;/span&gt;results
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now run filter:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;filter&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;data/lee_2015.vcf.gz&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/meta.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--exclude&lt;span class="w"&gt; &lt;/span&gt;config/dropped_strains.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/filtered.vcf.gz
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Mask the Sequences&lt;/h3&gt;
&lt;p&gt;There may be regions in your pathogen sequences that are unreliable.
For example, areas that are hard to map because of repeat regions.
Often, these are excluded from analysis so that incorrect calls in these areas don't influence the results.
The areas to be masked are specified in a BED-format file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;mask&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--sequences&lt;span class="w"&gt; &lt;/span&gt;results/filtered.vcf.gz&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--mask&lt;span class="w"&gt; &lt;/span&gt;config/Locus_to_exclude_Mtb.bed&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/masked.vcf.gz
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Construct the Phylogeny&lt;/h2&gt;
&lt;p&gt;Now our sequences are ready to start analysis.&lt;/p&gt;
&lt;p&gt;With VCF files, we'll do this in two steps that are slightly different from FASTA-input.
1. First, we'll use only the variable sites to construct a tree quickly. This will give us the topology, but the branch lengths will be incorrect.
2. Next, we'll consider the entire sequence to correct our branch lengths.
At the same time, the sample date information will be used to create a time-resolved tree.&lt;/p&gt;
&lt;h3&gt;Get the Topology&lt;/h3&gt;
&lt;p&gt;You can use different tree-building programs to build your initial tree, and specify some parameters.
You can see all the options for &lt;code&gt;tree&lt;/code&gt; in &lt;a href="/docs/bioinformatics/commands#tree"&gt;the bioinformatics commands reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here, we pass in the VCF file and the reference it was mapped to.
We also pass in a list of sites that we'd like to exclude from building the topology.
These are sites associated with drug-resistance mutations that can influence the topology.
We exclude them here, but they'll be allowed to influence branch length and be included in ancestral sequence reconstruction later.
Finally, we use &lt;code&gt;iqtree&lt;/code&gt; as the method to build the tree here.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;tree&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/masked.vcf.gz&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference&lt;span class="w"&gt; &lt;/span&gt;data/ref.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--exclude-sites&lt;span class="w"&gt; &lt;/span&gt;config/drm_sites.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--method&lt;span class="w"&gt; &lt;/span&gt;iqtree&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Fix Branch Lengths &amp;amp; Get a Time-Resolved Tree&lt;/h3&gt;
&lt;p&gt;Now we'll use the topology from &lt;code&gt;tree&lt;/code&gt;, but get more accurate branch lengths and a time-resolved tree.
This adjusts branch lengths in the tree to position tips by their sample date and infer the most likely time of their ancestors, using &lt;a href="https://github.com/neherlab/treetime"&gt;TreeTime&lt;/a&gt;.
There are &lt;em&gt;many&lt;/em&gt; options that can be specified here in &lt;code&gt;refine&lt;/code&gt; to help you get a good tree.
You can read about them in &lt;a href="/docs/bioinformatics/commands#refine"&gt;the bioinformatics commands reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;refine&lt;/code&gt; will produce as output:
* another tree (newick format)
* a JSON format file with further information about each node&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;refine&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree_raw.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/masked.vcf.gz&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference&lt;span class="w"&gt; &lt;/span&gt;data/ref.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/meta.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--timetree&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--root&lt;span class="w"&gt; &lt;/span&gt;residual&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--coalescent&lt;span class="w"&gt; &lt;/span&gt;opt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output-tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output-node-data&lt;span class="w"&gt; &lt;/span&gt;results/branch_lengths.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In addition to assigning times to internal nodes, the &lt;code&gt;refine&lt;/code&gt; command filters tips that are likely outliers.
Branch lengths in the resulting Newick tree measure adjusted nucleotide divergence.
All other data inferred by TreeTime is stored by strain or internal node name in the JSON file.&lt;/p&gt;
&lt;h2&gt;Annotate the Phylogeny&lt;/h2&gt;
&lt;p&gt;Now that we have an accurate tree and some information about the ancestral sequences, we can annotate some interesting data onto our phylogeny.
TreeTime can infer ancestral sequences and ancestral traits from an existing phylogenetic tree and metadata to annotate each tip of the tree.&lt;/p&gt;
&lt;h3&gt;Infer Ancestral Sequences&lt;/h3&gt;
&lt;p&gt;We can reconstruct the ancestral sequences for the internal nodes on our phylogeny and identify any nucleotide mutations on the branches leading to any node in the tree.
You can read about all the options for &lt;code&gt;ancestral&lt;/code&gt; in &lt;a href="/docs/bioinformatics/commands#ancestral"&gt;the bioinformatics commands reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For VCF runs, &lt;code&gt;ancestral&lt;/code&gt; will produce another VCF that contains entries for the reconstructed sequence of all the internal nodes, as well as a JSON-format file that contains nucleotide mutation information for each node.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;ancestral&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--alignment&lt;span class="w"&gt; &lt;/span&gt;results/masked.vcf.gz&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference&lt;span class="w"&gt; &lt;/span&gt;data/ref.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--inference&lt;span class="w"&gt; &lt;/span&gt;joint&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output-vcf&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.vcf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Amino-Acid Mutations&lt;/h3&gt;
&lt;p&gt;With &lt;code&gt;translate&lt;/code&gt; we can identify amino acid mutations from the nucleotide mutations and a GFF file with gene coordinate annotations.
The resulting JSON file contains amino acid mutations indexed by strain or internal node name and by gene name.
&lt;code&gt;translate&lt;/code&gt; will also produce a VCF-style file with the amino acid changes for each gene and each sequence, and FASTA file with the translated 'reference' genes which the VCF-style file 'maps' to.&lt;/p&gt;
&lt;p&gt;Because of the number of genes in TB, we will only translate some genes to save time. We can pass in a list of genes to translate (genes associated with drug resistance) using &lt;code&gt;--genes&lt;/code&gt;.
Note that the &lt;code&gt;--reference-sequence&lt;/code&gt; option is how you pass in the GFF file with the gene coordinates.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;translate&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--ancestral-sequences&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.vcf&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference&lt;span class="w"&gt; &lt;/span&gt;data/ref.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--genes&lt;span class="w"&gt; &lt;/span&gt;config/genes.txt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--reference-sequence&lt;span class="w"&gt; &lt;/span&gt;config/Mtb_H37Rv_NCBI_Annot.gff&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/aa_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--alignment-output&lt;span class="w"&gt; &lt;/span&gt;results/translations.vcf&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference-output&lt;span class="w"&gt; &lt;/span&gt;results/translations_reference.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Reconstruct Ancestral States&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;traits&lt;/code&gt; can reconstruct the probable ancestral state of traits like location and host (or others).
This is done by specifying a column or columns in the meta-data file.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;--confidence&lt;/code&gt; will give confidence estimates for the reconstructed states.
The output will be a JSON file with the state (and confidence, if specified) information for each node.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;traits&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/meta.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--columns&lt;span class="w"&gt; &lt;/span&gt;location&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--confidence&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/traits.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Specified Clades&lt;/h3&gt;
&lt;p&gt;In the &lt;a href="http://www.pnas.org/content/112/44/13609"&gt;original paper&lt;/a&gt;, the authors identified 'sublineages' within the dataset.
We can add these to our dataset as 'clades' by defining the sublineages with amino-acid or nucleotide mutations specific to that sublineage, given here in the file &lt;code&gt;clades.tsv&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;As clades, these sublineages will be labelled and we'll be able to color the tree by them.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;clades&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--mutations&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;results/aa_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--clades&lt;span class="w"&gt; &lt;/span&gt;config/clades.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/clades.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Identify Drug Resistance Mutations&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;sequence-traits&lt;/code&gt; can identify any trait associated with particular nucleotide or amino-acid mutations, not just drug resistance mutations.&lt;/p&gt;
&lt;p&gt;This dataset doesn't actually contain any drug resistance mutations, but identifying such mutations is often of interest to those working on tuberculosis.
Here, we'll run this step as an example, even though it won't add anything to the tree for this dataset.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;sequence-traits&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--ancestral-sequences&lt;span class="w"&gt; &lt;/span&gt;results/nt_muts.vcf&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-reference&lt;span class="w"&gt; &lt;/span&gt;data/ref.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--translations&lt;span class="w"&gt; &lt;/span&gt;results/translations.vcf&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--vcf-translate-reference&lt;span class="w"&gt; &lt;/span&gt;results/translations_reference.fasta&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--features&lt;span class="w"&gt; &lt;/span&gt;config/DRMs-AAnuc.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--count&lt;span class="w"&gt; &lt;/span&gt;traits&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--label&lt;span class="w"&gt; &lt;/span&gt;Drug_Resistance&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;results/drms.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2&gt;Export the Results&lt;/h2&gt;
&lt;p&gt;Finally, collect all node annotations and metadata and export it all in auspice’s JSON format.
The resulting tree and metadata JSON files are the inputs to the auspice visualization tool.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;augur&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;export&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--metadata&lt;span class="w"&gt; &lt;/span&gt;data/meta.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--node-data&lt;span class="w"&gt; &lt;/span&gt;results/branch_lengths.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;results/traits.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;results/aa_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;results/nt_muts.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;results/clades.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;                &lt;/span&gt;results/drms.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--auspice-config&lt;span class="w"&gt; &lt;/span&gt;config/config.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--colors&lt;span class="w"&gt; &lt;/span&gt;config/color.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--lat-longs&lt;span class="w"&gt; &lt;/span&gt;config/lat_longs.tsv&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output-tree&lt;span class="w"&gt; &lt;/span&gt;auspice/tb_tree.json&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;--output-meta&lt;span class="w"&gt; &lt;/span&gt;auspice/tb_meta.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Nextstrain workshop at [BC]2</title><link href="/201909_BC2_overview.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft and Richard Neher</name></author><id>tag:None,2019-09-09:/201909_BC2_overview.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and interactive visualization using nextstrain.
&lt;a href="https://nextstrain.org"&gt;Nextstrain&lt;/a&gt; is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;&lt;a href="201909_prerequisites.html"&gt;Prerequisites&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_nextstrain_toolchain.html"&gt;The nextstrain toolchain&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_BC2_augur.html"&gt;Analysis with augur and Snakemake -- Virus tutorial &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_BC2_augur_vcf.html"&gt;Analysis with augur and Snakemake -- Bacteria Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201909_tips_and_tricks.html"&gt;Important steps in setting up your own analysis&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;Example repository with zika sequences&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>The nextstrain toolchain</title><link href="/201909_nextstrain_toolchain.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-09-09:/201909_nextstrain_toolchain.html</id><summary type="html">&lt;p&gt;Nextstrain consists of two components&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.org/nextstrain/augur"&gt;augur&lt;/a&gt;: a modular phylogenetic analysis workflow&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.org/nextstrain/auspice"&gt;auspice&lt;/a&gt;: an interactive web-app for visualization&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Augur is composed of a series of modules and different workflows will use different parts of the pipeline.
A selection of augur modules and different possible entry points are illustrated below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="pipeline" src="/talk_images/nextstrain_pipeline.png"&gt;&lt;/p&gt;
&lt;p&gt;The canonical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Nextstrain consists of two components&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.org/nextstrain/augur"&gt;augur&lt;/a&gt;: a modular phylogenetic analysis workflow&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.org/nextstrain/auspice"&gt;auspice&lt;/a&gt;: an interactive web-app for visualization&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Augur is composed of a series of modules and different workflows will use different parts of the pipeline.
A selection of augur modules and different possible entry points are illustrated below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="pipeline" src="/talk_images/nextstrain_pipeline.png"&gt;&lt;/p&gt;
&lt;p&gt;The canonical pipeline would ingest sequences and metadata such as dates and sampling locations, filter the data, align the sequences, infer a tree, and export the results in a format that can be visualized by auspice.
For a step by step explanation on how your analysis is built up using augur steps, see this &lt;a href="/teaching_notes/201909_Emma_augur_steps.pdf"&gt;slide deck&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In some cases, you might start with a manually curated alignment and want to start the workflow at the tree building step.
Or you already have a tree inferred. In this case, you only need to feed you tree through the &lt;code&gt;refine&lt;/code&gt; and &lt;code&gt;export&lt;/code&gt; steps.
The &lt;code&gt;refine&lt;/code&gt; step is necessary to ensure that cross-referencing between tree nodes and meta data works as expected.
For a full list of augur modules, see the &lt;a href="https://nextstrain-augur.readthedocs.io/en/stable/cli.html"&gt;augur documentation&lt;/a&gt;.
Augur includes for example modules for phylogeographic analysis and ancestral sequences reconstruction.&lt;/p&gt;
&lt;p&gt;The different augur modules can be strung together by workflow managers like snakemake and nextflow.
The nextstrain team uses &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;snakemake&lt;/a&gt; to run and manage the different analysis that you see on &lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Installation and data curation</title><link href="/201909_prerequisites.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-09-09:/201909_prerequisites.html</id><summary type="html">&lt;h1&gt;Preparing for the Workshop&lt;/h1&gt;
&lt;p&gt;We look forward to working with you at the BC2/BaselLife workshop on Monday! Before you arrive, you should install Nextstrain on the computer you will bring. In the afternoon of the workshop, we aim to get your own data working on Nextstrain. To do this …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Preparing for the Workshop&lt;/h1&gt;
&lt;p&gt;We look forward to working with you at the BC2/BaselLife workshop on Monday! Before you arrive, you should install Nextstrain on the computer you will bring. In the afternoon of the workshop, we aim to get your own data working on Nextstrain. To do this, you should follow the guide below to ensure your data are formatted and organized correctly, allowing you to get working on it straight away!&lt;/p&gt;
&lt;p&gt;First, &lt;a href="#installation"&gt;install Nextstrain&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Next, &lt;a href="#prepare-your-data"&gt;prepare your data&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;&lt;a id="installation"&gt;Installation&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Nextstrain can be installed in a &lt;a href="https://nextstrain.org/docs/getting-started/local-installation"&gt;variety of ways&lt;/a&gt; on all major operating systems.
For this course, we detail the preferred way of installing nextstrain below.
Feel free to deviate from this when you think you know what you are doing, but you'll be on your own.
If you encounter problems following these steps, get in touch with Emma and Richard with as much detail as possible.&lt;/p&gt;
&lt;h4&gt;Operating systems specific steps -- Windows&lt;/h4&gt;
&lt;p&gt;Since Windows 10, you have the option to use native Linux software on Windows via the "Windows subsystem for Linux" (WSL).
Instructions on how to install and activate WSL can be found in the &lt;strong&gt;first two steps&lt;/strong&gt; &lt;a href="https://nextstrain.org/docs/getting-started/windows-help/"&gt;here&lt;/a&gt;.
&lt;em&gt;Do not follow the steps beyond 'Create a Link to Your Files'!&lt;/em&gt;
We recommend you install the Ubuntu distribution as this is the one we will be using during teaching.&lt;/p&gt;
&lt;p&gt;After completing these steps, open a terminal (look for 'Bash on Ubuntu' or 'Ubuntu' in the Start Menu), and run the following commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt-get&lt;span class="w"&gt; &lt;/span&gt;update
sudo&lt;span class="w"&gt; &lt;/span&gt;apt-get&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;curl&lt;span class="w"&gt; &lt;/span&gt;gcc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h4&gt;Operating systems specific steps -- MacOS&lt;/h4&gt;
&lt;p&gt;To run nextstrain on macOS, you'll need the developer tools.
Open a terminal and type &lt;code&gt;gcc&lt;/code&gt;.
If no developer tools are installed, you will be prompted to install them.&lt;/p&gt;
&lt;h4&gt;Operating systems specific steps -- Linux&lt;/h4&gt;
&lt;p&gt;Open a terminal and run the following commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sudo&lt;span class="w"&gt; &lt;/span&gt;apt-get&lt;span class="w"&gt; &lt;/span&gt;update
sudo&lt;span class="w"&gt; &lt;/span&gt;apt-get&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;curl&lt;span class="w"&gt; &lt;/span&gt;gcc
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Install miniconda&lt;/h3&gt;
&lt;p&gt;Our preferred way to install is via the conda package manager.
Conda will install all required python dependencies and necessary bioinformatic tools.
To get the miniconda installer for Linux and Windows Subsystem for Linux (WSL), type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;curl&lt;span class="w"&gt; &lt;/span&gt;https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh&lt;span class="w"&gt; &lt;/span&gt;-o&lt;span class="w"&gt; &lt;/span&gt;conda_installer.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;On MacOS, use&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;curl&lt;span class="w"&gt; &lt;/span&gt;https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh&lt;span class="w"&gt; &lt;/span&gt;-o&lt;span class="w"&gt; &lt;/span&gt;conda_installer.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Next, you need to run the installer:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;bash&lt;span class="w"&gt; &lt;/span&gt;conda_installer.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This installer will ask you to accept terms and conditions (yes), where the conda distribution is to be saved (the default is fine), and whether your shell should be configured (yes).
After this step, you should open a new terminal so that the changes take effect.&lt;/p&gt;
&lt;h3&gt;Install Nextstrain&lt;/h3&gt;
&lt;p&gt;To install Nextstrain, use the following commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;curl&lt;span class="w"&gt; &lt;/span&gt;http://data.nextstrain.org/nextstrain.yml&lt;span class="w"&gt; &lt;/span&gt;--compressed&lt;span class="w"&gt; &lt;/span&gt;-o&lt;span class="w"&gt; &lt;/span&gt;nextstrain.yml
conda&lt;span class="w"&gt; &lt;/span&gt;env&lt;span class="w"&gt; &lt;/span&gt;create&lt;span class="w"&gt; &lt;/span&gt;-f&lt;span class="w"&gt; &lt;/span&gt;nextstrain.yml
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The first command fetches a list of requirements from the web, the second sets up a environment called 'nextstrain'.&lt;/p&gt;
&lt;p&gt;In a last step, you need to install the visualization component, which can be done with the commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
npm&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;--global&lt;span class="w"&gt; &lt;/span&gt;auspice
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Anytime you want to use Nextstrain, you will need to activate the nextstrain environment with&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Testing your installation&lt;/h3&gt;
&lt;p&gt;To test the installation, we suggest you download our simplest tutorial data set via&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;git&lt;span class="w"&gt; &lt;/span&gt;clone&lt;span class="w"&gt; &lt;/span&gt;https://github.com/nextstrain/zika-tutorial.git
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will download the pipeline and example data. You can run the analysis with&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;zika-tutorial
conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
snakemake
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To view the result, type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;auspice&lt;span class="w"&gt; &lt;/span&gt;view
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This should print the following to screen&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nb"&gt;---------------------------------------------------&lt;/span&gt;
&lt;span class="c"&gt;Auspice server now running at http://localhost:4000&lt;/span&gt;
&lt;span class="c"&gt;Serving auspice version 1&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;&lt;span class="c"&gt;38&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;&lt;span class="c"&gt;0&lt;/span&gt;&lt;span class="nt"&gt;.&lt;/span&gt;
&lt;span class="c"&gt;Looking for datasets in /home/richard/Projects/nextstrain/zika&lt;/span&gt;&lt;span class="nb"&gt;-&lt;/span&gt;&lt;span class="c"&gt;tutorial/auspice&lt;/span&gt;
&lt;span class="c"&gt;Looking for narratives in /home/richard/Projects/nextstrain/zika&lt;/span&gt;&lt;span class="nb"&gt;-&lt;/span&gt;&lt;span class="c"&gt;tutorial&lt;/span&gt;
&lt;span class="nb"&gt;---------------------------------------------------&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Opening up your web browser and setting the URL to &lt;code&gt;localhost:4000&lt;/code&gt; should show your analysis (you might need to allow exceptions to some firewall).
In this case, Nextstrain has run successfully!&lt;/p&gt;
&lt;p&gt;If something isn't working, please get in touch and we'll try to help you get it running before the workshop!&lt;/p&gt;
&lt;h2&gt;&lt;a id="prepare-your-data"&gt;Prepare your data&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We want to get you started analyzing your own data using Nextstrain during the workshop!
To facilitate this, it would be extremely helpful if your data was formatted such that nextstrain understands it. Otherwise you'll waste a lot of time on simple and boring stuff during the workshop.&lt;/p&gt;
&lt;h3&gt;Metadata&lt;/h3&gt;
&lt;p&gt;Your Nextstrain analysis is going to be vastly more interesting if the sequences or samples you analyze have rich 'meta data'.
This metadata would typically include collection dates, geographic location, symptoms of patients, host characteristics, etc.
But for Nextstrain to be able to parse these and visualize them, they need to be formated consistently.
Your data may have meta information coded into the sequence name (see example below).
If not, a very transparent way is to provide the meta data as a separate table in a tab- or comma-separated file.&lt;/p&gt;
&lt;p&gt;An example meta data file is shown here:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;strain&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="n"&gt;accession&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0087_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447509&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0181_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447512&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0199_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447519&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY785433&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;04&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;08&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY558989&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;02&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;23&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;There needs to be at least one column named &lt;code&gt;strain&lt;/code&gt; or &lt;code&gt;name&lt;/code&gt;.
These need to match the identifiers of your sequences (in the Fasta or VCF file) &lt;em&gt;exactly&lt;/em&gt; and must not contain characters such as spaces, or &lt;code&gt;()[]{}|#&amp;gt;&amp;lt;&lt;/code&gt;.
Dates should be formated according as &lt;code&gt;YYYY-MM-DD&lt;/code&gt;.
You can specify unknown dates or month by replacing the respected values by &lt;code&gt;XX&lt;/code&gt; (ex: &lt;code&gt;2013-01-XX&lt;/code&gt; or &lt;code&gt;2011-XX-XX&lt;/code&gt;) and completely unknown dates can be shown with &lt;code&gt;20XX-XX-XX&lt;/code&gt; (which does not restrict the sequence to being in the 21st century - they could be earlier).&lt;/p&gt;
&lt;p&gt;Because Excel will automatically change the date formatting, we recommend &lt;strong&gt;not&lt;/strong&gt; opening or preparing your meta data file in Excel.
If the metadata is already in Excel, or you decide to prepare it in Excel, we recommend using another program to correct the dates afterwards (and don't open it in Excel again!).&lt;/p&gt;
&lt;p&gt;Geographic locations can be broken down as &lt;code&gt;region&lt;/code&gt;, &lt;code&gt;country&lt;/code&gt;, &lt;code&gt;division&lt;/code&gt; or &lt;code&gt;city&lt;/code&gt; and for many of these Nextstrain already knows their coordinates.
It is important that these are spelled consistently and we have adopted the convention that spaces are replaced by underscores (ex: &lt;code&gt;New_Zealand&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;To make the most of Nextstrain's features, we recommend including sampling date and at least one type of geographic information if at all possible.
However, you can also include things like symptoms, host, clinical outcome - and more!&lt;/p&gt;
&lt;h3&gt;Sequence as Fasta -- virus and other small genomes&lt;/h3&gt;
&lt;p&gt;Most Nextstrain analyses start from a set of sequences saved in Fasta format.
It is crucial to ensure that the name of the sequence matches exactly the strain name in the metadata table.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;1_0087_PF
ACTCGCTGCATCG...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Often meta data is coded into the fasta header like so:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;1_0087_PF | KX447509 | 2013-12-XX | oceania
ACTCGCTGCATCG...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The analysis part of Nextstrain, &lt;code&gt;augur&lt;/code&gt;, can parse meta data from Fasta headers, but you have to make sure that every sequence has the exact same meta data fields and that they are consistently delimited with &lt;code&gt;|&lt;/code&gt;.
Furthermore, none of the metadata fields can contain the character &lt;code&gt;|&lt;/code&gt;.&lt;/p&gt;
&lt;h4&gt;Reference sequence&lt;/h4&gt;
&lt;p&gt;To provide consistent alignment and annotation, &lt;code&gt;augur&lt;/code&gt; uses an annotated reference sequence in &lt;code&gt;genbank&lt;/code&gt; format.
Please bring an appropriate reference sequence along with your data set.
You should be able to download such a sequence from data bases such as Genbank.&lt;/p&gt;
&lt;p&gt;For example, in our Zika build we use the reference sequence &lt;a href="https://www.ncbi.nlm.nih.gov/nuccore/KX369547"&gt;PF13/251013-18&lt;/a&gt;.
Since we have full-genome Zika samples, it was important we choose a reference that is also full-genome in length.
If you have partial-genome sequences, you should look for a reference that covers the same region you have.&lt;/p&gt;
&lt;p&gt;You can download a reference sequence you find on Genbank by using the 'send to' link in the top-right corner and then selecting 'Complete Record', 'File', and 'GenBank' as the format.&lt;/p&gt;
&lt;!-- Your reference genome should also be annotated with the genes it contains.
If you scroll down on the Zika reference sequence, you'll notice it has a section where it lists `mat_peptide` and products which are the genes of Zika.
Unfortunately if your reference sequence is in this format, you'll need to modify it slightly after you download it.
Open the file in a text-editor and change every instance of `mat_peptide` to `CDS`.
Then, for each gene, change `/product=` to `/gene=`.
(We would not recommend doing this for 'polyprotein' if you have individual genes available instead.)
Then save the file.
 --&gt;
&lt;h3&gt;Sequence in VCF -- bacteria and other larger genomes&lt;/h3&gt;
&lt;p&gt;If you would like to run Nextstrain on whole-genome bacterial data, you probably would like to start with VCF sequence data.
(Note that if you have bacterial SNP data, this may be in the above Fasta format.)&lt;/p&gt;
&lt;p&gt;All of your samples should be combined into one VCF file, where each sample has its own column.
As always, it's crucial that the sequence names in your VCF file (at the top of each column) match the sequence names in your meta data file.
The VCF file can be uncompressed (ending in &lt;code&gt;.vcf&lt;/code&gt;) or compressed (ending in &lt;code&gt;.vcf.gz&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;You will also need the reference sequence to which your VCF file maps.
This is a Fasta file that contains one full-length genome with positions that correspond to the positions in your VCF file.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Optional:&lt;/em&gt;
If you have areas of your genome that you would like to exclude from analysis (perhaps because they are repetitive or recombinant), you can provide a file in BED format which lists regions to 'mask' (exclude).
An example of this format is below. It does not matter what is in the &lt;code&gt;Chrom&lt;/code&gt;, &lt;code&gt;locus tag&lt;/code&gt; or &lt;code&gt;Comment&lt;/code&gt; fields.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Chrom   ChromStart  ChromEnd    locus tag   Comment
NC_000962   23182   23269   IG18_Rv0018c-Rv0019c
NC_000962   33582   33794   Rv0031  remnant of A transposase
NC_000962   80194   80623   IG71_Rv0071-Rv0072
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Optional:&lt;/em&gt;
Bacteria can have thousands of genes, and translating all of them can take quite a bit of time.
If you wouldn't like to translate all of them, you can provide a list of genes that you'd like to include in the analysis, and only these will be processed.
For example, you might include a list of genes that are associated with drug-resistance.
To do this, simply create a file with a list of the genes you'd like to include, with one gene name per line.&lt;/p&gt;
&lt;h4&gt;Annotation reference sequence&lt;/h4&gt;
&lt;p&gt;To correctly translate and identify genes in your data, you will also need to provide an annotation file - the equivalent of the GenBank file needed for Fasta input, above.
However, for VCF files, this should be in GFF format.&lt;/p&gt;
&lt;p&gt;You can also find an appropriate GFF annotation reference on GenBank.
Be sure to pick one that is very close to the strain you are using, if there might be variability in the genes present!
If the positions in the GFF file do not match the positions in your VCF file, it will not work.&lt;/p&gt;
&lt;p&gt;To download a file from GenBank, use the 'send to' button in the top-right corner, then select 'Complete Record', 'File', and 'GFF3' for the format.&lt;/p&gt;
&lt;p&gt;You will have to modify the first column of the GFF so that it matches the &lt;code&gt;CHROM&lt;/code&gt; (first column) of your VCF file.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Important tips for your own analysis</title><link href="/201909_tips_and_tricks.html" rel="alternate"></link><published>2019-09-09T00:00:00+02:00</published><updated>2019-09-09T00:00:00+02:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-09-09:/201909_tips_and_tricks.html</id><summary type="html">&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Your sequence data should&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;consist of homologous sequences that can be aligned unambiguously&lt;/li&gt;
&lt;li&gt;needs to contain sufficient diversity to allow reliable tree reconstruction&lt;/li&gt;
&lt;li&gt;should be of similar length. Mixing short sequences (300bp) with much longer ones (10000bp) often yields unexpected results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Reference sequence&lt;/h2&gt;
&lt;p&gt;A reference sequence is needed …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Your sequence data should&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;consist of homologous sequences that can be aligned unambiguously&lt;/li&gt;
&lt;li&gt;needs to contain sufficient diversity to allow reliable tree reconstruction&lt;/li&gt;
&lt;li&gt;should be of similar length. Mixing short sequences (300bp) with much longer ones (10000bp) often yields unexpected results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Reference sequence&lt;/h2&gt;
&lt;p&gt;A reference sequence is needed to obtain consistent alignment coordinates and sequence numbering. In addition, a reference sequence provides the annotation. For long genomes, annotation will typically be provided as a GFF file, short annotated genomes are often stored in genbank format. Augur will not use all annotated features listed in a genbank file but only those marked in a specific way:&lt;/p&gt;
&lt;p&gt;To ensure augur interprets an annotation as a protein feature, it should be of type &lt;code&gt;CDS&lt;/code&gt; and contain a tag &lt;code&gt;gene&lt;/code&gt; or &lt;code&gt;locus_tag&lt;/code&gt;, for example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;     CDS             961..2472
                     /product=&amp;quot;envelope protein&amp;quot;
                     /gene=&amp;quot;ENV&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You might have to manually adjust the genbank file to make that work.&lt;/p&gt;
&lt;h2&gt;Metadata&lt;/h2&gt;
&lt;p&gt;Metadata would typically include collection dates, geographic location, symptoms of patients, host characteristics, etc.
But for Nextstrain to be able to parse these and visualize them, they need to be formated consistently.
An example meta data file is shown here:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;strain&lt;/span&gt;&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="n"&gt;accession&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="n"&gt;region&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0087_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447509&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0181_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447512&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;12&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="mh"&gt;1&lt;/span&gt;&lt;span class="n"&gt;_0199_PF&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="n"&gt;KX447519&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2013&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;XX&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY785433&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2016&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;04&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;08&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;span class="n"&gt;BRA&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;KY558989&lt;/span&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="mh"&gt;2015&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;02&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mh"&gt;23&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;south_america&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;There needs to be at least one column named &lt;code&gt;strain&lt;/code&gt; or &lt;code&gt;name&lt;/code&gt;.
These need to match the identifiers of your sequences (in the Fasta or VCF file) &lt;em&gt;exactly&lt;/em&gt; and must not contain characters such as spaces, or &lt;code&gt;()[]{}|#&amp;gt;&amp;lt;&lt;/code&gt;.
Dates should be formated according as &lt;code&gt;YYYY-MM-DD&lt;/code&gt;.
You can specify unknown dates or month by replacing the respected values by &lt;code&gt;XX&lt;/code&gt; (ex: &lt;code&gt;2013-01-XX&lt;/code&gt; or &lt;code&gt;2011-XX-XX&lt;/code&gt;) and completely unknown dates can be shown with &lt;code&gt;20XX-XX-XX&lt;/code&gt; (which does not restrict the sequence to being in the 21st century - they could be earlier).&lt;/p&gt;
&lt;p&gt;Because Excel will automatically change the date formatting, we recommend &lt;strong&gt;not&lt;/strong&gt; opening or preparing your meta data file in Excel.
If the meta data is already in Excel, or you decide to prepare it in Excel, we recommend using another program to correct the dates afterwards (and don't open it in Excel again!).&lt;/p&gt;
&lt;h2&gt;Rooting of the tree&lt;/h2&gt;
&lt;p&gt;Augur (through treetime) will attempt to find a root for the inferred tree that is most compatible with the collection dates of your sequences.
This doesn't always work, in particular if sampling through time is very uneven and there is little temporal signal in the data (e.g. your sample consists of several distant clades).
In this case, you might need to provide an explicit outgroup to root the tree.&lt;/p&gt;
&lt;h2&gt;Auspice config file&lt;/h2&gt;
&lt;p&gt;The current version of auspice requires a file that specifies some aspects of how your analysis is visualized.
The following shows an example json file with ADDED comments (following //). These NEED to be REMOVED for it to be a valid json and work!&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// This will appear as the title of your analysis&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;title&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Real-time tracking of Zika virus evolution&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// the following will appear in the menu from which you choose colorings&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// to be understood by auspice, they need to follow as specific formating&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// and the options `gt` and `num_date` should be left as is.&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// you can add additional color options corresponding to columns in your metadata&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;color_options&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;gt&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genotype&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Genotype&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;genotype&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;num_date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Sampling date&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;continuous&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;num_date&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;key&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;legendTitle&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;menuItem&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;      &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;discrete&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// specifies how strains are aggregated on the map&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;geo&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// which panels to show. additional options are `entropy` and `frequency`&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;panels&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:[&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;tree&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;map&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;defaults&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;mapTriplicate&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// put your name and contact details...&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;maintainer&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Trevor Bedford&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;http://bedford.io/team/trevor-bedford/&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// discrete fields by which you can filter the data. corresponds to&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="c1"&gt;// columns in meta data&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nt"&gt;&amp;quot;filters&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;country&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;region&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;authors&amp;quot;&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Running nextstrain on GISAID downloads</title><link href="/201908_GISAID_Nextstrain.html" rel="alternate"></link><published>2019-08-26T00:00:00+02:00</published><updated>2019-08-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-08-26:/201908_GISAID_Nextstrain.html</id><summary type="html">&lt;p&gt;This tutorial will teach you how to run nextstrain/nextflu on a download from GISAID and visualize the result on your computer.&lt;/p&gt;
&lt;p&gt;At first, you'll have to select a sensible number of sequences all of the same type/lineage! This is critical for successful analysis and only seasonal influenza virus …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This tutorial will teach you how to run nextstrain/nextflu on a download from GISAID and visualize the result on your computer.&lt;/p&gt;
&lt;p&gt;At first, you'll have to select a sensible number of sequences all of the same type/lineage! This is critical for successful analysis and only seasonal influenza virus lineages are supported at the moment.&lt;/p&gt;
&lt;p&gt;&lt;img alt="gisaid_browse" src="teaching_images/GISAID_browse.png"&gt;&lt;/p&gt;
&lt;p&gt;Once you have your collection of isolates that you want to analyze, you need to download the sequences.
When downloading, it is crucial that you download one segment at a time, that the fields in the FASTA have the indicated order, and that you choose YYYY-MM-DD as date format.
Your download screen should look somewhat like this.&lt;/p&gt;
&lt;p&gt;&lt;img alt="gisaid_download" src="teaching_images/GISAID_download.png"&gt;&lt;/p&gt;
&lt;p&gt;If you mess up the FASTA header, nextflu won't know what is a date, what is an accession number, or the name of the isolate.&lt;/p&gt;
&lt;p&gt;The next important step is that you put the file in the correct place and name it such that nextstrain knows what lineage and segment to expect.
Your sequence download has to be placed in the directory &lt;code&gt;data&lt;/code&gt; and named as follows&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;data/h3n2_ha.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;or more generally&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;data/LINEAGE_SEGMENT.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;where the allowed values for LINEAGE are &lt;code&gt;h3n2&lt;/code&gt;, &lt;code&gt;h1n1pdm&lt;/code&gt;, &lt;code&gt;vic&lt;/code&gt;, and &lt;code&gt;yam&lt;/code&gt; and for SEGMENT &lt;code&gt;ha&lt;/code&gt;, &lt;code&gt;na&lt;/code&gt;, &lt;code&gt;pb1&lt;/code&gt;, &lt;code&gt;pb2&lt;/code&gt;, &lt;code&gt;pa&lt;/code&gt;, &lt;code&gt;ns&lt;/code&gt;, &lt;code&gt;np&lt;/code&gt;, and &lt;code&gt;ma&lt;/code&gt;.
Note that these are case sensitive!&lt;/p&gt;
&lt;p&gt;Once you have your data in the right place, you are ready to run nextstrain.
First, activate the nextstrain environment using&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;conda&lt;span class="w"&gt; &lt;/span&gt;activate&lt;span class="w"&gt; &lt;/span&gt;nextstrain
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;(unless it is already activated).
Then run the analysis by typing&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;auspice/h3n2_ha_tree.json
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will tell the workflow manager &lt;code&gt;snakemake&lt;/code&gt; to produce the file &lt;code&gt;auspice/h3n2_ha_tree.json&lt;/code&gt; which will contain the analysis that can be visualized in your web-browser.
You don't need to worry about the details of this now.
But if you want to change the analysis or the file naming scheme, you will need to change the pipeline defined in the &lt;code&gt;Snakefile&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;To view your analysis results, type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;auspice&lt;span class="w"&gt; &lt;/span&gt;view
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and open &lt;code&gt;http://localhost:4000&lt;/code&gt; in your browser.&lt;/p&gt;
&lt;p&gt;You can find more information on how to customize your workflow in this &lt;a href="201901_krisp_augur.html"&gt;Tutorial&lt;/a&gt; or on the documentation pages of &lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Annotated trees&lt;/h2&gt;
&lt;p&gt;It is often useful to annotate branches in a tree with the mutations that likely occurred on this branch.
This is straightforwardly done using treetime and the nextstrain output:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;treetime&lt;span class="w"&gt; &lt;/span&gt;--aln&lt;span class="w"&gt; &lt;/span&gt;results/aligned_h1n1pdm_ha.fasta&lt;span class="w"&gt; &lt;/span&gt;--tree&lt;span class="w"&gt; &lt;/span&gt;results/tree-raw_h1n1pdm_ha.nwk&lt;span class="w"&gt; &lt;/span&gt;--outdir&lt;span class="w"&gt; &lt;/span&gt;myMutationTree
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;will create a directory &lt;code&gt;myMutationTree&lt;/code&gt; containing a tree file in nexus format with mutations assigned to branches. This tree can be viewed in common tree viewers such as figtree.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Nextstrain/WHO workshop in Singapore</title><link href="/201908_WHO_overview.html" rel="alternate"></link><published>2019-08-26T00:00:00+02:00</published><updated>2019-08-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-08-26:/201908_WHO_overview.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and dynamic visualization using nextstrain.
Nextstrain is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and dynamic visualization using nextstrain.
Nextstrain is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201908_GISAID_Nextstrain.html"&gt;Analyze GISAID download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_augur.html"&gt;Analysis with augur and Snakemake -- Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/gisaid_nextstrain"&gt;Example repository to analyze GISAID download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Real-time tracking of pathogen evolution and spread</title><link href="/201907_ECDC.html" rel="alternate"></link><published>2019-07-11T00:00:00+02:00</published><updated>2019-07-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-07-11:/201907_ECDC.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent mutations imply...&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are can be inferred&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
    &lt;li&gt;phenotypic changes can be inferred (for some pathogens)&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Visualization features of nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Regular and time scaled phylogenies&lt;/li&gt;
        &lt;li&gt;Mutations are mapped to the tree&lt;/li&gt;
        &lt;li&gt;Filtering to time interval, region, country, authors, ... &lt;/li&gt;
        &lt;li&gt;Zoom into clades&lt;/li&gt;
        &lt;li&gt;Information on specific viruses&lt;/li&gt;
        &lt;li&gt;Color by amino acid or nucleotide&lt;/li&gt;
        &lt;li&gt;Frequency trajectories of clades and mutations&lt;/li&gt;
        &lt;li&gt;Color by antigenic advance, predictive scores, etc&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Phylodynamic analysis with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;input: metadata (csv table) + sequences&lt;/li&gt;
        &lt;li&gt;composable snakemake pipeline
        &lt;ul&gt;
            &lt;li&gt;filtering (select relevant strains)&lt;/li&gt;
            &lt;li&gt;alignment&lt;/li&gt;
            &lt;li&gt;tree building (optionally time scaled trees)&lt;/li&gt;
            &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
            &lt;li&gt;additional pathogen specific steps&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;export to visualization&lt;/li&gt;
        &lt;li&gt;runs in minutes to 1h&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Web visualization with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;fairly easy to set-up&lt;br&gt;
        &lt;li&gt;can be run locally (localhost)&lt;br&gt;
        &lt;li&gt;or be deployed on your own servers&lt;/li&gt;
        &lt;li&gt;work in progress:
            &lt;ul&gt;
                &lt;li&gt;flexible branding&lt;/li&gt;
                &lt;li&gt;drag and drop features&lt;/li&gt;
                &lt;li&gt;(better docs...)&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tb.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tbWalker.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Almost everybody has antibodies against EV-D68&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in &lt;br&gt;young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks last fall &lt;br&gt;(201 AFM cases in the US in 2018)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:75%; text-align: center" class="fragment"&gt;
    &lt;h3&gt;EV-D68 whole genome deep sequencing project across Europe&lt;h3&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_enterovirus.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;Infections with multiple variants&lt;/h2&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_dual_infections_p1.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;A set of iSNVs at very similar frequencies in full linkage&lt;/li&gt;
    &lt;li&gt;Suggest infection with two related variants&lt;/li&gt;
    &lt;li&gt;3 out of 50 samples: Implies high prevalence&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=150px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;and others&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- Enterovirus&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
        &lt;li&gt;Bert Niesters (Groningen)&lt;/li&gt;
        &lt;li&gt;Randy Poelman (Groningen)&lt;/li&gt;
        &lt;li&gt;Elke Wollants (Leuven)&lt;/li&gt;
        &lt;li&gt;Adrian Egli (Basel)&lt;/li&gt;
        &lt;li&gt;Andrés Antón Pagarolas (Barcelona)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Repeatability and predictability in microbial evolution</title><link href="/201907_Nordita.html" rel="alternate"></link><published>2019-07-03T00:00:00+02:00</published><updated>2019-07-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-07-03:/201907_Nordita.html</id><summary type="html">&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Repeatability in replicated experiments
        &lt;ul&gt;
            &lt;li&gt;same exact mutations?&lt;/li&gt;
            &lt;li&gt;same genes?&lt;/li&gt;
            &lt;li&gt;same pathways?&lt;/li&gt;
            &lt;li&gt;same phenotypes?&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Predictability
        &lt;ul&gt;
            &lt;li&gt;future frequency trajectories of existing alleles?&lt;/li&gt;
            &lt;li&gt;future mutations?&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin resistance evolution in Pseudomonas aeruginosa&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;polymyxin, active against gram negatives&lt;/li&gt;
            &lt;li&gt;interacts with outer membrane&lt;/li&gt;
            &lt;li&gt;old antibiotic, discontinued because of nephrotoxicity&lt;/li&gt;
            &lt;li&gt;today: last-resort antibiotic&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Colistin.svg" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;ul&gt;
            &lt;li&gt;How fast?&lt;/li&gt;
            &lt;li&gt;Which mutations …&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Repeatability in replicated experiments
        &lt;ul&gt;
            &lt;li&gt;same exact mutations?&lt;/li&gt;
            &lt;li&gt;same genes?&lt;/li&gt;
            &lt;li&gt;same pathways?&lt;/li&gt;
            &lt;li&gt;same phenotypes?&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;Predictability
        &lt;ul&gt;
            &lt;li&gt;future frequency trajectories of existing alleles?&lt;/li&gt;
            &lt;li&gt;future mutations?&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin resistance evolution in Pseudomonas aeruginosa&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;polymyxin, active against gram negatives&lt;/li&gt;
            &lt;li&gt;interacts with outer membrane&lt;/li&gt;
            &lt;li&gt;old antibiotic, discontinued because of nephrotoxicity&lt;/li&gt;
            &lt;li&gt;today: last-resort antibiotic&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Colistin.svg" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;ul&gt;
            &lt;li&gt;How fast?&lt;/li&gt;
            &lt;li&gt;Which mutations?&lt;/li&gt;
            &lt;li&gt;Which order?&lt;/li&gt;
            &lt;li&gt;Genetic background?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Morbidostat by Toprak et al.&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/toprak_morbidostat_feedback.png"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Computer measures OD&lt;/li&gt;
                &lt;li&gt;Controls pumps to add medium or AB&lt;/li&gt;
                &lt;li&gt;Waste is removed&lt;/li&gt;
                &lt;li&gt;Morbidostat&amp;rarr; growth rate is kept constant&lt;/li&gt;
                &lt;li&gt;Chemostat &amp;rarr; dilution is constant&lt;/li&gt;
                &lt;li&gt;Turbidostat &amp;rarr; OD is constant&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/toprak_morbidostat_trace.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Our morbidostat&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_media_pumps.jpg"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;more flexible software&lt;/li&gt;
                &lt;li&gt;more compact design&lt;/li&gt;
                &lt;li&gt;cheaper pumps and controllers&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_electronics.jpg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_inside.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin resistance emerges within 2 weeks&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_PA77_v01_drug.svg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/morbidostat_resistance.svg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;img src="/talk_images/morbidostat_PA83_all.png" height="800px"&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h2&gt;Mutation trajectories in strain PA77&lt;/h2&gt;
    &lt;img src="/talk_images/morbidostat_PA77_snps_in_vial_v01.png" width=1200px&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Whole genome deep sequencing ($&gt;200x$) with Illumina. &lt;/li&gt;
        &lt;li&gt;Track rare mutations, no matter where they are &lt;/li&gt;
        &lt;li&gt;Mutation frequencies to about 5% accuracy&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Mutation trajectories in strain PA83&lt;/h2&gt;
    &lt;img src="/talk_images/morbidostat_PA83_snps_in_vial_v12.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Recurrent mutations PA77&lt;/h3&gt;
&lt;font size=5&gt;
&lt;table&gt;
&lt;b&gt;&lt;tr&gt;&lt;td&gt;&lt;i&gt;Gene&lt;/i&gt;&lt;/td&gt;&lt;td&gt;locus tag PAO1 &lt;/td&gt;&lt;td&gt; v01 &lt;/td&gt;&lt;td&gt;v02 &lt;/td&gt;&lt;td&gt;v03 &lt;/td&gt;&lt;td&gt;v04 &lt;/td&gt;&lt;td&gt;v05 &lt;/td&gt;&lt;td&gt; v05a &lt;/td&gt;&lt;td&gt;   v08a   &lt;/td&gt;&lt;td&gt; v10a &lt;/td&gt;&lt;td&gt;   v11a&lt;/td&gt;&lt;/tr&gt;&lt;/b&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrB&lt;/i&gt; &lt;/td&gt;&lt;td&gt;PA4777&lt;/td&gt;&lt;td&gt; V9A,L17Q &lt;/td&gt;&lt;td&gt; L90Q,E320K &lt;/td&gt;&lt;td&gt; V9A &lt;/td&gt;&lt;td&gt; P216Q &lt;/td&gt;&lt;td&gt; P254L &lt;/td&gt;&lt;td&gt; P169X,M292I &lt;/td&gt;&lt;td&gt; S257N &lt;/td&gt;&lt;td&gt; N41I,P169X &lt;/td&gt;&lt;td&gt; H261Y&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrE&lt;/i&gt;  &lt;/td&gt;&lt;td&gt;PA2043&lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N&lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28N&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lptD&lt;/i&gt;&lt;/td&gt;&lt;td&gt;PA3559&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt;Y803X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;L538R&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;i&gt;pmrE&lt;/i&gt;: Most PA strains are 28C &amp;rarr; reversion&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt;: Many mutations that constitutively activate the gene&lt;br&gt;&amp;rarr; canonical colistin resistance gene&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;lptD&lt;/i&gt;: code for outer membrane protein, LPS transport.&lt;br&gt;&amp;rarr; has been associated with colistin resistance in &lt;i&gt;Acinetobacter&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Recurrent mutations in PA83&lt;/h3&gt;
&lt;font size=3&gt;
    &lt;table&gt;
&lt;th&gt;&lt;td&gt; locus tag PAO1 &lt;/td&gt;&lt;td&gt; v02 &lt;/td&gt;&lt;td&gt;v03 &lt;/td&gt;&lt;td&gt;v05 &lt;/td&gt;&lt;td&gt;v06 &lt;/td&gt;&lt;td&gt;v08 &lt;/td&gt;&lt;td&gt;v11 &lt;/td&gt;&lt;td&gt;v12 &lt;/td&gt;&lt;td&gt;v14 &lt;/td&gt;&lt;td&gt;v15 &lt;/td&gt;&lt;/th&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxC&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4406 &lt;/td&gt;&lt;td&gt; P101S &lt;/td&gt;&lt;td&gt; V222A,S106G &lt;/td&gt;&lt;td&gt; V222A &lt;/td&gt;&lt;td&gt; V164G,A107T &lt;/td&gt;&lt;td&gt; A107T,G21W,F176S &lt;/td&gt;&lt;td&gt; A107T,I131F &lt;/td&gt;&lt;td&gt; M103I &lt;/td&gt;&lt;td&gt; D232E,D232G,V217F,V217A &lt;/td&gt;&lt;td&gt; V222A,S106G &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrB&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4777 &lt;/td&gt;&lt;td&gt; L96R &lt;/td&gt;&lt;td&gt; L171P &lt;/td&gt;&lt;td&gt; L87P &lt;/td&gt;&lt;td&gt; F51L &lt;/td&gt;&lt;td&gt; S8P,E320K &lt;/td&gt;&lt;td&gt; V9A &lt;/td&gt;&lt;td&gt; G123S &lt;/td&gt;&lt;td&gt; E320K,A248T,L167P &lt;/td&gt;&lt;td&gt; R259H,V361M &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;putative  tranferase    &lt;/td&gt;&lt;td&gt;PA3853 &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt; Y3C,G62S &lt;/td&gt;&lt;td&gt; V34A,Y155C &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt; R60C,Y216C,E185G &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; V122A,E185G &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;asparagine synthetase   &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; L365P &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt; L425P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G32S &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt; W153* &lt;/td&gt;&lt;td&gt; L365P,W153*,V286M &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;migA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA0705 &lt;/td&gt;&lt;td&gt; H219P &lt;/td&gt;&lt;td&gt; C25R,N27S &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; D106G &lt;/td&gt;&lt;td&gt; Q191R,V22A &lt;/td&gt;&lt;td&gt; T196P,H123P &lt;/td&gt;&lt;td&gt; H219P &lt;/td&gt;&lt;td&gt; A168T &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;mutS&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA3620 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P,T287P &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxO2&lt;/i&gt;            &lt;/td&gt;&lt;td&gt;PA0936 &lt;/td&gt;&lt;td&gt; D163A &lt;/td&gt;&lt;td&gt; D163N &lt;/td&gt;&lt;td&gt; W209* &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; D163A &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; in-frame deletion &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4776 &lt;/td&gt;&lt;td&gt; L11Q &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; L11P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R159L,G15V,N172D &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;cupB5&lt;/i&gt;            &lt;/td&gt;&lt;td&gt;PA4082&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G260X,R26C &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; P139P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pdtA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA0690 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; A3885V,A3885A &lt;/td&gt;&lt;td&gt; G1527X &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;morA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA4601 &lt;/td&gt;&lt;td&gt; R1199H &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G143D &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA3644 &lt;/td&gt;&lt;td&gt; R96S &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R191C &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;priA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA5050 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; L38L &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R689R &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;traN&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; W773* &lt;/td&gt;&lt;td&gt; G912D &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;wbpM&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA3141&lt;/td&gt;&lt;td&gt; E273K &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; E273G &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;mscL&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4614&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; V86I &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; S35P &lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
&lt;/font&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;i&gt;lpxC&lt;/i&gt;: lipid A biosynthesis&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt;: Many mutations that constitutively activate the gene&lt;br&gt;&amp;rarr; canonical colistin resistance gene&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;lptD&lt;/i&gt;: code for outer membrane protein, LPS transport.&lt;br&gt;&amp;rarr; has been associated with colistin resistance in &lt;i&gt;Acinetobacter&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutations in &lt;i&gt;pmrAB&lt;/i&gt;&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:95%"&gt;
    &lt;img src="/talk_images/morbidostat_pmrAB_mutation_olaitan.png"&gt;
    &lt;span&gt;Previously observed and new mutations in &lt;i&gt;pmrAB&lt;/i&gt; (blue: PA83, red: PA77)&lt;/span&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Olaitan et al. Front. Micro., 2014&lt;/span&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Minor diversity accumulation is predictable&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:10%;width:80%"&gt;
    &lt;img src="talk_images/zanini_2015_entropy_correlation.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=4&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:53%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=1000px&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, biorxiv, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, biorxiv, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Summary&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul style="width:70%"&gt;
            &lt;li&gt;Colistin resistance evolution predictable at the gene and pathway level&lt;/li&gt;
            &lt;li&gt;Intra-host HIV evolution is governed by a universal fitness landscape, modulated by host-specific immune response&lt;/li&gt;
            &lt;li&gt;Reversion and and predictable diversity patterns&lt;/li&gt;
            &lt;li&gt;Landscape of fitness costs can be estimated from intra-host diversity&lt;/li&gt;
            &lt;li&gt;Tree shape contains fitness information -- estimate derivatives from a snapshot&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h3&gt;Thank you for your attention!&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Acknowledgements -- Colistin&lt;/h3&gt;
    &lt;p&gt;
    &lt;object data="/images/team_pics/bianca_regenbogen.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/silke_peter.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/matthias_willmann.png" height=150px&gt;&lt;/object&gt;
    &lt;/p&gt;&lt;br&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Bianca Regenbogen, now Uni Hohenheim&lt;/li&gt;
        &lt;li&gt;Silke Peter, UKT Tübingen&lt;/li&gt;
        &lt;li&gt;Matthias Willmann, UKT Tübingen&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;p&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/p&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>A global surveillance system for crop diseases</title><link href="/carvajal-yepes_global_2019.html" rel="alternate"></link><published>2019-06-28T00:00:00+02:00</published><updated>2019-06-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-06-28:/carvajal-yepes_global_2019.html</id><content type="html">&lt;p&gt;Global preparedness minimizes the risk to food supplies
Global preparedness minimizes the risk to food supplies&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Real-time tracking and visualization of pathogen sequence data</title><link href="/201906_MethodsAndBeer.html" rel="alternate"></link><published>2019-06-06T00:00:00+02:00</published><updated>2019-06-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-06-06:/201906_MethodsAndBeer.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent mutations imply...&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are can be inferred&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Phylodynamic analysis with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;input: metadata (csv table) + sequences (fasta or vcf)&lt;/li&gt;
        &lt;li&gt;snakemake pipeline
        &lt;ul&gt;
            &lt;li&gt;filtering&lt;/li&gt;
            &lt;li&gt;alignment&lt;/li&gt;
            &lt;li&gt;tree building (+time scaled trees)&lt;/li&gt;
            &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;export to visualization&lt;/li&gt;
        &lt;li&gt;runs in minutes to 1h&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Web visualization with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;can be run locally (localhost)&lt;br&gt;
         &lt;code&gt;auspice view --datasetDir mydata&lt;/code&gt;&lt;/li&gt;
        &lt;li&gt;share your own builds through nextstrain/community&lt;/li&gt;
        &lt;li&gt;deploy nextstrain on your own servers&lt;/li&gt;
        &lt;li&gt;work in progress:
            &lt;ul&gt;
                &lt;li&gt;flexible branding&lt;/li&gt;
                &lt;li&gt;drag and drop features&lt;/li&gt;
                &lt;li&gt;(better docs...)&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links and Tutorials&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;Step-by-step tutorial for zika virus&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/tb-tutorial"&gt;Step-by-step tutorial for MtB&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Integration of different data types is key!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Rapid analysis is crucial!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
 --&gt;    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Install Augur&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;pip: `pip install nextstrain-augur` (additional dependencies IQ-Tree, mafft, vcftools)&lt;/li&gt;
    &lt;li&gt;conda: `conda install -c bioconda augur`&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Install auspice&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href="https://nodesource.com/blog/installing-node-js-tutorial-using-nvm-on-mac-os-x-and-ubuntu/"&gt;&lt;/a&gt;&gt;Install node and npm via nvm&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;Install auspice using npm: `npm install -g auspice`&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=150px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Population genetics of rapid adaptation and fitness inference from trees</title><link href="/201905_phyloseminar.html" rel="alternate"></link><published>2019-05-28T00:00:00+02:00</published><updated>2019-05-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-05-28:/201905_phyloseminar.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dynamics, genetic diversity, and phylogenetic trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=900px class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence emerges as universal description&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;generalization to structured coalescent&lt;/li&gt;
        &lt;li class="fragment"&gt;generalization to multiple fitness classes possible &lt;br&gt;&amp;rarr; background selection&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: completely unsuitable to treat adaptive evolution …&lt;/h3&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dynamics, genetic diversity, and phylogenetic trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=900px class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence emerges as universal description&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;generalization to structured coalescent&lt;/li&gt;
        &lt;li class="fragment"&gt;generalization to multiple fitness classes possible &lt;br&gt;&amp;rarr; background selection&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: completely unsuitable to treat adaptive evolution!&lt;/h3&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling wave models of adaptation&lt;/h3&gt;
    &lt;div style="position:absolute; left:15%; top:16%; width:70%"&gt;
        &lt;img src="talk_images/DF_model_sketch.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Desai &amp; Fisher, Genetics&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:80%; text-align: center"&gt;
        &lt;h4&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:40%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="80%" class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;font size=6&gt;
    &lt;div style="position:absolute; top:50%; left:10%; width:90%"&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago?
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
        &lt;li&gt;Non-exchangeable at short times: fitness is inherited, lineages grow at different speed&lt;/li&gt;
        &lt;li&gt;On intermediate time scales: exchangeable with power-law tail distribution: $P(n_i) \sim n_i^{-2}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Universality of the Bolthausen-Sznitman Coalescent (BSC)&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:0%; width:100%"&gt;
    &lt;img src="talk_images/adaptive_vs_deleterious_wave.png" width="70%" class="plain"&gt;&lt;br&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;many small effect mutations &amp;rarr; coalescence is BSC like&lt;/li&gt;
            &lt;li&gt;fitness diversity $\sigma$, not population size determines $T_{MRCA}$&lt;/li&gt;
            &lt;li&gt;the time scale of coalescence is always $T_c \sim \sigma^{-1}\sqrt{\log N}$ &lt;/li&gt;
            &lt;li&gt;frequency dynamics is not diffusive, but has Levy-flight properties&lt;/li&gt;
            &lt;li&gt;Can be extended to sexual populations&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Kosheleva, Desai; Desai, Walczak, Fisher, Genetics, 2013; RN, Hallatschek, PNAS, 2013, RN, Kessinger, Shraiman PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Universality -- adaptation and deleterious mutations&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_DF_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_exponential_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:13%; left:52%; width:43%"&gt;
        &lt;img src="talk_images/BSC_asexual_deleterious.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:17%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:15%; width:90%; text-align: left"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
            &lt;br&gt;&lt;br&gt;
        $g(x,t|y,t')$: density of observed child lineages at $(t, x)$ (time,fitness) given a parent at $(t',y)$&lt;br&gt;
        conditional no observed branching between parent and child.
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Asymptotic analysis suggested simple heuristic: Local Branching Index&lt;/h3&gt;
&lt;img src="/talk_images/lbi_unrooted.png" width="60%" class="plain"&gt;
    &lt;font size=6&gt;&lt;ul&gt;
        &lt;li&gt;For each node, calculate "tree volume" in neighborhood with an exponential kernel&lt;/li&gt;
        &lt;li&gt;Characteristic scale: fraction of the coalescent time scale ($\sim T_c/15$)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Summary&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:90%"&gt;
    &lt;ul&gt;
        &lt;li&gt;Fitness variation &amp;rarr; no longer exchangeable pop-gen&lt;/li&gt;
        &lt;li&gt;Mutational dynamics effectively restores exchangeability after some time, but....&lt;/li&gt;
        &lt;li&gt;Resulting offspring distributions have long tails &amp;rarr; no longer Kingman&lt;/li&gt;
        &lt;li&gt;Bolthausen-Sznitman coalescent is universal if pioneer strains compete&lt;/li&gt;
        &lt;li&gt;Insights into pop-gen of rapid adaptation &amp;rarr; flu prediction&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom: 5%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=45%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=200px&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png" height=200px&gt;
            &lt;img class="plain" src="/images/team_pics/oskar_hallatscheck.png" height=200px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:15%; width:40%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman (UCSB)&lt;/li&gt;
        &lt;li&gt;Colin Russell (now Amsterdam)&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek (UCB)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Incentives and barries to sharing of sequencing data</title><link href="/201905_OneHealth.html" rel="alternate"></link><published>2019-05-21T00:00:00+02:00</published><updated>2019-05-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-05-21:/201905_OneHealth.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Why share data? (or not?)&lt;/h2&gt;
&lt;div  style="position: absolute;top:25%; left:15%; width: 80%; text-align: left"&gt;
    Common arguments for research data:
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Reproducibility/accountability/transparency&lt;/li&gt;
            &lt;li&gt;data reuse &amp;rarr; bigger return on research funding&lt;/li&gt;
            &lt;li&gt;FAIR (findable, accessible, interoperable, reusable)&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;&lt;br&gt;&lt;br&gt;
    Public health/pathogen data:
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Pathogen dynamics is only evident in comprehensive data sets&lt;/li&gt;
            &lt;li&gt;sharing needs to be timely to inform counter measures, not after pulication …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Why share data? (or not?)&lt;/h2&gt;
&lt;div  style="position: absolute;top:25%; left:15%; width: 80%; text-align: left"&gt;
    Common arguments for research data:
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Reproducibility/accountability/transparency&lt;/li&gt;
            &lt;li&gt;data reuse &amp;rarr; bigger return on research funding&lt;/li&gt;
            &lt;li&gt;FAIR (findable, accessible, interoperable, reusable)&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;&lt;br&gt;&lt;br&gt;
    Public health/pathogen data:
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Pathogen dynamics is only evident in comprehensive data sets&lt;/li&gt;
            &lt;li&gt;sharing needs to be timely to inform counter measures, not after pulication.&lt;/li&gt;
            &lt;li&gt;legal and privacy arguments often used to justify not sharing&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data owner &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;It took two years to have a detailed understanding of the outbreak. Why did this take so long?&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sharing of Ebola virus sequences&lt;/h3&gt;
    &lt;div  style="position:absolute; top:17%; left:10%; width:45%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24738640"&gt;Baize et al.:&lt;/a&gt; Samples collected in March 2014, sequences in GenBank within a month&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/25214632"&gt;Gire et al.:&lt;/a&gt; released data as it was generated &lt;/li&gt;
        &lt;li&gt;Followed by a long gap...&lt;/li&gt;
        &lt;li&gt;Early insights into transmission dynamics are important&lt;/li&gt;
        &lt;li&gt;Sharing has to be immediate -- not upon publication&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div  class="fragment"  style="position:absolute; top:15%; left:60%; width:20%"&gt;
    &lt;img src="/talk_images/ebola_data_gap.jpg"&gt;
    &lt;h5&gt;&lt;a href="http://www.nature.com/news/data-sharing-make-outbreak-research-open-access-1.16966"&gt;Yozwiak et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:41%; left:10%; width:37%"&gt;
    &lt;img src="/talk_images/quick_ebola_speed.png"&gt;
    &lt;h5&gt;&lt;a href="https://www.nature.com/articles/nature16996"&gt;Quick et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Recurring problem&lt;/h2&gt;
    &lt;ul&gt;
        &lt;!-- &lt;li&gt;Human genome sequencing data: Bermuda Principles&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;Clinical trials&lt;/li&gt; --&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2014- H7N9 influenza outbreak: Controversies about attribution and reuse &lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="fragment"&gt;
    &lt;h4&gt;Different disease -- different scientists and institutions.&lt;/h5&gt;
    &lt;h5&gt;&amp;rarr;Lessons need to be relearned.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Privacy of study participants&lt;/li&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture, reputation)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Each variant of A/H3N2 influenza is globally distributed&lt;/h3&gt;
    &lt;img src="talk_images/flu_single_clade.png" height=600px&gt;
    &lt;h3 class=fragment&gt;There are no secrets to keep! The virus doesn't "belong" to any country.&lt;/h3&gt;
    &lt;h3 class=fragment&gt;But global prevalence and dynamics are important to know!&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Open sharing: GenomeTrakr/PulseNet&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;US federal and state public health labs&lt;/li&gt;
        &lt;li&gt;Several labs outside the US&lt;/li&gt;
        &lt;li&gt;Analysis is done by NCBI&lt;/li&gt;
        &lt;li&gt;All data on genbank -- immediately!&lt;/li&gt;
        &lt;li&gt;frequently updated automated analysis&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/genomeTrakr.png" width=1000px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;div style="position:absolute; top:10%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/zika_grubaugh.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22400.html"&gt; Grubaugh et al, samples from Florida&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:10%; left:55%; width:41%"&gt;
&lt;img src="/talk_images/zika_metsky.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22402.html"&gt;Metsky et al, sample from the Caribbean&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/nextstrain_screenshot.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time influenza virus analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:1%; width:55%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:61%; width:40%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;nextstrain.org&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Global analysis provides context for new sequences&lt;/li&gt;
            &lt;li&gt;Once nextstrain became the largest collection of Ebola/Zika sequences, everybody wanted their sequences on nextstrain&lt;/li&gt;
            &lt;li&gt;We take care to highlight the scientists contributing data&lt;/li&gt;
            &lt;li&gt;Link to original source, rather than reshare&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://nextstrain.org/zika?f_authors=Metsky%20et%20al"&gt;nextstrain.org/zika?f_authors=Metsky et al&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="/talk_images/nextstrain_strain_info.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:5%; width:40%"&gt;
    &lt;h5&gt;Open source: &lt;a href="https://github.com/nextstrain"&gt;github.com/nextstrain&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/zika_metsky_filter.png"&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h2&gt;The role of journals in public health crisis&lt;/h2&gt;
    &lt;ul style="width:60%"&gt;
        &lt;li&gt;Need: explicit statement that data release doesn't prejudice against publication&lt;/li&gt;
        &lt;li&gt;Better: insist that data are released and analyses are shared as preprints (e.g. biorxiv)&lt;/li&gt;
        &lt;li&gt;Issue: researchers want to publish in "luxury" journals &lt;br&gt;&amp;rarr; cycle of review-rejection-revision causes delay
        &lt;li&gt;Journals dedicated to rapid processing of papers describing outbreaks (PLOS currents, Eurosurveillance)&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Summary and outlook&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:90%"&gt;
    &lt;font size=6&gt;
    &lt;ul style="width:100%"&gt;
        &lt;li&gt;To connect outbreaks and detect transmission, we need dense coverage
            &lt;br&gt;&amp;rarr; data needs to be shared&lt;/li&gt;
        &lt;li&gt;Sharing needs to be timely, metadata is critical&lt;/li&gt;
        &lt;li&gt;Sequence data has become a commodity -- alone rarely publication worthy&lt;/li&gt;
        &lt;li&gt;We need better ways to credit data producers &lt;br&gt;&amp;rarr; data citations&lt;/li&gt;
        &lt;li&gt;Wider acceptance of preprints should help &lt;br&gt;&amp;rarr; establishes priority and a citation hook&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/tom_sibley.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:20%; width:60%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Real-time tracking of RNA virus evolution and spread</title><link href="/201905_ECDC.html" rel="alternate"></link><published>2019-05-14T00:00:00+02:00</published><updated>2019-05-14T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-05-14:/201905_ECDC.html</id><summary type="html">&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Visualization features …&lt;/h2&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Visualization features of nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Regular and time scaled phylogenies&lt;/li&gt;
        &lt;li&gt;Mutations are mapped to the tree&lt;/li&gt;
        &lt;li&gt;Filtering to time interval, region, country, authors, ... &lt;/li&gt;
        &lt;li&gt;Zoom into clades&lt;/li&gt;
        &lt;li&gt;Information on specific viruses&lt;/li&gt;
        &lt;li&gt;Color by amino acid or nucleotide&lt;/li&gt;
        &lt;li&gt;Frequency trajectories of clades and mutations&lt;/li&gt;
        &lt;li&gt;Color by antigenic advance, predictive scores, etc&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Phylodynamic analysis with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;input: metadata (csv table) + sequences&lt;/li&gt;
        &lt;li&gt;snakemake pipeline
        &lt;ul&gt;
            &lt;li&gt;filtering&lt;/li&gt;
            &lt;li&gt;alignment&lt;/li&gt;
            &lt;li&gt;tree building (+time scaled trees)&lt;/li&gt;
            &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;export to visualization&lt;/li&gt;
        &lt;li&gt;runs in minutes to 1h&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Web visualization with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;fairly easy to set-up&lt;br&gt;
        &lt;li&gt;can be run locally (localhost)&lt;br&gt;
        &lt;li&gt;or be deployed on your own servers&lt;/li&gt;
        &lt;li&gt;work in progress:
            &lt;ul&gt;
                &lt;li&gt;flexible branding&lt;/li&gt;
                &lt;li&gt;drag and drop features&lt;/li&gt;
                &lt;li&gt;(better docs...)&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=150px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and population genetics</title><link href="/201904_computational_biology.html" rel="alternate"></link><published>2019-04-25T00:00:00+02:00</published><updated>2019-04-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-04-25:/201904_computational_biology.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Balance between mutation and deleterious mutations&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_time_scaled.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_divergence.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_clock.png" width=100%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Tree building optimization with temporal constraints&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Time stamps single out a root&lt;/li&gt;
            &lt;li&gt;Root can be found by optimizing root-to-tip regression&lt;/li&gt;
            &lt;li&gt;BEAST: Markov-Chain Monte Carlo tree sampler&lt;/li&gt;
            &lt;li&gt;If topology is correct, temporal constraints can be accounted for in linear time&lt;/li&gt;
            &lt;li&gt;Multiple tools: treedate, LSD, treetime&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/wrong_root.png" width=50%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/correct_root.png" width=50%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1"  style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:20%; width:60%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Calibration points can be longitudinal samples, ancient DNA or fossils&lt;/li&gt;
            &lt;li&gt;Rates can vary between proteins and organisms from 0.01/year to $&lt;10^{-8}$/y &lt;/li&gt;
            &lt;li&gt;Some site change often, some rarely &amp;rarr; saturation&lt;/li&gt;
            &lt;li&gt;The apparent rate changes over time&lt;/li&gt;
            &lt;li&gt;Divergence times are often under estimated. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h2&gt;&lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;/h2&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;&lt;a href="teaching_notes/201904_compbio_exercise.pdf"&gt;Exercise sheet&lt;/a&gt;&lt;/h3&gt;
    &lt;h3&gt;&lt;a href="teaching_notes/201904_h5n6_ha_aln_trimmed.fasta"&gt;Alignment&lt;/a&gt;&lt;/h3&gt;
    &lt;h3&gt;&lt;a href="teaching_notes/201904_flu_dates.csv"&gt;Dates and other metadata&lt;/a&gt;&lt;/h3&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Intra- and interpatient evolution of enterovirus D68 analyzed by whole-genome deep sequencing</title><link href="/dyrdak_intra-_2019.html" rel="alternate"></link><published>2019-04-15T00:00:00+02:00</published><updated>2019-04-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-04-15:/dyrdak_intra-_2019.html</id><summary type="html">&lt;p&gt;Worldwide outbreaks of enterovirus D68 (EV-D68) in 2014 and 2016 have caused serious respiratory and neurological disease. To investigate diversity, spread, and evolution of EV-D68 we performed near full-length deep sequencing in fifty-four samples obtained in Sweden during the 2014 and 2016 outbreaks. In most samples, intrapatient variability was low …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Worldwide outbreaks of enterovirus D68 (EV-D68) in 2014 and 2016 have caused serious respiratory and neurological disease. To investigate diversity, spread, and evolution of EV-D68 we performed near full-length deep sequencing in fifty-four samples obtained in Sweden during the 2014 and 2016 outbreaks. In most samples, intrapatient variability was low and dominated by rare synonymous variants, but three patients showed evidence of dual infections with distinct EV-D68 variants from the same subclade. Interpatient evolution showed a very strong temporal signal, with an evolutionary rate of 0.0039 ± 0.0001 substitutions per site and year. Phylogenetic trees reconstructed from the sequences suggest that EV-D68 was introduced into Stockholm several times during the 2016 outbreak. Putative neutralization targets in the BC and DE loops of the VP1 protein were slightly more diverse within-host and tended to undergo more frequent substitution than other genomic regions. However, evolution in these loops did not appear to have been driven the emergence of the 2016 B3-subclade directly from the 2014 B1-subclade. Instead, the most recent ancestor of both clades was dated to 2009. The study provides a comprehensive description of the intra- and interpatient evolution of EV-D68, including the first report of intrapatient diversity and dual infections. The new data along with publicly available EV-D68 sequences are included in an interactive phylodynamic analysis on nextstrain.org/enterovirus/d68 to facilitate timely EV-D68 tracking in the future.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Wie gewinnt man gegen Grippe-Viren?</title><link href="/201903_TecNight.html" rel="alternate"></link><published>2019-03-27T00:00:00+01:00</published><updated>2019-03-27T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-03-27:/201903_TecNight.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Was sind Viren?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Alle Viren brauchen Wirts-Zellen zur …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Was sind Viren?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Alle Viren brauchen Wirts-Zellen zur Replikation&lt;/h3&gt;
    &lt;img src="talk_images/virus_replikation.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Der Verlauf eine Grippe-Infektion&lt;/h3&gt;
    &lt;img src="talk_images/IMPF60_6G_Grippe-Verlauf.svg"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.thueringen-impft.de"&gt;www.thueringen-impft.de&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Die aktuelle Grippe Saison&lt;/h3&gt;
    &lt;img src="talk_images/2018_2019_flu_switzerland.png" width="1200px"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.bag.admin.ch"&gt;www.bag.admin.ch&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Wöchentliche Grippe-Fallzahlen in den USA&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza A Viren des Menschen&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Viren als Krankheits-Erreger&lt;/h3&gt;
    &lt;img src="/talk_images/CampFunstonKS-InfluenzaHospital.jpg"&gt;&lt;br&gt;
    &lt;span&gt;Die spanische Grippe 1918&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Grippe-pandemie in 2009 ("Schweinegrippe") &lt;/h3&gt;
    &lt;iframe width="1024" height="768" src="https://www.youtube.com/embed/aYxf8xGSavU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza-Virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Das Influenza Virus-Genom&lt;/h3&gt;
&lt;div style="position: absolute;top:15%; left:15%; width:80%; text-align: left"&gt;
    &lt;ul&gt;
        &lt;li&gt;das Genom besteht aus 8 Segmenten, analog zu Chromosomen&lt;/li&gt;
        &lt;li&gt;die Länge variiert von 800 zu 2400 Basen&lt;/li&gt;
        &lt;li&gt;Gesamtlänge ~14'000 Basen &lt;br&gt;(das menschliche Genom hat ungefähr 3'000'000'000 Basen.&lt;/li&gt;
        &lt;li&gt;Das Genom verändert sich durch zufällige Mutationen&lt;/li&gt;
        &lt;li&gt;Das Influenza Virus hat eine Mutationsrate von $10^{-5}$ pro Tag und Base.&lt;/li&gt;
        &lt;li&gt;&amp;rarr; ca. eine Mutation pro Woche&lt;/li&gt;
        &lt;li&gt;&amp;rarr; hohe Mutationsrate ermöglicht die schnelle Evolution&lt;/li&gt;
        &lt;li&gt;&amp;rarr; Impfstoff gegen Grippe muss ständig aktualisert werden&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/mutation_sketch_leichester.png" width=900px&gt;
    &lt;span class="ref"&gt;adapted from &lt;a href="https://www2.le.ac.uk/projects/vgec/schoolsandcolleges/topics/genetics-mutation-and-cancer"&gt;&lt;/a&gt;www2.le.ac.uk&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Mutationen in Genom-Sequenzen verraten die Ausbreitung und Evolution des Virus&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... Tausende Sequenzen mehr...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetische Analyse von Virus-Genomen&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA Viren haben hohe Mutationsraten. Ein Genom mutiert all paar Wochen.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:18%; width:30%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza Viren verändern sich und weichen so dem Immunsystem aus.&lt;/li&gt;
                &lt;li&gt;Impfstoffe müssen laufend aktualisiert werden&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine strain selection schedule&lt;/h3&gt;
    &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
    &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextflu_screenshot.png"&gt;&lt;br&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Ist Evolution von Grippe vorhersehbar?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:28%; left:40%; width:50%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Extrapolation&lt;/li&gt;
            &lt;li&gt;Vorhersagen durch Vergleich mit historischen Mustern&lt;/li&gt;
            &lt;li&gt;Erfolgreiche Varianten anhand des Verzweigungsmuster detektieren&lt;/li&gt;
            &lt;li&gt;Antigenische Eigenschaften zirkulierender Viren&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness Inferenz anhand des Baums&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vorhersage der dominierenden H3N2 Influenza Variante &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Nicht Grippe-spezifisch&lt;/li&gt;
        &lt;li&gt;Wie kann das Model weiter verbessert werden? (siehe z.B. das Model von Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;Anwendbarkeit in anderen Zusammenhängen?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Zusammenfassung&lt;/h2&gt;
    &lt;div style="position:absolute; left:20%; width: 60%;"&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA Viren evolvieren schnell&lt;/li&gt;
        &lt;li&gt;Das Virusgenom verändert sich alle paar Wochen&lt;/li&gt;
        &lt;li&gt;Aus Genomsequenzen kann Dynamik und Ausbreitung des Virus rekonstruiert werden &lt;/li&gt;
        &lt;li&gt;Algorithmen können vorhersagen, welche Grippe-Varianten nächste Saison dominiert&lt;/li&gt;
        &lt;li&gt;Automatische real-time Analyse kann helfen Ausbrüche einzudämmen&lt;/li&gt;
        &lt;li&gt;Bioinformatik vereint Mathematik, Informatik, mit aktuellen Fragestellen der Lebenswissenschaften.&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Gemeinsame Arbeit mit....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Danksagung -- nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;li&gt;John Huddleston&lt;/li&gt;
    &lt;li&gt;Barney Potter&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section&gt;
    &lt;img src="talk_images/TechNight_final_slide.png"&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>RNA virus evolution and the predictability of next year's flu</title><link href="/201903_APS.html" rel="alternate"></link><published>2019-03-07T00:00:00+01:00</published><updated>2019-03-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-03-07:/201903_APS.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine strain selection schedule&lt;/h3&gt;
    &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
    &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextflu_screenshot.png"&gt;&lt;br&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine strain selection schedule&lt;/h3&gt;
    &lt;img src="talk_images/vaccine_production_schedule.png" width=800px class="plain"&gt;
    &lt;span class="ref"&gt;Klingen and McHardy, Trends in Microbiology&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextflu_screenshot.png"&gt;&lt;br&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;There are many ways to escape immunity -- why doesn't influenza speciate?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/H3N2_HA_structure.png" class="plain" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:23%; left:50%; width:40%"&gt;
        &lt;img src="talk_images/flu_speciation_antigenic_classes.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;There are many ways to escape immunity -- why doesn't influenza speciate?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/flu_speciation_h3n2.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_B.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Combining SIR-models and rapid molecular adaptation &lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:85%; text-align: left"&gt;
        &lt;ul&gt;
            &lt;li&gt;Infections with strain $a$:
                &lt;span style="position: absolute;left:40%"&gt;$\frac{d I_a}{dt} = \beta S_a I_a - (\nu+\gamma)I_a$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Susceptibility to strain $a$:
                &lt;span style="position: absolute;left:40%"&gt;$S_a  =e^{-\sum_b K_{ab} R_b }$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;
                 Recovered from stain $a$: &lt;span style="position: absolute;left:40%"&gt; $\frac{d R_a}{dt}  = \nu I_a - \gamma R_a$&lt;/span&gt;
            &lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Cross-immunity: &lt;span style="position: absolute;left:40%"&gt; $K_{ab} = e^{-\frac{|a-b|}{d}}$&lt;/span&gt;&lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Mutations from $a\to b$ reduce cross-immunity and increase susceptibility&lt;/li&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;li&gt;Antigenic evolution is essential to establish seasonal patterns&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Transition from pandemic to seasonal patterns&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%; text-align: left"&gt;
        &lt;img src="talk_images/flu_speciation_pandemic_escape.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_trajectories.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_oscillations.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Speciation into antigenically distinct lineages&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%; text-align: left"&gt;
        &lt;img src="talk_images/flu_speciation_Tmrca.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:45%; text-align: left" class="fragment"&gt;
        &lt;img src="talk_images/flu_speciation_phase_diagram.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/455444"&gt;Le Yan, RN, Shraiman, bioRxiv, 2018&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
        &lt;li&gt;Combining epidemiological and population genetic models can explain flu phylogenies&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/le_yan.jpeg" height=180px&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Le Yan&lt;/li&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;li&gt;John Huddleston&lt;/li&gt;
    &lt;li&gt;Barney Potter&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Quantitative contribution of efflux to multi-drug resistance of clinical Escherichia coli and Pseudomonas aeruginosa strains</title><link href="/cunrath_quantitative_2019.html" rel="alternate"></link><published>2019-03-07T00:00:00+01:00</published><updated>2019-03-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-03-07:/cunrath_quantitative_2019.html</id><summary type="html">&lt;p&gt;BACKGROUND: Efflux pumps mediate antimicrobial resistance in several WHO critical priority bacterial pathogens. However, most available data come from laboratory strains. The quantitative relevance of efflux in more relevant clinical isolates remains largely unknown.
METHODS: We developed a versatile method for genetic engineering in multi-drug resistant (MDR) bacteria, and used …&lt;/p&gt;</summary><content type="html">&lt;p&gt;BACKGROUND: Efflux pumps mediate antimicrobial resistance in several WHO critical priority bacterial pathogens. However, most available data come from laboratory strains. The quantitative relevance of efflux in more relevant clinical isolates remains largely unknown.
METHODS: We developed a versatile method for genetic engineering in multi-drug resistant (MDR) bacteria, and used this method to delete tolC and specific antibiotic-resistance genes in 18 representative MDR clinical E. coli isolates. We determined efflux activity and minimal inhibitory concentrations for a diverse set of clinically relevant antibiotics in these mutants. We also deleted oprM in MDR P. aeruginosa strains and determined the impact on antibiotic susceptibility.
FINDINGS: tolC deletion abolished detectable efflux activity in 15 out of 18 tested E. coli strains, and modulated antibiotic susceptibility in many strains. However, all mutant strains retained MDR status, primarily because of other, antibiotic-specific resistance genes. Deletion of oprM altered antibiotic susceptibility in a fraction of clinical P. aeruginosa isolates.
INTERPRETATION: Efflux modulates antibiotic resistance in clinical MDR isolates of E. coli and P. aeruginosa. However, when other antimicrobial-resistance mechanisms are present, inhibition of MDR efflux pumps alone is often not sufficient to restore full susceptibility even for antibiotics with a dramatic impact of efflux in laboratory strains. We propose that development of novel antibiotics should include target validation in clinical MDR isolates. FUND: Innovative Medicines Initiative of European Union and EFPIA, Schweizerischer Nationalfonds, Swiss National Research Program 72, EU Marie Skłodowska-Curie program. The funders played no role in design, data collection, data analysis, interpretation, writing of the report, and in the decision to submit the paper for publication.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking and predicting the spread of pathogens and resistance</title><link href="/201903_HMS.html" rel="alternate"></link><published>2019-03-06T00:00:00+01:00</published><updated>2019-03-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-03-06:/201903_HMS.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tb.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_tbWalker.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Almost everybody has antibodies against EV-D68&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in &lt;br&gt;young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks last fall &lt;br&gt;(201 AFM cases in the US in 2018)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:75%; text-align: center" class="fragment"&gt;
    &lt;h3&gt;EV-D68 whole genome deep sequencing project across Europe&lt;h3&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/nextstrain_enterovirus.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;Infections with multiple variants&lt;/h2&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_dual_infections_p1.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;A set of iSNVs at very similar frequencies in full linkage&lt;/li&gt;
    &lt;li&gt;Suggest infection with two related variants&lt;/li&gt;
    &lt;li&gt;3 out of 50 samples: Implies high prevalence&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Carbapenemase producing bacteria&lt;/h2&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:48%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Reserve antibiotics used to treat MDR bacteria&lt;/li&gt;
        &lt;li&gt;Introduced in the 1980ies&lt;/li&gt;
        &lt;li&gt;Resistance spread rapidly&lt;/li&gt;
        &lt;li&gt;Resistance is mediated by several distinct beta-lactamases&lt;br&gt;
        &amp;rarr; pressing public health problem&lt;br&gt;
        &amp;rarr; fascinating instance of genes sweeping the globe by horizontal transfer
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:65%; left:5%; width:48%" class="fragment"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Resistance is horizontally acquired&lt;br&gt;&amp;rarr; tracking the core genome doesn't do it&lt;/li&gt;
        &lt;li&gt;Need to track genes on there mobilizing genetic background&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:45%"&gt;
        &lt;img src="talk_images/carba_prevalence.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Tracking bacteria by sequencing&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%; text-align: left"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Illumina &amp;rarr; millions of short reads (&lt;500bp)&lt;/li&gt;
                &lt;li&gt;Too short to bridge repetitive elements&lt;/li&gt;
                &lt;li&gt;&amp;rarr; assemblies are fragmented into 100s of "contigs"&lt;/li&gt;
                &lt;li&gt;Problem: all the important bits are flanked by repetitive/mobile elements&lt;/li&gt;
            &lt;/ul&gt;
        &lt;img class="plain" src="talk_images/MiSeq.png" height=400px&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/bad_assembly_graph_rrwick.png" height=500px&gt;
        &lt;h4&gt;(really terrible example)&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images: illumina.com, github.com/rrwick&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:10%"&gt;
            &lt;img class="plain" src="/images/team_pics/nicholas_noll.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_small.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_Boris_desk.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/canu_to_spades.png" height=600px&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing of Carbapenemase producing bacteria&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:18%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/contigSizes.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:65%; left:12%; width:74%"&gt;
        &lt;font size=6&gt;
            &lt;ul&gt;
                &lt;li&gt;Contigs with drug resistance genes ~1-6 genes&lt;br&gt;&amp;rarr; no phylogenetic resolution&lt;/li&gt;
                &lt;li&gt;long-read assemblies give full length plasmids&lt;/li&gt;
                &lt;li&gt;tracking via synteny and structural diversity, not SNPs&lt;br&gt;
                &amp;rarr; we need to reconstruct spread from genome structure evolution&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Synteny alignments of Carbapenemase containing loci&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:27%"&gt;
        &lt;img class="plain" src="talk_images/synteny_alignment.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:13%; left:36%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_KPC.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:65%; width:38%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Structural changes can resolve evolutionary relationships&lt;/li&gt;
                &lt;li&gt;Different KPC alleles are found on the same background&lt;/li&gt;
                &lt;li&gt;Identical KPC alleles are found on different backgrounds&lt;/li&gt;
                &lt;li&gt;Similar plasmids are spread across MLSTs and species boundaries&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Synteny alignments of Carbapenemase containing loci&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_KPC.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:38%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_blaNDM.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:68%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_OXA48.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Summary&lt;/h2&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Timely data sharing + automated analysis allows near real-time tracking of influenza&lt;/li&gt;
            &lt;li&gt;Such analyses provide important input for vaccine strain selection&lt;/li&gt;
            &lt;li&gt;Sequencing, analysis, and dissemination can be rapidly set-up for emerging pathogens&lt;/li&gt;
            &lt;li&gt;Bacterial pathogens come with a special set of challenges&lt;/li&gt;
            &lt;li&gt;Fascinating evolutionary process beyond mutations in homologous sequence&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;li&gt;John Huddleston&lt;/li&gt;
    &lt;li&gt;Barney Potter&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- Enterovirus&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
        &lt;li&gt;Bert Niesters (Groningen)&lt;/li&gt;
        &lt;li&gt;Randy Poelman (Groningen)&lt;/li&gt;
        &lt;li&gt;Elke Wollants (Leuven)&lt;/li&gt;
        &lt;li&gt;Adrian Egli (Basel)&lt;/li&gt;
        &lt;li&gt;Andrés Antón Pagarolas (Barcelona)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- CPE&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/nicholas_noll.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/eric_ulrich.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/adrian_egli.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Wei Ding&lt;/li&gt;
        &lt;li&gt;Nicholas Noll&lt;/li&gt;
        &lt;li&gt;Eric Ulrich&lt;/li&gt;
        &lt;li&gt;Adrian Egli (at USB)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;With-in host diversity&lt;/h2&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_minor_variants.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;Above 0.5%, iSNVs are biological&lt;/li&gt;
    &lt;li&gt;Most samples have few iSNVs, three had more than 20&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Tracking infectious disease and drug resistance using whole genome sequencing</title><link href="/201902_lausanne_genomics_days.html" rel="alternate"></link><published>2019-02-07T00:00:00+01:00</published><updated>2019-02-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-02-07:/201902_lausanne_genomics_days.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Almost …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Almost everybody has antibodies against EV-D68&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in &lt;br&gt;young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks last fall &lt;br&gt;(201 AFM cases in the US in 2018)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:75%; text-align: center" class="fragment"&gt;
    &lt;h3&gt;How does EV-D68 spread? Does it change?&lt;/h3&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="https://nextstrain.org/community/emmahodcroft/tb/enterovirusd68-2018"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org/enterovirus&lt;/h1&gt;&lt;/a&gt;
&lt;a href="https://ki.se/en/mtc/jan-albert-group"  target="_blank"&gt;&lt;h3&gt;joint work with Robert Dyrdak, Emma Hodcroft &amp; Jan Albert&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Whole genome deep sequencing of Enterovirus D68&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_coverage.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;Amplified in 4 overlapping segments&lt;/li&gt;
    &lt;li&gt;Illumina sequenced to high coverage&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;iSNV frequency accuracy and sequencing errors&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_QC.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;iSNV frequencies reproducible above 1%&lt;/li&gt;
    &lt;li&gt;background at around 1/1000&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;Infections with multiple variants&lt;/h2&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_dual_infections_p1.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;A set of iSNVs at very similar frequencies in full linkage&lt;/li&gt;
    &lt;li&gt;Suggest infection with two related variants&lt;/li&gt;
    &lt;li&gt;3 out of 50 samples: Implies high prevalence&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Carbapenemase producing bacteria&lt;/h2&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:48%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Reserve antibiotics used to treat MDR bacteria&lt;/li&gt;
        &lt;li&gt;Introduced in the 1980ies&lt;/li&gt;
        &lt;li&gt;Resistance spread rapidly&lt;/li&gt;
        &lt;li&gt;Resistance is mediated by several distinct beta-lactamases&lt;br&gt;
        &amp;rarr; pressing public health problem&lt;br&gt;
        &amp;rarr; fascinating instance of genes sweeping the globe by horizontal transfer
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:45%"&gt;
        &lt;img src="talk_images/carba_prevalence.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Tracking bacteria by sequencing&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%; text-align: left"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Illumina &amp;rarr; millions of short reads (&lt;500bp)&lt;/li&gt;
                &lt;li&gt;Too short to bridge repetitive elements&lt;/li&gt;
                &lt;li&gt;&amp;rarr; assemblies are fragmented into 100s of "contigs"&lt;/li&gt;
                &lt;li&gt;Problem: all the important bits are flanked by repetitive/mobile elements&lt;/li&gt;
            &lt;/ul&gt;
        &lt;img class="plain" src="talk_images/MiSeq.png" height=400px&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/bad_assembly_graph_rrwick.png" height=500px&gt;
        &lt;h4&gt;(really terrible example)&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images: illumina.com, github.com/rrwick&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:10%"&gt;
            &lt;img class="plain" src="/images/team_pics/nicholas_noll.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_small.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_Boris_desk.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/canu_to_spades.png" height=600px&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing of Carbapenemase producing bacteria&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:95%"&gt;
        &lt;img class="plain" src="talk_images/Carba_sequencing_overviewTable.svg" height=280px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/contigSizes.svg" height=370px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:51%; left:45%; width:54%"&gt;
        &lt;font size=6&gt;
            &lt;ul&gt;
                &lt;li&gt;Contigs with drug resistance genes ~1-6 genes&lt;br&gt;&amp;rarr; no phylogenetic resolution&lt;/li&gt;
                &lt;li&gt;long-read assemblies give full length plasmids&lt;/li&gt;
                &lt;li&gt;tracking via synteny and structural diversity, not SNPs&lt;br&gt;
                &amp;rarr; we need to reconstruct spread from genome structure evolution&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Synteny alignments of Carbapenemase containing loci&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:27%"&gt;
        &lt;img class="plain" src="talk_images/synteny_alignment.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:13%; left:36%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_KPC.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:65%; width:38%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Structural changes resolve evolutionary relationships&lt;/li&gt;
                &lt;li&gt;Different KPC alleles are found on the same backgrouond&lt;/li&gt;
                &lt;li&gt;Identical KPC alleles are found on different backgrounds&lt;/li&gt;
                &lt;li&gt;Similar plasmids are spread across MLSTs and species boundaries&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Synteny alignments of Carbapenemase containing loci&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_KPC.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:38%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_blaNDM.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:68%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/plasmidTree_OXA48.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class='ref'&gt;&lt;a href="http://dx.doi.org/10.1101/456897"&gt;Noll et al, biorxiv, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Summary&lt;/h2&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Timely data sharing + automated analysis allows near real-time tracking of influenza&lt;/li&gt;
            &lt;li&gt;Such analyses provide important input for vaccine strain selection&lt;/li&gt;
            &lt;li&gt;Sequencing, analysis, and dissemination can be rapidly set-up for emerging pathogens&lt;/li&gt;
            &lt;li&gt;Bacterial pathogens come with a special set of challenges&lt;/li&gt;
            &lt;li&gt;Fascinating instance of evolution beyond SNPs&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;li&gt;John Huddleston&lt;/li&gt;
    &lt;li&gt;Barney Potter&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- Enterovirus&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
        &lt;li&gt;Bert Niesters (Groningen)&lt;/li&gt;
        &lt;li&gt;Randy Poelman (Groningen)&lt;/li&gt;
        &lt;li&gt;Elke Wollants (Leuven)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments -- Bacteria&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/nicholas_noll.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/eric_ulrich.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/adrian_egli.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Wei Ding&lt;/li&gt;
        &lt;li&gt;Nicholas Noll&lt;/li&gt;
        &lt;li&gt;Eric Ulrich&lt;/li&gt;
        &lt;li&gt;Adrian Egli (at USB)&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h2 class="slidetitle"&gt;With-in host diversity&lt;/h2&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_minor_variants.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;Above 0.5%, iSNVs are biological&lt;/li&gt;
    &lt;li&gt;Most samples have few iSNVs, three had more than 20&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time tracking and visualization of pathogen sequence data</title><link href="/201902_SIB_Biology19.html" rel="alternate"></link><published>2019-02-06T00:00:00+01:00</published><updated>2019-02-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-02-06:/201902_SIB_Biology19.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:10%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Mutations accumulate at a rate of $10^{-5}$ per site and day!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent mutations imply...&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are can be inferred&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Phylodynamic analysis with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;input: metadata (csv table) + sequences (fasta or vcf)&lt;/li&gt;
        &lt;li&gt;snakemake pipeline
        &lt;ul&gt;
            &lt;li&gt;filtering&lt;/li&gt;
            &lt;li&gt;alignment&lt;/li&gt;
            &lt;li&gt;tree building (+time scaled trees)&lt;/li&gt;
            &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;export to visualization&lt;/li&gt;
        &lt;li&gt;runs in minutes to 1h&lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Web visualization with nextstrain&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;can be run locally (localhost)&lt;br&gt;
         &lt;code&gt;auspice view --datasetDir mydata&lt;/code&gt;&lt;/li&gt;
        &lt;li&gt;share your own builds through nextstrain/community&lt;/li&gt;
        &lt;li&gt;deploy nextstrain on your own servers&lt;/li&gt;
        &lt;li&gt;work in progress:
            &lt;ul&gt;
                &lt;li&gt;flexible branding&lt;/li&gt;
                &lt;li&gt;drag and drop features&lt;/li&gt;
                &lt;li&gt;(better docs...)&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/bioinformatics/bty407"&gt;Hadfield et al, 2018&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links and Tutorials&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;Step-by-step tutorial for zika virus&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/tb-tutorial"&gt;Step-by-step tutorial for MtB&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Integration of different data types is key!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Rapid analysis is crucial!&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
 --&gt;    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What about bacteria?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;variation of divergence along the genome&lt;/li&gt;
            &lt;li&gt;NGS genomes tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links between species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_ermB.png" width=80%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=150px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=150px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Steckbrief: Das Virom</title><link href="/201902_mikroben_unter_uns.html" rel="alternate"></link><published>2019-02-05T00:00:00+01:00</published><updated>2019-02-05T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-02-05:/201902_mikroben_unter_uns.html</id><summary type="html">&lt;section&gt;
    &lt;h3&gt;Viren als Krankheits-Erreger&lt;/h3&gt;
    &lt;img src="/talk_images/CampFunstonKS-InfluenzaHospital.jpg"&gt;&lt;br&gt;
    &lt;span&gt;Die spanische Grippe 1918&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Grippe-pandemie in 2009 ("Schweinegrippe") &lt;/h3&gt;
    &lt;iframe width="1024" height="768" src="https://www.youtube.com/embed/aYxf8xGSavU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Grippe in Basel 2018/2019&lt;/h3&gt;
    &lt;img src="talk_images/flu_basel_201901.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:63%; width:35%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast …&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h3&gt;Viren als Krankheits-Erreger&lt;/h3&gt;
    &lt;img src="/talk_images/CampFunstonKS-InfluenzaHospital.jpg"&gt;&lt;br&gt;
    &lt;span&gt;Die spanische Grippe 1918&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Grippe-pandemie in 2009 ("Schweinegrippe") &lt;/h3&gt;
    &lt;iframe width="1024" height="768" src="https://www.youtube.com/embed/aYxf8xGSavU" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Grippe in Basel 2018/2019&lt;/h3&gt;
    &lt;img src="talk_images/flu_basel_201901.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:63%; width:35%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Wöchentliche Grippe-Fallzahlen in den USA&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Masern-Fälle in den USA (Impfung seit 1963)&lt;/h3&gt;
    &lt;img src="/talk_images/measles-cases-and-death-rate.svg"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Vielfalt der Viren&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%" class="plain"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;Menschlicher Immunschwäche Virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%" class="plain"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;Influenzavirus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%" class="plain"&gt;
        &lt;span style="font-size: 18px"&gt;Tabak-Mosaik Virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%" class="plain"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;Bacteriophage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Ausserordentliche Vielfalt!&lt;/li&gt;
        &lt;li&gt;Die allermeisten Viren sind unbekannt!&lt;/li&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;li&gt;Typischerweise 50-200nm gross &lt;br&gt;(1/1000 Haaresbreite)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
        &lt;li&gt;wichtige Funktionen im globalen Ökosystem&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Riesenviren: Mimi- und Megavirus&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
        &lt;span style="font-size: 18px"&gt;Megavirus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia, Chantal Abergel&lt;/span&gt;
        &lt;img src="talk_images/Megavirus.jpg" width="75%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:40%"&gt;
        &lt;span style="font-size: 18px"&gt;Mimivirus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt;Kartenbeck, PLoS Pathogens&lt;/span&gt;
        &lt;img src="talk_images/mimivirus.png" width="70%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:75%; left:15%; width:40%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Fast so gross wie Bakterien &lt;br&gt;(Mimiviren wurden anfangs für Bakterien gehalten)&lt;/li&gt;
                &lt;li&gt;Komplexe und grosse Genome (ca 1 Million Basen)&lt;/li&gt;
                &lt;li&gt;Wirt für Virophagen, d.h. es gibt Viren von Viren!&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viroide: kleinste infektiöse Partikel&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:90%"&gt;
        &lt;img src="talk_images/PSTviroid.png"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;Kartoffelspindelknollen-Viroid&lt;/span&gt;
        &lt;span  style="font-size: 12px"&gt;Jakub Friedl, wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:35%; left:5%; width:50%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Keine Hülle, keine Proteine, nur RNA&lt;/li&gt;
                &lt;li&gt;Verbreitung mechanisch und durch Insekten&lt;/li&gt;
                &lt;li&gt;Eine zirkuläre RNA von 359 basen (in etwa ein Tweet).
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:55%; left:10%; width:40%"&gt;
        &lt;img src="talk_images/unibas_tweet.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:35%; left:55%; width:40%"&gt;
        &lt;img src="talk_images/PotatoSpindleTuber02.jpg"&gt;
        &lt;span style="font-size: 18px"&gt;&lt;a href="https://www.apsnet.org/edcenter/intropp/lessons/viruses/Pages/PotatoSpindleTuber.aspx"&gt;Symptome bei Tomaten&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Alle Viren brauchen Wirts-Zellen zur Replikation&lt;/h3&gt;
    &lt;img src="talk_images/virus_replikation.png" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Wir erforschen wir das Virom?&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:10%; width:40%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;span&gt;Bakterielles Mikrobiom&lt;/span&gt;&lt;/font&gt;
        &lt;br&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Alle Zellen haben Ribosomen&lt;br&gt;
                (Protein/RNA-Komplex der Proteine herstellt)&lt;/li&gt;
            &lt;li&gt;&amp;rarr; universelles Marker-Gene (z.B. 16S RNA)&lt;/li&gt;
            &lt;li&gt;&amp;rarr; hoch aufgelöste Stammbäume&lt;/li&gt;
        &lt;/ul&gt;
        &lt;a href="https://en.wikipedia.org/wiki/Tree_of_life_(biology)#/media/File:A_Novel_Representation_Of_The_Tree_Of_Life.png"&gt;&lt;img src="/talk_images/Ise_tree_of_life.png" width="70%"&gt;&lt;/a&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div  class="fragment" style="position:absolute; top:12%; left:55%; width:40%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;span&gt;Virom&lt;/span&gt;&lt;/font&gt;
        &lt;br&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
        &lt;li&gt;Keine universellen Marker-Gene&lt;/li&gt;
        &lt;li&gt;Keine universelle Morphologie&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;&lt;br&gt;
        &lt;img src="/talk_images/Environmental_shotgun_sequencing.png" width="70%" class="plain"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Sequenz-Datenbanken statt Herbarien&lt;/h2&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:35%; text-align: left"&gt;
        &lt;img src="/talk_images/Alexander_von_Humboldt.jpg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:48%; text-align: left"&gt;
        &lt;font font-family="Andale Mono" size=5&gt;
        &gt;Virus_A_3223423&lt;br&gt;
        GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;
        &gt;Virus_B_6546534&lt;br&gt;
        GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...
        &lt;/font&gt;
        &lt;img src="/talk_images/sra_size.png" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Das Virom im Ozean: terra incognita&lt;/h3&gt;
    &lt;img src="/talk_images/tara_oceans.png" height=700px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;Das menschliche Virom&lt;/h2&gt;
    &lt;div style="position:absolute; top:25%; left:15%; width:70%; text-align: left"&gt;
        &lt;font size=7&gt;
        &lt;ul&gt;
            &lt;li&gt;Pathogene Viren, die uns krank machen&lt;/li&gt;
            &lt;li&gt;Viren, die mit und in uns leben&lt;/li&gt;
            &lt;li&gt;Viren, die Bakterien, Pilze und Archaea &lt;br&gt; (als Teil des Mikrobioms) infizieren&lt;/li&gt;
            &lt;li&gt;Reste von Viren in unserem Genom&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;!--    &lt;div style="position:absolute; top:15%; left:50%; width:50%; text-align: left" class="fragment current-visible"&gt;
        &lt;font size=5&gt;
        &lt;h4&gt;Pathogene&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Influenzaviren&lt;/li&gt;
            &lt;li&gt;HIV&lt;/li&gt;
            &lt;li&gt;Hepatitis A/B/C Viren&lt;/li&gt;
            &lt;li&gt;Herpesviren&lt;/li&gt;
            &lt;li&gt;Pockenviren&lt;/li&gt;
            &lt;li&gt;Mumps&lt;/li&gt;
            &lt;li&gt;Masern&lt;/li&gt;
            &lt;li&gt;...&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:50%; text-align: left" class="fragment current-visible"&gt;
        &lt;font size=5&gt;
        &lt;h4&gt;Commensale Viren&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Eppstein-Barr Viren&lt;/li&gt;
            &lt;li&gt;Herpesviren&lt;/li&gt;
            &lt;li&gt;Anneloviren&lt;li&gt;
            &lt;li&gt;...&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
 --&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Das Blut-Virom&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Komplette DNA-Sequenzierung aus dem Blut gesunder Menschen &lt;/li&gt;
            &lt;li&gt;Viren, die menschliche Zellen infizieren &lt;/li&gt;
            &lt;li&gt;Viele verschiedene Herpes-Viren
            &lt;li&gt;Eppstein-Barr Virus
            &lt;li&gt;Cytomegalovirus
            &lt;li&gt;Pappilomavirus&lt;/li&gt;
            &lt;li&gt;etc...&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:60%; width:40%; text-align: left"&gt;
        &lt;img src="/talk_images/blood_virome.png" width=90%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;The blood DNA virome in 8,000 humans
, Moustafa et al, PLoS Pathogens&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Das Darm-Virom&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:50%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Komplette DNA-Sequenzierung aus dem Stuhl &lt;/li&gt;
            &lt;li&gt;Mehrheitlich Viren, die Bakterien infizieren &lt;/li&gt;
            &lt;li&gt;Die meisten Sequenzen sind völlig unbekannt!&lt;/li&gt;
            &lt;li&gt;Möglicherweise wichtig zur Regulation des Mikrobiom
                (kill-the-winner Hypothese)&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%" class="plain"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;Bacteriophage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:10%; width:80%; text-align: left"&gt;
        &lt;img src="/talk_images/kill_the_winner.png" width=90%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24734220"&gt;De Paepe et al&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viren in unserem Genom&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:6%; width:50%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;span&gt;5-8% unseres Genoms sind endogene Retroviren&lt;/span&gt;
        &lt;/font&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viren wie z.B. HIV können in die Keimbahn gelangen&lt;/li&gt;
            &lt;li&gt;Ihr Genom wird dann vertikal vererbt &lt;/li&gt;
            &lt;li&gt;Meist ist diese DNA für nichts gut &lt;/li&gt;
            &lt;li&gt;Manchmal werden virale Proteine "kooptiert",&lt;br&gt;
              d.h. für andere Zwecke verwendet. &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:55%; width:40%; text-align: left"&gt;
        &lt;img src="/talk_images/human_genome_breakdown.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:45%; width:55%; text-align: left"&gt;
        &lt;img src="/talk_images/cooption.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:55%; left:6%; width:50%; text-align: left"&gt;
        &lt;font size=6&gt;
        &lt;span&gt;Wichtige menschliche Gene haben viralen Ursprung&lt;/span&gt;
        &lt;/font&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Syncytin: wichtiges Protein in der Plazenta &lt;/li&gt;
            &lt;li&gt;Arc: wichtige Funktion in Hirn und Gedächtnis &lt;/li&gt;
            &lt;li&gt;RAG1/2: Proteine um Antikörper zu bauen, Urspung in Transposons &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Zusammenfassung&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%; text-align: left"&gt;
        &lt;ul&gt;
            &lt;li&gt;Viren infizieren jede Lebensform&lt;/li&gt;
            &lt;li&gt;Genau wie Bakterien, findet man sie fast immer und überall&lt;/li&gt;
            &lt;li&gt;Viren sind extrem divers -- und grösstenteils unerforscht&lt;/li&gt;
            &lt;li&gt;Viren haben wichtige Funktionen in Ökosystemen&lt;/li&gt;
            &lt;li&gt;Es gibt unglaublich viele Viruspartikel -- ca. 10 für jede Zelle auf der Erde&lt;/li&gt;
            &lt;li&gt;Viren haben unsere Evolution und unser Genom in entscheidender Weise geformt&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:65%; width:30%"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=150px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Augur and Snakemake</title><link href="/201901_krisp_augur.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_augur.html</id><summary type="html">&lt;article class="markdown-body"&gt;&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different …&lt;/p&gt;&lt;/article&gt;</summary><content type="html">&lt;article class="markdown-body"&gt;&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
To compose such tools into an analysis pipeline, augur advocates the workflow management tool &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="snakemake"&gt;Snakemake&lt;a class="headerlink" href="#snakemake" title="Permanent link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.
A simple rule would look like this:
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;nthreads&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur align --sequences {input.seq} --nthreads {params.nthreads} --ouput {output.aln}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
This rule would produce &lt;code&gt;results/alignment.fasta&lt;/code&gt; from the input file &lt;code&gt;data/sequences.fasta&lt;/code&gt; using the &lt;code&gt;augur align&lt;/code&gt; command and additionally specifies that &lt;code&gt;augur&lt;/code&gt; is supposed to use 2 CPUs for this task.&lt;/p&gt;
&lt;p&gt;When executing a rule, Snakemake will check whether all necessary input files are present, if not, it will determine which rules produce the necessary files and execute those first.
Say there was an additional rule to build a tree that dependended on the alignment:
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur tree --alignment {input.aln} --ouput {output.tree}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
To build the tree, you would now call Snakemake as
&lt;div class="codehilite"&gt;&lt;pre&gt;&amp;gt;snakemake results/tree.nwk
&lt;/pre&gt;&lt;/div&gt;
and Snakemake would&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;find the rule that produces &lt;code&gt;results/tree.nwk&lt;/code&gt; (rule &lt;code&gt;tree&lt;/code&gt; in this case)&lt;/li&gt;
&lt;li&gt;determine that it needs to run rule &lt;code&gt;align&lt;/code&gt; to produce &lt;code&gt;results/alignment.fasta&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;run rules &lt;code&gt;align&lt;/code&gt; and &lt;code&gt;tree&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These simple examples only scratch the surface of what Snakemake can do but should give you the general idea.&lt;/p&gt;
&lt;h3 id="augur-commands-and-snakefiles"&gt;Augur commands and Snakefiles&lt;a class="headerlink" href="#augur-commands-and-snakefiles" title="Permanent link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;We will work off the tutorial for Zika virus on the &lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;nextstrain web site&lt;/a&gt; and the github repository &lt;a href="https://github.com/nextstrain/zika-tutorial"&gt;nextstrain/zika-tutorial&lt;/a&gt;.
Clone the tutorial using
&lt;div class="codehilite"&gt;&lt;pre&gt;git clone
&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;&lt;/article&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Augur and Snakemake</title><link href="/201901_krisp_augur2.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_augur2.html</id><summary type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The tool-chain &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; is the bioinformatics engine of nextstrain and produces the files that can be visualized in the webbrowser using &lt;a href="https://github.com/nextstrain/auspice"&gt;&lt;em&gt;auspice&lt;/em&gt;&lt;/a&gt;.
Augur consists of a number of tools that allow the user to filter and align sequences, build trees, and integrate the phylogenetic analysis with meta data.
The different tools are meant to be composable and the output of one tool will serve as the input of other tools.
To compose such tools into an analysis pipeline, augur advocates the workflow management tool &lt;a href="https://snakemake.readthedocs.io/en/stable/"&gt;Snakemake&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Snakemake&lt;/h3&gt;
&lt;p&gt;Snakemake breaks a workflow into a set of rules that are specified in a file called &lt;code&gt;Snakefile&lt;/code&gt;.
Each rule takes a number of input files, specifies a few parameters, and produces output files.
A simple rule would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;data/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;nthreads&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur align --sequences {input.seq} --nthreads {params.nthreads} --ouput {output.aln}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This rule would produce &lt;code&gt;results/alignment.fasta&lt;/code&gt; from the input file &lt;code&gt;data/sequences.fasta&lt;/code&gt; using the &lt;code&gt;augur align&lt;/code&gt; command and additionally specifies that &lt;code&gt;augur&lt;/code&gt; is supposed to use 2 CPUs for this task.&lt;/p&gt;
&lt;p&gt;When executing a rule, Snakemake will check whether all necessary input files are present, if not, it will determine which rules produce the necessary files and execute those first.
Say there was an additional rule to build a tree that dependended on the alignment:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;results/tree.nwk&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;        &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;        augur tree --alignment {input.aln} --ouput {output.tree}&lt;/span&gt;
&lt;span class="sd"&gt;        &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To build the tree, you would now call Snakemake as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;snakemake&lt;span class="w"&gt; &lt;/span&gt;results/tree.nwk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and Snakemake would&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;find the rule that produces &lt;code&gt;results/tree.nwk&lt;/code&gt; (rule &lt;code&gt;tree&lt;/code&gt; in this case)&lt;/li&gt;
&lt;li&gt;determine that it needs to run rule &lt;code&gt;align&lt;/code&gt; to produce &lt;code&gt;results/alignment.fasta&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;run rules &lt;code&gt;align&lt;/code&gt; and &lt;code&gt;tree&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These simple examples only scratch the surface of what Snakemake can do but should give you the general idea.&lt;/p&gt;
&lt;h3&gt;Augur commands and Snakefiles&lt;/h3&gt;
&lt;p&gt;We will work off the tutorial for Zika virus on the &lt;a href="https://nextstrain.org/docs/getting-started/zika-tutorial"&gt;nextstrain web site&lt;/a&gt;, but instead of the Zika virus data, we will analyze Yellow Fever sequences sampled in Brazil in 2016-2017 plus a bunch of older sequences.
Those data you can find inside the &lt;a href="https://github.com/neherlab/2019-krisp-nextstrain-workshop"&gt;nextstrain@krisp workshop repository&lt;/a&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Exploring interactive phylogenies with Auspice</title><link href="/201901_krisp_auspice.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_auspice.html</id><summary type="html">&lt;p&gt;
    Nextstrain uses a program called 'auspice' to create the colourful and interactive webpages you probably
    associate with Nextstrain.
    We'll talk more about the details of auspice later, but for the moment, we'll show you how you can explore
    data using auspice, and use it to illustrate some of the concepts …&lt;/p&gt;</summary><content type="html">&lt;p&gt;
    Nextstrain uses a program called 'auspice' to create the colourful and interactive webpages you probably
    associate with Nextstrain.
    We'll talk more about the details of auspice later, but for the moment, we'll show you how you can explore
    data using auspice, and use it to illustrate some of the concepts just covered.
&lt;/p&gt;
&lt;p&gt;
    To do this, we'll look at a small sub-sample of the Zika virus sequences used to create the Zika page on Nextstrain.
    Follow &lt;a href="https://nextstrain.org/community/neherlab/krisp/zika-tutorial"&gt;this link&lt;/a&gt; to take a look at this 'Zika tutorial'. &lt;br&gt;
&lt;/p&gt;

&lt;p&gt;The default view shows three main panels on your screen:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_panels.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    (If you don’t see all three panels at once, try making your browser larger, or scroll down to see them.)&lt;br&gt;&lt;br&gt;
    In the top-left is the phylogeny, with the sequences used in the analysis. Top-right shows a map showing
    where the sequences are from. Finally, at the bottom is a ‘diversity’ panel that shows the full Zika genome,
    its genes, and mutations found in this analysis.&lt;br&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h2&gt;Let’s look more closely at each panel&lt;/h2&gt;
&lt;h3&gt;Phylogeny Panel&lt;/h3&gt;
&lt;p&gt;
    In this dataset, the phylogeny is coloured by ‘country’ (country of sampling), and is displayed as a time-resolved
    tree. If you can’t see a legend explaining the colour of each country, click the small arrow next to ‘country’
    in the top-left of the phylogeny panel.
&lt;/p&gt;
&lt;p&gt;
    You can see the x-axis is in years, and each sequence will be positioned horizontally according to sample date.
    If any undated samples had their dates estimated in the analysis, they’ll be positioned at their estimated date.
&lt;/p&gt;
&lt;p&gt;
    We can get more information about the phylogeny just by mousing over different parts of it. Hold your mouse
    (don’t click) over the large branch located almost in the middle of the panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_mouseover.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    We can see that this branch has 23 descendants, and we can also see there was one amino-acid mutation that
    occurred on this branch and passed on to all its descendants (though further mutations at this site may have
    occurred in some descendants). This mutation was in the gene NS5; ‘M114V’ means that at codon position 114,
    a methionine (‘M’) changed to a valine (‘V’). We’ll explore mutations a little more in connection with the
    bottom panel.
&lt;/p&gt;
&lt;p&gt;
    The mouse-over text also shows us the estimated date for this branch, and confidence intervals for that estimate.
    Similarly, the branch is coloured grey-green, and we can see this is because the most likely location estimated
    is Brazil, which is greenish (the grey tinge comes from not being 100% confident in Brazil being the location).
&lt;/p&gt;
&lt;p&gt;
    Mouse over different branches in the tree and see how they differ. Mouse over some tips to show the info box -- can you tell
    which had sample dates, and which were estimated during analysis? If you click on tips, you can bring up more
    information about that sample.
&lt;/p&gt;
&lt;p&gt;
    Let’s take a closer look at part of the tree -- we can click on branches to zoom in. Click on the branch
    leading to the red sequences at the top:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_phylogeny.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Since this tree is small, zooming in doesn’t change our view much, but in larger trees this can be very useful.
    If you look at the map and diversity panels, you’ll notice they’ve changed to reflect that we’re only looking
    at a sub-sample of the sequences now.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_zoom.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    Click on ‘reset layout’ in the top-right of the Phylogeny panel (circled above) to go back to the full view.
    Click on a few other branches to zoom in, and see how the map and diversity panels adjust.
&lt;/p&gt;

&lt;h3&gt;Control Panel&lt;/h3&gt;
&lt;p&gt;
    The control panel on the left can also change how the phylogeny is displayed. Using the sliders on either
    end of the ‘date range’, note how the panels respond as you change the range of dates that are viewable.
    (Put the sliders back to the ends afterwards, so the whole phylogeny is visible.)
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_date_range.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    Next, using the ‘color by’ dropdown menu, try colouring the phylogeny by region, author, and date. We’ll
    come back to ‘genotype’ in the moment.
&lt;/p&gt;
&lt;p&gt;
    You can also change the layout of the phylogeny -- try clicking on ‘Radial’ and ‘Unrooted’ under ‘Tree Options
    - Layout’ and see how the tree changes.
&lt;/p&gt;
&lt;p&gt;
    Finally, click on the ‘Clock’ layout option -- it looks quite different:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_clock_view.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    This view shows us divergence (number of mutations since the common ancestor) on the y-axis and the sampling date on the x-axis.
    In the ideal case, all points roughly fall on a line and the slope of this line is the evolutionary rate, that is the number of substitutions that accumulate per year.
&lt;/p&gt;

&lt;p&gt;
    Go back to ‘rectangular’ view, then click on ‘Divergence’ under ‘Branch Length’. The x-axis on the phylogeny
    is now shown with tips plotted according to their divergence (in substitutions) from the root, rather than
    by time. Mousing over branches and tips now will show the divergence, rather than the date.
&lt;/p&gt;
&lt;/p&gt;
&lt;h3&gt;Map Panel&lt;/h3&gt;

&lt;p&gt;
    The map panel is not as interactive as the phylogeny panel, but does change in to reflect actions like zooming
    or changing the dates on the phylogeny. Using the ‘play’ button in the top-left of the map panel, you can move
    through time on the phylogeny, and see how the virus may have spread geographically. How accurate these
    reconstructions are is dependent on many things, so it’s important to consider if showing such links is appropriate
    for your data. &lt;/p&gt;
&lt;p&gt;
    You can adjust the speed of the animation using the ‘Map Options’ on the control panel. You can also change what level of
    location detail is shown on the map -- try changing the ‘Geographic resolution’ to ‘region’.
&lt;/p&gt;

&lt;h3&gt;Diversity Panel&lt;/h3&gt;
&lt;p&gt;
    The diversity panel is a good way to look at mutations on the phylogeny.
    It allows you to spot regions in the genome that evolve more rapidly than others, for example because a particular region is targeted by the host immune system and changes quickly.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The top of the panel shows the a measure of how much an amino acid has changed across the tree. Each line
    represents a position that has changed, plotted along the genome to correspond with the two panels below.
&lt;/p&gt;
&lt;p&gt;
    If you’d rather look at the number of times an amino acid has changed, change from ‘entropy’ to ‘events’
    in the top right of the panel -- notice the amino-acids all now have discrete y-values (here, either 1 or
    2 changes). You can also look at nucleotide changes by switching from ‘AA’ to ‘NT’ in the top right of the
    panel. When you switch to ‘NT’, the information that appears when you mouse over the phylogeny will also
    change - it will now show nucleotide mutations for each branch.
&lt;/p&gt;
&lt;p&gt;
    Go back to ‘entropy’ ‘AA’ view. We can see exactly how an amino acid (or nucleotide) has changed across
    the tree by clicking on that location. Click on the site with the highest entropy:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_click.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Notice this bar is now highlighted (it’s turned orange). The middle part of the diversity panel also looks
    different - it’s zoomed in so that the gene where this mutation has occurred (NS1) is centered. You can see
    the area that’s zoomed in by looking at the bottom part of the panel - the highlighted grey area shows the
    zoomed area on the middle section. The two arrows on either size of the grey area can be dragged to zoom
    in and out.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_zoom.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The phylogeny has changed as well. Click the small arrow next to ‘Genotype at NS1 site 324’ in the top-left
    of the phylogeny panel so that you can see the legend.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_phylo.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;
    The phylogeny is now coloured by the amino acid present at position 324 in the NS1 gene. Most of the branches
    and tips have an arginine (‘R’), but some have mutated to tryptophan (‘W’) or glutamine (‘Q’).
&lt;/p&gt;
&lt;p&gt;
    Click on another site and see how the phylogeny changes. Switch to nucleotide ‘NT’ view, and click a
    few more sites -- the phylogeny will now show these mutations. Why are there more nucleotide mutations
    than amino acid mutations?
&lt;/p&gt;
&lt;p&gt;
    Zoom out in the diversity panel by dragging the black triangles to either end of the Zika genome, or by
    clicking outside of the zoomed area, when your cursor forms a cross. Go back to ‘entropy’ ‘AA’ view.
&lt;/p&gt;
&lt;p&gt;
    What if you’re interested in a particular gene or position? On the control panel, go to the ‘Color by’
    drop-down menu and select ‘genotype’.
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_colorByGeno.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    In the drop-down menu that appears directly below (which now shows ‘genotype’) select ‘NS5’. The diversity
    panel will zoom in to this gene so you can more clearly see the sites that have changed.
&lt;/p&gt;
&lt;p&gt;
    Mousing over the long branch leading to the top cluster on the phylogeny, we can see there were two mutations
    in NS5, at position 322 and 878:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_mouseOver.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    We can colour the phylogeny by these locations by typing ‘322’ into the box below where we selected ‘NS5’
    in the control panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_322.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    Now switch to ‘NT’ view in the diversity panel. Mousing over the same branch, you can see there are many more
    nucleotide mutations than amino acid mutations:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_diversity_mouseOverNT.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    For nucleotide mutations, we can colour the phylogeny by multiple positions at once. As before, select ‘genotype’
    under the ‘Color by’ dropdown. This time, leave the second dropdown box set as ‘nucleotide’. Type in the
    following positions, separated by commas but without spaces: 3501,3972,6966. Press enter, and ensure you
    can see the legend at the top of the phylogeny panel:
&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="talk_images/zika_tutorial_multiNT.PNG" /&gt;&lt;/p&gt;

&lt;p&gt;
    The phylogeny is now coloured by the nucleotide present at each of these three positions.
&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Running augur on bacterial data</title><link href="/201901_krisp_bacteria.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_bacteria.html</id><summary type="html">&lt;p&gt;While &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; was initially designed to process viral sequence data, we have extended it to work with bacterial data.
Genome evolution and spread of bacteria differs from viruses in several important ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;genomes are much larger, but only a small fraction of sites are variable&lt;/li&gt;
&lt;li&gt;bacteria often gain or loose …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;While &lt;a href="https://github.com/nextstrain/augur"&gt;&lt;em&gt;augur&lt;/em&gt;&lt;/a&gt; was initially designed to process viral sequence data, we have extended it to work with bacterial data.
Genome evolution and spread of bacteria differs from viruses in several important ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;genomes are much larger, but only a small fraction of sites are variable&lt;/li&gt;
&lt;li&gt;bacteria often gain or loose genes via horizontal transfer&lt;/li&gt;
&lt;li&gt;drug resistance determinants and virulence factors often reside on plasmids or other mobile elements.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The latter two complications are not an issue for Mycobacterium tuberculosis (MTb) and we will focus our analysis here on MTb.
The biggest difference in the analysis workflow is that sequence data typically doesn't come as a collection of sequences in fasta format, but as a list of differences relative to a reference sequence.
These difference are typically stored in &lt;a href="https://en.wikipedia.org/wiki/Variant_Call_Format"&gt;VCF format&lt;/a&gt;.
The basic structure of VCF is the following&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;#CHROM  POS    ID  REF  ALT  QUAL  FILTER  sample1 sample2 sample3
1       143    x   G    A    29    PASS    0       1       0
1       173    y   T    A    3     PASS    0       0       1
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Each row corresponds to a variable position and specifies the reference allele (REF) and the variant allele (ALT).
Each sample corresponds to a column that contains information on whether the sample has the reference allele or the variant allele at this position.
(The actual file is a lot more complicated than this example and contains all sorts of quality and filtering information).&lt;/p&gt;
&lt;p&gt;Besides using different input files, the basic augur workflow is pretty similar for bacteria and viruses.
A step-by-step tutorial for MTb data is &lt;a href="https://nextstrain.org/docs/getting-started/tb-tutorial"&gt;available on the nextstrain website&lt;/a&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Introduction to Phylogenetic Analysis</title><link href="/201901_krisp_intro.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_intro.html</id><summary type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Genome sequences record pathogen transmission&lt;/h2&gt;
&lt;p&gt;Pathogens spread by through rapid replication in one host followed by transmission to another host and an outbreak can only take off when one infection results in more than one subsequent infections.
As the pathogen replicates and spreads, its genome needs to be replicated many times and random mutations -- copying mistakes -- will accumulate in the genome.
Such random mutations can help to track the spread of the pathogen and learn about its transmission routes and dynamics.&lt;/p&gt;
&lt;p&gt;&lt;img alt="transmission_sketch" src="/talk_images/infection_tree_combined.png"&gt;&lt;/p&gt;
&lt;p&gt;The illustration above shows a transmission tree with a subset of cases that were sampled (blue).
In practice, the transmission tree is unknown and typically only rough estimates of the total case counts are available.
Genome sequences, however, will allow us to reconstruct the transmission tree.
In this example, three mutations (little diamonds) are indicated on the tree and these mutations allow us to group samples into clusters of closely related viruses that belong to the same transmission chains.
Real data will contain many more mutations and many more samples that allow detailed reconstructions.&lt;/p&gt;
&lt;h2&gt;Sequence data&lt;/h2&gt;
&lt;p&gt;Sequencing of pathogens from patient samples and the processing of the raw sequence data won't be discussed here.
We start assuming we have genome sequences of the same pathogen sampled from many cases during an outbreak.
These will typically come as text files in &lt;em&gt;fasta&lt;/em&gt; format:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;Sample_A
ACTGCTCGATCGCTACGCTACGCTA...
&amp;gt;Sample_B
CTGCTCCATCGATCGCTANNNN...
&amp;gt;...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Each line that starts with a '&amp;gt;' sign is interpreted as a line that specifies the name of the sample, followed by the sequence.
The sequence can be broken over several lines.
Sequences obtained in outbreak scenarios will often be incomplete.
Unknown bases are typically denoted by 'N', but other characters like '?' or '.' are also common.&lt;/p&gt;
&lt;p&gt;Fasta files like the above will be the point of departure for the phylogenetic analysis that follow.&lt;/p&gt;
&lt;h2&gt;Alignment&lt;/h2&gt;
&lt;p&gt;Partial genome sequences typically don't all start in exactly the same place and mutations not only change the nucleotide content but can also delete or insert a couple of bases.
As a consequence, the different sequences are not in register and need to be &lt;em&gt;aligned&lt;/em&gt;.
Such alignments are a common task in bioinformatics and many robust programs are available to solve this problem.
The aim is to insert gaps into the sequences, encoded with character '-', that corresponding characters are in the same column.
For the two sequences from above, this would look like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ACTGCTCGATCGCTACGCTACGCTA...
-CTGCTCCATCGAT-CGCTANNNN...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;At most positions, the two sequences now agree.
Formally, alignment is trying to insert gaps such that &lt;em&gt;homologous&lt;/em&gt; parts (i.e. parts that descent from a common ancestral sequence) of the sequence are in the same column.
Common programs to perform this task are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mafft.cbrc.jp/alignment/software/"&gt;mafft&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.drive5.com/muscle/"&gt;muscle&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.clustal.org/"&gt;clustalW&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The output of an alignment is best viewed (and edited) in specialized multiple alignment viewers.
My favorite one is &lt;a href="http://www.ormbunkar.se/aliview/"&gt;aliview&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt="aliview" src="/talk_images/aliview_screenshot.png"&gt;&lt;/p&gt;
&lt;h2&gt;Phylogenetic trees&lt;/h2&gt;
&lt;p&gt;Once sequences are aligned, we can meaningfully look for differences between them and group them into clusters of similar sequences, which in essence boils down to reconstructing their "family tree" or evolutionary history.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/toy_alignment_tree.svg" alt="toy_tree" width="800"/&gt;&lt;/p&gt;
&lt;p&gt;One the right, different colored balls indicate differences between the sequences that we assume originated in a mutation event in a common ancestor of all sequences that carry the variant.
In this simple example, it is straightforward to group sequences according to the mutations they carry -- in practice finding the tree that explains your data best is a computationally challenging problem.
But a large number of highly optimized programs are available to solve this task.
We will use one of the following three&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="www.iqtree.org"&gt;IQ-TREE&lt;/a&gt;: Fast and accurate&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cme.h-its.org/exelixis/software.html"&gt;RAxML&lt;/a&gt;: Current gold standard, but slower than IQ-TREE&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.microbesonline.org/fasttree/"&gt;FastTree&lt;/a&gt;: Fast and rough, but often good enough (depends who you ask)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most common output format of these programs is called &lt;a href="https://en.wikipedia.org/wiki/Newick_tree_format"&gt;&lt;em&gt;newick&lt;/em&gt; format&lt;/a&gt;.
The branch length of trees estimated by the above programs roughly correspond to the fraction of positions in the sequence that changed along the branch (more precisely the expected number of changes per site).&lt;/p&gt;
&lt;p&gt;Trees can graphed in different ways.
The most important distinction is whether a tree is rooted or not.
In a rooted tree (the left example below) a particular bifurcation is the ancestor of &lt;em&gt;all&lt;/em&gt; sequences in the sample.
Time scaled phylogenies (where branch length corresponds to time) will always be rooted and the root is by necessity the oldest node.
In other applications, it is difficult to single out a root node and a more appropriate layout is and &lt;em&gt;unrooted&lt;/em&gt; layout shown on the right.&lt;/p&gt;
&lt;p&gt;&lt;img src="/talk_images/rooted_vs_unrooted.png" alt="rooted_vs_unrooted" width="800"/&gt;&lt;/p&gt;
&lt;h2&gt;Molecular clock and transmission&lt;/h2&gt;
&lt;p&gt;The number of changes accumulate in a pathogen genome in a year depends on&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the mutation rate&lt;/li&gt;
&lt;li&gt;the duration of one replication cycle&lt;/li&gt;
&lt;li&gt;the size of the genome&lt;/li&gt;
&lt;li&gt;the fraction of mutations that persist and spread&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While the first three factors are very natural and intuitive, the last one depends on the biology of the pathogen and the environment it is replicating in.
The majority of mutations that change the sequence of important proteins will be detrimental and are quickly removed by natural selection, while other mutations, for example those that help a virus to evade human immunity, will preferentially spread.
In addition, a substantial fraction of mutations (mostly mutations at 3rd codon positions) don't affect pathogen replication much and accumulate freely.
As a consequence, the exact rate at which changes accumulate is not known a priori.
Nevertheless, mutations tend to accumulate at a constant rate and the accumulation can be used as a &lt;em&gt;molecular clock&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The molecular clock is a relationship between time and the expected number of changes in the sequence.
These substitution rates vary greatly between organisms and within organisms between genomic regions&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: \(0.0001\ldots 0.01\) substitutions per site and year&lt;/li&gt;
&lt;li&gt;bacteria: \(10^{-8}\ldots 10^{-6}\) substitutions per site and year&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Multiplying the rate per site with the size of the genome, we get the expected number of substitutions per year:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RNA viruses: Genome size \(\approx 10^{4}\) &amp;rarr; 1-100 substitutions year and genome&lt;/li&gt;
&lt;li&gt;bacteria: Genome size \(5\times 10^{6}\) &amp;rarr; \(0.05 - 5\) substitutions per year and genome&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This suggests that whole genome sequencing often has high enough resolution to distinguish pathogens that were sequences a few month apart -- sometimes even down to a few weeks.&lt;/p&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Nextstrain workshop at KRISP, Durban, South Africa</title><link href="/201901_krisp_overview.html" rel="alternate"></link><published>2019-01-24T00:00:00+01:00</published><updated>2019-01-24T00:00:00+01:00</updated><author><name>Emma Hodcroft &amp; Richard Neher</name></author><id>tag:None,2019-01-24:/201901_krisp_overview.html</id><summary type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and dynamic visualization using nextstrain.
Nextstrain is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This workshop provides on overview on phylogenetic analysis and dynamic visualization using nextstrain.
Nextstrain is an open-source project to facilitate phylodynamic analysis, data integration, and visualization of large data sets of viral and bacterial pathogens. The analysis results can be visualized on your own computer or shared on the web.&lt;/p&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="201901_krisp_intro.html"&gt;Basics of phylogenetic analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_auspice.html"&gt;Exploring interactive phylogenies with Auspice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_augur.html"&gt;Analysis with augur and Snakemake -- viruses&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="201901_krisp_bacteria.html"&gt;Analysis with augur and Snakemake -- bacteria&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Important links&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nextstrain.org/docs/getting-started/introduction"&gt;nextstrain documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;Time-scaled phylogenies with TreeTime&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://conda.io/docs/user-guide/install/download.html"&gt;getting miniconda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://snakemake.readthedocs.io/en/stable/tutorial/basics.html"&gt;snakemake tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="bioinformatics"></category><category term="phylogenetics"></category></entry><entry><title>Establishment and maintenance of the latent HIV-1 DNA reservoir</title><link href="/201901_StLucia.html" rel="alternate"></link><published>2019-01-21T00:00:00+01:00</published><updated>2019-01-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-01-21:/201901_StLucia.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The people who made this happen...&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015 …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The people who made this happen...&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- V3 tree --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Detailed time-resolved record of evolution of the entire genome (here V3 in patient 3)&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/HIVEVO_tree_p3_V3_example.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion towards the center of HIV phylogeny&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:17%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:17%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:17%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Reversions accumulate slowly throughout chronic infection&lt;/li&gt;
    &lt;li&gt;Reversion can explain much of the intra/inter-host evolutionary rate mismatch&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:53%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1100px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;p17 sequencing from PBMCs on fully suppressive therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hypermutated and intact proviral p17 sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
        &lt;img src="talk_images/HIVEVO_hypermutation_stats.png" width="60%" class="plain"&gt;&lt;/img&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Between 0 and 43% hypermutants, median 13%&lt;/li&gt;
            &lt;li&gt;Between 3 and 43 unique sequences &gt;1% read frequency, median 25&lt;/li&gt;
            &lt;li&gt;Majority of hypermutant sequences have stop codons&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Proviral DNA mostly identical to pre-therapy RNA&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="100%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing evolution&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1100px class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing evolution -- hypermutated provirus&lt;/h3&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_root_to_tip_hyper.jpg" width=900px class="plain"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Most proviral DNA originates from shortly after start of therapy&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=700px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:45%; width: 50%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=450px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:65%; left:50%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Possible explanations for reservoir establishment time distributions&lt;/h3&gt;
    &lt;div style="position: absolute;top:18%; left:10%; width: 45%; text-align: left"&gt;
    &lt;font size=5&gt;
    &lt;span&gt;Reservoir shaped by T-cell turn-over&lt;/span&gt;
    &lt;ul&gt;
        &lt;li&gt;T-cell lineages are short lived w/o treatment&lt;/li&gt;
        &lt;li&gt;The reservoir is cleared/superseeded by subsequent infection&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
        &lt;li&gt;pre-therapy state is frozen&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:18%; left:55%; width: 45%; text-align: left"&gt;
    &lt;font size=5&gt;
    &lt;span&gt;Reservoir formation triggered by immune deactivation&lt;/span&gt;
    &lt;ul&gt;
        &lt;li&gt;&amp;rarr; Melissa Abrahams talk on Tuesday&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://www.biorxiv.org/content/early/2019/01/04/512475"&gt;Abrahams et al, bioRxiv, 2019&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;Similar study design, but functional outgrowth virus!&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:5%; width: 50%"&gt;
    &lt;img src="talk_images/abrahams_et_al_reservoir_VL.png" width=800px class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:50%; left:50%; width: 45%"&gt;
    &lt;img src="talk_images/abrahams_et_al_reservoir_example_tree.png" width=600px class="plain"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://www.biorxiv.org/content/early/2019/01/04/512475"&gt;Abrahams et al, bioRxiv, 2019&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Summary&lt;/h2&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Continuous reversion to ancestral states throughout chronic infection &lt;/li&gt;
            &lt;li&gt;Minor diversity allows fitness cost estimates at every position in the genome &lt;/li&gt;
            &lt;li&gt;The latent reservoir is a snapshot of the pre-treatment population&lt;/li&gt;
            &lt;li&gt;No evidence of ongoing replication&lt;/li&gt;
            &lt;li&gt;No clear trend of diversity loss on treatment&lt;/li&gt;
            &lt;li&gt;Proviral DNA can serve as a T-cell lineage marker&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evaluation of two workflows for whole genome sequencing-based typing of influenza A viruses</title><link href="/wuthrich_evaluation_2019.html" rel="alternate"></link><published>2019-01-19T00:00:00+01:00</published><updated>2019-01-19T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-01-19:/wuthrich_evaluation_2019.html</id><summary type="html">&lt;p&gt;We compared two sample preparation protocols for whole genome sequencing of influenza A viruses. Each protocol was assessed using cDNA quantity and quality and the resulting mean genome coverage after sequencing. Both protocols produced acceptable result for samples with high viral load, whereas one protocol performed slightly better with limited …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We compared two sample preparation protocols for whole genome sequencing of influenza A viruses. Each protocol was assessed using cDNA quantity and quality and the resulting mean genome coverage after sequencing. Both protocols produced acceptable result for samples with high viral load, whereas one protocol performed slightly better with limited virus count.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Improving the quality and workflow of bacterial genome sequencing and analysis: paving the way for a Switzerland-wide molecular epidemiological surveillance platform</title><link href="/egli_improving_2018.html" rel="alternate"></link><published>2019-01-04T00:00:00+01:00</published><updated>2019-01-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-01-04:/egli_improving_2018.html</id><summary type="html">&lt;p&gt;Facing multidrug resistant (MDR) bacterial pathogens is one of the most important challenges for our society. The spread of highly virulent and resistant pathogens can be described using molecular typing technologies; in particular, whole genome sequencing (WGS) data can be used for molecular typing purposes with high resolution. WGS data …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Facing multidrug resistant (MDR) bacterial pathogens is one of the most important challenges for our society. The spread of highly virulent and resistant pathogens can be described using molecular typing technologies; in particular, whole genome sequencing (WGS) data can be used for molecular typing purposes with high resolution. WGS data analysis can explain the spatiotemporal patterns of pathogen transmission. However, the transmission between compartments (human, animal, food, environment) is very complex. Interoperable and curated metadata are a key requirement for fully understanding this complexity. In addition, high quality sequence data are a key element between centres using WGS data for diagnostic and epidemiological applications. We aim to describe steps to improve WGS data analysis and to implement a molecular surveillance platform allowing integration of high resolution WGS typing data and epidemiological data.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Pierre Barrat</title><link href="/pierre-barrat.html" rel="alternate"></link><published>2019-01-01T00:00:00+01:00</published><updated>2019-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2019-01-01:/pierre-barrat.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Debating soft vs hard sweeps in RNA viruses is a waste of time</title><link href="/201812_softsweeps.html" rel="alternate"></link><published>2018-12-30T00:00:00+01:00</published><updated>2018-12-30T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-30:/201812_softsweeps.html</id><summary type="html">&lt;p&gt;About two month ago, Harris et al put up a &lt;a href="https://www.biorxiv.org/content/early/2018/10/19/443051"&gt;preprint&lt;/a&gt; calling into question the relevance of soft-sweeps in the recent evolution in humans, flies and HIV.
This preprint has generated a substantial amount of controversy and authors that were criticized by Harris et al felt they had to respond …&lt;/p&gt;</summary><content type="html">&lt;p&gt;About two month ago, Harris et al put up a &lt;a href="https://www.biorxiv.org/content/early/2018/10/19/443051"&gt;preprint&lt;/a&gt; calling into question the relevance of soft-sweeps in the recent evolution in humans, flies and HIV.
This preprint has generated a substantial amount of controversy and authors that were criticized by Harris et al felt they had to respond and defend their work.
&lt;a href="https://www.biorxiv.org/content/early/2018/12/29/495275"&gt;Alison Feder et al's response&lt;/a&gt; is a careful rebuttal of the critique by Harris et al. and there is little specific that I can add to it -- instead of looking at individual points of contention, I want to share here a more general take on this debate.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;In summary&lt;/em&gt;: In RNA viruses, evidence for soft sweeps is overwhelming and a debate about whether sweeps are soft or hard is a waste of time.
Keeping this debate alive by using simplified models and wrong assumptions for fundamental parameters of evolution is not helping.
There are many much more interesting questions people should focus on.&lt;/p&gt;
&lt;!-- I'll focus on the case of viral evolution since this is the area I know best and will only spend a few words on organisms with larger genomes below. --&gt;

&lt;h3&gt;Softsweeps are common in RNA viruses&lt;/h3&gt;
&lt;p&gt;HIV is one of the best examples of a rapidly adapting population.
The co-evolution of HIV with the host immune system and its response to (suboptimal) drug treatment has been studied in detail at the genetic and phenotypic level in densely sampled time series.
Similarly, seasonal influenza viruses evade the build-up of immunity in the human population by rapidly changing their surface proteins.
In both of these viruses, softsweeps and parallel adaptation are a dominant mode of adaptation.&lt;/p&gt;
&lt;p&gt;The fact that parallel adaptation is common in these populations is not surprising (unless one insists on unrealistically small population sizes, see below) and has been the null hypothesis of virologists for decades.
The figure below shows trees of HA segments from influenza virus A(H3N2) and A(H1N1pdm) viruses isolated in the last two years.
In both cases, a particular adaptation has risen to high frequency on different haplotypes.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_softsweep" src="/images/flu_softsweep.png"&gt;
These screenshots from &lt;a href="https://nextstrain.org/flu"&gt;nexstrain&lt;/a&gt; show trees colored by amino acids at codon 135 (right) and 183 (left).
In both cases, several independent substitutions at these positions are ancestral to major circulating clades.
Parallel adaptation of this sort is the rule rather than an exception in seasonal influenza virus populations -- even though one of the competing lineages will eventually win and drive others extinct.&lt;/p&gt;
&lt;p&gt;Similar examples are commonly observed in HIV.
Most strikingly, immune escape early in infection often proceeds via dozens of distinct variants that differ at some position in the targeted epitope or the neighboring processing sites.
The example below is from an early deep sequencing &lt;a href="https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0012303"&gt;study by Fischer et al&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="HIV_softsweep" src="/images/HIV_Fischer_softsweep.png"&gt;
At day 30, the founder variant accounts for 38% of the sequence reads.
The remainder is composed of five variants above 3% and several rare more competing escape mutants.
In a similar fashion, drug resistance under mono-therapy typically emerges multiple times on different haplotypes -- often exploring different codons that code for the same amino acid.&lt;/p&gt;
&lt;p&gt;Multiple independent origins of an adaptation can either (i) root in diversity that existed before selective pressure was applied or (ii) arise in the declining population after the selection started.
The relevant contributions of these two modes depend on the fitness effects of the mutations before and after conditions changed and distinguishing these two modes tends to be quite fuzzy.
At the great majority of positions, however, we expect minor variants to pre-exist.&lt;/p&gt;
&lt;p&gt;In fact, minor variation can be used to estimate the fitness costs of mutations at a large fraction of all positions in the HIV genome suggesting an approximate mutation/selection balance (see &lt;a href="https://academic.oup.com/ve/article/3/1/vex003/3060990/In-vivo-mutation-rates-and-the-landscape-of"&gt;Zanini et al&lt;/a&gt; and &lt;a href="http://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1007420"&gt;Theys et al&lt;/a&gt;).
This clearly implies that most mutations pre-exist and are readily selected for when drug treatment or immune selection turn them into beneficial mutations.
Hence adaptation from standing variation is plausible for all but the most deleterious mutations.&lt;/p&gt;
&lt;h3&gt;Why are we even having this debate?&lt;/h3&gt;
&lt;p&gt;Viral populations are large (10s of millions of cells are infected every day within a chronically infected HIV patient, there are millions of influenza cases a day) and mutation rates are on the order of \(10^{-5}\) per site and day.
Hence every mutation is expected to be produced hundreds of times every day.&lt;/p&gt;
&lt;p&gt;Why do Harris et al then assume an HIV population size of \(10^4\) and therapy induced bottlenecks of size 1000, 100, and 10 (as well as way too small selection coefficients)?
Population geneticists are used to estimating population sizes from the levels of genetic diversity that are maintained in the population.
Neutral genetic diversity is proportional to the product of the time to the most recent common ancestor \(T_{mrca}\) and the mutation rate \(\mu\).
In the simplest neutral models of population genetics \(T_{mrca}\sim N\) and this equivalence is used to estimated the 'effective population size' \(N_e\) from diversity via \(N_e \sim T_{mrca}/\mu\).&lt;/p&gt;
&lt;p&gt;In HIV, the genetic diversity tends to saturate at a pairwise distances of about one percent suggesting \(T_{mrca}\sim 10^3-10^4\) (after accounting for conserved sites etc).
In most microbial populations, however, there is no reason to believe that \(T_{mrca}\) has anything to do with size of the population that is exploring beneficial mutations -- most certainly not in HIV or influenza virus populations.
Taking estimates of \(N_e\) based on genetic diversity at face value will result in erroneous conclusions.
Genetic diversity in rapidly adapting populations is controlled by selection, both positive and negative, rather than drift and the population size exploring mutations is orders of magnitudes larger than the number of generations to the most recent common ancestor.
Population size can even by anticorrelated with diversity: Influenza virus A(H3N2) has the largest population size of seasonal influenza viruses (as measured by prevalence), but has historically had lowest diversity.&lt;/p&gt;
&lt;p&gt;We don't even need to rely on theoretical arguments here.
The size of the HIV population that contributes beneficial drug resistance mutations has been estimated in animal models.
&lt;a href="https://elifesciences.org/articles/10670"&gt;Boltz et al&lt;/a&gt; for example find that at least \(10^6\) infected cells contribute to future generations in HIV infected macaques.
They measure mutation frequencies down to \(10^{-5}\) and show that some resistance mutations (M184I, K65R) are found as rare variants before treatment.
In contrast, K103N was not detected above \(10^{-5}\) prior to treatment, but multiple codons (AAC and AAT) coding for Asparagine at position 103 were observed a few days after treatment despite a transient 100fold reduction in viral load.
Hence even when a mutation is deleterious enough not to be observed above frequencies \(10^{-5}\) (suggesting costs of order one) and the population size is rapidly declining due to drug treatment, the viral population is still large enough to discover and amplify this resistance mutations many times.&lt;/p&gt;
&lt;h3&gt;Viral genetic diversity data still holds many mysteries&lt;/h3&gt;
&lt;p&gt;...but whether sweeps are soft or hard is not one of them.
Most available evidence suggests that selection and the environment, rather than the discovery of particular mutations, determine diversity and adaptation.
This selective landscape, however, is not well understood.
We should strive to understand how an environment that varies in time and space drives virus adaptation, how viruses interact with diverse immune system(s), and how biophysical constraints of viral proteins limit the space of possibilities.
Densely sampled human pathogens are unique in that extensive data on prevalence history, serology, and the evolutionary dynamics of different variants are available.
They are one of the most promising systems to unravel the interactions that drive rapid adaptation.
Answers to these question are key to quantitatively understand which factors determine the distinct behaviors of the different seasonal influenza virus lineages, or why other respiratory viruses like rhino- or enteroviruses have very different evolutionary patterns.&lt;/p&gt;
&lt;h3&gt;Bigger organisms and larger genomes&lt;/h3&gt;
&lt;p&gt;Much of the discussion above focused on RNA viruses -- I know the literature on them much better than that on organisms with larger genomes.
The latter tend to have much lower mutation rates, making it harder for a population to sample the mutational space and hence select for the same mutation on different backgrounds.
However, what these populations lack in mutation rate, they often make up for by larger mutational targets or different modes of adaptation.
Bacteria for example adapt by picking up genes from the environment and resistance genes spread on diverse background across species boundaries.
Furthermore, their populations are easily big enough to explore all single point mutations even at mutation rate of \(10^{-9}\) per site and generation.&lt;/p&gt;
&lt;p&gt;Similar arguments hold for small animals like fruit flies that with their enormous populations can sample single point mutations exhaustively, see &lt;a href="https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1000924"&gt;Karasov et al&lt;/a&gt;.
If these mutations are strongly adaptive, they will sweep from multiple independent origins.
Deviations from panmixia can help to keep these independent and possibly competing adaptations around for a while.&lt;/p&gt;
&lt;h3&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;To quote Alison, "something that likely happens at least once likely happens multiple times".
As a corollary, populations that regularly need to change specific loci in their genomes to survive are unlikely to be mutation limited and will largely adapt via softsweeps tracking a changing environment rather than waiting for rare lucky mutations.
That does not mean that unique "hard-sweep" like events don't happen -- only that they are atypical and by definition rare.
If environmental challenges that require such adaptations were frequent, the population would go extinct.
Many crucial transitions in the history of most species will have been such rare "hard sweeps", e.g. a host jump of a virus.
But there is no contradiction here: every day business in a gradually changing environment proceeds mostly via softsweeps, while major transitions are rare and plausibly of single origin.&lt;/p&gt;
&lt;p&gt;In fact combination drug therapy for HIV is precisely set-up to engineer such a dramatic change of environment: Several drugs are combined to erect a large genetic barrier. Resistance requires the simultaneous acquisition of multiple previously costly mutations that would drive the HIV population extinct if it wasn't for the latent reservoir.&lt;/p&gt;
&lt;p&gt;While simple effective models might fit some data by adjusting phenomenological parameters like \(N_e\), their predictions typically conflict with other observations.
Models parameterized to fit genetic diversity on the time scale of years will not give meaningful prediction on evolutionary processes that take place over a few days.
Ignoring the realities of large rapidly adapting populations and modeling them as small neutral populations (for mathematical convenience or otherwise) is muddying the waters.&lt;/p&gt;</content><category term="post"></category><category term="population genetics"></category></entry><entry><title>Information theory and proportional betting</title><link href="/20181220_theoretical_biophysics.html" rel="alternate"></link><published>2018-12-20T00:00:00+01:00</published><updated>2018-12-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-20:/20181220_theoretical_biophysics.html</id><content type="html">&lt;h3&gt;&lt;a href="/teaching_notes/20181220_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="information theory"></category><category term="proportional betting"></category></entry><entry><title>Microbial evolution and the spread of infectious disease</title><link href="/201812_CBB_Seminar.html" rel="alternate"></link><published>2018-12-20T00:00:00+01:00</published><updated>2018-12-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-20:/201812_CBB_Seminar.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Bacterial evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=5&gt;
            &lt;ul&gt;
            &lt;li&gt;every genome contains a different set of genes &lt;/li&gt;
            &lt;li&gt;horizontal transfer&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;variable divergence along the genome&lt;/li&gt;
            &lt;li&gt;important parts sit on plasmids,&lt;br&gt;flanked by repetitive sequence&lt;/li&gt;
            &lt;li&gt;short read assemblies tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/nar/gkx977"&gt;Ding, Baumdicker, RN, 2017&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Chromatin organization and structure</title><link href="/20181213_theoretical_biophysics.html" rel="alternate"></link><published>2018-12-13T00:00:00+01:00</published><updated>2018-12-13T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-13:/20181213_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Packing a DNA into the nucleus while maintaining it accessible is a difficult task.
Without any compactification the size of a DNA coil is \(\sim \sqrt{l_p L}\) where \(l_p=150bp = 50nm\) is the persistence length of DNA.
Given a typical chromosome size of 100Mb corresponding to \(L=3\times …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Packing a DNA into the nucleus while maintaining it accessible is a difficult task.
Without any compactification the size of a DNA coil is \(\sim \sqrt{l_p L}\) where \(l_p=150bp = 50nm\) is the persistence length of DNA.
Given a typical chromosome size of 100Mb corresponding to \(L=3\times 10^7 nm\), we would expect a typical end-to-end distance of \(\sqrt{10^9nm^2}\approx 30\mu m\).
Eukaryotic cells achieve this major compactification by wrapping DNA around histone octamers that are subsequently packed into higher order structures.&lt;/p&gt;
&lt;p&gt;&lt;img alt="chromatin_overview" src="http://www.mdpi.com/genes/genes-06-00734/article_deploy/html/images/genes-06-00734-g001.png"&gt;
&lt;a href="http://www.mdpi.com/2073-4425/6/3/734/htm"&gt;Vuthy Ea, Marie-Odile Baudement, Annick Lesne and Thierry Forné. Genes 2015, 6(3), 734-750&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The complex of histone octamer and the DNA is called nucleosome. About 150bp (one persistence length!) is wrapped about 1.7 times around an octamer of 2 copies of H2A, H2B, H3 and H4 each.
DNA is strongly bent in this configuration, which is maintained by many protein-DNA interactions.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nucleosome" src="/teaching_images/Nucleosome_1KX5_colour_coded.png"&gt;
&lt;a href="https://commons.wikimedia.org/wiki/File:Nucleosome_1KX5_colour_coded.png"&gt;Zephyris, wikipedia&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This extremely tight association between DNA and nucleosomes begs the question how DNA is kept accessible to regulatory proteins such as transcription factors.
The last two decades have seen tremendous progress in figuring out how chromatin is maintained and remodeled.
These mechanisms involved many different modification of histones (histone acetylation) and DNA (methylation).
Furthermore, different variants of the histone proteins can be substituted for each other.&lt;/p&gt;
&lt;p&gt;&lt;img alt="epigenetics" src="/teaching_images/Epigenetic_mechanisms.jpg"&gt;
&lt;a href="http://commonfund.nih.gov/epigenomics/figure"&gt;NIH&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One aspect of epigenetic regulation is the positioning of histones on the DNA.
Using deep sequencing techniques, it is now possible to determine the distribution of nucleosomes along the entire genome.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nucleosome_positioning" src="/teaching_images/nucleosome_positioning.png"&gt;
&lt;a href="https://www.nature.com/articles/nrg2522#f1"&gt;Cizhong Jiang and B. Franklin Pugh, Nature Reviews Genetics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nucleosomes have a preference for certain sequences (those that are particularly flexible at particular positions to facilitate wrapping around the histone octamer) and avoid others.
These sequence preference allow explicit positioning of nucleosomes and it has been observed that transcription start sites tend to be nucleosome depleted.
The upstream and down stream regions next the TSS tend to have periodic nucleosome occupancy.
The degree to which these periodic patterns are explicitly positioned is not immediately clear.
However, statistical modeling by &lt;a href="http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000891"&gt;Möbius and Gerland&lt;/a&gt; shows that a simple model of randomly placed nucleosomes next to a rigidly organized TSS is enough to explain these patterns (Tonks gas). The explicit comparison between the model and the data is shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nuc_model" src="teaching_images/Mobius_Gerland.png"&gt;&lt;br&gt;
Density of reads mapping to nucleosomes in yeast compared to the prediction of the simple Tonks-gas model.&lt;/p&gt;
&lt;p&gt;The discrete contributions of nucleosomes as distance 1,2,3,4 etc are shown separately in the plot below&lt;/p&gt;
&lt;p&gt;&lt;img alt="model_pred" src="teaching_images/mobius_gerland_S1.png"&gt;&lt;br&gt;
Density of reads mapping to nucleosomes in yeast compared to the prediction of the simple Tonks-gas model. With increasing distance, the peaks get broader and broader and eventually give rise to a uniform distribution.&lt;/p&gt;
&lt;h2&gt;Large scale chromosome organization&lt;/h2&gt;
&lt;p&gt;Beyond the microscopic organization of chromatin on the nucleosome scale, chromatin is organized in specific structures all the way to whole chromosome scales.
The earliest indications of this were banding patterns in &lt;a href="https://en.wikipedia.org/wiki/Polytene_chromosome"&gt;polytene chromosomes in Drosophila&lt;/a&gt;.
Fluorescent probes can be used to monitor the location of particular loci within the condensed or open chromatin and multi-color labeling can reveal the relative location of several such loci.
Recently, however, high throughput methods that can survey billions of interactions have enabled a much more detailed view of the 3D organization of chromatin.&lt;/p&gt;
&lt;h3&gt;3C, 4C, 5C, Hi-C: methods for characterizing chromatin&lt;/h3&gt;
&lt;p&gt;These new high-throughput methods are based on fixation of cross-links, ligation of pieces in physical proximity, and deep sequencing. The methods are derivatives of the original 3C (chromosome conformation capture).
While 3C and 4C were restricted to specific or few locus interaction assays, HiC can be used to detect interactions across chromosomes.&lt;/p&gt;
&lt;p&gt;&lt;img alt="hic" src="http://www.mdpi.com/genes/genes-06-00734/article_deploy/html/images/genes-06-00734-g002.png"&gt;
&lt;a href="http://www.mdpi.com/2073-4425/6/3/734/htm"&gt;Vuthy Ea, Marie-Odile Baudement, Annick Lesne and Thierry Forné. Genes 2015, 6(3), 734-750&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These methods generate detailed maps of how likely it is that two points on the chromosome touch.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mirny_hic" src="teaching_images/Nuebler_Mirny_HiC.png"&gt;&lt;br&gt;
Example of a HiC map  on chromosome 6. This shows an 50Mb interval. From &lt;a href="https://www.biorxiv.org/content/early/2017/10/03/196261"&gt;Nuebler et al&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using HiC methods, scientists have shown that chromatin is organized hierarchically on multiple scales.
At the largest scale, there are two domains (termed A/B).
This two-domain structure is evident in the checkerboard pattern of HiC maps as seen in the top left figure below.
These are segments that tend to interact with themselves and their next-nearest neighbor, but not their immediate neighbor.&lt;/p&gt;
&lt;p&gt;&lt;img alt="checker" src="teaching_images/Mirny_ABs_TADs.png"&gt;&lt;br&gt;
&lt;a href="https://www.nature.com/articles/nrg3454"&gt;Deckker, Marti-Remon, Mirny. Nature Review Genetics, 2013&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At finer scales, chromosome are organized into so called Topologically Associated Domains (short TADs). This really is just a fancy name of a local blob where the DNA tends to touches itself.
We'll touch on how these TADs form and how they are maintained below.&lt;/p&gt;
&lt;p&gt;For a more statistical characterization of the chromosome structure, it is instructive to calculate the probability that two points in the DNA interact as a function of distance.
We have discussed explicit predictions for this probability in the context of polymer conformations where the dominant behavior for a random coil was \(s^{-3/2}\).
This probability of touching decays much less rapidly in the nucleus.&lt;/p&gt;
&lt;p&gt;&lt;img alt="p2" src="teaching_images/Mirny_pcorr.png"&gt;&lt;/p&gt;
&lt;p&gt;There is a fabulous tool to interrogate and explore chromosome conformation structure.
It provides Google Maps like views into HiC data sets at every level and is available at &lt;a href="http://higlass.io"&gt;higlass.io&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Mechanisms of maintaining chromosome structure&lt;/h3&gt;
&lt;p&gt;This is a very recent field and some of the results are still very much in flux.
The boundaries of TADs tend to be associated with a protein called CTCF.
&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4889513/"&gt;Leonid Mirny's group at MITA has put forward a hypothesis&lt;/a&gt; that TADs are maintained by a loop extrusion mechanisms.
This model assumes that a certain type of ring-like motor protein binds on DNA and pulls the double strand through the ring until it hits a boundary defined by CTCF.&lt;/p&gt;
&lt;p&gt;&lt;img alt="loop_extrusion" src="/teaching_images/loop_extrusion.jpg"&gt;&lt;br&gt;
&lt;a href="http://www.cell.com/cell-reports/abstract/S2211-1247(16)30530-7"&gt;Fudenberg et al&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Currently, the best candidate for this molecular motor are SMC cohesins.&lt;/p&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20181213_theoretical_biophysics.pdf"&gt;Handwritten notes on nucleosome positioning&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="chromatin"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/20181212_Ringvorlesung.html" rel="alternate"></link><published>2018-12-12T00:00:00+01:00</published><updated>2018-12-12T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-12:/20181212_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Viral sequences&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
... thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/201812_Virology.html" rel="alternate"></link><published>2018-12-07T00:00:00+01:00</published><updated>2018-12-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-07:/201812_Virology.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 …&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vaccine selection time line&lt;/h3&gt;
    &lt;img src="https://bedford.io/images/talks/flu_vaccine_schedule.jpg" class="plain" width="1200px"&gt;
    &lt;br&gt;&lt;font size=4&gt;Slide by Trevor Bedford&lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracking virus spread and evolution by sequencing&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
... thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:30%; width:38%"&gt;
        &lt;img src="talk_images/koel_rbs.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/H3N2_189_trajectory.png" width="100%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-SIV phylogeny&lt;/h3&gt;
    &lt;img src="/talk_images/HIV-SIV-phylogenetic-tree.png" width="900px"&gt;
    &lt;span class="ref"&gt;wikipedia.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;What makes these viruses so good at evolving?&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;High mutation rates&lt;/h2&gt;
    &lt;img src="https://viralzone.expasy.org/resources/mutrate.jpg" width="1000px"&gt;
    &lt;br&gt;viralzone.expasy.org
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Large population sizes&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Within a chronically infected person, HIV infects $10^8$ cells a day&lt;/li&gt;
        &lt;li&gt;Influenza viruses infects $10^8$ humans a year&lt;/li&gt;
        &lt;li&gt;every infected cell produces 1000s of virions&lt;/li&gt;
        &lt;li&gt;&amp;rarr; every possible mutation is produced many times every day&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Recombination&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 35%"&gt;
        &lt;h5&gt;Influenza Virus&lt;/h5&gt;
        &lt;img src="https://viralzone.expasy.org/resources/reassortment.jpg" width=70% class="plain"&gt;
        &lt;br&gt;&lt;font size=4&gt;viralzone.expasy.org&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:50%; width: 50%"&gt;
        &lt;h5&gt;HIV&lt;/h5&gt;
        &lt;img src="/teaching_images/HIV_recombination.png" width=100% class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
        &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses rapidly diversify &lt;br&gt;&amp;rarr; &lt;i&gt;swarm&lt;/i&gt; or &lt;i&gt;quasi-species&lt;/i&gt;&lt;/li&gt;
            &lt;li&gt;Different tissues can harbor different viral variants&lt;/li&gt;
            &lt;li&gt;diversity depends on duration of infection&lt;/li&gt;
            &lt;li&gt;number of founder variants&lt;/li&gt;
            &lt;li&gt;immune selection&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Drug resistance evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%; text-align: left;"&gt;
        &lt;font size=5&gt;
        &lt;h5&gt;Drug targets&lt;/h5&gt;
        &lt;ul&gt;
            &lt;li&gt;Reverse transcriptase (NRTI and NNRTI)&lt;/li&gt;
            &lt;li&gt;Protease inhibitors&lt;/li&gt;
            &lt;li&gt;Integrase inhibitors&lt;/li&gt;
            &lt;li&gt;Entry inhibitors&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h5&gt;Resistance evolution&lt;/h5&gt;
        &lt;ul&gt;
            &lt;li&gt;Every mutations pre-exists &amp;rarr; mono-therapy fails&lt;/li&gt;
            &lt;li&gt;Combination therapy requires multiple mutations to become resistant&lt;/li&gt;
            &lt;li&gt;Sufficiently high 'barrier to resistance' results in long-term suppressive therapy&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
        &lt;div style="position:absolute; top:18%; left:45%; width:50%"&gt;
        &lt;img src="/teaching_images/Hedskog_DrugResistance.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Hedgkog et al, PLOS One, 2010&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sequence evolution vs phenotypic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width: 45%; text-align: left;"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;RNA viruses change rapidly under consistent selection pressure&lt;/li&gt;
                &lt;li&gt;Rapid immune escape or drug resistance in HIV or influenza&lt;/li&gt;
                &lt;li&gt;BUT: most mutations are deleterious&lt;/li&gt;
                &lt;li&gt;AND: most observed changes have no clear phenotype&lt;/li&gt;
            &lt;/ul&gt;
            &lt;div class="bigspacer"&gt;&lt;/div&gt;
            &lt;div class="fragment"&gt;
            &lt;h4&gt;Case in point: "the microcephaly mutation" in Zika&lt;/h4&gt;
            &lt;ul&gt;
                &lt;li&gt;Weak evidence that a particular mutation facilitates spread of Zika virus in mouse brains&lt;/li&gt;
                &lt;li&gt;Media trumpets: "microcephaly causing mutation" found&lt;/li&gt;
                &lt;li&gt;Zika virus strains in India lack this mutations &lt;br&gt;&amp;rarr; authorities claim: Zika not a problem&lt;/li&gt;
                &lt;li&gt;see &lt;a href="https://www.thehindu.com/opinion/op-ed/cause-to-remain-alert/article25457709.ece"&gt;Open-Ed by Nathan Grubaugh for a good discussion&lt;/a&gt; &lt;/li&gt;
            &lt;/ul&gt;
            &lt;/div&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:55%; width: 40%; text-align: left;"&gt;
        &lt;img src="/talk_images/bbc_ebola_mutating.png"&gt;
        &lt;img src="/talk_images/nature_microcephaly_mutation.png"&gt;
        &lt;img src="/talk_images/nyt_microcephaly_mutation.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of pathogens, metagenomics&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;h5&gt;Sequences allow us to reconstruct at great detail how viruses change and spread&lt;/h5&gt;
        &lt;h5&gt;But the link between genotype and phenotype is far from being understood.&lt;/h5&gt;
        &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Liquid-liquid phase transitions within cells</title><link href="/20181206_theoretical_biophysics.html" rel="alternate"></link><published>2018-12-06T00:00:00+01:00</published><updated>2018-12-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-06:/20181206_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Early bright field microscopy revealed intricate intracellular substructures.
The larger structures, such as the nucleus, golgi, ER, mitochondria etc are enclosed by lipid membranes that clearly separate inside and outside.
Transport between compartments is controlled by pores and channels.
Many other organelles, however, are not surrounded by a lipid membrane …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Early bright field microscopy revealed intricate intracellular substructures.
The larger structures, such as the nucleus, golgi, ER, mitochondria etc are enclosed by lipid membranes that clearly separate inside and outside.
Transport between compartments is controlled by pores and channels.
Many other organelles, however, are not surrounded by a lipid membrane yet still are well defined and stable.
Here, we will explore how these structures are formed and under what conditions they arise.&lt;/p&gt;
&lt;h3&gt;&lt;a href="20181206_theoretical_biophysics_slides.html"&gt;Slides with pictures and videos&lt;/a&gt;&lt;/h3&gt;
&lt;h2&gt;Entropy and energy of multi-component solutions&lt;/h2&gt;
&lt;p&gt;The phase separation, or de-mixing, is driven by conflicting entropy and energetic (enthalpic) tendencies.
A mixture prone to phase separation is characterized by energetically favorable interactions with the same type and less favorable interactions between types.
Depending on temperature, concentration, salt condition etc the preferred state is either a mixed one or phase separated state.&lt;/p&gt;
&lt;p&gt;&lt;img alt="interaction" src="/teaching_images/Brangwynne_interactions.png"&gt;&lt;br&gt;
Brangwynne et al, Nature Physics, 2015&lt;/p&gt;
&lt;p&gt;In the above picture, the white balls represent the solvent, the green balls the protein or polymer whose condensation we are interested in (we'll call it protein for simplicity). The interaction energy can be written as the number of contacts between solvent molecules \(u_{ss}\), between solvent and protein \(u_{sp}\), and between proteins \(u_{pp}\).
The typical number of contacts one solvent molecule makes is called the coordination number \(z\).
For simplicity, lets assume that monomers have similar size as solvent molecules and arrange them on a lattice.
If the state of the systems is a random mix with monomer fraction \(\phi\), the energy of the system is&lt;/p&gt;
&lt;p&gt;$$H = \frac{N z}{2} \left[(1-\phi)^2 u_{ss} + \phi^2 u_{pp} + 2\phi(1-\phi)u_{sp}\right]= \frac{N z}{2}\left[\phi(1-\phi)(2u_{sp} - u_{pp}-u_{ss}) + \phi(u_{pp}-u_{ss}) + u_{ss}\right] $$&lt;/p&gt;
&lt;p&gt;The term proportional to \(\phi(1-\phi)\) is the contribution of contacts between the types, while the term proportional to \(\phi\) is simple the difference between the pure types.
The take home here is that as a function of concentration \(\phi\), the enthalpy is a parabola that can either have positive curvature favoring mixtures or negative curvature favoring demixing.&lt;/p&gt;
&lt;p&gt;Demixing is opposed by entropy: many energetically unfavorable states can have more weight than few favorable states.
Entropy is the logarithm of the number states available given the constraints.
Consider a lattice model of the solution and ignore for a moment that the monomors of the polymer are strung together.&lt;/p&gt;
&lt;p&gt;&lt;img alt="separation" src="/teaching_images/Brangwynne_mixed_vs_separated.png"&gt;&lt;br&gt;
Brangwynne et al, Nature Physics, 2015&lt;/p&gt;
&lt;p&gt;In a random mixture, we can pick for each lattice site independently whether its solvent or monomer.
This results in&lt;/p&gt;
&lt;p&gt;$$ e^{S+c} = \frac{N!}{(N\phi)!(N(1-\phi))!} $$&lt;/p&gt;
&lt;p&gt;configurations.
The logarithm of this number is the entropy (up to an additive constant).
To calculate its magnitude, we use the well known Stirling's approximation for factorials \(\log n! \approx n\log n - n\) and find&lt;/p&gt;
&lt;p&gt;$$  S + c = N\left[\log N - \phi\log(\phi N) - (1-\phi)\log((1-\phi)N)\right] = -N(\phi\log(\phi) + (1-\phi)\log(1-\phi))$$&lt;/p&gt;
&lt;p&gt;Combining the interaction energy with the mixing entropy, we arrive at the free energy of the idealized system:&lt;/p&gt;
&lt;p&gt;$$ \frac{F}{N} =  kT(\phi\log(\phi) + (1-\phi)\log(1-\phi)) + \phi(1-\phi) \frac{z(2u_{sp} - u_{pp}-u_{ss})}{2} $$&lt;/p&gt;
&lt;p&gt;Whether the solution will spontaneously separate into a phase of high and low concentration of the protein, depends on whether the free energy of the homogeneous mixed system is lower than the sum of the energies of two systems at high/low monomer concentration.&lt;/p&gt;
&lt;h3&gt;Instability of a mixture&lt;/h3&gt;
&lt;p&gt;Consider a homogenous mixture with monomer concentration \(\phi\) and compare this to a two phase mixture in which one phase (fraction \(\alpha\)) has concentration \(\phi_1\) and the other phase (fraction \(1-\alpha\)) has concentation \(\phi_2\).
To conserve mass \(\alpha \phi_1 + (1-\alpha)\phi_2 = \phi\).
Under what conditions will a mixture of two phases will have lower energy than the homogeneous case?&lt;/p&gt;
&lt;p&gt;The stability of a configuration depends on the curvature of the free energy in \(phi\).
This is illustrated in the figure below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="unstable_mix" src="/teaching_images/unstable_mix.png"&gt;&lt;/p&gt;
&lt;p&gt;The free energy of a mixture with fraction \(\alpha\) lies on a straight line connecting the two pure phases with concentrations \(\phi_{1/2}\).
Conservation of mass requires that the average concentration doesn't change, hence the relevant comparisons are all on a vertical line.
This considerations immediately tells us that a mixture is stable if the free energy is convex, i.e., the curvature is positive.
Otherwise, it is always possible to lower the free energy by splitting the solution into a mix of two phases.&lt;/p&gt;
&lt;h2&gt;Surface tension&lt;/h2&gt;
&lt;p&gt;Phase separation happens when like interactions are sufficiently strong to overcome entropy favoring mixing.
At the surfaces of two phases, however, molecules enjoy a smaller number of like interactions than in the bulk of the either phase.
Hence surfaces between phases are associated with a free energy cost.
This cost results in a tendency to minimize the surface area given the volume and the optimal geometry is obviously a sphere.
Effectively, the surface is under tension driving shapes towards the lowest free energy geometry.
Surface tension has units energy/area or Newton/length.&lt;/p&gt;
&lt;p&gt;When three different phases (or a solid, a liquid and a gas) meet, the three phase interface depends on the relative surface tensions associated with the three interfaces.
The resulting behavior and contact angles can be calculated from the balance of forces at the contact line.&lt;/p&gt;
&lt;h2&gt;Nucleation&lt;/h2&gt;
&lt;p&gt;The relative contributions of free energy of the bulk and surface depend on the size of the droplet.
For a spherical droplet, the free energy will scale with the radius as&lt;/p&gt;
&lt;p&gt;$$ G(r) = -\alpha r^3 + \beta r^2  $$&lt;/p&gt;
&lt;p&gt;where \(\alpha,\beta\) are positive constant with the appropriate dimensions.
At very small \(r\), the free energy increases with \(r\) and small droplets are unstable.
Only above the nucleation radius \(r^* = \frac{2\beta}{3\alpha}\) do droplets grow deterministically.
This phenomenon is known as nucleation.&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181206_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;a href="teaching_notes/20181206_theoretical_biophysics.pdf"&gt;Handwritten Notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="liquid-liquid phase separation"></category></entry><entry><title>Liquid-liquid phase transitions in cell biology</title><link href="/20181206_theoretical_biophysics_slides.html" rel="alternate"></link><published>2018-12-06T00:00:00+01:00</published><updated>2018-12-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-12-06:/20181206_theoretical_biophysics_slides.html</id><summary type="html">&lt;section&gt;
    &lt;h3&gt;The cytosol is structured&lt;/h3&gt;
    &lt;img src="/teaching_images/PBOC/figure_02_23.jpg" width="600px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Many organelles are not membrane bound&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/e/eb/NucleolusNCc.jpg"&gt;
        &lt;figcaption&gt;Micrograph of a nucleolus. wikipedia.org.&lt;br&gt; Nucleoli are few um in diameter.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:53%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Cajal_bodies.jpg"&gt;
        &lt;figcaption&gt;Cajal bodies, described in 1903. &lt;br&gt;About 0.3-1um sized structures in the nucleus&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Potential roles of sub-cellular non-membrane bound compartments&lt;/h3&gt;
    &lt;div style="position: absolute;left:20%; top: 25%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Function generally poorly described&lt;/li&gt;
                &lt;li&gt;Nucleoli: involved in rRNA …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h3&gt;The cytosol is structured&lt;/h3&gt;
    &lt;img src="/teaching_images/PBOC/figure_02_23.jpg" width="600px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Many organelles are not membrane bound&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/e/eb/NucleolusNCc.jpg"&gt;
        &lt;figcaption&gt;Micrograph of a nucleolus. wikipedia.org.&lt;br&gt; Nucleoli are few um in diameter.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:53%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Cajal_bodies.jpg"&gt;
        &lt;figcaption&gt;Cajal bodies, described in 1903. &lt;br&gt;About 0.3-1um sized structures in the nucleus&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Potential roles of sub-cellular non-membrane bound compartments&lt;/h3&gt;
    &lt;div style="position: absolute;left:20%; top: 25%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Function generally poorly described&lt;/li&gt;
                &lt;li&gt;Nucleoli: involved in rRNA production and processing&lt;/li&gt;
                &lt;li&gt;Cajal bodies: possibly involved in splicing&lt;/li&gt;
                &lt;li&gt;Generally: structure helps spatio-temporal organisation of 1000s of reactions&lt;/li&gt;
                &lt;li&gt;Locally increase concentration of reaction partners&lt;/li&gt;
                &lt;li&gt;Buffer concentrations in the cytosol&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;P granules in C. elegans&lt;/h3&gt;
    &lt;div style="position: absolute;left:15%; top: 15%; width: 70%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://iiif.elifesciences.org/lax:04591/elife-04591-fig1-v2.tif/full/1500,/0/default.jpg"  width=900px&gt;
        &lt;figcaption  width=1000px&gt;&lt;a href="https://elifesciences.org/articles/04591"&gt;Jennifer T Wang et al.&lt;/a&gt; The top row shows a schematic of the assymetric cell division in a C. elegans embryo. &lt;br&gt; The bottom panels show the distribution of P granules in the wild type and different mutants.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;P granules in C. elegans&lt;/h3&gt;
    &lt;iframe width="840" height="630"
        src="https://www.youtube.com/embed/-iFDqNUXUd8"&gt;
    &lt;/iframe&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Organelles resemble liquid droplets&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 50%"&gt;
    &lt;figure&gt;
        &lt;img src="/teaching_images/Brangwynne_liquid_droplets.png" width=1000px&gt;
        &lt;figcaption&gt;&lt;a href="http://science.sciencemag.org/content/357/6357/eaaf4382.full"&gt;Yongdae Shin and Clifford P. Brangwynne, Science 2017&lt;/a&gt;&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:60%; top: 15%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;droplets drip and deform in shear flow&lt;/li&gt;
                &lt;li&gt;droplets coalesce&lt;/li&gt;
                &lt;li&gt;droplets round up in absense of shear&lt;/li&gt;
                &lt;li&gt;droplets require nucleation&lt;/li&gt;
                &lt;li&gt;droplets exchange material with their surroundings&lt;/li&gt;
                &lt;li&gt;behavior reminiscent of vinaigrette&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Kinetic proofreading and percolation</title><link href="/20181129_theoretical_biophysics.html" rel="alternate"></link><published>2018-11-29T00:00:00+01:00</published><updated>2018-11-29T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-29:/20181129_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Many biochemical reactions happen at extreme fidelity: DNA replication in some organisms makes fewer than one mistake in \(10^{10}\) bases copied.
This fidelity relies on energetic discrimination the correct and wrong base pairing and that fact that extremely high accuracies can be achieved is remarkable.&lt;/p&gt;
&lt;p&gt;However, mutation rates vary …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many biochemical reactions happen at extreme fidelity: DNA replication in some organisms makes fewer than one mistake in \(10^{10}\) bases copied.
This fidelity relies on energetic discrimination the correct and wrong base pairing and that fact that extremely high accuracies can be achieved is remarkable.&lt;/p&gt;
&lt;p&gt;However, mutation rates vary greatly across organisms: the smaller the genome, the higher the mutation rate.
This anti-correlation is shown in schematically in the plot below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mutation_rates" src="https://viralzone.expasy.org/resources/mutrate.jpg"&gt;
&lt;br&gt;viralzone.expasy.org&lt;/p&gt;
&lt;p&gt;Why should we expect such an anti-correlation?
The probability that that the entire genome of length \(L\) is copied faithfully is given by \(exp(-L\mu)\).
Hence as soon as the mutation rate is much larger than the inverse genome size, almost every new genome will contain mutations resulting in a gradual loss of functional sequence (a process known as Muller's ratchet).
If being accurate is costly in terms of energy amd/or time, you'd expect organisms to adjust fidelity to be just "good enough". Hence the scaling behavior of fidelity with genome length is plausible.&lt;/p&gt;
&lt;p&gt;However, it is not at all a trivial question how high fidelity can be achieved given the small free energy differences associated with nucleotide mis-incorporation.
It was &lt;a href="http://www.pnas.org/content/71/10/4135.abstract"&gt;John Hopfield&lt;/a&gt; and &lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/1182215"&gt;Jaques Ninio&lt;/a&gt; who first discussed mechanisms on how to achieve high fidelity in biochemical processes.
Fidelity is not only important in DNA replication, but also in translation, tRNA charging and signaling processes.&lt;/p&gt;
&lt;h3&gt;Energies of discrimination&lt;/h3&gt;
&lt;p&gt;Consider the following simple set of reactions
$$
C + c \leftrightarrow Cc \rightarrow \mathrm{correct}
$$
$$
D + c \leftrightarrow Dc \rightarrow \mathrm{wrong}
$$
The transition states Cc and Dc are populated according to the equilibrium constant of these reactions \(K_C =k_C'/k_C\) and \(K_D = k_D'/k_D\).
We assume that the product formation happens at the same rate \(W\) for both the correct and incorrect transition state.
In other words, the discrimination between the wrong and the correct state happens in the formation of the transition state.
This is a sensible assumption in cases like polymerization reactions which can occur as long as the two entities are in place.
Furthermore, it is reasonable to assume that the on-rates \(k_C'\) and \(k_D'\) are similar since they are likely dominated by diffusion.
The off-rates, on the other hand, are strongly dependent on the correct substrate match and this is where discrimination comes from.
Assuming that both on-rates are \(k = k_C' = k_D'\), we can express the rate at which each product is formed as
$$
W[Cc] = W\frac{k[C]}{k_C+W}
$$
$$
W[Dc] = W\frac{k[D]}{k_D+W}
$$
and hence the ratio of correct to wrong product is
$$
\frac{\mathrm{correct}}{\mathrm{wrong}} = \frac{[C]}{[D]}\frac{k_D+W}{k_C + W} \rightarrow \frac{[C]}{[D]}\frac{k_D}{k_C} =  \frac{[C]}{[D]}e^{-\Delta G/kT}
$$
Here the last two expressions assumed that the product formation rate \(W\) is much smaller than the off-rates of the transition state.
The very last equality expressed the off-rate dependence in terms of the difference in free energy of the transition states and thereby defines the &lt;em&gt;energy of discrimination&lt;/em&gt;.
Hence in any off-rate dominated discrimination, the differences in free energy put an upper bound on the accuracy of the process.
However, the binding energy differences of incorrect nucleotide reactions are on the order of a few kT and while accuracy of DNA replication would seem to require energies of discrimination on the order of 20kT.
This conundrum is what kinetic proofreading resolves in an elegant way.&lt;/p&gt;
&lt;h3&gt;Irreversible intermediate states and kinetic proof reading&lt;/h3&gt;
&lt;p&gt;Kinetic proof reading requires additional steps in the pathway to final product, but at least one of these steps needs to be coupled to an additional energy consuming reaction that makes the pathway irreversible.
The need for such an additional step is seen as follows: A reaction that proceeds via two intermediate states \(Xc\) and \(Xc'\) can effectively be compressed into one
$$
X + c \leftrightarrow Xc \leftrightarrow  Xc' \rightarrow \mathrm{product}
$$
$$
X + c \leftrightarrow  Xc' \rightarrow \mathrm{product}
$$
or put otherwise the second intermediate state is in equilibrium with the same discriminatory ratio as before.&lt;/p&gt;
&lt;p&gt;If, however, the transition from \(Xc\) to \(Xc' \) is coupled to an irreversible reaction while \(Xc' \) can still decay into \(X+c\), higher accuracy can be attained.
In this case, the state \(Xc' \) can only be reached via \(Xc\) which is already selected for the correct product by a factor \(e^{-\Delta G/kT}\).
If the rates of decay of \(Xc' \) for C and D are again different by a factor \(e^{-\Delta G/kT}\), the overall accurary of the process can be as high as \(e^{-2\Delta G/kT}\).&lt;/p&gt;
&lt;p&gt;The accuracy of a process can be exponentiated by adding more and more intermediate states.&lt;/p&gt;
&lt;h3&gt;Interpretation of proof-reading as a delay&lt;/h3&gt;
&lt;p&gt;The addition of an irreversible step essentially changes the distribution of times the product spends in the transition state.
While being in the transition state, the correct pair decays as \(e^{-k_Ct}\) and the wrong product as \(e^{-k_Dt}\) such that the ratio behaves as \(e^{-(k_C-k_D)t}\).
In a one step reaction, the distribution of residence times in the transition state has a peak at \(t=0\) and decays exponentially. In a two-step reaction, this distributions has a peak away from zero.
This can be seen as follows.
Consider the a transition state \(Xc\) the moment it is formed. The probability \(p(t)\) of still being intact is given by
$$
\frac{dp}{dt} = - (k_X + W)p(t) \quad \Rightarrow\quad p(t) = e^{-(k_X+W)t}
$$
where \(W\) is the rate at which the second intermediate is formed.
The probability \(q(t)\) of being in the second intermediate is then
$$
\frac{dq}{dt} = Wp(t) - Vq(t) = We^{-(k_X+W)t} - Vq(t)
$$
The latter has the solution
$$
q(t) = We^{-Vt}\int_0^t e^{(V-W-k_X)t'} dt' = \frac{We^{-Vt}}{W+k_X-V}\left[1-e^{-(W+k_X - V)t}\right]
$$
While in a single step reaction the product starts being formed immediately, product formation starts gradually in a two step reaction.
This delay give the wrong intermediate complexes more time to break up and hence better discrimination.&lt;/p&gt;
&lt;h2&gt;Phase transitions and percolation&lt;/h2&gt;
&lt;p&gt;In the next session, we will consider phase transitions in cell biology.
Before we get there, it is useful to consider simple models of phase transitions that highlight some of the phenomena that we will encounter.
Consider a polymer melt (a dense solution of polymers) and start adding cross-links between the polymers.
With increasing number of cross-links, the system will go from a liquid to a gel which resists shear force.
These cross-links could be covalent bonds, base-pairings, protein-crosslinks etc.
Examples of this process abound for example in industrial applications or cooking.&lt;/p&gt;
&lt;p&gt;Such a sol-gel transition has very intruiging features: The properties of the material change suddenly at a well defined density of cross-links.
In the vicinity of the transition, the systems exhibits a number of universal properties that do not depend on the microscopic features of the system.
The simplest mathematical model to appreciate this behavior is percolation on a so called Bethe lattice.
Assume that each molecule \(z\) potential neighbors and that each pair of neigbors is cross-linked with probability \(p\).
Furthermore, assume that there are no loops in the graph, i.e. that none of your neighbors are connected to each other (this is a strong approximation, but it will make the calculation is lot simpler).
Let's call the probability that the molecule is not connected to the infinite connected component via a particular link \(Q = 1-P\).
For the monomer not to be connected to infinite component via a particular link is&lt;/p&gt;
&lt;p&gt;$$ Q = (1-p) + pQ^{z-1}$$&lt;/p&gt;
&lt;p&gt;The first term accounts for the bond not being formed, while the second term corresponds to the bond being in place but none of the \(z-1\) other neighbors making a connection to the infinite component.
Our monomer in question has \(z\) neighbors.
Hence its probability not to be connected is \(P = Q^{z}\).&lt;/p&gt;
&lt;p&gt;What solutions does the above equation have? For \(z=2\), it is clear that the only solution is \(Q=1\) unless \(p=1\).
This is intuitively clear: there is no possibilty of making an infinite component with stochastically linking neighbors in one dimension.
But for any \(z&amp;gt;2\), there is a non-trivial solution.&lt;/p&gt;
&lt;p&gt;Consider \(z=3\) first. In this case, we are left with a quadratic equation for \(Q\)&lt;/p&gt;
&lt;p&gt;$$ Q = (1-p) + pQ^2 \quad \Rightarrow\quad Q = \frac{1}{2p} \pm \sqrt{\frac{1}{4p^2} - \frac{1-p}{p}} = 1, \frac{1-p}{p}$$&lt;/p&gt;
&lt;p&gt;The interesting solution is \(P = Q^3 = \left(\frac{1-p}{p}\right)^3\).
This is larger than 1 for \(p&amp;lt;1/2\), which is obviously non-sensical. Put for larger \(p\), this solution is relevant.
At \(p_c=0.5\), the fraction of monomers that are part of the giant component goes from strictly zero to a positive value and increases a \(p\) increases.
In this simple model, the critical point is in fact always at \(p_c = \frac{1}{z-1}\).&lt;/p&gt;
&lt;h3&gt;Two dimensional site percolation&lt;/h3&gt;
&lt;p&gt;The Bethe lattice discussed above has essentially infinite dimension.
Analyzing percolation problems is both more difficult and more relevant in dimensions 2 and 3.
The pecularities of two dimensions mean that many properties of are understood analytically, but still numerical analysis is key to explore such problems.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=TWLxpo9NmH0"&gt;Simple animation illustrating site percolation&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181129_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;a href="teaching_notes/20181129_theoretical_biophysics.pdf"&gt;Handwritten Notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="kinetic proofreading"></category><category term="percolation"></category></entry><entry><title>Reaction rates and the method of dominant balance</title><link href="/20181122_theoretical_biophysics.html" rel="alternate"></link><published>2018-11-22T00:00:00+01:00</published><updated>2018-11-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-22:/20181122_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Jacobus_Henricus_van_%27t_Hoff"&gt;Jacobus van't Hoff&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Svante_Arrhenius"&gt;Svante Arrhenius&lt;/a&gt;, two chemists in the late 19th century, described how equilibrium constants and reaction rates depend on temperature.
Consider an reaction&lt;/p&gt;
&lt;p&gt;$$ A+B\leftrightarrow C$$&lt;/p&gt;
&lt;p&gt;with an equilibrium constant \(K\). In general, this equilibrium constant is temperature dependent and van't Hoffs equation states that&lt;/p&gt;
&lt;p&gt;$$ \frac …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Jacobus_Henricus_van_%27t_Hoff"&gt;Jacobus van't Hoff&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Svante_Arrhenius"&gt;Svante Arrhenius&lt;/a&gt;, two chemists in the late 19th century, described how equilibrium constants and reaction rates depend on temperature.
Consider an reaction&lt;/p&gt;
&lt;p&gt;$$ A+B\leftrightarrow C$$&lt;/p&gt;
&lt;p&gt;with an equilibrium constant \(K\). In general, this equilibrium constant is temperature dependent and van't Hoffs equation states that&lt;/p&gt;
&lt;p&gt;$$ \frac{d\log K}{dT} = \frac{\Delta H}{kT^2} $$&lt;/p&gt;
&lt;p&gt;where \(\Delta H\) is the enthalpy change (that is the internal energy + \(pV\) if any expansion happens during the reaction).
This equation can obviously be integrated between two temperatures (assuming that \(\Delta H\) is temperature independent).
More usefully, the equation suggests an obvious way to plot and \(K\) and measure \(\Delta H\).
Graphing \(\log K\) vs \(1/T\) should result in a straight line.
The slope of this line the enthalpy of the reaction.
The intercept \(1/T=0\) (that is infinite temperature) is the entropy change involved in the reaction.
The latter holds because the equilibrium constant is related to the Gibbs free energy by \(K = e^{-\Delta G/kT}\) and&lt;/p&gt;
&lt;p&gt;$$\Delta G = \Delta H - T\Delta S$$&lt;/p&gt;
&lt;p&gt;Hence at infinite temperature, only the entropic part remains.&lt;/p&gt;
&lt;p&gt;Arrhenius extended this reasoning to reaction rates, i.e., the rates that take A and B to C and vice versa.
Clearly, the equilibrium constant is the ratio of the reaction rates and some degree of exponential dependence on temperature of the equilibrium constant will carry over to the rates.
In general, however, the enthalpy can take any part along the reaction coordinate.
This is typically assumed to be just a single peak.&lt;/p&gt;
&lt;p&gt;&lt;img alt="reaction_rates" src="/teaching_images/reaction_rates.png"&gt;&lt;/p&gt;
&lt;p&gt;Arrhenius proposed that rates are exponential in the (negative) height of the energy barrier:&lt;/p&gt;
&lt;p&gt;$$k^+ =  \alpha e^{-\Delta H_{act}/kT} \quad \mathrm{and} \quad k^{-} = \alpha e^{-(\Delta H_{act} + \Delta H)/kT} $$&lt;/p&gt;
&lt;p&gt;This behavior is explicit in so called Arrhenius plots that graph (in analogy to the discussion above) the logarithm of a rate against inverse temperature.&lt;/p&gt;
&lt;p&gt;&lt;img alt="arrhenius_plot" src="/teaching_images/arrhenius_plot.png"&gt;&lt;/p&gt;
&lt;p&gt;The slope of the log rate vs inverse temperature equals the activation energy.&lt;/p&gt;
&lt;p&gt;The exponential dependence of a rate on an energy barrier has featured a number of times during the course with hand-waving explanation.
One the other hand, we have calculate now rapidly reactants come together by diffusion and it seems natural to assume that the diffusion limited rate will play the role of the prefactor.
The diffusion limited rate is then reduced by the energy barrier that needs to be overcome in addition to being in close proximity.
We now want to look at this problem in a more formal, quantitative way.&lt;/p&gt;
&lt;h3&gt;One dimensional first passage problem&lt;/h3&gt;
&lt;p&gt;The first passage time is the time it takes for a system to first reach a certain state.
We will exclusively look at systems with diffusive dynamics (inertia is rarely important within cells).
In this case, the first passage can be modeled as a diffusion problem with an absorbing boundary at the target state.&lt;/p&gt;
&lt;p&gt;The graph below illustrates our set-up.&lt;/p&gt;
&lt;p&gt;&lt;img alt="first_passage_problem" src="/teaching_images/first_passage_problem.png"&gt;&lt;/p&gt;
&lt;p&gt;At long distances, the density of an A,B pair is simply the product of their concentrations.
At short distance, the density is reduced by the energy barrier to overcome, that is the two species repel each other.
The diffusion equation governing the density is&lt;/p&gt;
&lt;p&gt;$$ \frac{dP(x,t)}{dt} = \mu kT\frac{d^2P(x,t)}{dx^2} + \mu\frac{d E}{dx} \frac{dP}{dx}$$&lt;/p&gt;
&lt;p&gt;Here, we are using the Einstein relation that the diffusion constant \(D=\mu kT\) where \(\mu\) is the mobility, i.e., the coefficient that relates force to velocity in the over-damped limit.
We further express the force as the negative spatial derivative of the energy.
In analogy to our treatment of diffusion limited reaction where \(E(x)=0\), we look for a state solution with constant flux -- the flux into the absorbing boundary will correspond to the rate of reaction of A and B to C.
This simplifies the equation for \(P(x)\) to&lt;/p&gt;
&lt;p&gt;$$ j = \mu kT \frac{dP(x)}{dx} - \mu\frac{d E}{dx} P(x)$$&lt;/p&gt;
&lt;p&gt;If the energy barrier is high, the flux will be small and to a first approximation we can ignore the flux \(j\) far from the barrier where \(P(x)\) is large.
In this case, we get&lt;/p&gt;
&lt;p&gt;$$ P(x) = ce^{-(E(x) - E(\infty)/kT}$$&lt;/p&gt;
&lt;p&gt;where \(c\) is the concentration of the molecule pair at long distances.
This solution is identical to the equilibrium Boltzmann distribution.
However, it does not hold at or even in the vicinity of the energy barrier (it predicts the density to increase after crossing the barrier, but that is where the absorbing boundary sits).
What this approximate solution implies is that the energy barrier acts as an approximate reflecting boundary.
Now for convenience assume the energy barrier is exactly at \(x=0\) and lets approximate the energy barrier locally as a parabola \(E(x) = E_b - ax^2/2\).
This simplifies the problem&lt;/p&gt;
&lt;p&gt;$$ \frac{dP(x)}{dx} = \frac{j}{\mu kT} + \frac{ax}{kT} P(x)$$&lt;/p&gt;
&lt;p&gt;This equation has the solution&lt;/p&gt;
&lt;p&gt;$$ P(x) = e^{\frac{ax^2}{2kT}} \frac{j}{\mu kT}\int_{x_0}^{x} e^{-\frac{ay^2}{2kT}} dy$$&lt;/p&gt;
&lt;p&gt;where lower integration boundary can be chosen to fulfill the boundary condition \(P(x)\to 0\) at large positive \(x\).
Hence the upper boundary needs to be \(x_0=\infty\) and we can write the solution as&lt;/p&gt;
&lt;p&gt;$$ P(x) = - \frac{j}{\mu kT}e^{\frac{ax^2}{2kT}}\int_{x}^{\infty} e^{-\frac{ay^2}{2kT}} dy$$&lt;/p&gt;
&lt;p&gt;This solution is valid in the vicinity of the barrier and a few times \(\sqrt{kT/a}\).
We have to match this solution to the quasi-equilibrium solution far from the barrier.
To this end, remember that \(\int_{-\infty}^{\infty} e^{-\frac{ay^2}{2kT}}  = \sqrt{\frac{2\pi kT}{a}}\) such that we arrive at the condition&lt;/p&gt;
&lt;p&gt;$$ j/\mu e^{ax^2/kT} \sqrt{\frac{2\pi}{a kT}} = c e^{-(E(x) - E_b+\Delta E)/kT} $$&lt;/p&gt;
&lt;p&gt;where we have replaced \(E_{\infty}\) by \(E_b-\Delta E\), i.e., the peak minus the barrier height.
Now \(E(x)-E_b\approx - ax^2/2\) such that the flux is&lt;/p&gt;
&lt;p&gt;$$ j = \mu c \sqrt{\frac{a kT}{2\pi}}e^{-E_b/kT} = D c \sqrt{\frac{a}{2\pi kT}}e^{-E_b/kT}$$&lt;/p&gt;
&lt;p&gt;As expected, the rate is linear in the diffusion coefficient and the concentration and it depends exponentially on the height of the energy barrier.
In addition, we see that the rate depends also on the shape of the energy landscape near the transition state.
The sharper this peak is (larger \(a\)), the more rapid is the transition.&lt;/p&gt;
&lt;p&gt;So when are the approximations we made good approximations?
First, we assumed that \(j\) is small compared to \(D P'\) and \(\mu E'P\).
The flux \(j\sim D c e^{-E_b/kT}\). Hence this approximation is good where ever \(E(x)-E_{\infty}\ll E_b\).
Since this dependence is exponential, we don't really need a big difference in these two numbers: The approximation should be accurate to about 1% outside of 4kT of the barrier.
The other approximation we have made is the parabolic approximation of the barrier.
Every peak, to first order, is a parabola.
And we only need this approximation to be good within a few kT of the peak -- until we match it with the equilibrium solution.&lt;/p&gt;
&lt;h3&gt;The method of dominant balance&lt;/h3&gt;
&lt;p&gt;We have calculated the rate of barrier crossing -- central to reaction rates or any processes that require overcoming of an activation energy by thermal fluctuations -- by matching two solutions that are accurate before and on the barrier.
The solution before the barrier was obtained by ignoring the flux, the part on the barrier by approximating the potential, and the we could calculate a simple solution of the right of the barrier.
Key to solving problems like this is to know what to ignore -- a concept central to the method of the dominant balance.
We have used this method approximating when we ignored the flux.&lt;/p&gt;
&lt;p&gt;Michael Brenner in his course illustrates the power of the method of the dominant balance by finding approximate solutions to random polynomial equations.
Consider&lt;/p&gt;
&lt;p&gt;$$ x^5 - 4x^3 + 0.02x^2 - 0.6 = 0 $$&lt;/p&gt;
&lt;p&gt;This equation has 5 solutions, some of which might be imaginary.
The solutions at large absolute \(x\) are probably obtained when balancing the two highest monomials \(x^5 = 4x^3\) corresponding to \(x_{1/2} = \sqrt{4}=\pm 2\). Plugging these solution into the equation justifies the omission of the other terms and solving the equation numerically yields approximately $x=2.01$ and 1.98.&lt;/p&gt;
&lt;p&gt;At small \(x\), the lowest monomials and the constant tend to contribute.
In this case the cubic component has a large prefactor, so we might want to try \(4x^3 = -0.6\) which corresponds to \(x \approx -0.53\).
Again, the terms we omitted are much smaller than the terms we balanced and numerical solution verifies that \(x=-0.53\) is close to the actual solution \(x=-0.54\ldots\).&lt;/p&gt;
&lt;p&gt;This leaves two solutions still to be discovered. These are hidden in the fact that \(4x^3=-0.6\) actually has two additional complex solutions
$$
x_{4/5} = -0.53\left(\cos 2\pi/3 \pm \sin 2\pi/3\right) \approx 0.266 \pm 0.46i
$$
which is very close to the actual solutions \(x_{4/5}=0.2553\ldots \pm i0.459\ldots\)&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181122_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;a href="/teaching_notes/20181122_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="reaction rates"></category></entry><entry><title>Bistablility, oscillations, and linear stability analysis</title><link href="/20181115_theoretical_biophysics.html" rel="alternate"></link><published>2018-11-15T00:00:00+01:00</published><updated>2018-11-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-15:/20181115_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;Bistable systems&lt;/h2&gt;
&lt;p&gt;We already touched on bistable systems last time and I quickly want to discuss a basic bistable transcriptional system.
$$
\frac{dX(t)}{dt} = \frac{x^n}{1+x^n} - \frac{ax}{b+x}
$$
where the first term is autorepression and the second term corresponds to an enzyme mediated …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Bistable systems&lt;/h2&gt;
&lt;p&gt;We already touched on bistable systems last time and I quickly want to discuss a basic bistable transcriptional system.
$$
\frac{dX(t)}{dt} = \frac{x^n}{1+x^n} - \frac{ax}{b+x}
$$
where the first term is autorepression and the second term corresponds to an enzyme mediated degradation.&lt;/p&gt;
&lt;h2&gt;Fixpoints and phase portraits&lt;/h2&gt;
&lt;p&gt;Consider a general two dimensional dynamical system
$$
\frac{dx(t)}{dt} = f(x,y) \quad \mathrm{and}\quad\frac{dy(t)}{dt} = g(x,y) \ .
$$
At any time, the future evolution of the system is fully specified by the current position \(x(t_0),y(t_0)\) and the future evolution of the system is a path \(x(t),y(t)\) in the plane.
As a corollary, two such path can never cross: If they did, we would encounter the situation where the same state (the point at which the path cross) gives rise to different path.
The fact that trajectories can't cross makes qualitative analysis of the phase plane of a two dimensional system a very powerful tool.&lt;/p&gt;
&lt;p&gt;In the last lecture, we introduced nullclines as one dimensional objects in the phase plane where the derivative of one of the variables with respect to time vanishes, that is either \(f(x,y)=0\) or \(g(x,y)=0\).
On a nullcline, the dynamics of the system is either completely horizontal of vertical in the phase plane.
Furthermore, nullclines separate regions in phase space where \(x,y\) are increasing or decreasing.&lt;/p&gt;
&lt;p&gt;The intersection of nullclines are fixpoints.
We have already analyzed fixpoints of one dimensional systems.
In this case, the behavior of the system in the vicinity of the fixpoints is generically exponential growth or decay.
In two dimensions, the behavior around the fix point is again exponential, but the behavior is much richer.&lt;/p&gt;
&lt;h3&gt;Linear stability analysis in two dimensions&lt;/h3&gt;
&lt;p&gt;Assume the system has a fix point \(x_f, y_f\) and expand the dynamical equations in \(\delta x = x-x_f, \delta y = y-y_f\).
$$
\frac{d\delta x(t)}{dt} = f(x_f,y_f) + \frac{\partial f(x_f, y_f)}{\partial x} \delta x + \frac{\partial f(x_f, y_f)}{\partial y} \delta y + \ldots
$$
where \(f(x_f,y_f)=0\) by virtue of evaluating the function at the fixpoint.
The analogous equation can be written down for \(y_f\) and the two can be combined into a matrix equation
$$
\frac{d \delta\vec{x}}{dt} =
\begin{pmatrix}
\frac{\partial f(x_f, y_f)}{\partial x} &amp;amp; \frac{\partial f(x_f, y_f)}{\partial y} \\
\frac{\partial g(x_f, y_f)}{\partial x} &amp;amp; \frac{\partial g(x_f, y_f)}{\partial y}
\end{pmatrix}
\begin{pmatrix}
\delta x\\ \delta y
\end{pmatrix}
+ \mathcal{O}(\delta x^2)
$$
In the vicinity of the fixpoints, we can ignore the higher order terms and the problem reduces to a linear equation with the matrix being the Jacobian of the system at the fix point.&lt;/p&gt;
&lt;h3&gt;Systems of linear equations&lt;/h3&gt;
&lt;p&gt;Let's simplify notation and consider
$$
\frac{d \vec{x}}{dt} =
\begin{pmatrix}
a &amp;amp; b \\
c &amp;amp; d
\end{pmatrix}
\vec{x}
$$
To solve this, we determine the eigenvalues and eigenvectors.
Eigenvalues are the roots of the characteristic polynomial \(det(M - \lambda I)\):
$$
\lambda_{1/2} = \frac{a+d\pm\sqrt{(a-d)^2 + 4bc}}{2}
$$
Note that depending on the sign of \((a-d)^2 + 4bc\) the eigenvalues are real or complex.
Given the eigenvalues, it is straightforward to determine the right eigenvalues from \(M\vec{x} = \lambda_{1/2}\vec{x}\).
$$
\vec{v_{i}} = C
\begin{pmatrix}
\frac{\lambda_{i}-a}{b} \\ 1
\end{pmatrix}
$$
Analogously, the left eigenvalues are given by
$$
\vec{w_{i}} = D \begin{pmatrix}
\frac{\lambda_{i}-a}{c} \\ 1
\end{pmatrix}
$$
We will choose \(C\) and \(D\) such that the scalar product \(\vec{v_{1}}\vec{w_{1}}=1\).
The product between left and right eigenvectors corresponding to different eigenvalues vanishes as expected.
From
$$
4(\lambda_{1}-a)(\lambda_2-a) = 4\lambda_1\lambda_2 - 8a(\lambda_1+\lambda_2) + 4a^2 = (a+d)^2 - (a-d)^2 - 4cb - 4a(a+d) + 4a^2 = 4bc
$$
follows that \(\vec{v_{1}}\vec{w_{2}}=0\).&lt;/p&gt;
&lt;p&gt;To solve the equation, we expand the \(\vec{x}\) in right eigenmodes
$$
\vec{x} = a_1(t)\vec{v_{1}} + a_2(t)\vec{v_{2}}
$$
Plugging this into the ODE, we find that
$$
a_i(t) = a_i^0 e^{\lambda_i t}
$$
where \(a_i^0\) is determined by projecting the initial condition on the left eigenvectors.
The general solution of a two dimensional linear system is hence a superposition of two exponentials.
Depending on the eigenvalues, this solution has a number of qualitatively different solutions:&lt;/p&gt;
&lt;h4&gt;Complex eigenvalues \((a-d)^2 + 4bc&amp;lt;0\)&lt;/h4&gt;
&lt;p&gt;In this case the two eigenvalues are a complex conjugate pair with real part \(\lambda = a+d\) and imaginary part \(\omega = \pm \sqrt{(a-d)^2 + 4bc}\).
The solution are hence spirals with a angular velocity \(\omega\).
If the real part \(\lambda&amp;lt;0\), these spirals will decay and the fix point is stable. Otherwise they will grow.
In the special case \(\lambda=0\) the solution are limit cycles, but in this case the behavior of the system is likely determined by higher order terms.&lt;/p&gt;
&lt;h4&gt;Real eigenvalues \((a-d)^2 + 4bc&amp;gt;0\)&lt;/h4&gt;
&lt;p&gt;If eigenvalues are real, the behavior of the systems depends on whether none, one, or both eigenvalues are positive.
In the first case the fix point is stable, in the other two cases the fix point is unstable either in one or in both directions.&lt;/p&gt;
&lt;h3&gt;A concrete example&lt;/h3&gt;
&lt;p&gt;Let's use the example from the exercises.
$$
\frac{dx(t)}{dt} = \frac{a}{1+y^n} - x \quad \mathrm{and}\quad \frac{dy(t)}{dt} = x - \frac{by}{1+y}
$$
The Jacobian of this system is (after simplifying using the fixpoint conditions)
$$
\begin{pmatrix}
-1 &amp;amp; -\frac{any_f^{n-1}}{(1+y_f^n)^2} \\
1 &amp;amp; -\frac{b}{1+y_f} + \frac{by_f}{(1+y_f)^2}
\end{pmatrix} =
\begin{pmatrix}
-1 &amp;amp; -\frac{nx_f^2}{y_f} \\
1 &amp;amp; \frac{x_f}{y_f}\left(-1 + \frac{x_f}{b}\right)
\end{pmatrix}
$$
For general parameters, we'll need to solve for fix point numerically and plug the values into the Jacobian to determine the behavior of the fix point.
For \(a=4, b=3, n=3\), we find \(x_f = 1.6\ldots, y_f=1.14\ldots\) and the corresponding eigenvalues are
$$
\lambda_{1/2} = -0.86 \pm 2.58i
$$&lt;/p&gt;
&lt;h4&gt;Special case \(n=1\)&lt;/h4&gt;
&lt;p&gt;For \(n=1\), the fix point is at
$$
y_f = \frac{a}{b}\quad \mathrm \quad x_f = \frac{ab}{a+b}
$$
Plugging this into the Jacobian we find
$$
\begin{pmatrix}
-1 &amp;amp; -\frac{ab^3}{(a+b)^2} \\
1 &amp;amp; -\frac{b^3}{(a+b)^2}
\end{pmatrix}
$$
Eigenvalues are therefore
$$
\lambda_{1/2} = -\frac{1}{2}-\frac{b^3}{2(a+b)^2} \pm \sqrt{(1-\frac{b^3}{(a+b)^2})^2-\frac{ab^3}{(a+b)^2}}
$$
This immediately tells us that the fix point is never going to be unstable.&lt;/p&gt;
&lt;h2&gt;Oscillatory circuits&lt;/h2&gt;
&lt;p&gt;It is rather difficult to get a generic biologically inspired two-dimensional system to exhibit stable oscillations.
Three component systems, however, oscillate rather readily.
So what is the crucial ingredient necessary to make a biological system oscillate?
Oscillations naturally arise in a delayed negative feed back.
Consider for example a protein that represses its own expression.
The time delay between transcription and the mature protein implies that the mRNA expression at time \(t\) depends on the mRNA expression at some time \(t-\tau\).
$$
\frac{dY(t)}{dt} = \frac{a}{1+Y^n(t-\tau)} - \frac{bY(t)}{1+Y(t)}
$$
If the delay \(\tau\) and the parameters \(a,b\) fall into a certain range, this system will oscillate.&lt;/p&gt;
&lt;p&gt;&lt;img alt="delay_oscillator" src="/teaching_images/delay_oscillator.png"&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181115_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;a href="/teaching_notes/20181115_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="dynamical system"></category></entry><entry><title>Tracking and predicting the spread of infectious disease</title><link href="/201811_Novartis_visit.html" rel="alternate"></link><published>2018-11-15T00:00:00+01:00</published><updated>2018-11-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-15:/201811_Novartis_visit.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:1%; width:60%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:61%; width:40%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:1%; width:60%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:61%; width:40%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Jan Albert and Robert Dyrdak&lt;/h3&gt;
&lt;div style="position: absolute;top:25%; left:5%; width:90%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in young children &lt;br&gt;(acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks in the past 6 weeks &lt;br&gt;(255 (suspected) AFM cases in the US as of this week)&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Campylobacter Jejeuni in the Basel area (Reist, Seth-Smith et al)&lt;/h3&gt;
    &lt;img src="/talk_images/camJej_basel.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Campylobacter Jejeuni in the Basel area (Reist, Seth-Smith et al)&lt;/h3&gt;
    &lt;img src="/talk_images/camJej_zoom.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Phenotype associations with acquired genes&lt;/h3&gt;
    &lt;img src="/talk_images/panX_MefE.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Plasmid phylogenies&lt;/h3&gt;
    &lt;img src="/talk_images/kpcPlasmid.png" width=80%&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Physics of Life</title><link href="/201911_physics_of_life.html" rel="alternate"></link><published>2018-11-07T00:00:00+01:00</published><updated>2018-11-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-07:/201911_physics_of_life.html</id><summary type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In this course, we will explore how general physical principles govern the organization of biological processes.
We will for example discuss how matter moves around in cells, how cells process information, how genomes are organized, or how biology exploits self-organization principles.&lt;/p&gt;
&lt;p&gt;During the course, we will use frequently use mathematical derivations and concepts from physics that should be familiar to you from high school or the introductory lectures in semesters 1 and 2.
Furthermore, many excercises will involve programming and you will use the computer to solve problems.
The preferred programming language for this is python.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Membranes&lt;/li&gt;
&lt;li&gt;Reaction rates&lt;/li&gt;
&lt;li&gt;Pattern formation and reaction diffusion systems&lt;/li&gt;
&lt;li&gt;Liquid-liquid phase transitions in cell biology&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://microsite.garlandscience.com/pboc2/home.html"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="20180920_theoretical_biophysics.html"&gt;2018-09-20 -- The relevant scales: sizes, energies, concentrations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20180927_theoretical_biophysics.html"&gt;2018-09-27 -- Brownian motion, diffusion, and Fick's law&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181004_theoretical_biophysics.html"&gt;2018-10-04 -- Diffusion coefficients and the Stokes-Einstein relation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181011_theoretical_biophysics.html"&gt;2018-10-11 -- Elements of polymer physics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181018_theoretical_biophysics.html"&gt;2018-10-18 -- Transcription factor search problems and polymers under force&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181025_theoretical_biophysics.html"&gt;2018-10-25 -- Bacterial gene regulation and signaling&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181101_theoretical_biophysics.html"&gt;2018-11-01 -- Elements of dynamical systems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;2018-11-08 -- no lecture&lt;/li&gt;
&lt;li&gt;2018-11-12 -- Tutorial session. Biozentrum room 612. 13-15h. &lt;a href="/teaching_notes/20181112_LinearAlgebraPrimer.pdf"&gt;Hand-written notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181115_theoretical_biophysics.html"&gt;2018-11-15 -- Linear stability analysis and oscillations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181122_theoretical_biophysics.html"&gt;2018-11-22 -- Reaction rates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181129_theoretical_biophysics.html"&gt;2018-11-29 -- Kinetic proofreading and percolation transitions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181206_theoretical_biophysics.html"&gt;2018-12-06 -- Phase transitions in cell biology&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181213_theoretical_biophysics.html"&gt;2018-12-13 -- Chromosome organization and nucleosome positioning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181220_theoretical_biophyics.html"&gt;2018-12-20 -- Bethedging and proportional betting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Tracking pathogenic bacteria and AMR at the plasmid, genome, and pan-genome level</title><link href="/201811_kyoto.html" rel="alternate"></link><published>2018-11-05T00:00:00+01:00</published><updated>2018-11-05T00:00:00+01:00</updated><author><name>Nicholas Noll &amp; Richard Neher</name></author><id>tag:None,2018-11-05:/201811_kyoto.html</id><summary type="html">&lt;section&gt;
&lt;h3&gt;Tracking pathogens is straightforward... if they are RNA viruses&lt;/h3&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;What genetic unit do we track?&lt;/h3&gt;
&lt;h3&gt;What are good ways of visualizing bacterial diversity?&lt;/h3&gt;
&lt;h3&gt;What are meaningful distance measures?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Why is this hard?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=5&gt;
            &lt;ul&gt;
            &lt;li&gt;every genome contains a different set of genes &lt;/li&gt;
            &lt;li&gt;horizontal transfer&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;variable divergence along the genome&lt;/li&gt;
            &lt;li&gt;important …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h3&gt;Tracking pathogens is straightforward... if they are RNA viruses&lt;/h3&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;What genetic unit do we track?&lt;/h3&gt;
&lt;h3&gt;What are good ways of visualizing bacterial diversity?&lt;/h3&gt;
&lt;h3&gt;What are meaningful distance measures?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Why is this hard?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=5&gt;
            &lt;ul&gt;
            &lt;li&gt;every genome contains a different set of genes &lt;/li&gt;
            &lt;li&gt;horizontal transfer&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;variable divergence along the genome&lt;/li&gt;
            &lt;li&gt;important parts sit on plasmids,&lt;br&gt;flanked by repetitive sequence&lt;/li&gt;
            &lt;li&gt;short read assemblies tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/nar/gkx977"&gt;Ding, Baumdicker, RN, 2017&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links between species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_ermB.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/Ding_panX_pipeline.jpg" width="70%" class="plain"&gt;&lt;br&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;make pan-genomes in batches of 50&lt;/li&gt;
        &lt;li&gt;construct pseudo-consensus genomes for each batch&lt;/li&gt;
        &lt;li&gt;cluster the batch consensi&lt;/li&gt;
        &lt;li&gt;expand clusters&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/nar/gkx977"&gt;Ding, Baumdicker, RN, 2017&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Cluster aggressively, split paralogs later&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:20%; left:10%; width:40%; text-align:left"&gt;
        &lt;img src="/talk_images/paralogy.png" class="plain"&gt;
        &lt;h4&gt;Find biggest intersection of left/right leaves.&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:20%; left:55%; width:38%; text-align:left"&gt;
        &lt;img src="/talk_images/paralog_splitting.png" width="100%" class="plain"&gt;
        &lt;h4&gt;cut branch depending on paralog score.&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1093/nar/gkx977"&gt;Ding, Baumdicker, RN, 2017&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Ortholog cluster accuracy&lt;/h3&gt;
    &lt;img src="/talk_images/panX_clustering_accuracy.png" width=70%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mobile AMR genes have provide little phylogenetic resolution (example KPC)&lt;/h3&gt;
    &lt;img src="/talk_images/KPC_kleb_panX.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;second part by Nicholas Noll&lt;/h3&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Bifurcations, bistability and oscillations</title><link href="/20181101_theoretical_biophysics.html" rel="alternate"></link><published>2018-11-01T00:00:00+01:00</published><updated>2018-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-11-01:/20181101_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;After a first glimpse into gene regulation last week, we'll take a more systematic look at dynamical systems today.
An excellent introduction into dynamical systems is the &lt;a href="http://www.stevenstrogatz.com/books/nonlinear-dynamics-and-chaos-with-applications-to-physics-biology-chemistry-and-engineering"&gt;book by Steven Strogatz&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;One dimensional systems&lt;/h3&gt;
&lt;p&gt;We will first consider simple systems with only a single variable.
Generically, we can write them …&lt;/p&gt;</summary><content type="html">&lt;p&gt;After a first glimpse into gene regulation last week, we'll take a more systematic look at dynamical systems today.
An excellent introduction into dynamical systems is the &lt;a href="http://www.stevenstrogatz.com/books/nonlinear-dynamics-and-chaos-with-applications-to-physics-biology-chemistry-and-engineering"&gt;book by Steven Strogatz&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;One dimensional systems&lt;/h3&gt;
&lt;p&gt;We will first consider simple systems with only a single variable.
Generically, we can write them as
$$
\frac{dx(t)}{dt} = f(x)
$$
where the function \(f(x)\) determines the temporal derivative at different values of \(x\) (we will assume this function is a constant, i.e., that our system is invariant to translations in time).&lt;/p&gt;
&lt;p&gt;&lt;img alt="one_d_flow" src="/teaching_images/one_d_flow.png"&gt;&lt;/p&gt;
&lt;p&gt;Zero-crossings of \(f(x)\) delineate regions in \(x\) where \(x\) is increasing and decreasing.
The zero-crossing themselves are so called &lt;em&gt;fixpoints&lt;/em&gt; of the system.
Fixpoints can be stable or unstable depending on whether small perturbations around the fixpoint decay or grow.
As is geometrically evident, \(\frac{df(x)}{dx}&amp;lt;0\) at the fixpoint corresponds to stable fixpoints, \(\frac{df(x)}{dx}&amp;gt;0\) corresponds to unstable fixpoints.&lt;/p&gt;
&lt;p&gt;In the immediate neighborhood of the fixpoint \(x=x_c\) the equation above simplifies to
$$
\frac{dx(t)}{dt} = (x-x_c) \frac{df}{dx}(x_c)
$$
The distance form the fixpoint \(\delta x = x-x_c\) then evolves exponentially as
$$
\delta x(t) = \delta x(0)e^{\frac{df}{dx}(x_c)t}
$$
This is consistent with our geometric analysis above.
The situation when \(\frac{df}{dx}(x_c)=0\) at the fixpoint is special and the dynamics in the vicinity of the fixpoint will depend on higher order properties of \(f(x)\).&lt;/p&gt;
&lt;h3&gt;Bifurcations&lt;/h3&gt;
&lt;p&gt;Typically a dynamical system will depend on a number of parameters and the behavior of the system changes as these parameters are varied.
Depending on how the parameters affect the properties of \(f(x)\), different things happen.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;if the fixpoints stay in the same place, the only the rates at which fixpoints are approached changes. If the sign of \(f(x)\) is flipped, stable ones go unstable and vice versa&lt;/li&gt;
&lt;li&gt;if the fixpoints move, the domains of attraction of the different fixpoints change with them&lt;/li&gt;
&lt;li&gt;if fixpoints appear/disappear, the solution can change qualitatively&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If \(f\) depends continuously on parameters, fixpoints will always appear or disappear in pairs.
The simplest such example is
$$
f(x)= r + x^2
$$
For \(r&amp;gt;0\), there is no (real) fixpoint and \(f(x)\) is positive along the entire real line.
For \(r&amp;lt;0\), there is a stable fixpoint at \(x=-\sqrt{-r}\) and an unstable one at \(x=\sqrt{-r}\).&lt;/p&gt;
&lt;p&gt;&lt;img alt="saddle_point_bifurcation" src="/teaching_images/saddle_point_bifurcation.png"&gt;&lt;/p&gt;
&lt;p&gt;This bifurcation is called a &lt;em&gt;saddle node&lt;/em&gt; bifurcation (for reasons that are really only obvious in higher dimensions).
But there is a general pattern: fixpoints appear in stable/unstable pairs.&lt;/p&gt;
&lt;h3&gt;Two dimensional systems&lt;/h3&gt;
&lt;p&gt;One dimensional systems are very restricted in what they can do.
The can only flow into a fixpoint or run of to infinity. Oscillations are impossible.
Two dimensional systems, by contrast are much richer but still sufficiently constrained that a number of general things can be said about them.&lt;/p&gt;
&lt;p&gt;The generic system (we'll call variables \(x\) and \(y\) for simplicity) looks like this:
$$
\frac{dx(t)}{dt} = f(x,y) \quad \mathrm{and}\quad\frac{dy(t)}{dt} = g(x,y)
$$
This is more conveniently formulated as a matrix equation
$$
\frac{d}{dt}\vec{x} = \vec{F}(\vec{x})
$$
with a vector valued function \(\vec{F}(x,y)\) and the vector \(\vec{x}= (x, y)^T\).&lt;/p&gt;
&lt;p&gt;This vector valued function now defines a flow-field in two dimensions.&lt;/p&gt;
&lt;p&gt;&lt;img alt="two_d_flow_field" src="/teaching_images/two_d_flow_field.png"&gt;&lt;/p&gt;
&lt;p&gt;The behavior of a system is again governed by its fixpoints.
A fixpoint in this case needs to fulfill two conditions: \(f(x_c,y_c)=0\) and \(g(x_c,y_c)=0\).&lt;/p&gt;
&lt;h3&gt;Nullclines&lt;/h3&gt;
&lt;p&gt;To get a rough picture of the phase plan of a two dimensional system, it is instructive to look at its nullclines.
Null clines are lines in the \(x-y\) plane along which either \(f(x,y)=0\) or \(g(x,y)=0\).
The intersection of nullclines are fixpoints.
On a nullcline, the dynamics of the system is either completely horizontal of vertical in the phase plane.
Furthermore, nullclines separate regions in phase space where \(x,y\) are increasing or decreasing.
Faced with analyzing a dynamical system, it is always advisable to draw (or even just sketch) the nullclines.&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181101_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;a href="/teaching_notes/20181101_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;(I didn't follow these notes to the letter...)&lt;/p&gt;</content><category term="teaching"></category><category term="dynamical system"></category></entry><entry><title>Resolving structural diversity of Carbapenemase-producing gram-negative bacteria using single molecule sequencing</title><link href="/noll_resolving_2018.html" rel="alternate"></link><published>2018-10-31T00:00:00+01:00</published><updated>2018-10-31T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-31:/noll_resolving_2018.html</id><summary type="html">&lt;p&gt;Carbapenemase-producing bacteria are resistant against almost all commonly used betalactam and cephalosporin antibiotics and represent a growing public health crisis. Carbapenemases reside predominantly in mobile genetic elements and rapidly spread across genetic backgrounds and species boundaries. Here, we report more than one hundred finished, high quality genomes of carbapenemase producing …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Carbapenemase-producing bacteria are resistant against almost all commonly used betalactam and cephalosporin antibiotics and represent a growing public health crisis. Carbapenemases reside predominantly in mobile genetic elements and rapidly spread across genetic backgrounds and species boundaries. Here, we report more than one hundred finished, high quality genomes of carbapenemase producing enterobacteriaceae, P. aeruginosa and A. baumannii sequenced with Oxford Nanopore and Illumina technologies. We developed a number of high-throughput criteria to assess the quality of fully assembled genomes for which curated references do not exist. Using this diverse collection of closed genomes and plasmids, we demonstrate rapid movement of carbapenemase between genomic neighborhoods, sequence types, and across species boundaries with distinct patterns for different carbapenemases. Lastly, we present evidence of multiple ancestral recombination events between different Enterobacteriaceae MLSTs. Taken together, our samples suggest a hierarchical picture of genomic variation produced by the evolution of carbapenemase producing bacteria that will require new models to adequately understand and track.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Bacterial gene regulation and signaling</title><link href="/20181025_theoretical_biophysics.html" rel="alternate"></link><published>2018-10-25T00:00:00+02:00</published><updated>2018-10-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-25:/20181025_theoretical_biophysics.html</id><summary type="html">&lt;h3&gt;Lecture by Nicholas Noll.&lt;/h3&gt;
&lt;p&gt;Bacteria sense the state of the outside world and adapt their behavior accordingly.
Such adaptive behavior helps the cells to save resources since it can avoid expressing metabolic machinery that is currently not needed.
It also helps the cell to prepare for the future.
Cells sense …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Lecture by Nicholas Noll.&lt;/h3&gt;
&lt;p&gt;Bacteria sense the state of the outside world and adapt their behavior accordingly.
Such adaptive behavior helps the cells to save resources since it can avoid expressing metabolic machinery that is currently not needed.
It also helps the cell to prepare for the future.
Cells sense each other (so called quorum sensing) and can for example "prepare for famine" when the space gets crowded and food is running out.&lt;/p&gt;
&lt;p&gt;Such adaptive behavior of bacteria is usually mediated via specific receptors on the surface of the cell or intra-cellular concentration sensors that couple to the gene expression program.
We have previously discussed that diffusion of proteins within bacterial cells equilibrates within seconds.
Hence it is plausible to model this type of gene regulation in terms of uniform concentrations inside and outside the cell.
Keeping it abstract, we can write down equations for concentrations \(x_i\) as
$$
\frac{d x_i}{dt} = f_i({x_j(t)}, {\theta_j})
$$
where \(f_i\) is a function that determines the rate of change of \(x_i\) in terms of all concentrations \({x_j}\) and parameters \({\theta_j}\).
Note that these equations define a Markovian system, i.e., the rate of change depends on the status quo and not the history of the system.
Furthermore, these equations are of first order and no second derivatives with respect to time play a role.
As such, it is in principle a straight forward matter to integrate them.
However, there are two fundamental complications&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;all but the simplest systems depend on a large number of parameters which are often poorly known. Fitting complicated systems to data is rapidly becomes ill-defined.&lt;/li&gt;
&lt;li&gt;the volume of a bacterium is small and the number of molecules often in the 10s or 100s. Stochastic effects not captured by the deterministic equation can be important.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is no universal solution to the first of these problems.
We will focus on very simple systems where this is less of an issue -- more generally finding a model that captures the essence of a problem with the smallest number of parameters is the most critical step in such an analysis (trying to be realistic and/or comprehensive is often a bad idea in this context).&lt;/p&gt;
&lt;p&gt;The stochastic aspects of the dynamics can be addressed in a more principled manner.
Instead of modeling concentrations, we model distributions of copy numbers \(p(n_i,t)\).
The function \(f_i\) has to be decomposed into different parts that increase or decrease \(n\), that is production and degradation terms.
As an example, this could look like this:
$$
f_i({n_j(t)}, {\theta_j}) = \frac{n_k(t)}{1+\theta_l n_l(t)} - \theta_i n_i(t) = \mathrm{production} \quad + \quad \mathrm{degradation}
$$
The first term is a production term that depends on the copy numbers of species \(n_k\) and \(n_l\).
Step-by-step, this will move \(n_i\) to \(n_i+1\), \(n_i+2\), etc
The second term is a degradation term that will take \(n_i\) to \(n_i-1\) etc.
In some scenarios, the individual steps might be bigger and for example change copy numbers by two, but the basic idea is the same.
After having identified the individual reactions, we can formulate an equation for probability distribution of copy numbers.
For simplicity, we will look at a single species here and drop the indices and denote the production and degradation rates by \(\alpha\) and \(\gamma\).
$$
p(n,t+\Delta t) = (1-\Delta t (\alpha +\gamma n))p(n,t) + \alpha p(n-1,t) + \gamma (n+1) p(n+1,t)
$$
Slight rearrangement and taking the limit \(\Delta t \to 0\) turns this into a differential equation in time:
$$
\frac{p(n,t)}{dt} = -(\alpha +\gamma n))p(n,t) + \alpha p(n-1,t) + \gamma (n+1) p(n+1,t)
$$&lt;/p&gt;
&lt;h3&gt;Simulating stochastic trajectories&lt;/h3&gt;
&lt;p&gt;The ODEs for the probability distribution discussed above can be solved in simple low dimensional cases.
But if multiple different molecular species are to be tracked, the space of possibilities explodes and solving for the probability distribution becomes difficult.
Instead, it is often easier to simulate a large number of realizations.
This can be done using a scheme commonly known as Gillespie's algorithm.
The basic idea of this algorithm is that the time intervals between discrete events are distributed exponentially (like radioactive decay) with a rate that is the sum of rates of all individual reactions.
The rationale is as follows: in a small time slice \(\Delta t\) each and every reaction will happen with probability \(\alpha_i \Delta t \) where \(\alpha_i\) is the rate of reaction \(i\).
The probability that any reaction happens within that interval is therefore \(\Gamma\Delta t  = \Delta t\sum_i \alpha_i\) and the time interval before &lt;em&gt;something&lt;/em&gt; happens is distributed as \(p(\tau) =\Gamma e^{-\Gamma \tau}\).
Once an event happens, it could be any of the many possible reactions, each with a probability proportional to its individual rate.
The Gillespie algorithm therefore consists of iterating the following steps&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;sample a waiting time \(\tau\) with mean \(1/\Gamma\)&lt;/li&gt;
&lt;li&gt;pick a particular reaction with probability \(\alpha_i/\Gamma\)&lt;/li&gt;
&lt;li&gt;update the \({n_i}\), \(t\to t+\tau\) and the rates&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lac Operon&lt;/h3&gt;
&lt;p&gt;The best studied bacterial regulation is probably the lac operon that regulates expression of enzymes needed to digest lactose.
Study into the Lac Operon is traced back to Francois Jacob and Jacques Monod.
The concepts discovered by this inquiry are foundational to our understanding of genetic regulation.
During WWII, Monod tested the effects of using a combination of sugars on E. coli growth.
Generically find two phases of growth/metabolisms. For example, when grown with Glucose + Lactose, then glucose was first metabolized.
Once exhausted, then lactose was utilized after a lag phase.&lt;/p&gt;
&lt;p&gt;There are many excellent descriptions of the lac operon out there.&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181025_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="target search"></category></entry><entry><title>Real-time phylogenetic analysis of emerging pathogens</title><link href="/201810_Jena.html" rel="alternate"></link><published>2018-10-25T00:00:00+02:00</published><updated>2018-10-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-25:/201810_Jena.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width:90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1024px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:36%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:31%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:55%; left:8%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:5%; left:5%; width:90%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:5%; width: 90%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width:90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1024px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:36%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:31%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:55%; left:8%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:5%; left:5%; width:90%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3 weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer" style="text-align: left"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;


&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Nextstrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- with Jan Albert and Robert Dyrdak&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%; text-align: left"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks in the past 6 weeks &lt;br&gt;(155 AFM cases in the US as of yesterday)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h4&gt;Whole genome deep sequencing&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Geographic spread and phylogenetic patterns?&lt;/li&gt;
    &lt;li&gt;Within host diversity?&lt;/li&gt;
    &lt;li&gt;Transmission bottlenecks/multiplicity of infection?&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/enterovirus"  target="_blank"&gt;&lt;h2 style="color:#5097BA"&gt;nextstrain.org/enterovirus&lt;/h2&gt;&lt;/a&gt;
&lt;a href="https://ki.se/en/mtc/jan-albert-group"  target="_blank"&gt;&lt;h3&gt;joint work with Jan Albert &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylodynamic analysis&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_tree.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:13%; left:50%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_rtt.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:60%; left:5%; width:90%; text-align: left;"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;EV-D68 outbreaks come from distinct clades. &lt;/li&gt;
    &lt;li&gt;The evolutionary rate is very high &lt;br&gt;&amp;rarr; a lot of power to study transmission chains&lt;/li&gt;
    &lt;li&gt;Most variation is synonymous&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Global evolutionary patterns&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:60%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_between_host_diversity.png" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:18%; left:65%; width:35%"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Specific diversity clusters in VP3 and VP1&lt;/li&gt;
    &lt;li&gt;Coincide with homologous epitopes in other enteroviruses&lt;/li&gt;
    &lt;li&gt;But little evidence of escape between subclades&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Whole genome deep sequencing of Enterovirus D68&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_coverage.png" class="plain"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Amplified in 4 overlapping segments&lt;/li&gt;
    &lt;li&gt;Illumina sequenced to high coverage&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;iSNV frequency accuracy and sequencing errors&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_QC.png" class="plain"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;iSNV frequencies reproducible above 1%&lt;/li&gt;
    &lt;li&gt;background at around 1/1000&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;With-in host diversity&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_minor_variants.png" class="plain"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Above 0.5%, iSNVs are biological&lt;/li&gt;
    &lt;li&gt;Most samples have few iSNVs, three had more than 20&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Dual infections&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_dual_infections_p1.png" class="plain"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;A set of iSNVs at very similar frequencies in full linkage&lt;/li&gt;
    &lt;li&gt;Suggest infection with two related variants&lt;/li&gt;
    &lt;li&gt;3 out of 50 samples: Implies high prevalence&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Conclusions&lt;/h2&gt;
&lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Pathogen sequence data contain information on spread and transmission&lt;/li&gt;
        &lt;li&gt;Timely sharing is key&lt;/li&gt;
        &lt;li&gt;Integration of sequence data with epidemiological data&lt;/li&gt;
        &lt;li&gt;Near real-time analysis&lt;/li&gt;
        &lt;li&gt;Dissemination of results in an intuitive yet informative way&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=120px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=120px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=120px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=120px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=120px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=120px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:50%; width:30%"&gt;
    &lt;font size="5"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=200px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=200px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=200px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=200px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-Time Analysis and Visualization of Pathogen Sequence Data</title><link href="/neher_real-time_2018.html" rel="alternate"></link><published>2018-10-24T00:00:00+02:00</published><updated>2018-10-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-24:/neher_real-time_2018.html</id><summary type="html">&lt;p&gt;The rapid development of sequencing technologies has to led to an explosion of pathogen sequence data, which are increasingly collected as part of routine surveillance or clinical diagnostics. In public health, sequence data are used to reconstruct the evolution of pathogens, to anticipate future spread, and to target interventions. In …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The rapid development of sequencing technologies has to led to an explosion of pathogen sequence data, which are increasingly collected as part of routine surveillance or clinical diagnostics. In public health, sequence data are used to reconstruct the evolution of pathogens, to anticipate future spread, and to target interventions. In clinical settings, whole-genome sequencing can identify pathogens at the strain level, can be used to predict phenotypes such as drug resistance and virulence, and can inform treatment by linking closely related cases. While sequencing has become cheaper, the analysis of sequence data has become an important bottleneck. Deriving interpretable and actionable results for a large variety of pathogens, each with its own complexity, from continuously updated data is a daunting task that requires flexible bioinformatic workflows and dissemination platforms. Here, we review recent developments in real-time analyses of pathogen sequence data, with a particular focus on the visualization and integration of sequence and phenotype data.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Outlook: Surveillance with Nextstrain</title><link href="/201810_NRP72_site_visit.html" rel="alternate"></link><published>2018-10-22T00:00:00+02:00</published><updated>2018-10-22T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-22:/201810_NRP72_site_visit.html</id><summary type="html">&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:1%; width:55%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:45%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Campylobacter Jejeuni in the Basel area (Reist, Seth-Smith …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:1%; width:55%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:45%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Campylobacter Jejeuni in the Basel area (Reist, Seth-Smith et al)&lt;/h3&gt;
    &lt;img src="/talk_images/camJej_basel.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Campylobacter Jejeuni in the Basel area (Reist, Seth-Smith et al)&lt;/h3&gt;
    &lt;img src="/talk_images/camJej_zoom.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Ciprofloxacin resistance (Reist, Seth-Smith et al)&lt;/h3&gt;
    &lt;img src="/talk_images/camJej_cipro.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Phenotype associations with acquired genes&lt;/h3&gt;
    &lt;img src="/talk_images/panX_MefE.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Plasmid phylogenies&lt;/h3&gt;
    &lt;img src="/talk_images/kpcPlasmid.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- Collaboration with Jan Albert and Robert Dyrdak&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks in the past 6 weeks &lt;br&gt;(127 AFM cases in the US as of yesterday)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h4&gt;Whole genome deep sequencing&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Geographic spread and phylogenetic patterns?&lt;/li&gt;
    &lt;li&gt;Immune escape?&lt;/li&gt;
    &lt;li&gt;Within host diversity?&lt;/li&gt;
    &lt;li&gt;Transmission bottlenecks/multiplicity of infection?&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/enterovirus"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org/enterovirus&lt;/h1&gt;&lt;/a&gt;
&lt;a href="https://ki.se/en/mtc/jan-albert-group"  target="_blank"&gt;&lt;h3&gt;joint work with Jan Albert &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylodynamic analysis&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_tree.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:13%; left:50%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_rtt.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:90%; text-align: left;"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;EV-D68 outbreaks come from distinct clades. &lt;/li&gt;
    &lt;li&gt;The evolutionary rate is very high -- a lot of power to study transmission chains&lt;/li&gt;
    &lt;li&gt;Most variation is synonymous&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Real-time phylogenetic analysis of emerging pathogens</title><link href="/201810_ICCM.html" rel="alternate"></link><published>2018-10-19T00:00:00+02:00</published><updated>2018-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-19:/201810_ICCM.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis …&lt;/h5&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;comprehensive coverage of the world&lt;/li&gt;
    &lt;li&gt;timely sharing of data -- often within 2-3weeks of sampling&lt;/li&gt;
    &lt;li&gt;hundreds of sequences per week (in peak months)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h5&gt;&amp;rarr; requires continuous analysis and easy dissemination&lt;/h5&gt;
&lt;h5&gt;&amp;rarr; interpretable and intuitive visualization&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;


&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint project with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h2&gt;Nextstrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h2&gt;Using nextstrain -- phylodynamics analysis&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;input: metadata (csv table) + sequences (fasta or vcf)&lt;/li&gt;
        &lt;li&gt;snakemake pipeline
        &lt;ul&gt;
            &lt;li&gt;filtering&lt;/li&gt;
            &lt;li&gt;alignment&lt;/li&gt;
            &lt;li&gt;tree building (+time scaled trees)&lt;/li&gt;
            &lt;li&gt;ancestral state reconstruction and phylogeography&lt;/li&gt;
        &lt;/ul&gt;&lt;/li&gt;
        &lt;li&gt;export to visualization&lt;/li&gt;
        &lt;li&gt;runs in minutes to 1h&lt;/li&gt;
    &lt;/ul&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Using nextstrain -- web visualization&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;can be run locally (localhost)&lt;/li&gt;
        &lt;li&gt;share your own builds through nextstrain/community&lt;/li&gt;
        &lt;li&gt;deploy nextstrain on your own servers&lt;/li&gt;
        &lt;li&gt;work in progress:
            &lt;ul&gt;
                &lt;li&gt;flexible branding&lt;/li&gt;
                &lt;li&gt;drag and drop features&lt;/li&gt;
                &lt;li&gt;(better docs...)&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/2018-10-18_scientific_american_EVD68.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Enterovirus D68 -- Collaboration with Jan Albert and Robert Dyrdak&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:75%; text-align: left"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;Non-polio enterovirus&lt;/li&gt;
    &lt;li&gt;Large outbreak in 2014 with severe neurological symptoms in young children (acute flaccid myelitis)&lt;/li&gt;
    &lt;li&gt;Another outbreak in 2016&lt;/li&gt;
    &lt;li&gt;Outbreaks tend to start in late summer/fall&lt;/li&gt;
    &lt;li&gt;Several reports of EV-D68 outbreaks in the past 6 weeks &lt;br&gt;(127 AFM cases in the US as of yesterday)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h4&gt;Whole genome deep sequencing&lt;/h4&gt;
&lt;ul&gt;
    &lt;li&gt;Geographic spread and phylogenetic patterns?&lt;/li&gt;
    &lt;li&gt;Immune escape?&lt;/li&gt;
    &lt;li&gt;Within host diversity?&lt;/li&gt;
    &lt;li&gt;Transmission bottlenecks/multiplicity of infection?&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/enterovirus"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextstrain.org/enterovirus&lt;/h1&gt;&lt;/a&gt;
&lt;a href="https://ki.se/en/mtc/jan-albert-group"  target="_blank"&gt;&lt;h3&gt;joint work with Jan Albert &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylodynamic analysis&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_tree.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:13%; left:50%; width:45%"&gt;
&lt;img src="/talk_images/EVD68_rtt.png" width="100%"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:70%; left:15%; width:90%; text-align: left;"&gt;
&lt;font size=6&gt;
&lt;ul&gt;
    &lt;li&gt;EV-D68 outbreaks come from distinct clades. &lt;/li&gt;
    &lt;li&gt;The evolutionary rate is very high -- a lot of power to study transmission chains&lt;/li&gt;
    &lt;li&gt;Most variation is synonymous&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Global evolutionary patterns&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:60%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_between_host_diversity.png" class="plain"&gt;
&lt;/div&gt;
&lt;div style="position: absolute;top:18%; left:65%; width:35%"&gt;
&lt;font size=5&gt;
&lt;ul&gt;
    &lt;li&gt;Specific diversity clusters in VP3 and VP1&lt;/li&gt;
    &lt;li&gt;Coincide with homologous epitopes in other enteroviruses&lt;/li&gt;
    &lt;li&gt;But little evidence of escape between subclades&lt;/li&gt;
&lt;/ul&gt;
&lt;/font&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Whole genome deep sequencing of Enterovirus D68&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_coverage.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;Amplified in 4 overlapping segments&lt;/li&gt;
    &lt;li&gt;Illumina sequenced to high coverage&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;iSNV frequency accuracy and sequencing errors&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_QC.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;iSNV frequencies reproducible above 1%&lt;/li&gt;
    &lt;li&gt;background at around 1/1000&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;With-in host diversity&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:15%; width:70%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_minor_variants.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;Above 0.5%, iSNVs are biological&lt;/li&gt;
    &lt;li&gt;Most samples have few iSNVs, three had more than 20&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Dual infections&lt;/h3&gt;
&lt;div style="position: absolute;top:18%; left:5%; width:90%"&gt;
&lt;img width="100%" src="/talk_images/EVD68_dual_infections_p1.png" class="plain"&gt;
&lt;ul&gt;
    &lt;li&gt;A set of iSNVs at very similar frequencies in full linkage&lt;/li&gt;
    &lt;li&gt;Suggest infection with two related variants&lt;/li&gt;
    &lt;li&gt;3 out of 50 samples: Implies high prevalence&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;&lt;a href="http://dx.doi.org/10.1101/420836"&gt;Dyrdak et al, biorxiv&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/robert-dyrdak.jpg" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=250px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=250px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Robert Dyrdak&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:40%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Finding binding sites and diffusion limited rates</title><link href="/20181018_theoretical_biophysics.html" rel="alternate"></link><published>2018-10-18T00:00:00+02:00</published><updated>2018-10-18T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-18:/20181018_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;How do transcription factors find their binding sites?&lt;/h2&gt;
&lt;p&gt;In 1970, &lt;a href="http://www.sciencedirect.com/science/article/pii/0022283670900744"&gt;Riggs et al&lt;/a&gt; noted that the rate at which the lac repressor found its target on DNA in vitro was about 1000 fold higher than seemed allowed by 3D diffusion.
This conundrum has obsessed quantitative biologists for a long time …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;How do transcription factors find their binding sites?&lt;/h2&gt;
&lt;p&gt;In 1970, &lt;a href="http://www.sciencedirect.com/science/article/pii/0022283670900744"&gt;Riggs et al&lt;/a&gt; noted that the rate at which the lac repressor found its target on DNA in vitro was about 1000 fold higher than seemed allowed by 3D diffusion.
This conundrum has obsessed quantitative biologists for a long time and a number of elegant solutions to the problem have been formulated, foremost through the pioneering work by &lt;a href="http://www.jbc.org/content/264/2/675.short"&gt;von Hippel and Berg&lt;/a&gt;.
The problem of target location touches on many themes that we discussed over the last few weeks.&lt;/p&gt;
&lt;h3&gt;Search in three dimensions and diffusion limited rates&lt;/h3&gt;
&lt;p&gt;How do molecules find each other by diffusion, i.e., what determines the rate of diffusion limited reactions? In an enzymatic reaction, the total production rate per unit volume is&lt;/p&gt;
&lt;p&gt;$$ \kappa [S][E] \quad \mathrm{with\, units}\quad \frac{stuff}{volume\times time}$$&lt;/p&gt;
&lt;p&gt;where \(\kappa\) is the rate constant and [E] and [S]. One what quantities will the rate \(\kappa\) depend? Obvious contenders are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the relative diffusion constant \(D_{3D}\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;the size of the reactants \(r\) with units \(length\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hence we expect a scaling&lt;/p&gt;
&lt;p&gt;$$ \kappa \sim D_{3D} r \quad [length^3/time] $$&lt;/p&gt;
&lt;p&gt;A more careful calculation will reveal that if we assume spherical particles with radii \(r_A\) and \(r_B\) and diffusion constants \(D_A\) and \(D_B\), the diffusion limit reaction rate is&lt;/p&gt;
&lt;p&gt;$$ \kappa = 4 \pi (D_A+D_B)(r_a + r_b) $$&lt;/p&gt;
&lt;p&gt;One way to understand this relation is to think of an reaction area \(4\pi (r_a + r_b)^2\) and a diffusive flux through that area with magnitude \((D_A+D_B)/(r_a + r_b)\) since the gradient of the concentration profile around and absorbing sphere is inversely proportional to the radius. This radius should not be interpreted as the radius of the molecules, but the range of interactions.&lt;/p&gt;
&lt;p&gt;In practice, reactions require that reactants are positioned at particular angles to each other which will reduce these rates below the diffusion limit.
This effect is partly counter-balanced by the unspecific electrostatic attraction between the molecules.&lt;/p&gt;
&lt;p&gt;Applying this reasoning to the problem of transcription facter/DNA association, we can ignore the diffusion of DNA (it is a large slow molecule).
Furthermore, the radius of reaction should be of the same order as the distance between basepairs since the TFs recognize specific DNA sequences and hence have to be in register with the DNA to 0.3nm. Together with an in-vitro diffusion constant of a transcription factor of about \(100\mu m^2/s\), this results in a rate estimate&lt;/p&gt;
&lt;p&gt;$$ \kappa_{D} = 4\pi \times 100 \times 3\times 10^{-4} \mu m^3/s \approx 0.4  \mu m^3/s \approx 2\times 10^8 M^{-1}s^{-1} $$&lt;/p&gt;
&lt;p&gt;This might be a little high since we have not accounted for the orientation, but the measured association rates are about 100fold higher.
Clearly, diffusion limitation is not what is limiting this association and some additional mechanisms have to be at play.&lt;/p&gt;
&lt;h4&gt;Excurs: perfectly absorbing sphere&lt;/h4&gt;
&lt;p&gt;To calculate the rate of at which two particles hit each other, it is useful to observe the following simplifications:
The only quantity that matters is the distance \(\vec{r}\) between them.
This distance diffuses with a combined diffusion constant \(D=D_A+D_B\).
The boundary condition then requires that \(P(|\vec{r}|=R)=0\) with \(R=r_A+r_B\).&lt;/p&gt;
&lt;p&gt;We are looking for an isotropic solution with constant flux which required&lt;/p&gt;
&lt;p&gt;$$ r^2 D \frac{\partial P(r)}{\partial r} = C $$&lt;/p&gt;
&lt;p&gt;with solution \(P(r) = x(1-\frac{R}{r}) \). This confirms our reasoning above that the gradient of the concentration profile on the surface is \(\sim (r_A+r_B)^{-1}\).&lt;/p&gt;
&lt;h3&gt;Search in one dimension&lt;/h3&gt;
&lt;p&gt;Early on, Riggs et al suggested that the massive speed up in the association rate might be due to sliding of the TF along the DNA until it found the specific target site.
Once the TF has found the DNA, its binds unspecifically and "scans" the DNA for the right target site.
Since this scan in un-directed and diffusive, the typical length of DNA that the TF has scanned will increase as \(l \approx \sqrt{2D_{1D} t}\) with the time since association.&lt;/p&gt;
&lt;p&gt;This recapitulates what we discussed earlier that diffusive search in one dimension is fast on short time scales but ends up revisiting the same places as time goes on.
3D diffusion, on the other hand, is unlikely to revisit the same place because reassociation on a random DNA coil will typically transfer the TF to a completely new section of the genome.&lt;/p&gt;
&lt;p&gt;Diffusion of transcription factors on DNA has been measured using single molecule techniques (e.g., by fluorescently labeling the TF).
van Oijen et al found a diffusion constant of&lt;/p&gt;
&lt;p&gt;$$D_{1D} \approx 10^5-10^6 bp^2/s = 0.01-0.1\mu m^2/s $$&lt;/p&gt;
&lt;p&gt;hence about a factor of 100-1000 smaller that free 3D diffusion.
Nonetheless, searching in one dimension greatly accelerates search.&lt;/p&gt;
&lt;h3&gt;Optimal combined search&lt;/h3&gt;
&lt;p&gt;If combined 1D/3D diffusion was the mechanism by which TFs find their target, how should they be dividing their time between 3D and 1D search?
Following &lt;a href="http://iopscience.iop.org/article/10.1088/1751-8113/42/43/434013"&gt;Mirny et al&lt;/a&gt;, the total time until the target is found can be expressed as the sum over multiple rounds of 3D/1D search&lt;/p&gt;
&lt;p&gt;$$ t_s = \sum_{i=1}^K (\tau_{1D,i} + \tau_{3D,i}) $$&lt;/p&gt;
&lt;p&gt;and the typical number of rounds necessary would be \(\bar{K} = L/l \) where L is the length of the genome and l is the length searched in a single round.
Since \(l\sim \sqrt{2D_{1D} \tau_{1D}}\), we obtain for the average search time&lt;/p&gt;
&lt;p&gt;$$ t_s = \frac{L}{\sqrt{2D_{1D} \tau_{1D}} }(\tau_{1D}+\tau_{3D}) $$&lt;/p&gt;
&lt;p&gt;The search time is minimal when&lt;/p&gt;
&lt;p&gt;$$ \frac{d t_s}{d \tau_{1D}} = \frac{L}{2\sqrt{2D_{1D}}}(\tau_{1D}^{-1/2}-\tau_{3D}\tau_{1D}^{-3/2}) = 0$$&lt;/p&gt;
&lt;p&gt;which requires \(\tau_{1D} = \tau_{3D}\), i.e., the TF should spend equal times on the DNA and in solution.
The mean search time is therefore&lt;/p&gt;
&lt;p&gt;$$ t_s = L\sqrt{\frac{2\tau_{3D}}{D_{1D}}} $$&lt;/p&gt;
&lt;h4&gt;Why is there an optimum?&lt;/h4&gt;
&lt;p&gt;One dimensional diffusion alone would be extremely inefficient since it takes very long time to scan the entire genome.
Very short \(\tau_{1D}\), on the other hand, corresponds to very limited scanning of bases and in the limit of \(\tau_{1D}\to 0\) corresponds to pure 3D search.
Hence it is plausible that an optimum should exist.&lt;/p&gt;
&lt;h3&gt;Intersegment transfer&lt;/h3&gt;
&lt;p&gt;The 1D diffusion mechanism suggests that transcription factors stay close to DNA by unspecific electrostatic interactions.
In addition to 3D diffusion, there is another way by which the TF can explore DNA sequence space.&lt;/p&gt;
&lt;p&gt;In the excercise session from last week, you should have found that the typical time for a diffusive walker to return to the origin is proportional to \(s^{-3/2}\).
In other words, most contacts between two DNA sites in 3D involve sequences in close proximity, but very long range jumps exist.&lt;/p&gt;
&lt;h2&gt;Polymers under force&lt;/h2&gt;
&lt;h3&gt;Flexible polymers and entropic springs&lt;/h3&gt;
&lt;p&gt;Flexible polymers form random coils and the average end-to-end distance is typically proportional to the square root of the length of the chain.
What happens if you start to pull on the ends? Will it immediately stretch? Or will it act as a spring? How does extension depend on the applied force and the length of the spring?&lt;/p&gt;
&lt;p&gt;Let's consider a polymer that consists of segments of length \(d\) that are completely freely rotating, i.e., any angle on the sphere is equally likely a priori.
Applying a force will bias this distribution.
The probability of for any given monomer to have have an extension \(\chi\) is therefore
$$
p(\chi|F) = \frac{F}{kT}\frac{e^{F\chi/kT}}{e^{Fd/kT}-e^{-Fd/kT}}
$$
(this has units \(1/length\) as it should.)
The total end-to-end distance in the direction of the force is \(x=\sum_i \chi_i\) and the average extension is simply
$$
\langle x \rangle_{F} = N\int_{-d}^d d\chi \; \chi p(\chi|F) = \frac{FN}{kT(e^{Fd/kT}-e^{-Fd/kT})} \int d\chi \;\chi e^{F\chi/kT}
$$
$$
= \frac{FN}{kT(e^{Fd/kT}-e^{-Fd/kT})} \int d\chi \; kT \frac{\partial }{\partial F} e^{F\chi/kT}
= \frac{FN}{e^{Fd/kT}-e^{-Fd/kT}} \frac{\partial }{\partial F}\frac{kT}{F} \left(e^{Fd/kT} - e^{-Fd/kT}\right)
$$
$$
= \frac{FN}{e^{Fd/kT}-e^{-Fd/kT}} \left(-\frac{kT}{F^2} + d\left(e^{Fd/kT} + e^{-Fd/kT}\right)\right) = dN \left(\frac{e^{Fd/kT}+e^{-Fd/kT}}{e^{Fd/kT}-e^{-Fd/kT}} - \frac{kT}{Fd}\right)
$$
Let's expand this around \(F=0\):
$$
\langle x \rangle_{F} \approx F\frac{\partial \langle x \rangle_{F}}{\partial F} =  F\frac{d^2N}{3kT}
$$
Hence to lowest order in \(F\) a flexible polymer acts as an entropic spring with spring constant \(\frac{kT}{dN}\).
Longer polymers are softer, and increasing temperature makes them stiffer. The smaller the monomers are, the stiffer they are.&lt;/p&gt;
&lt;p&gt;A typical RNA molecule with \(N=1000\) and \(d=2nm\), we would find a spring constant
$$
\alpha = \frac{kT}{d^2N} = \frac{4pN nm}{4nm^2 1000} = 10^{-3}\frac{pN}{nm}
$$&lt;/p&gt;
&lt;p&gt;In the opposite limit around \(x=d\), the behavior of the force extension curve is very different.
$$
\langle x \rangle_{F} \approx Nd\left(1 - 2e^{-\frac{Fd}{kT}} + \cdots - \frac{kT}{Fd}\right) \approx Nd\left(1 - \frac{kT}{Fd}\right)
$$
This implies that at large force \(Fd\gg kT\) the polymer is almost completely extended.
Solving this relation for the force yields
$$
F = \frac{kT}{d(1- \langle x \rangle/Nd)}
$$
Hence the force diverges as the polymer approaches full extension.&lt;/p&gt;
&lt;h3&gt;Measuring the force extension curves of biological polymers&lt;/h3&gt;
&lt;p&gt;This year's nobel prize in physics was partly awarded to &lt;a href="https://en.wikipedia.org/wiki/Arthur_Ashkin"&gt;Arthur Ashkin&lt;/a&gt; for the development of optical tweezers.
Focussed laser beams trap tiny particles in the center of the focus where the light intensity is highest.
Forces applied to these particle move the trapped particles slightly out of the focus of the beam and diffract light in a way that allows to measure the force applied.&lt;/p&gt;
&lt;p&gt;&lt;img alt="OpticalTweezers" src="/teaching_images/OpticalTweezers_DNA.png"&gt;&lt;br&gt;
from &lt;a href="http://umdberg.pbworks.com/w/page/47555271/DNA%20spring%201%3A%20Spring%20constant%20of%20DNA"&gt;umdberg.pbworks.com&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Buckling&lt;/h3&gt;
&lt;p&gt;Instead of being floppy, microtubules are very stiff polymers with a persistence length of about 1mm.
Instead of pulling on them, lets consider how much compressive force a microtubule can withstand?
Recalling that the persistence length is stiffness over kT, the stiffness is
$$ \kappa = kT l_p = 4pN \mu m^2$$
Let's write down the energy of a microtubule of length \(L\) when a force \(F\) is applied. Then the microtubule bends, its end-to-end distance gets shorter.
The curvature is commonly described by the radius \(R\) of the circle that overlaps with the microtubule's contour.
The angle \(\theta = L/R\) and the end-to-end distance is
$$ l = 2R\sin(L/2R) \approx L - \frac{L^3}{24R^2} $$
The total energy is then
$$ E_{tot} = E_{bend} + E_{load} = \frac{\kappa L}{2R^2} - FL(1 - \frac{L^2}{24R^2}) = \frac{1}{L} \left[\frac{\kappa}{2}\theta^2 - FL^2(1 - \theta^2/24)\right] $$
As long as \(\frac{dE_{tot}}{d\theta}&amp;gt;0\), the beam is stable. But as soon as the force exceeds
$$ F_c = \frac{12\kappa}{L^2} $$
the beam will buckle. This is known as Euler's buckling instability.
As is intuitively clear, buckling becomes easier when the beam is longer -- one reason for frequent crosslinking.&lt;/p&gt;
&lt;p&gt;NOTE: we have made an approximation here since the shape of the bent microtubule is not actually a part of a circle, but a sine. This changes the prefactor (replacing the 12 with \(\pi^2\)).&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181018_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="target search"></category></entry><entry><title>Data sharing and real-time analysis in Influenza Virus surveillance</title><link href="/201810_Gates.html" rel="alternate"></link><published>2018-10-15T00:00:00+02:00</published><updated>2018-10-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-15:/201810_Gates.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%; text-align: left"&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;GISAID enables rapid sharing:&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Comprehensive: Tens of thousands of virus sequences per year&lt;/li&gt;
            &lt;li&gt;Timely: sequences are often available within 4weeks&lt;/li&gt;
            &lt;li&gt;Representative: Isolates from every continent&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;Nextflu and Nextstrain for real-time analysis:&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Weekly updated phylodynamic analysis&lt;/li&gt;
            &lt;li&gt;Integration with antigenic data&lt;/li&gt;
            &lt;li&gt;Predictions and projections&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;FluSurver for …&lt;/h2&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;GISRS and GISAID -- Influenza virus surveillance&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%; text-align: left"&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;GISAID enables rapid sharing:&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Comprehensive: Tens of thousands of virus sequences per year&lt;/li&gt;
            &lt;li&gt;Timely: sequences are often available within 4weeks&lt;/li&gt;
            &lt;li&gt;Representative: Isolates from every continent&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;Nextflu and Nextstrain for real-time analysis:&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Weekly updated phylodynamic analysis&lt;/li&gt;
            &lt;li&gt;Integration with antigenic data&lt;/li&gt;
            &lt;li&gt;Predictions and projections&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;font size=4&gt;
        &lt;h2&gt;FluSurver for structural analysis:&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;Automated prediction of drug resistance, antigenic properties, and pathogenicity&lt;/li&gt;
            &lt;li&gt;directly linked with nextstrain&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:75%; width:25%"&gt;
        &lt;img class="plain" src="talk_images/influenza_virus.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:1%; width:60%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:61%; width:40%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;

&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>Universality and predictability in RNA virus evolution</title><link href="/201810_cuny.html" rel="alternate"></link><published>2018-10-12T00:00:00+02:00</published><updated>2018-10-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-12:/201810_cuny.html</id><summary type="html">&lt;!-- &lt;section&gt;
    &lt;img src="/talk_images/CampFunstonKS-InfluenzaHospital.jpg" width="1200px"&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 40-50y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Virus evolution happens within hosts!&lt;/h2&gt;
    &lt;h4&gt;This is much easier to study in HIV than influenza&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!-- &lt;section&gt;
    &lt;img src="/talk_images/CampFunstonKS-InfluenzaHospital.jpg" width="1200px"&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 40-50y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Virus evolution happens within hosts!&lt;/h2&gt;
    &lt;h4&gt;This is much easier to study in HIV than influenza&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Approximately neutral divergence -- silent mutations&lt;/h3&gt;
        &lt;img src="talk_images/HIV_neutral_divergence.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;In vivo mutation rate estimates&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_matrix_only.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=4&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:51%; width:48%; text-align:justify;"&gt;
    &lt;font size=6&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;deleterious mutations arise with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against them with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1300px"&gt;&lt;/object&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Blue: all mutations&lt;/li&gt;
            &lt;li&gt;Red: only mutations that don't change amino acids&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Immune adaptation&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;object class="fragment current-visible" data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:80%"&gt;
        &lt;object class="fragment" data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
 &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Theory, models...?&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;about 10-20 mutations fix in the HIV per year&lt;/li&gt;
        &lt;li&gt;many of them are beneficial&lt;/li&gt;
        &lt;li&gt;100s of mutations at low frequencies&lt;/li&gt;
        &lt;li&gt;most of them compromise viral replication mildly&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling wave models of adaptation&lt;/h3&gt;
    &lt;div style="position:absolute; left:15%; top:16%; width:70%"&gt;
        &lt;img src="talk_images/DF_model_sketch.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Desai &amp; Fisher, Genetics&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Dynamics, genetic diversity, and phylogenetic trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="100%"&gt;&lt;/img&gt;
    &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago? &lt;br&gt;
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Universality -- adaptation and deleterious mutations&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_DF_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_exponential_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:13%; left:52%; width:43%"&gt;
        &lt;img src="talk_images/BSC_asexual_deleterious.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- &lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowlegdements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:35%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Amplification bias and template input&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;img src="/talk_images/overlap_illustration_no_data.png" width=100% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig_S2.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Frequency concordance in samples 4 weeks apart&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig9_S1.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness costs vs consensus amino acid&lt;/h3&gt;
    &lt;img src="talk_images/HIV_lethal_aminoacids.png"&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Accurate frequency estimates by averaging many samples&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:19%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Polymers in biology</title><link href="/20181011_theoretical_biophysics.html" rel="alternate"></link><published>2018-10-11T00:00:00+02:00</published><updated>2018-10-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-11:/20181011_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Many of the most important molecules in biology are polymers. They carry information (DNA, RNA), all proteins are polypeptides, and they provide structure and stability in form of the cytoskeleton.
The microscopic properties of these different polymers depend on their molecular structure, but on larger scales their behavior is governed …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many of the most important molecules in biology are polymers. They carry information (DNA, RNA), all proteins are polypeptides, and they provide structure and stability in form of the cytoskeleton.
The microscopic properties of these different polymers depend on their molecular structure, but on larger scales their behavior is governed by a few mesoscopic parameters such as stiffness, charge, and self-interaction.
We will discuss properties of&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;single stranded RNA and DNA&lt;/li&gt;
&lt;li&gt;double stranded DNA&lt;/li&gt;
&lt;li&gt;actin filaments&lt;/li&gt;
&lt;li&gt;microtubules&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and study general models of polymers. In addition to introducing properties of polymers, this lesson will also serve to revise concepts from the chapters on diffusion and random walks.&lt;/p&gt;
&lt;p&gt;&lt;img alt="DNA micrograph" src="/talk_images/DNA_micrograph.jpg"&gt;&lt;br&gt;
Micrograph of bacteria phage DNA adsorbed to a 2D surface (by R. Roberts, NEB).&lt;/p&gt;
&lt;h2&gt;The freely jointed chain model&lt;/h2&gt;
&lt;p&gt;In the above micrograph, it is obvious that DNA often changes direction in a seemingly random way.
It might therefore by a good starting point to model polymer configurations as random walk of the type we have encountered when discussing diffusion.
The simplest models of polymers approximate this polymer configuration by discretizing the molecule into short straight segments of length \(d\) followed by a complete randomization of the direction.&lt;/p&gt;
&lt;p&gt;Consider a chain of \(N\) stiff segments of length \(d\).
The end-to-end distance of that chain is then&lt;/p&gt;
&lt;p&gt;$$\vec{R} = d\sum_i^N \vec{e}_i$$&lt;/p&gt;
&lt;p&gt;where \(\vec{e}_i\) are unit vectors of random direction.
The average squared end-to-end distance is therefore&lt;/p&gt;
&lt;p&gt;$$\langle \vec{R}^2 \rangle = d^2\sum_{ij}^N \langle\vec{e}_i\vec{e}_j\rangle = d^2N$$&lt;/p&gt;
&lt;p&gt;(products of vectors here are scalar products, that is \(\vec{v}\vec{u} = v_xu_x+v_yu_y+v_zu_y = |v||u|\cos(\phi_{uv}\) with \(\phi_{uv}\) being the angle between the vectors).
The last identity hold since all off-diagonal terms \(\sum_{i\neq j}^N \langle\vec{e}_i\vec{e}_j\rangle\) average to zero since the average projection of one random vector onto any other vector vanishes. The diagonal term, however, contributes since \(\langle\vec{e}_i\vec{e}_i\rangle = 1\).
Hence we recover the same \(\sqrt{N}\) scaling that we found for random walks.&lt;/p&gt;
&lt;p&gt;By analogy, we know that the distribution of end-to-end distance will behave exactly like a diffusing particle that moves in a random direction at every step and the distribution of the end-to-end distance is given by&lt;/p&gt;
&lt;p&gt;$$ P(\vec{R}) = \left(\frac{3}{2\pi N d^2}\right)^{3/2} e^{-\frac{3(R_x^2 + R_y^2 + R_z^2)}{2Nd^2}}$$&lt;/p&gt;
&lt;p&gt;The additional factor of three accounts for the fact that the total average squared end-to-end distance is \(Nd^2\).
Each spatial dimension contributes one third of that variance.&lt;/p&gt;
&lt;p&gt;The picture below shows measurements of the mean squared distance of chromosomal markers in interphase chromatin in mammalian cells.
The squared distance increases linearly with genomic separation, as expected from a random polymer walk.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Genome_conformation" src="/teaching_images/Genome_conformation_van_den_Engh.png"&gt;&lt;br&gt;
&lt;a href="http://science.sciencemag.org/content/257/5075/1410"&gt;van den Engh et al, Science 1992&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the linear increase of squared distance, we can estimate the segment length \(d\) as follows:&lt;/p&gt;
&lt;p&gt;$$\langle R^2(s) \rangle \approx 1.5\frac{\mu m^2}{Mbp} s  = 1.5\frac{\mu m^2}{Mbp} N d = Nd^2 $$&lt;/p&gt;
&lt;p&gt;Here \(d\) is measured in Mbp which corresponds to \(\approx 300\mu m\). One finds \(d = 1.5\frac{\mu m^2}{Mbp} = 5nm \).
Hence the segment length of the chromatin fiber seems to be short and rougly comparable to the histone diameter (\(\sim 10nm\)).&lt;/p&gt;
&lt;!--
### The radius of gyration
The end-to-end distance is one way of describing the spatial extend of a polymer chain, but a more generic measure would be the averaged squared distance of each monomer from the center of mass.
The latter is defined as the average location

$$ \vec{R}_{CM} = \frac{1}{N} \sum_i \vec{R}_i = \frac{1}{N} \sum_i^N d\sum_j^i \vec{e}_j = \frac{1}{N} \sum_i^N (N-i+1) \vec{e}_i$$

The squared radius of gyration is then

$$ R_G^2 = \frac{d^2}{N}\langle\sum_{k=1}^N \left(\sum_{l=1}^k \vec{e}_l - \frac{1}{N} \sum_{i=1}^N (N-i+1) \vec{e}_i \right)^2\rangle$$

While this looks pretty nasty, it is not so bad since after squaring only terms with equal indices will survive the averaging and all terms that survive contribute one.

$$ R_G^2 = \frac{d^2}{N}\sum_{k=1}^N \left(k - 2\sum_{i=1}^k \frac{N-i+1}{N} + \sum_{i=1}^N \frac{(N-i+1)^2}{N^2}\right) =
\frac{d^2}{N}\sum_{k=1}^N \left(-k + 2\sum_{i=1}^k \frac{i-1}{N} + \sum_{i=1}^N \frac{N^2 - 2N(i-1) + (i-1)^2}{N^2}\right)$$

This simplifies to

$$ R_G^2 = \frac{d^2}{N}\sum_{k=1}^N \left(k - \frac{k(k-1)}{N} - \sum_{i=1}^N \frac{(i-1)^2}{N^2}\right) = \frac{d^2N}{2}$$
 --&gt;

&lt;h3&gt;Excurs: The central limit theorem and Gaussian distributions&lt;/h3&gt;
&lt;p&gt;The central limit theorem states that if you sum \(N\) random variables with variance \(\sigma^2\), the distribution of the sum will be Gaussian with variance \(N\sigma^2\).
This is the reason why the end-to-end distance is Gaussian, and why the diffusion equation admits a Gaussian solution.&lt;/p&gt;
&lt;p&gt;For concreteness, lets do derive the end-to-end distribution separately for the different cartesian coordinates, e.g. \(R_x = d\sum_j^N e_{jx}\).
The probability for observing \(R_x\in [x, x+dx]\) is given by the product \(\rho(x)dx\) of the probability density \(\rho(x)\) and \(dx\).
For each monomer, we average over all possible orientations which can come from any part of the \(4\pi\) sphere.
The integral over this sphere is \(\int_0^{\pi}\frac{d\phi \sin \phi}{4\pi}\int_0^{2\pi}  d\theta\) where \(\phi\) is the angle with the x-axis.
The density for the x-coordinate of the end-to-end distance is then is given by&lt;/p&gt;
&lt;p&gt;$$\rho(x) = \int_0^{\pi}\int_0^{2\pi} \prod_j\frac{d\phi_jd\theta_j}{4\pi}\sin(\phi_j) \delta(d\sum_i \cos(\phi_j) - x) = \int_0^{\pi}\prod_j\frac{d\phi_j}{2}\sin(\phi_j) \delta(d\sum_i \cos(\phi_j) - x) $$&lt;/p&gt;
&lt;p&gt;To evaluate this expression, we apply a Fourier transform&lt;/p&gt;
&lt;p&gt;$$\hat\rho(\omega) = \frac{1}{2\pi} \int dx e^{-i\omega x}\rho(x) \rho = \int_0^{\pi} \prod_j \frac{d\phi_j}{2}\sin(\phi_j) \int  \frac{dx}{2\pi} e^{-i\omega x} \delta(d\sum_j\cos(\phi_j) - x)=  \frac{1}{2\pi} \int_0^{\pi} \prod_j \frac{d\cos(\phi_j)}{2}e^{-i\omega d\sum_j\cos(\phi_j)}$$&lt;/p&gt;
&lt;p&gt;which decouples the different integrals.
The last term in the equations follows from the fact that the Fourier transform of the \(\delta\) function is identically one.
In other words, you get a very sharp peak by overlaying many oscillating function that all agree in exactly one point, but cancel everywhere else.
We can now separately evaluate the different integrals. Instead of evaluating them exactly, we assume (and later justify) that the relevant \(\omega\) is small and we can Taylor expand the exponential:&lt;/p&gt;
&lt;p&gt;$$\int_{-1}^{1} \frac{dy}{2} e^{-i\omega d y}  = \frac{e^{-i\omega d} - e^{i\omega d}}{2i\omega} \approx = \frac{-2i\omega d - i\omega^3d^3/3}{2i\omega} = 1 - \frac{\omega^2 d^2}{6} $$&lt;/p&gt;
&lt;p&gt;We can ignore higher order terms, since they correspond to distances shorter than the individual step-size \(d\).
Combining all terms yields&lt;/p&gt;
&lt;p&gt;$$\hat\rho(\omega) = \frac{1}{2\pi} \prod_j (1 - \frac{d^2\omega^2}{6}) \approx \frac{1}{2\pi} e^{-\frac{N d^2\omega^2}{6}}$$&lt;/p&gt;
&lt;p&gt;To solve for \(\rho(x)\), we have to invert the Fourier transform.&lt;/p&gt;
&lt;p&gt;$$\rho(x) =  \frac{1}{2\pi} \int d\omega e^{i\omega x -\frac{3N d^2\omega^2}{2}} = \frac{1}{\sqrt{2\pi Nd^2}}e^{-\frac{3x^2}{2Nd^2}}$$&lt;/p&gt;
&lt;p&gt;The last integral can be reduced to a standard Gaussian integral by completing the square and the result is a Gaussian with variance \(Nd^2\).
Lastly, we should check whether our assumption that \(\omega d\) is small is justified. Looking that the Gaussian inverse, we see that \(\omega\) values that contribute substantially to the solutiona \(\omega d &amp;lt; 1/\sqrt{N}\). Hence ignoring higher order terms was ok.&lt;/p&gt;
&lt;h2&gt;Worm-like chain model&lt;/h2&gt;
&lt;p&gt;The above model of freely jointed stiff segments is obviously an extreme simplification, albeit not totally unreasonable for single stranded RNA/DNA that change direction on the same length scale as the length of the monomers.
dsDNA is stiff over many helical turns and a better model is one where the polymer is continuously changing direction due to infinitesimal bending.
This bending requires energy and spontaneously occurs due to thermal activation.
At absolute zero, the polymer would be in its lowest energy configuration, that is completely straight.&lt;/p&gt;
&lt;p&gt;We can parameterize a polymer by the location \(\vec{r}(s)\) of the monomers in 3D as we move along the backbone \(s\).
The tangent vector, that is the direction of the polymer, is given by the derivative \(\vec{t} = \frac{d \vec{r}(s)}{ds}\).
Curvature correspond to change in direction, i.e., bending. The total bending energy is therefore given by&lt;/p&gt;
&lt;p&gt;$$E_{bend} = \frac{\kappa}{2}\int_0^L ds \left(\frac{d^2 \vec{r}(s)}{ds^2}\right)^2 $$&lt;/p&gt;
&lt;p&gt;By termal activation, the chain changes direction and it can be shown that the correlation in direction decays exponentially&lt;/p&gt;
&lt;p&gt;$$\langle \vec{t}(0)\vec{t}(s)\rangle = e^{-s/l_p} $$&lt;/p&gt;
&lt;p&gt;where \(l_p\) is known as the persistence length. It is related to the stiffness via $$l_p = \kappa/kT.$$
With this exponential form of the decorrelation, we can calculate properties such as the average squared end-to-end distance&lt;/p&gt;
&lt;p&gt;$$ \langle r(L)^2 \rangle  = \langle \int_0^L ds \vec{t}(s) \int_0^L ds' \vec{t}(s')\rangle  = \int_0^L dsds' e^{-|s-s'|/l_p} = \int_0^L ds \left[\int_0^{L-s} dx e^{-x/l_p} + \int_0^{s} dx e^{-x/l_p}\right]$$
$$  \langle r(L)^2 \rangle = l_p \int_0^L ds[1 - e^{-(L-s)/l_p} + 1 - e^{-s/l_p}] = 2l_p \left[L - l_p (1 - e^{-L/l_p})\right] $$&lt;/p&gt;
&lt;p&gt;Hence for long polymers, the typical squared end-to-end distance scales as \(l_p L = l_p^2 N\) consistent with the freely jointed chain above.
For short polymers, we have \(\langle r(L)^2 \rangle = L^2(1-L/3l_p)\). In other words the polymer is mostly straight.&lt;/p&gt;
&lt;h3&gt;Measuring the force extension curves of biological polymers&lt;/h3&gt;
&lt;p&gt;This year's nobel prize in physics was partly awarded to &lt;a href="https://en.wikipedia.org/wiki/Arthur_Ashkin"&gt;Arthur Ashkin&lt;/a&gt; for the development of optical tweezers.
Focussed laser beams trap tiny particles in the center of the focus where the light intensity is highest.
Forces applied to these particle move the trapped particles slightly out of the focus of the beam and diffract light in a way that allows to measure the force applied.&lt;/p&gt;
&lt;p&gt;&lt;img alt="OpticalTweezers" src="/teaching_images/OpticalTweezers_DNA.png"&gt;&lt;br&gt;
from &lt;a href="http://umdberg.pbworks.com/w/page/47555271/DNA%20spring%201%3A%20Spring%20constant%20of%20DNA"&gt;umdberg.pbworks.com&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Size of DNA coils of typical genomes&lt;/h3&gt;
&lt;p&gt;The persistence length of DNA at physiological conditions is about 50nm, that is about 150bp.
The DNA of a bacterium is therefore 30000 persistance length long and the radius of gyration is on the order of \(200\times 50nm = 10\mu m\), i.e. about 10 times larger than the size of the cell.
The problem is more severe for mammals or plants with their large genomes. Unconstrained, they genomes would occupy a ball of hundreds of \(\mu m\) in diameter.&lt;/p&gt;
&lt;p&gt;&lt;img alt="lysed ecoli" src="http://i.imgur.com/kaFF3.jpg"&gt;&lt;br&gt;
Lysed E. coli. The remains of the bacterium is the blob in the middle.&lt;/p&gt;
&lt;h2&gt;Microtubules&lt;/h2&gt;
&lt;p&gt;Microtubules are very stiff polymers that are part of the cytoskeleton.
They are the substrates on which dynein and kinesin motors run.
There large diameter makes microtubules exceptionally stiff with a persistence length of the order of one millimeter.
Hence microtubules are stiff on length scales much longer than the cell.&lt;/p&gt;
&lt;p&gt;&lt;img alt="microtubules" src="https://upload.wikimedia.org/wikipedia/commons/0/06/Microtubule_structure.png"&gt;&lt;br&gt;
By &lt;a href="//commons.wikimedia.org/wiki/User:Splette" title="User:Splette"&gt;Thomas Splettstoesser&lt;/a&gt; (&lt;a rel="nofollow" class="external text" href="http://www.scistyle.com"&gt;www.scistyle.com&lt;/a&gt;) - &lt;span class="int-own-work" lang="en"&gt;Own work&lt;/span&gt; (rendered with Maxon Cinema 4D), &lt;a href="https://creativecommons.org/licenses/by-sa/4.0" title="Creative Commons Attribution-Share Alike 4.0"&gt;CC BY-SA 4.0&lt;/a&gt;, &lt;a href="https://commons.wikimedia.org/w/index.php?curid=41014850"&gt;Link&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;How does stiffness scale with diameter?&lt;/h3&gt;
&lt;p&gt;For sake of argument, assume the microtubule has a square crossection with edge length \(r\).
When bending with a curvature radius \(R\), the outer part get longer by \(r/R\), while the inner part shrinks by that amount.
At the same time, the width increases with \(r\), resulting a quadratic increase of the bending force with \(r\).&lt;/p&gt;
&lt;h3&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181011_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20171017_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="polymers"></category></entry><entry><title>Brownian motion and Diffusion</title><link href="/20181004_theoretical_biophysics.html" rel="alternate"></link><published>2018-10-04T00:00:00+02:00</published><updated>2018-10-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-10-04:/20181004_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;Analyzing a FRAP experiment&lt;/h2&gt;
&lt;p&gt;&lt;img alt="FRAP" src="http://malone.bioquant.uni-heidelberg.de/methods/mobility/FRAP.png"&gt;
Image by bioquant Heidelberg.&lt;/p&gt;
&lt;p&gt;Before we start with sophisticated calculations it is useful to develop some intuition for the problem&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we want to estimate \(D\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;somehow, a length scale and a time scale need to be involved&lt;/li&gt;
&lt;li&gt;the length scale available …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;h2&gt;Analyzing a FRAP experiment&lt;/h2&gt;
&lt;p&gt;&lt;img alt="FRAP" src="http://malone.bioquant.uni-heidelberg.de/methods/mobility/FRAP.png"&gt;
Image by bioquant Heidelberg.&lt;/p&gt;
&lt;p&gt;Before we start with sophisticated calculations it is useful to develop some intuition for the problem&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we want to estimate \(D\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;somehow, a length scale and a time scale need to be involved&lt;/li&gt;
&lt;li&gt;the length scale available is the size of the bleached window \(w\)&lt;/li&gt;
&lt;li&gt;a plausible time scale would be the time to 50% recovery in the middle \(t_{1/2}\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hence we would expect that the diffusion coefficient is roughly \(D\sim w^2/4t_{1/2}\).&lt;/p&gt;
&lt;h3&gt;Solution of the diffusion equation in a bounded domain&lt;/h3&gt;
&lt;p&gt;Let's see how this simple reasoning compares to a more careful calculation.&lt;/p&gt;
&lt;p&gt;Consider a box of length \(L\) with impermeable boundaries.
The middle part between \(L/4\) and \(3L/4\) is bleached away.
Evidently the Gaussian solution we considered last week does not fullfil the boundary conditions and the method of mirror solutions doesn't work with two boundaries.
However, there is still a general solution to the problem which involves a number of useful generic concepts.
We want to solve the diffusion equation without an advection term \(v=0\).
$$\frac{\partial P(x,t)}{\partial t} = D\frac{\partial^2 P(x,t)}{\partial x^2}$$
such that \(\frac{\partial P(x,t)}{\partial x}\) vanishes at \(x=0,L\).&lt;/p&gt;
&lt;p&gt;Let's try a factorized ansatz: \(P(x,t) = f(x)g(t)\).
Substituting this into the diffusion equation, we find
$$
f(x)\frac{\partial g(t)}{\partial t} = Dg(t)\frac{\partial^2 f(x)}{\partial x^2}
$$
Dividing both sides by \(f(x)g(t)\), we find
$$
\frac{1}{g(t)}\frac{\partial g(t)}{\partial t} = D\frac{1}{f(x)}\frac{\partial^2 f(x)}{\partial x^2} = -\lambda
$$
where \(\lambda\) is a constant that does not depend on \(x\) or \(t\).
(The RHS depends only on \(x\), the LHS only on \(t\), hence both sides need to be constant).&lt;/p&gt;
&lt;p&gt;The solutions for \(g(t)\) and \(f(x)\) are
$$
f(x) = a\cos(\sqrt{\lambda/D}x) + b \sin(\sqrt{\lambda/D}x) \quad \mathrm{and}\quad g(t) = ce^{-\lambda t}
$$
The coefficients \(a,b,c\) and \(\lambda\) have to be determined from the initial and boundary conditions.
Evidently, \(b=0\) since the \(\sin\) has non-zero slope at \(x=0\).
Hence only \(\cos\) terms remain.
To fulfill the boundary condition at \(x=L\), we require \(\sqrt{\lambda/D}L=n\pi\), where \(n=0,1,2,3,\ldots\).
We therefore conclude that only a discrete set of \(\lambda\) values are admissable:
$$
\lambda = \frac{Dn^2\pi^2}{L^2}
$$
The elementary solution corresponding to a particular \(n\) is therefore
$$
p_n(x,t) = e^{-\frac{Dn^2\pi^2}{L^2}t}\cos(n\pi x/L)
$$&lt;/p&gt;
&lt;p&gt;Since the diffusion equation is linear, any linear combinations of these elementary solutions is a solution:
$$
P(x,t) = \sum_{n=0}^\infty a_n p_n(x,t)
$$
This solution will respect the boundary conditions at all times.
The coefficients \(a_n\) need to be chosen such that the initial conditions is full-filled (if this looks similar to a Fourier transform to you, you are exactly right!).&lt;/p&gt;
&lt;p&gt;To this end, it useful to remember the orthonormality relations of trigonometric function.
Specifically
$$
\int_0^L \cos(n\pi x)\cos(m\pi x) = \frac{L}{2}\delta_{nm}
$$
Multiplying the initial condition with \(\cos(n\pi x/L)\) and integrating yields
$$
\int_0^L dx P(x,0)\cos(n\pi x/L) = \frac{La_n}{2} = \frac{L}{n\pi}\left(\sin(n\pi/4) - \sin(3n\pi/4)\right)
$$&lt;/p&gt;
&lt;p&gt;When including only the first couple of modes, we approximate the initial condition as follows:
&lt;img alt="FRAP_initial" src="/teaching_images/FRAP_initial_condition.png"&gt;&lt;/p&gt;
&lt;p&gt;The modes corresponding to large \(n\) decay very fast, and the wiggliness of the solution goes away very quickly:
&lt;img alt="FRAP_initial" src="/teaching_images/FRAP_time_evolution.png"&gt;&lt;/p&gt;
&lt;p&gt;The script generating these figures is available &lt;a href="/teaching_notes/frap_solution.py"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;After a little while, the only remaining modes are the constant mode and the \(n=2\) mode, which predicts that the approach of the fluorescence profile to a uniform distribution is exponential
$$
P(L/2,t) \sim 0.5 - a_2 e^{-4D\pi^2/L^2t}
$$&lt;/p&gt;
&lt;h3&gt;Typical diffusion coefficients&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;GFP in eukaryotic cells: \(\sim 25 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;GFP in prokaryotic cells: \(\sim 10 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;mRNA (actin in mouse): \(\sim 0.2 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H_2O}\) molecule in \(\mathrm{H_2O}\): \(\sim 2000 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H^+}\) molecule in \(\mathrm{H_2O}\): \(\sim 7000 \mu m^2/s\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;rarr; protein: \(\sim 10\mu  m^2/s\), small molecule: \(\sim 1000 \mu m^2/s\), big polymer: \(\sim 0.2 \mu m^2/s\).&lt;/p&gt;
&lt;h2&gt;The Stokes-Einstein relation&lt;/h2&gt;
&lt;p&gt;Above we discussed how diffusion coefficients can be measured by FRAP.
In fact, there is simple law that relates the diffusion constant to other properties of the medium and the diffusion particles: this law is called the Stokes-Einstein relation.
Before we derive it, lets take a moment to think about which quantities might matter:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;big things diffuse more slowly, hence the radius \(r\) with units \(length\) is important&lt;/li&gt;
&lt;li&gt;diffusion is thermal motion, hence \(kT\) with units \(energy\) should be relevant&lt;/li&gt;
&lt;li&gt;diffusion is slower at high viscosity, hence \(\eta\) with units \(Force\cdot time/area\) will matter.
    (viscosity is the factor relating the force per unity area to the velocity gradient in fluid flow.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;How can we combine these quantities to give us a diffusion constant with units \(length^2/time\)?
Clearly, \(\eta\) has to be in the denominator and \(kT\) in the numerator. Their ratio has the following units:&lt;/p&gt;
&lt;p&gt;$$ \frac{kT}{\eta}\quad \mathrm{has\ units}\quad \frac{Force\cdot length\cdot area}{Force \cdot time} = \frac{length^3}{time}$$&lt;/p&gt;
&lt;p&gt;Hence \(kT/\eta r\) has the right units and we expect the diffusion coefficient to scale as&lt;/p&gt;
&lt;p&gt;$$D \sim \frac{kT}{\eta r}$$&lt;/p&gt;
&lt;p&gt;Let's see how this holds up when analyzing the problem more carefully.
Einstein considered diffusion in a general potential. We will assume here we have a harmonic potential \(U(x) = \alpha x^2/2\), i.e., a force \(F = \alpha x\) is pulling the particle back to \(x=0\).
The motion of the particle is governed by the diffusion equation&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(x,t)}{\partial t} = D \frac{\partial^2 P(x,t)}{\partial x^2} + \alpha \mu \frac{\partial P(x,t)}{\partial x}$$&lt;/p&gt;
&lt;p&gt;where \(\mu\) is the mobility of the particle, i.e., the relationship between velocity and pulling force in viscous media. Mobility is the inverse of friction.
At steady state, the distribution of the particle is&lt;/p&gt;
&lt;p&gt;$$P(x) = \frac{1}{\sqrt{2\pi D/\alpha}}e^{ - \frac{\alpha x^2}{2D}} $$&lt;/p&gt;
&lt;p&gt;However, the Maxwell-Boltzmann distribution requires that the equilibrium distribution is also proportional to \(e^{-\alpha x^2/2kT}\). Hence we find&lt;/p&gt;
&lt;p&gt;$$ D = \mu kT $$&lt;/p&gt;
&lt;p&gt;This is one example of a fluctuation-dissipation relation that connects macroscopic quantities such as mobility with the microscopic quantities such as the diffusion coefficients.&lt;/p&gt;
&lt;p&gt;Next, we need to consider how the mobility is related to the geometry of the particle and the solution.
This is given by Stokes' law that relates the friction force to the size of the sphere and the viscosity:&lt;/p&gt;
&lt;p&gt;$$ \mu = \frac{1}{6\pi \eta r} $$&lt;/p&gt;
&lt;p&gt;Deriving this is a standard exercise in fluid dynamics, but nothing that we will go into here. Have a look at &lt;a href="https://en.wikipedia.org/wiki/Stokes%27_law"&gt;the wikipedia page for Stokes' law&lt;/a&gt; if you are curious.&lt;/p&gt;
&lt;p&gt;Putting the Einstein relation and Stokes' law together, we obtain the Stokes-Einstein relation&lt;/p&gt;
&lt;p&gt;$$ D = \frac{kT}{6\pi \eta r} $$&lt;/p&gt;
&lt;p&gt;The remarkable fact about this equation is that \(\eta\) can be measured at macroscopic scales and the microscopic structure does not feature explicitly. Nevertheless, together with the molecular radius and the energy scale \(kT\), it determines the diffusion coefficient of microscopic particles.
Our intuitive scaling ansatz above was off by the factor \(6\pi\), but did capture the essence of the problem.&lt;/p&gt;
&lt;p&gt;The viscosity of water at room temperature is&lt;/p&gt;
&lt;p&gt;$$\eta_0 = 0.001\frac{N s}{m^2} = 10^{-15}\frac{N s}{\mu m^2} = 10^{-3}\frac{pN s}{\mu m^2} $$&lt;/p&gt;
&lt;p&gt;The cytosol typically has a 3fold higher viscosity. So let's see how well the numbers given above compare to the prediction (Stokes' law assumes a perfect sphere, so we don't expect perfect agreement).&lt;/p&gt;
&lt;p&gt;$$ D = \frac{kT}{6\pi \eta} \frac{1}{r} \approx \frac{4pN \cdot nm \cdot \mu m^2}{20\cdot 3\cdot 10^{-3} pN s}\frac{1}{r} = \frac{1}{r} \frac{\mu m^3}{15s} $$&lt;/p&gt;
&lt;p&gt;For GFP with an radius of about 2nm, we find \(D\approx 33 \mu m^2/s\) -- a little high but not too bad. For a water molecule with \(r\approx 0.1 nm\), our predictions is \(D = 660\mu m^2/s\) in the cytosol and \(2000\mu m^2/s\) in pure water as expected.&lt;/p&gt;
&lt;h2&gt;Diffusion in different dimensions&lt;/h2&gt;
&lt;p&gt;So far all our calculations were done in one dimension while most examples we considered were in three dimensions.
In fact, in biological systems diffusion is important in 1,2, and 3 dimensions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One dimensional problems: diffusion on DNA, along axons, along microtubules, actin filaments etc.&lt;/li&gt;
&lt;li&gt;Two dimensions: diffusion happens within membranes. Membranes are fluid and lipids or proteins move in two-dimensional sheets&lt;/li&gt;
&lt;li&gt;Three dimensions: cytosol, nucleus, signaling between cells.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Luckily, there are only a few differences when going from one to two to three dimensions.
The random kicks a particle experiences from the surrounding molecules are independent in different directions and we can in principle look at each direction separately.
The latter is the reason why looking only at one dimension has gotten us so for.
Going through the same motions for multiple dimensions as previously for one dimension we arrive at a multi-dimensional diffusion equation&lt;/p&gt;
&lt;p&gt;$$ \frac{\partial P(\mathbf{x},t)}{\partial t} = D_i \sum_i \frac{\partial^2 P(\mathbf{x},t)}{\partial x_i^2}  - \sum_i \frac{\partial }{\partial x_i} v_i P(\mathbf{x},t) $$&lt;/p&gt;
&lt;p&gt;For constant advection this has the solution&lt;/p&gt;
&lt;p&gt;$$P(\mathbf{x},t) = \frac{1}{(4\pi D t)^{d/2}} e^{-\frac{\sum_i (x_i-v_i t)^2}{4Dt}} $$&lt;/p&gt;
&lt;p&gt;Without advection (\(v_i=0\)), the typical distance traveled after time \(t\) is \(\Delta x = \sqrt{2dDt}\). This simply an example of the well known fact that variances add and standard deviations grow as square root.&lt;/p&gt;
&lt;p&gt;One important difference, however, is the number of times a molecule returns to the vicinity of the origin at \(x_i=0\). In one dimension, this happens infinitely often, in two dimensions this happens but sometimes involves long waits, and in three dimensions this is not guaranteed to happen.
(It is impossible to get lost in 1d, there is hope in 2d, and you rarely find home when lost and drunk in 3d).&lt;/p&gt;
&lt;h2&gt;How fast do things move?&lt;/h2&gt;
&lt;p&gt;The typical genetic energy of every particle is \(\frac{mv^2}{2}\approx \frac{kT}{2}\) (we are ignoring the factor of 3 for each spatial dimension).
The velocity is therefore given by&lt;/p&gt;
&lt;p&gt;$$ v = \sqrt{\frac{kT}{m}} \approx \sqrt{\frac{4 pN\cdot nm}{m}} = \sqrt{\frac{4 \cdot 10^{-21} N m}{m}} = \sqrt{\frac{4 \cdot10^{-21} kg}{m}}\frac{m}{s} $$&lt;/p&gt;
&lt;p&gt;A protein of 30kDa weighs about \(5\times 10^{-23}\)kg suggesting a velocity of 10m/s. A water molecule with just 20Da (\(3\times 10^{-26}\)kg) would move at several 100m/s.&lt;/p&gt;
&lt;p&gt;If we compare the speed to the diffusion constant, we can work out how often the particle changes direction.
The mean free path (distance without substantial change of direction) is given by \(\delta x = \delta t v\).
The number of steps in time \(t\) is \(n = t/\delta t\) and the total displacement is then&lt;/p&gt;
&lt;p&gt;$$\Delta x = \sqrt{2Dt} \sim \sqrt{\delta x^2 n} =  \sqrt{t \delta t v^2} $$&lt;/p&gt;
&lt;p&gt;Hence the \(\delta t \sim D/v^2 \) which for water would evaluate to \( 2000 \mu m^2 s/10^{17} \mu m^2 = 2\times 10^{-14}s\). During this time, a water molecule travels about \(10^{-10}m\), that is about one atomic radius.&lt;/p&gt;
&lt;h3&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20181004_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20181004_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="diffusion"></category></entry><entry><title>Solutions: The relevant scales of cellular biophysics</title><link href="/20180920_solutions.html" rel="alternate"></link><published>2018-09-27T00:00:00+02:00</published><updated>2018-09-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-27:/20180920_solutions.html</id><summary type="html">&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;collect 10 different entities (viruses, bacteria, spores, cell types) and calculate the fraction of the cell/organelle that is DNA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How do you expect the ribosome fraction to vary with growth rate?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;DNA packaging fraction&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;organism&lt;/th&gt;
&lt;th style="text-align: right;"&gt;genome size&lt;/th&gt;
&lt;th style="text-align: right;"&gt;diameter[nm]&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HIV&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1e4&lt;/td&gt;
&lt;td style="text-align: right;"&gt;70&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;T4phage&lt;/td&gt;
&lt;td style="text-align: right;"&gt;170000&lt;/td&gt;
&lt;td style="text-align: right;"&gt;90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LambdaPhage&lt;/td&gt;
&lt;td style="text-align: right;"&gt;50000&lt;/td&gt;
&lt;td style="text-align: right;"&gt;58 …&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</summary><content type="html">&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;collect 10 different entities (viruses, bacteria, spores, cell types) and calculate the fraction of the cell/organelle that is DNA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How do you expect the ribosome fraction to vary with growth rate?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;DNA packaging fraction&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;organism&lt;/th&gt;
&lt;th style="text-align: right;"&gt;genome size&lt;/th&gt;
&lt;th style="text-align: right;"&gt;diameter[nm]&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HIV&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1e4&lt;/td&gt;
&lt;td style="text-align: right;"&gt;70&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;T4phage&lt;/td&gt;
&lt;td style="text-align: right;"&gt;170000&lt;/td&gt;
&lt;td style="text-align: right;"&gt;90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LambdaPhage&lt;/td&gt;
&lt;td style="text-align: right;"&gt;50000&lt;/td&gt;
&lt;td style="text-align: right;"&gt;58&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ecoli&lt;/td&gt;
&lt;td style="text-align: right;"&gt;5e6&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Yeast&lt;/td&gt;
&lt;td style="text-align: right;"&gt;2.5e7&lt;/td&gt;
&lt;td style="text-align: right;"&gt;2000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;YeastSpore&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1.2e7&lt;/td&gt;
&lt;td style="text-align: right;"&gt;700&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;lymphocyte&lt;/td&gt;
&lt;td style="text-align: right;"&gt;6e9&lt;/td&gt;
&lt;td style="text-align: right;"&gt;7000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;fibroblast&lt;/td&gt;
&lt;td style="text-align: right;"&gt;6e9&lt;/td&gt;
&lt;td style="text-align: right;"&gt;15000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ooctye&lt;/td&gt;
&lt;td style="text-align: right;"&gt;3e9&lt;/td&gt;
&lt;td style="text-align: right;"&gt;120000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sperm&lt;/td&gt;
&lt;td style="text-align: right;"&gt;3e9&lt;/td&gt;
&lt;td style="text-align: right;"&gt;4000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;HumanMitochondira&lt;/td&gt;
&lt;td style="text-align: right;"&gt;17e3&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mimivirus&lt;/td&gt;
&lt;td style="text-align: right;"&gt;1.2e6&lt;/td&gt;
&lt;td style="text-align: right;"&gt;400&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img alt="packaging_fraction" src="/teaching_images/dna_volume_fraction.png"&gt;&lt;/p&gt;
&lt;h2&gt;Ribosome fraction&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;the faster bacteria grow, the larger the ribosome fraction.&lt;/li&gt;
&lt;li&gt;fast growth happens under favorable conditions with easily digestible food.&lt;/li&gt;
&lt;li&gt;in such conditions, most resources can be dedicated to replication&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="ribo_fraction" src="http://book.bionumbers.org/wp-content/uploads/2014/08/275-f2-RibosomalProteinFraction-11.png"&gt;&lt;/p&gt;
&lt;p&gt;The rate of protein production per cell must be directly proportional to the growth rate.
If we assume that the translation rate is constant at \(10aa/s\), this implies that that ribosome fraction most be proportional to growth rate itself.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="scales"></category></entry><entry><title>Brownian motion, diffusion, and Fick's law</title><link href="/20180927_theoretical_biophysics.html" rel="alternate"></link><published>2018-09-27T00:00:00+02:00</published><updated>2018-09-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-27:/20180927_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;How do things move around in a cell?&lt;/h2&gt;
&lt;p&gt;It is difficult to track single molecules.
But it is reasonably straight forward to measure concentrations of many molecules.
One convenient way to do so is by bleaching of fluorescent molecules with a strong laser.
Say you labeled your molecule of interest …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;How do things move around in a cell?&lt;/h2&gt;
&lt;p&gt;It is difficult to track single molecules.
But it is reasonably straight forward to measure concentrations of many molecules.
One convenient way to do so is by bleaching of fluorescent molecules with a strong laser.
Say you labeled your molecule of interest with a small fluorescent dye that bleaches due to photo damage during strong illumination.
If you now bleach the dye in some fraction of your field of view, you have set up a sharp gradient between fluorescent and non-fluorescent versions of your molecule.
This method is called &lt;a href="https://en.wikipedia.org/wiki/Fluorescence_recovery_after_photobleaching"&gt;"Fluorescence Recovery After Photobleaching"&lt;/a&gt; or FRAP.&lt;/p&gt;
&lt;p&gt;&lt;img alt="FRAP" src="http://malone.bioquant.uni-heidelberg.de/methods/mobility/FRAP.png"&gt;
Image by bioquant Heidelberg.&lt;/p&gt;
&lt;p&gt;The recovery of the fluorescence signal is due to diffusion of intact GFP molecules into the space that was bleached.&lt;/p&gt;
&lt;p&gt;Small object are constantly bounced around by thermal motions of surrounding molecules.
This dynamics is called &lt;a href="https://en.wikipedia.org/wiki/Brownian_motion"&gt;Brownian motion&lt;/a&gt;  in honour of the botanist Robert Brown who noticed jittering of pollen grains under a microscope.&lt;/p&gt;
&lt;div style="width:500px; margin-left:auto; margin-right:auto"&gt;
&lt;img src="https://upload.wikimedia.org/wikipedia/commons/c/c2/Brownian_motion_large.gif" width=500px&gt;
By &lt;a href="//commons.wikimedia.org/w/index.php?title=User:Lookang&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="User:Lookang (page does not exist)"&gt;Lookang&lt;/a&gt; Author of computer model: Francisco Esquembre, Fu-Kwun and lookang - &lt;span class="int-own-work" lang="en"&gt;Own work&lt;/span&gt;, &lt;a href="http://creativecommons.org/licenses/by-sa/3.0" title="Creative Commons Attribution-Share Alike 3.0"&gt;CC BY-SA 3.0&lt;/a&gt;, &lt;a href="https://commons.wikimedia.org/w/index.php?curid=19140345"&gt;Link&lt;/a&gt;
&lt;/div&gt;
&lt;p&gt;Despite (because) of the randomness of the process, the laws governing Brownian motion are simple and universal.&lt;/p&gt;
&lt;h2&gt;Discrete random walks&lt;/h2&gt;
&lt;p&gt;Consider a object at position \(x\) that at every time step moves 1 unit to the right with probability \(p\) and to the left with probability \(1-p\).
Its displacement after \(n\) steps will be \(\Delta x = 2k-n\) where \(k\) is number of steps to the right.
The distribution of displacements evidently follows a binomial distribution with&lt;/p&gt;
&lt;p&gt;$$P(k,n) = \frac{n!}{k!(n-k)!}p^k(1-p)^{n-k}$$&lt;/p&gt;
&lt;p&gt;The average displacement is simply given by&lt;/p&gt;
&lt;p&gt;$$\langle \Delta x \rangle = 2\langle k \rangle - n =  2np \sum_k \frac{(n-1)!}{(k-1)!(n-k)!}p^{k-1}(1-p)^{n-k} - n = (2p-1)n$$&lt;/p&gt;
&lt;p&gt;For a symmetric random walk with \(p=0.5\), the average displacement is zero as expected for random walks.
This expression characterizes the average behavior, but the essence of Brownian motion lies in their randomness.
To quantify the randomness in displacement, one typically looks at the mean squared deviation, the is the variance of the process.&lt;/p&gt;
&lt;p&gt;$$\langle (\Delta x - \langle \Delta x\rangle)^2\rangle = \langle (2k-n - (2p-1)n)^2\rangle = 4\langle (k - p n)^2\rangle = 4\langle k^2 - p^2 n^2\rangle=4\langle k(k-1) + np - p^2 n^2\rangle$$&lt;/p&gt;
&lt;p&gt;We have hence reduced the problem of calculating the variance to calculating the second moment.
The very last step was merely a convenience transformation:&lt;/p&gt;
&lt;p&gt;$$\langle k(k-1)\rangle=  p^2 n(n-1)\sum_k \frac{(n-2)!}{(k-2)!(n-k)!}p^{k-2}(1-p)^{n-k}  = p^2 n(n-1) $$&lt;/p&gt;
&lt;p&gt;Plugging this back into the above, we get&lt;/p&gt;
&lt;p&gt;$$\langle (\Delta x - \langle \Delta x\rangle)^2\rangle = (4\langle k(k-1) + np - p^2 n^2 = 4n(p-p^2) = 4np(1-p) $$.&lt;/p&gt;
&lt;p&gt;The important observation is that the variance grows linearly with time, that is the number of steps \(n\).
Since the variance is "distance squared", the typical displacement only grows with the square root of time.
This is a universal property of diffusive processes: Due to the cancellation of random backwards and forward jitter, displacements don't grow linearly in time as they would in ballistic (directed) motion.&lt;/p&gt;
&lt;h3&gt;Master equations&lt;/h3&gt;
&lt;p&gt;Above, we have written down the probability distribution of the position of our random walker right away because we knew the answer from elementary combinatorics.
We won't always be so lucky.
So lets explore a more general way of looking at the problem.
Consider the probability \(P(x,n)\) of observing our particle at position \(x\) at time \(n\).
We can write down the following equation for the distribution at time \(n+1\):&lt;/p&gt;
&lt;p&gt;$$P(x,n+1) = pP(x-1,n) + (1-p)P(x+1,n) $$&lt;/p&gt;
&lt;p&gt;where the first term corresponds to hops towards the right, the second term to the left.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Very that the distribution from above \(P(x,n)\) solves this equation!&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Diffusion in continuous time and space&lt;/h3&gt;
&lt;p&gt;Above we assumed that our particle is moved by a fixed amount at each time interval.
That is of course not what actually happens.
In reality, every object is bombarded by many molecules every nano-second and follows a continuous trajectory.
Let make time continuous first and assume discrete left/right jumps happen with rate \(\nu\).
\(P(x,t+\Delta t)\) the obeys&lt;/p&gt;
&lt;p&gt;$$P(x,t+\Delta t) = (1-\nu\Delta t)P(x,t) + \frac{\nu\Delta t}{2} (P(x-1,t) + P(x+1,t)) $$&lt;/p&gt;
&lt;p&gt;which can be rearranged into a differential equation&lt;/p&gt;
&lt;p&gt;$$\frac{d P(x,t)}{dt} = \frac{\nu}{2} (P(x-1,t) - 2P(x,t) + P(x+1,t))$$&lt;/p&gt;
&lt;p&gt;The combination of terms on the right is a discrete approximation of a second derivative that we'll come across again below.&lt;/p&gt;
&lt;p&gt;Let's do away with the discrete steps and just assume that there is a certain function \(g(\delta x, \delta t)\) that describes the distribution of displacement \(\delta x\) after an infinitesimal time \(\delta t\).
We can write&lt;/p&gt;
&lt;p&gt;$$P(x,t+\Delta t) = \int d\delta x g(\delta x, \Delta t) P(x-\delta x, t) \approx \int d\delta x g(\delta x, \Delta t) \left[ P(x, t) - \delta x \frac{\partial P(x,t)}{\partial x} + \frac{\delta x^2}{2} \frac{\partial P(x,t)}{\partial x^2}\right]$$&lt;/p&gt;
&lt;p&gt;where we assumed that \(\delta x\) remains small during the small time interval considered and expanded the distribution around \(x\).
Rearranging yields&lt;/p&gt;
&lt;p&gt;$$\frac{dP(x,t)}{dt} =  - \frac{\langle\delta x\rangle_{\Delta t}}{\Delta t} \frac{\partial P(x,t)}{\partial x} + \frac{\langle \delta x^2\rangle_{\Delta t}}{2\Delta t}\frac{\partial P(x,t)}{\partial x^2}$$.&lt;/p&gt;
&lt;p&gt;The coefficient  \(v=\frac{\langle\delta x\rangle_{\Delta t}}{\Delta t}\) has the interpretation of a velocity: average displacement within time \(\Delta t\) divided by that time.
The other coefficient has units \([displacement^2]/[time]\).
We have seen above that mean squared displacement scales linearly in time in a simple discrete model.
This holds more generally and we can define a time independent diffusion coefficient:&lt;/p&gt;
&lt;p&gt;$$ \lim_{\Delta t \to 0} \frac{\langle \delta x^2\rangle_{\Delta t}}{2\Delta t} = D $$&lt;/p&gt;
&lt;p&gt;The diffusion equation then takes the form&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(x,t)}{\partial t} =  - v\frac{\partial P(x,t)}{\partial x} + D\frac{\partial P(x,t)}{\partial x^2}$$.&lt;/p&gt;
&lt;h3&gt;Green's function of the diffusion equation&lt;/h3&gt;
&lt;p&gt;Depending on the initial and boundary conditions, the difusion equation admits different solutions.
On important situation is the diffusion of particles that are initially localized at a point \(x=0\) and spread via diffusion.&lt;/p&gt;
&lt;p&gt;$$ P(x,t) = \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{(x-vt)^2}{4Dt}} $$&lt;/p&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_gaussian.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Verify that this is a solution!&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Fluxes and boundary conditions&lt;/h2&gt;
&lt;p&gt;Whenever the distribution \(P(x,t)\) is inhomogenous, there is a net flux of particles.
This is most readily seen by rewriting the diffusion equation as&lt;/p&gt;
&lt;p&gt;$$ \frac{\partial P(x,t)}{\partial t} = -\frac{\partial}{\partial x}\left[ v P(x,t) - D\frac{\partial P(x,t)}{\partial x} \right]  = - \frac{\partial}{\partial t} j(x,t) $$&lt;/p&gt;
&lt;p&gt;where \(j(x,t)\) is the flux of particles.
The parts of the flux have an intuitive interpretation: the term \(vP(x,t)\) describes how the density \(P(x,t)\) is moved by the advection velocity \(v\).
The term \(D\frac{\partial P(x,t)}{\partial x}\) is the result of random diffusion: Whenever \(P(x,t)\) is falling, more particles remove from left to right than vice versa, resulting in a net flux towards the low density region.
The expression for the flux is also known and &lt;a href="https://en.wikipedia.org/wiki/Fick%27s_laws_of_diffusion"&gt;Fick's law&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Fluxes are critical when we consider diffusion in a domain whose boundaries restrict fluxes.
The most common boundary conditions are (i) no-flux boundaries (for example impermeable membranes), (ii) absorbing boundary conditions (for example a sticky surface), or (iii) constant flux boundary conditions where particles are injected at constant rate (for example a fly embryo with localized translation at one end of the embryo).&lt;/p&gt;
&lt;h3&gt;No flux boundary conditions&lt;/h3&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_reflecting_bc.png"&gt;
At the boundary, the flux \(j(x,t)\) has to vanish. This is achieved if \(DP'(x,t) = vP\) (note that there is a \(P\) missing in the graph). In the particular care of \(v=0\), this corresponds to zero slope.&lt;/p&gt;
&lt;h3&gt;Absorbing boundary conditions&lt;/h3&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_absorbing_bc.png"&gt;
At an absorbing boundary, the density at the boundary has to equal zero (unless \(D\to 0\) at the boundary). The probability flux at the boundary is the rate of absorbtion.&lt;/p&gt;
&lt;h3&gt;The method of mirror sources&lt;/h3&gt;
&lt;p&gt;The Gaussian solution above extends to infinity.
In a bounded domain, we need a different solution!
One common strategy is to use the method of mirror sources. What this does is best appreciated in a picture:
&lt;img alt="gaussian" src="/teaching_images/diffusion_mirror_bc.png"&gt;
Consider a source at position \(x_0\) and an absorbing boundary at \(x=0\).
If we place a negative source at position \(x=-x_0\) and add those two contributions, the sum will go through zero at \(x=0\) as required.
This superposition of different solutions works because the diffusion equation is a linear equation.&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}\left[e^{-\frac{(x-x_0)^2}{4Dt}} - e^{-\frac{(x+x_0)^2}{4Dt}}\right]$$&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Calculate (evaluate) the rate at which probability is lost. What is the \(\int_0^\infty dx P(x,t)\)?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The same trick can be used for reflecting boundary conditions: The two contributions from \(x=x_0\) and \(x=-x_0\) need to be added rather than subtracted.&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}\left[e^{-\frac{(x-x_0)^2}{4Dt}} + e^{-\frac{(x+x_0)^2}{4Dt}}\right]$$&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Does this also work for \(v\neq 0\)?&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Estimating diffusion coefficiencts from FRAP experiments&lt;/h3&gt;
&lt;p&gt;Before we start with sophisticated calculations it is useful to develop some intuition for the problem&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we want to estimate \(D\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;somehow, a length scale and a time scale need to be involved&lt;/li&gt;
&lt;li&gt;the length scale available is the size of the bleached window \(w\)&lt;/li&gt;
&lt;li&gt;a plausible time scale would be the time to 50% recovery in the middle \(t_{1/2}\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hence we would expect that the diffusion coefficient is roughly \(D\sim w^2/4t_{1/2}\).&lt;/p&gt;
&lt;p&gt;Let's see how this simple reasoning compares to a more careful calculation.
To makes things simpler, assume that we have bleach everything to the right of \(x=0\) such that our initial condition reads&lt;/p&gt;
&lt;p&gt;$$
P(x,0) =
\cases{
c &amp;amp; x&amp;lt;0 \cr
0 &amp;amp; x&amp;gt;0
}
$$&lt;/p&gt;
&lt;p&gt;Since we don't have any boundary conditions in our simplified set-up, we can express the solution as a superposition of many initial point sources distributed along the axis for \(x&amp;lt;0\).&lt;/p&gt;
&lt;p&gt;$$P(x,t) = c \sum_{i} \frac{dx}{\sqrt{4\pi Dt}}e^{-\frac{(x+i dx)^2}{4Dt}}$$&lt;/p&gt;
&lt;p&gt;This is a spiky solution with spacing \(dx\), but we can take the continuum limit and send \(dx\) toward zero. In this case we get:&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{c}{\sqrt{4\pi Dt}} \int_{-\infty}^0 dx_0 e^{-\frac{(x - x_0 )^2}{4Dt}} =  \frac{c}{\sqrt{4\pi Dt}} \int_{-\infty}^{x} dx_0 e^{-\frac{x_0^2}{4Dt}}  = \frac{c}{2}\left[1 - \mathrm{erf}(x/\sqrt{4dt})\right]$$&lt;/p&gt;
&lt;p&gt;This distribution is pathological at \(t=0\) because of an infinitely steep jump at \(x=0\) but for any \(t&amp;gt;0\) is fine.&lt;/p&gt;
&lt;p&gt;In this example without any boundary conditions, the concentration will eventually settle at a uniform value if \(c/2\).
Hence we might want to ask when the concentration at \(x=d&amp;gt;0\) has reached \(c/4\).&lt;/p&gt;
&lt;p&gt;$$P(d,t_{1/2}) = \frac{c}{2}[1 - \mathrm{erf}(d/\sqrt{4Dt_{1/2}})] = \frac{c}{4}$$&lt;/p&gt;
&lt;p&gt;which requires \(\mathrm{erf}(d/\sqrt{4Dt_{1/2}}) = 1/2\) and we get&lt;/p&gt;
&lt;p&gt;$$D \approx 1.1\frac{d^2}{t_{1/2}}$$&lt;/p&gt;
&lt;p&gt;We see that our simple scaling argument got us pretty close to the correct answer.
The prefactor will differ for different geometries and initial conditions.&lt;/p&gt;
&lt;h3&gt;Typical diffusion coefficients&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;GFP in eukaryotic cells: \(\sim 25 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;GFP in prokaryotic cells: \(\sim 10 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;mRNA (actin in mouse): \(\sim 0.2 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H_2O}\) molecule in \(\mathrm{H_2O}\): \(\sim 2000 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H^+}\) molecule in \(\mathrm{H_2O}\): \(\sim 7000 \mu m^2/s\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;rarr; protein: \(\sim 10\mu  m^2/s\), small molecule: \(\sim 1000 \mu m^2/s\), big polymer: \(\sim 0.2 \mu m^2/s\).&lt;/p&gt;
&lt;h3&gt;How long does it take for a protein to diffuse a distance \(x\)?&lt;/h3&gt;
&lt;p&gt;The typical distance scale after a time \(t\) is&lt;/p&gt;
&lt;p&gt;$$ \Delta x = \sqrt{2Dt} \quad \Rightarrow \quad t = \frac{\Delta x^2}{2D}$$&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(\Delta x = 1\mu m\): \(t = 0.05s\) [across a bacterium]&lt;/li&gt;
&lt;li&gt;\(\Delta x = 10\mu m\): \(t = 5s\)   [across a eukaryotic cell]&lt;/li&gt;
&lt;li&gt;\(\Delta x = 1000\mu m\): \(t = 5000s=83m\)&lt;/li&gt;
&lt;li&gt;\(\Delta x = 1m\): \(t = 5\times 10^9s=160y\)   [along a peripheral axon]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;rarr; diffusion is fast on short distances, but completely inadequate on long distances.&lt;/p&gt;
&lt;h2&gt;&lt;a href="https://s3.eu-central-1.amazonaws.com/neherlab.org/teaching_notes/20180927_theoretical_biophysics_exercise.pdf"&gt;Assignments&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="diffusion"></category></entry><entry><title>The evolution of untreated HIV and maintenance of the latent reservoir</title><link href="/201809_PEI.html" rel="alternate"></link><published>2018-09-26T00:00:00+02:00</published><updated>2018-09-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-26:/201809_PEI.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="60%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Approximately neutral divergence -- silent mutations&lt;/h3&gt;
        &lt;img src="talk_images/HIV_neutral_divergence.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;In vivo mutation rate estimates&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_matrix_only.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=4&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:53%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Accurate frequency estimates by averaging many samples&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:19%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1300px"&gt;&lt;/object&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Blue: all mutations&lt;/li&gt;
            &lt;li&gt;Red: only mutations that don't change amino acids&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:12%; width: 75%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="100%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1100px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=700px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/nextstrain_screenshot.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Summary&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul style="width:70%"&gt;
            &lt;li&gt;Intra-host HIV evolution is governed by a universal fitness landscape, modulated by host-specific immune response&lt;/li&gt;
            &lt;li&gt;Landscape of fitness costs can be estimated from intra-host diversity&lt;/li&gt;
            &lt;li&gt;The latent HIV DNA reservoir turns over fast&lt;/li&gt;
            &lt;li&gt;No evidence for evolution under therapy&lt;/li&gt;
            &lt;li&gt;all data are available at &lt;a href="https://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h3&gt;Thank you for your attention!&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/tom_sibley.jpg" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:20%; width:60%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Amplification bias and template input&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;img src="/talk_images/overlap_illustration_no_data.png" width=100% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig_S2.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Frequency concordance in samples 4 weeks apart&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig9_S1.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness costs vs consensus amino acid&lt;/h3&gt;
    &lt;img src="talk_images/HIV_lethal_aminoacids.png"&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Kinetic Proofreading</title><link href="/20180924_computational_system_biology_hopfield.html" rel="alternate"></link><published>2018-09-24T00:00:00+02:00</published><updated>2018-09-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-24:/20180924_computational_system_biology_hopfield.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;Why be accurate?&lt;/h2&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Much of biology relies on error free synthesis of very long polymers (DNA, proteins)&lt;/li&gt;
        &lt;li&gt;If the per base/aa error rate is $\epsilon$, probability of an error free product is $e^{-\epsilon L}$&lt;/li&gt;
        &lt;li&gt;Error free replication of a bacterial chromosome ($10^7$ bases) requires error rates $\ll …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;Why be accurate?&lt;/h2&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Much of biology relies on error free synthesis of very long polymers (DNA, proteins)&lt;/li&gt;
        &lt;li&gt;If the per base/aa error rate is $\epsilon$, probability of an error free product is $e^{-\epsilon L}$&lt;/li&gt;
        &lt;li&gt;Error free replication of a bacterial chromosome ($10^7$ bases) requires error rates $\ll 10^{-7}$&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Error rates of genome replication&lt;/h3&gt;
    &lt;img src="/talk_images/Sanjuan_mutation_rates.jpg" width="900px"&gt;
    &lt;h5&gt;Sanjuan et al. 10.1126/science.1169202&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;div style="position: absolute; left:10%; width: 500px"&gt;
    &lt;img src="https://pni.princeton.edu/sites/default/files/styles/people_directory/public/images/faculty-details/john-hopfield.jpg" width="500px"&gt;
    John Hopfield&lt;br&gt; Princeton University
    &lt;/div&gt;
    &lt;div style="position: absolute; left:60%; width: 500px"&gt;
    &lt;img src="https://i1.rgstatic.net/ii/profile.image/AS%3A278593792954375%401443433344170_l/Jacques_Ninio.png" width="500px"&gt;
    Jaques Ninio&lt;br&gt; ENS Paris
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Self/non-self antigen discrimination by T-cells&lt;/h3&gt;
    &lt;div style="position: absolute; top:30%; left:10%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;T-cells scan MHC/peptide complexes for evidence infection.&lt;/li&gt;
            &lt;li&gt;Many self-antigens, few non-self.&lt;/li&gt;
            &lt;li&gt;Interactions energies are similar.&lt;/li&gt;
            &lt;li&gt;Need for rapid but accurate discrimination.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:20%; left:60%"&gt;
        &lt;img src="https://www.ebi.ac.uk/interpro/potm/2005_3/Page1_files/image006.gif" width=400px&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;span class="ref"&gt;T cell receptor binding to MHC-antigen complex. &lt;a href="http://users.rcn.com/jkimball.ma.ultranet/BiologyPages/"&gt;Courtesy of J. Kimball&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute; top:70%; left:20%; width:60%"&gt;
        &lt;h5&gt;T-cells are activated via a phosphorylation cascade that implements kinetic proof reading&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What limits accuracy?&lt;/h3&gt;
    &lt;div style="position: absolute; top:30%; left:10%"&gt;
    &lt;h4&gt;Michaelis-Menten reaction&lt;/h4&gt;
    $S + E \leftrightharpoons ES \rightarrow P + E $
    &lt;/div&gt;
    &lt;div style="position: absolute; top:20%; left:50%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Biochemical reactions typically go through intermediate states.&lt;/li&gt;
            &lt;li&gt;On rates are similar, limited by diffusion.&lt;/li&gt;
            &lt;li&gt;Discrimination is via the off-rates&lt;/li&gt;
            &lt;li&gt;Off-rates determine the life time of the intermediate.&lt;/li&gt;
            &lt;li&gt;Off-rates are determined by the free energy of the transition state&lt;/li&gt;
            &lt;li&gt;The ratio of off-rates is given by $e^{-\Delta G/kT}$. Lower limit for error rate!&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute; top:60%; left:30%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Typical energies of discrimination are low.&lt;/li&gt;
            &lt;li&gt;DNA base pairing/stacking energies $\sim 3kT$&lt;/li&gt;
            &lt;li&gt;Translation is based on mRNA/anti-codon interaction. Mismatches cost a few $kT$. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Using open data to track and predict infectious disease</title><link href="/201809_OpenCon.html" rel="alternate"></link><published>2018-09-21T00:00:00+02:00</published><updated>2018-09-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-21:/201809_OpenCon.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data owner &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;It took two years to have a detailed understanding of the outbreak. Why did this take …&lt;/h5&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;Data sharing in public health emergencies&lt;/h2&gt;
    &lt;h3&gt;data owner &amp;harr; public interest&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;It took two years to have a detailed understanding of the outbreak. Why did this take so long?&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sharing of Ebola virus sequences&lt;/h3&gt;
    &lt;div  style="position:absolute; top:17%; left:10%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24738640"&gt;Baize et al.:&lt;/a&gt; Samples collected in March 2014, sequences in GenBank within a month&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/25214632"&gt;Gire et al.:&lt;/a&gt; released data as it was generated &lt;/li&gt;
        &lt;li&gt;Followed by a long gap...&lt;/li&gt;
        &lt;li&gt;Early insights into transmission dynamics are important&lt;/li&gt;
        &lt;li&gt;Sharing has to be immediate -- not upon publication&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div  class="fragment"  style="position:absolute; top:15%; left:60%; width:20%"&gt;
    &lt;img src="/talk_images/ebola_data_gap.jpg"&gt;
    &lt;h5&gt;&lt;a href="http://www.nature.com/news/data-sharing-make-outbreak-research-open-access-1.16966"&gt;Yozwiak et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:41%; left:10%; width:37%"&gt;
    &lt;img src="/talk_images/quick_ebola_speed.png"&gt;
    &lt;h5&gt;&lt;a href="https://www.nature.com/articles/nature16996"&gt;Quick et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Recurring problem&lt;/h2&gt;
    &lt;ul&gt;
        &lt;!-- &lt;li&gt;Human genome sequencing data: Bermuda Principles&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;Clinical trials&lt;/li&gt; --&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2014- H7N9 influenza outbreak: Controversies about attribution and reuse &lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="fragment"&gt;
    &lt;h4&gt;Different disease -- different scientists and institutions.&lt;/h5&gt;
    &lt;h5&gt;&amp;rarr;Lessons need to be relearned.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_countries.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Privacy of study participants&lt;/li&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Building Trust&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Peter Bogner coordinated Influenza data sharing&lt;/li&gt;
        &lt;li&gt;Andrew Rambaut coordinated Ebola virus data sharing&lt;/li&gt;
        &lt;li&gt;During the EBV outbreak, WHO and journals explicitly encouraged data sharing&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;div style="position:absolute; top:10%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/zika_grubaugh.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22400.html"&gt; Grubaugh et al, samples from Florida&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:10%; left:55%; width:41%"&gt;
&lt;img src="/talk_images/zika_metsky.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22402.html"&gt;Metsky et al, sample from the Caribbean&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/nextstrain_screenshot.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Real-time influenza virus analysis with nextstrain&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:1%; width:55%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_tree.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:61%; width:40%; text-align: left"&gt;
    &lt;img class="plain" src="talk_images/flu_div_freq.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;nextstrain.org&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Global analysis provides context for new sequences&lt;/li&gt;
            &lt;li&gt;Once nextstrain became the largest collection of Ebola/Zika sequences, everybody wanted their sequences on nextstrain&lt;/li&gt;
            &lt;li&gt;We take care to highlight the scientists contributing data&lt;/li&gt;
            &lt;li&gt;Link to original source, rather than reshare&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://nextstrain.org/zika?f_authors=Metsky%20et%20al"&gt;nextstrain.org/zika?f_authors=Metsky et al&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="/talk_images/nextstrain_strain_info.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:5%; width:40%"&gt;
    &lt;h5&gt;Open source: &lt;a href="https://github.com/nextstrain"&gt;github.com/nextstrain&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/zika_metsky_filter.png"&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h2&gt;The role of journals in public health crisis&lt;/h2&gt;
    &lt;ul style="width:60%"&gt;
        &lt;li&gt;Need: explicit statement that data release doesn't prejudice against publication&lt;/li&gt;
        &lt;li&gt;Better: insist that data are released and analyses are shared as preprints (e.g. biorxiv)&lt;/li&gt;
        &lt;li&gt;Issue: researchers want to publish in "luxury" journals &lt;br&gt;&amp;rarr; cycle of review-rejection-revision causes delay
        &lt;li&gt;Journals dedicated to rapid processing of papers describing outbreaks (PLOS currents, Eurosurveillance)&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Summary and outlook&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:90%"&gt;
    &lt;font size=6&gt;
    &lt;ul style="width:100%"&gt;
        &lt;li&gt;In public health emergencies, immediate data sharing is imperative&lt;/li&gt;
        &lt;li&gt;Response has to be fast
            &lt;br&gt;&amp;rarr; pre-existing trusted framework to share data
            &lt;br&gt;&amp;rarr; rapid and readily deployable analysis tools
        &lt;/li&gt;
        &lt;li&gt;We need incentives for high quality data sets&lt;/li&gt;
        &lt;li&gt;We need better ways to credit data producers &lt;br&gt;&amp;rarr; data citations&lt;/li&gt;
        &lt;li&gt;Wider acceptance of preprints should help &lt;br&gt;&amp;rarr; establishes priority and a citation hook&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/tom_sibley.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/emma_hodcroft.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Tom Sibley&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:20%; width:60%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;&lt;a href="http://researchsymbionts.org/"&gt;Data symbiont award&lt;/a&gt;&lt;/h2&gt;
    &lt;img src="/images/team_pics/fabio_zanini2.jpg" height="300px"&gt;
    &lt;h4&gt;2017 awardee: Fabio Zanini&lt;/h4&gt;
    &lt;h4&gt;&lt;a href="https://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/h4&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>The relevant scales of cellular biophysics</title><link href="/20180920_theoretical_biophysics.html" rel="alternate"></link><published>2018-09-20T00:00:00+02:00</published><updated>2018-09-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-20:/20180920_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Thinking about cellular and biophysical processes is easier if one has a sense of the relevant scales. In fact, almost every statement about a quantity is only useful when compared to something else -- that is why we have units.
Our day to day units (meters, kilogram, etc) are tailored to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Thinking about cellular and biophysical processes is easier if one has a sense of the relevant scales. In fact, almost every statement about a quantity is only useful when compared to something else -- that is why we have units.
Our day to day units (meters, kilogram, etc) are tailored to the world we live in and don't mean much at the microscopic scale.
A very useful collection of important quantities is available at &lt;a href="http://book.bionumbers.org"&gt;bionumbers.org&lt;/a&gt; by Rob Phillips and Ron Milo.
Once we have identified the relevant scales and sizes, simple reasoning and comparing different scales can already give us quite detailed and robust insight into many cell biological properties.&lt;/p&gt;
&lt;h3&gt;How small are things?&lt;/h3&gt;
&lt;p&gt;The following table has (very) rough numbers for the different sizes involved&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(3\times 10^{-10}\)m (0.3nm): height of one DNA base pair&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-9}\)m (2nm): diameter of DNA, typical protein diameter&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-8}\)m (20nm): bacteria phage&lt;/li&gt;
&lt;li&gt;\(10^{-7}\)m (0.1um): animal virus&lt;/li&gt;
&lt;li&gt;\(10^{-6}\)m (1um): bacterial cell&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-6}\)m (2um): yeast cell nuclei&lt;/li&gt;
&lt;li&gt;\(10^{-5}\)m (10um): eukaryotic cell&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="length" src="/teaching_images/bionumbers/100-f1-LengthScalesGraphic-14.png"&gt;
The range of linear dimensions relevant in a cell from &lt;a href="http://book.bionumbers.org/wp-content/uploads/2014/07/100-f1-LengthScalesGraphic-14.png"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With this huge range of linear dimensions, volume and mass vary over a much larger range still.
It is useful to remember: One liter \(10^{-3}m^3\), one milliliter is a \(cm^3\) (the size of an eppendorf tube), one femto liter is \(\mu m^3\). One gram of water is roughly one ml.
Using the length above (there is obviously a lot of variation between types).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(10^{-20}\)l: volume of a bacteria phage&lt;/li&gt;
&lt;li&gt;\(10^{-15}\)l (1fl): volume of a bacterial cell&lt;/li&gt;
&lt;li&gt;\(10^{-12}\)g (1pg): weight of a bacterial cell&lt;/li&gt;
&lt;li&gt;\(10^{-12}\)l (1pl): volume of a eukaryotic cell&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Humans weigh roughly 100kg (100l volume) and most of "human stuff" is made from cells. Given they rough weight of a cell, we estimate \(10^{14}\) human cells in the human body.
The true number is closer to \(10^{13}\), but this discrepancy is within the accuracy of our calculation.
Furthermore, we immediately see that a comparable number of bacterial cells will contribute rather little to the total weight since the individual cell is 1000-fold lighter.&lt;/p&gt;
&lt;h3&gt;Typical genome sizes&lt;/h3&gt;
&lt;p&gt;Genome sizes vary enormously among species.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(3\times 10^{2}\)bp: viriods (two tweets)&lt;/li&gt;
&lt;li&gt;\(10^{4}\)bp: typical RNA viruses and phages (one page)&lt;/li&gt;
&lt;li&gt;\(10^{5}\)bp: animal DNA viruses (10 pages)&lt;/li&gt;
&lt;li&gt;\(10^{6}-10^{7}\)bp: bacterial genome (a serious book)&lt;/li&gt;
&lt;li&gt;\(3\times 10^{9}\)bp: human genome (one tength of all of English wikipedia)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Genome size among animals and plants correlates little with perceived complexity of the organism.&lt;/p&gt;
&lt;p&gt;&lt;img alt="genomesize" src="/teaching_images/bionumbers/502-f1-GenomeSizesRanges-1.png"&gt;
Illustration of the range of genome sizes from &lt;a href="http://bionumbers.org"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is instructive to compare cell dimensions versus the length of the DNA molecule that needs to fit inside:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(10^{-6}\)m (1um): length of a phage genome.&lt;/li&gt;
&lt;li&gt;\(10^{-3}\)m (1mm): length of the bacterial genome (\(3\times 10^9\) bases a 0.3nm each)&lt;/li&gt;
&lt;li&gt;\(1\)m (1m): length of the human genome (\(3\times 10^9\) bases a 0.3nm each)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We see that DNA is much longer than the containing cells.
An amusing litte calculation: if DNA from all \(10^{13}\) cells of a human body was strung together, it would cover the distance to the sun (\(1.5\times 10^{11}\)m) more than 100 fold (accounting for the diploid nature).&lt;/p&gt;
&lt;h3&gt;Concentrations and molecule counts&lt;/h3&gt;
&lt;p&gt;Concentrations are number of molecules per volume. There are typically measured as moles per liter, that is \(6\times 10^{23}\) molecules per \(10^{-3}m^{3}\).
For our purposes, it is useful to express this as number of molecules per femtoliter or \(\mu m^3\): 1M=\(6\times 10^{23}/10^{15}\mu m^3 = 6\times 10^{8}/\mu m^3\)
Hence one nM corresponds to roughly one molecule per bacterium, pM to one molecule per eukaryotic cell.
The small volume of cells and nuclei there for means than many proteins are only present in small numbers. Hence their individual behavior and the associated stochasticity can be very important.
When thinking about rare molecules, for example signaling molecules, numbers are a better guide than concentrations.
If you have a binding partner with an affinities below these numbers, it will suck up every single molecule in the cell!&lt;/p&gt;
&lt;p&gt;&lt;img alt="conc" src="/teaching_images/bionumbers/200-f1-ConcentrationAxis-11.png"&gt;
Illustration of the range of concentrations from &lt;a href="http://bionumbers.org"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Forces and energies&lt;/h3&gt;
&lt;p&gt;So far, we have looked at dimensions and the objects involved could have been dead or alive.
Lets now turn to the energies, power, and forces.
From our daily live, we are used to power of about 100W. This would be your standard (old fashioned) light bulb or the typical power of the human body.
Energy is stored in batteries, reservoirs, or petrol.
In cells, the energy currencies are very different.
The ultimate source of energy (free energy, really) is the sun.
It emits black body radiation at a temperature of 5800K which corresponds to an emission maximum at a wavelength of 550nm in the visible range.
A single photon with wavelength \( \lambda = 500nm\) has the following energy:&lt;/p&gt;
&lt;p&gt;$$E = \frac{hc}{\lambda}\approx \frac{1.24 eV\mu m}{\lambda}\approx 2.5eV$$&lt;/p&gt;
&lt;p&gt;Electron volt (eV) is a typical unit of energy used in physics corresponding to the energy required to move one election one Volt up in an electric potential.
Chemists like to measure energy in \(kJ/mol\) or \(kcal/mol\), but in a biological system, different energy units are often more convenient.
The most important energy scales in biological systems are the thermal energy kT and the energy released when hydrolyzing ATP to ADP.
The scale kT is important since process that operate on the scale of kT or below happen spontaneously and reversibly.
Hence it is always important consider an energy difference in relation to kT&lt;/p&gt;
&lt;p&gt;$$kT \approx 0.025eV \approx 0.6 kcal/mol \approx 2.5 kJ/mol \approx 4pN \times nm$$&lt;/p&gt;
&lt;p&gt;One visible photon is therefore about 80kT and it is plausible that individuals visible photons can drive biological processes.
The dominent energy currency of the cell is ATP which is hydrolyzed to ADP&lt;/p&gt;
&lt;p&gt;$$ATP + H_2O \rightarrow ADP + P_i \quad -30 kJ/mol \approx -12kT$$&lt;/p&gt;
&lt;p&gt;Again, one ATP hydrolysis is above the thermal energy scale, but not all that far away.
In practice, the amount of energy released in ATP hydrolysis can vary by a factor of two depending on Mg\({}^{2+}\) concentration and the concentrations of ATP and ADP.&lt;/p&gt;
&lt;p&gt;&lt;img alt="forces" src="/teaching_images/bionumbers/300-f1-EnergyAxis-11.png"&gt;
A handy overview of energy scales from &lt;a href="http://book.bionumbers.org/"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Estimating stuff&lt;/h2&gt;
&lt;h3&gt;Molecular motors&lt;/h3&gt;
&lt;p&gt;Cells have molecular motors that they use to move things around, drive cilia and flagella, or open up the DNA double strand.
Most of these hydrolyze ATP, one molecule at a time.
Some of these motors (kinesin and dynein) move in steps along filaments.
These steps are on the order of 10nm.
Assuming the energy of one ATP hydrolysis is converted with 100% efficiency into mechanical energy, we expect a maximum force (stall force) of&lt;/p&gt;
&lt;p&gt;$$ \frac{12kT}{10nm} \approx \frac{48pN nM}{10nm} \approx 5pN $$&lt;/p&gt;
&lt;p&gt;This estimate is surprisingly accurate -- most "walking" molecular motors have &lt;a href="http://bionumbers.hms.harvard.edu/bionumber.aspx?&amp;amp;id=112209&amp;amp;ver=1&amp;amp;trm=stall%20force"&gt;stall forces in this range&lt;/a&gt;.
We will explore in the coming weeks what this implies for speed and maximal cargo size.&lt;/p&gt;
&lt;h3&gt;Genome replication&lt;/h3&gt;
&lt;p&gt;If a genome has a single origin of replication, the rate of genome replication \(\kappa\), genome size \(L\), and division time \(\tau\) are naively related by&lt;/p&gt;
&lt;p&gt;$$ \kappa = \frac{L}{\tau} = \frac{5\times 10^{6}}{2500s} \approx 2\times 10^3/s $$&lt;/p&gt;
&lt;p&gt;where we have used a typical bacterial genome size of 5Mb and a division time of 40min.
2000 bases per second is not far off, but probably a factor of 5 too high.
Furthermore, E.coli can divide in 20min rather than 40min.
The discrepancy can resolved by observing that (i) replication proceeds via two replication forks, and (ii) the next replication is started before the first one is complete.&lt;/p&gt;
&lt;p&gt;Eukaryotic replication machinery is no faster than the prokaryotic ones, but the genomes are 1000 fold larger.
To replicate their genomes in reasonable time eukaryotic genomes have 1000s of origins of replication.&lt;/p&gt;
&lt;h3&gt;The number of ribosomes&lt;/h3&gt;
&lt;p&gt;In an exponentially growing bacterial culture, biomass doubles once every division time.
About one fourth of the cell mass is protein, which comes down to&lt;/p&gt;
&lt;p&gt;$$ N_{aa} = 0.25 \times 10^{-12} g/cell \times 6\times 10^{23} \frac{Da}{g} / 100 \frac{aa}{Da} \approx 10^9 aa/cell $$&lt;/p&gt;
&lt;p&gt;amino acids per cell that need to be synthesized every 20min and incorporated in to peptides.
Peptide synthesis rate of 10aa/s, a single ribosome can process about \(10^4\) amino acids per cell cycle, suggesting the cell needs at about \(10^5\) ribosomes.
This is roughly what is measured. Again, &lt;a href="http://book.bionumbers.org/how-many-ribosomes-are-in-a-cell/"&gt;bionumbers.org&lt;/a&gt; has a very nice description of this problem.
Importantly, this quick calculation tells us that ribosomes make up a substantial fraction of the total cell proteome (they certainly dominate the RNA pool).&lt;/p&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;collect 10 different entities (viruses, bacteria, spores, cell types) and calculate the fraction of the cell/organelle that is DNA&lt;/li&gt;
&lt;li&gt;How do you expect the ribosome fraction to vary with growth rate?&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="scales"></category></entry><entry><title>Efficient estimation of evolutionary rates by covariance aware regression</title><link href="/neher_efficient_2018.html" rel="alternate"></link><published>2018-09-04T00:00:00+02:00</published><updated>2018-09-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-09-04:/neher_efficient_2018.html</id><summary type="html">&lt;p&gt;Shared ancestry among individuals results in correlated traits and these dependencies need to be accounted for in probabilistic inference. In strictly asexual populations, the covariances have a particularly simple block-like structure imposed by the phylogenetic tree. Ho and Ane showed how this block-like structure can be exploited to efficiently invert …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Shared ancestry among individuals results in correlated traits and these dependencies need to be accounted for in probabilistic inference. In strictly asexual populations, the covariances have a particularly simple block-like structure imposed by the phylogenetic tree. Ho and Ane showed how this block-like structure can be exploited to efficiently invert covariance matrices and fit linear models on trees in linear time. In this short note, I use these methods to estimate evolutionary rates and to find the root of the tree that optimizes the time-divergence relationship. The algorithm is implemented in TreeTime and can be used to estimate evolutionary rates and their confidence intervals with computational cost scaling linearly in the number of tips.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Colistin susceptibility test evaluation of multiple-resistance-level Pseudomonas aeruginosa isolates generated in a morbidostat device</title><link href="/javed_colistin_2018.html" rel="alternate"></link><published>2018-08-28T00:00:00+02:00</published><updated>2018-08-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-08-28:/javed_colistin_2018.html</id><content type="html">&lt;p&gt;AbstractObjectives.  Colistin is a last-resort antibiotic against the critical-status pathogen Pseudomonas aeruginosa. There is still uncertainty regarding how&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Eric Ulrich</title><link href="/eric-ulrich.html" rel="alternate"></link><published>2018-08-01T00:00:00+02:00</published><updated>2018-08-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-08-01:/eric-ulrich.html</id><content type="html"></content><category term="team"></category></entry><entry><title>RNA virus evolution and the predictability of next year's flu</title><link href="/201807_BZRS.html" rel="alternate"></link><published>2018-07-31T00:00:00+02:00</published><updated>2018-07-31T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-07-31:/201807_BZRS.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.basel.ch"&gt;hiv.biozentrum.basel.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution in different parts of the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Influenza A/H3N2 virus evolution&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;font size=5&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowlegdements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:35%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_int"></category></entry><entry><title>The evolutionary dynamics of untreated HIV and the maintenance of the latent reservoir</title><link href="/201807_SMBE.html" rel="alternate"></link><published>2018-07-11T00:00:00+02:00</published><updated>2018-07-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-07-11:/201807_SMBE.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Emergence of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Emergence of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time course of an HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:10%; top:15%; width: 80%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:8%; width: 65%"&gt;
    &lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV replication cycle&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:15%; width: 90%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 diversification within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:52%; width:45%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:-5%; width:110%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Amplification bias and template input&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;img src="/talk_images/overlap_illustration_no_data.png" width=100% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig_S2.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Frequency concordance in samples 4 weeks apart&lt;/h3&gt;
    &lt;!-- &lt;img src="/talk_images/overlap_illustration.svg" width=70% class="plain"&gt; --&gt;
    &lt;img src="/talk_images/HIV_Zanini_variant_frequencies_Fig9_S1.jpg" width=900px class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Approximately neutral divergence&lt;/h3&gt;
        &lt;img src="talk_images/HIV_neutral_divergence.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;In vivo mutation rate estimates&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_matrix_only.svg" width=90% class=plain&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Divergence at increasingly conserved positions&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:2%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="100%"&gt;
    &lt;font size=4&gt;
        &lt;ul&gt;
            &lt;li&gt;Six categories from high to low conservation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:53%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul  class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Fit model of minor variation to categories of conservation&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Site-specific fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:19%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:35%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1000px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1000px"&gt;&lt;/object&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Blue: all mutations&lt;/li&gt;
            &lt;li&gt;Red: only mutations that don't change amino acids&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness costs vs consensus amino acid&lt;/h3&gt;
    &lt;img src="talk_images/HIV_lethal_aminoacids.png"&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="100%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=900px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=350px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Summary&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul style="width:70%"&gt;
            &lt;li&gt;Intra-host HIV evolution is governed by a universal fitness landscape, modulated by host-specific immune response&lt;/li&gt;
            &lt;li&gt;Landscape of fitness costs can be estimated from intra-host diversity&lt;/li&gt;
            &lt;li&gt;The latent HIV DNA reservoir turns over fast&lt;/li&gt;
            &lt;li&gt;No evidence for evolution under therapy&lt;/li&gt;
            &lt;li&gt;all data are available at &lt;a href="https://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h3&gt;Thank you for your attention!&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=300px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Arabidopsis thaliana and Pseudomonas Pathogens Exhibit Stable Associations over Evolutionary Timescales</title><link href="/karasov_arabidopsis_2018.html" rel="alternate"></link><published>2018-07-11T00:00:00+02:00</published><updated>2018-07-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-07-11:/karasov_arabidopsis_2018.html</id><content type="html"></content><category term="publication"></category></entry><entry><title>Real-time phylodynamics with nextflu and nextstrain</title><link href="/201806_BSSE.html" rel="alternate"></link><published>2018-06-12T00:00:00+02:00</published><updated>2018-06-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-06-12:/201806_BSSE.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How this all started...&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 30%"&gt;
        &lt;img src="talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:25%"&gt;
        &lt;div style="display:inline"&gt;
&lt;!--            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=250px&gt;
 --&gt;            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:15%; width: 60%"&gt;
        &lt;img src="talk_images/kitp.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;.... population genetics of rapid adaptation and predicting flu&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 30%"&gt;
        &lt;img src="talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:50%; width:45%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:15%; width: 60%"&gt;
        &lt;img src="talk_images/kitp.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How this all started...&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 30%"&gt;
        &lt;img src="talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:25%"&gt;
        &lt;div style="display:inline"&gt;
&lt;!--            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=250px&gt;
 --&gt;            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:15%; width: 60%"&gt;
        &lt;img src="talk_images/kitp.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;.... population genetics of rapid adaptation and predicting flu&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:15%; width: 30%"&gt;
        &lt;img src="talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:50%; width:45%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=250px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=250px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:15%; width: 60%"&gt;
        &lt;img src="talk_images/kitp.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
        &lt;small&gt;
            $$\partial_t g( x,t'|y, t) = [y - 2\phi_{\omega} (y,t)] g(x,t'| y,t)-\sigma^2 \partial_yg( x,t'| y, t) +D \partial_y^2 g( x,t'|y,t)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org/flu&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt; --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;desired features:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;ancestral sequences&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating phenotype and genotype data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowlegdements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:35%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sanda Dejanic&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Microbial evolution</title><link href="/201806_Paros.html" rel="alternate"></link><published>2018-06-06T00:00:00+02:00</published><updated>2018-06-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-06-06:/201806_Paros.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007 …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="100%"&gt;&lt;/img&gt;
    &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago? &lt;br&gt;
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
            &lt;li&gt;
                All other merger rates are also consistent with the Bolthausen-Sznitman coalescent:&lt;br&gt; $\quad\lambda_{b,k} = \frac{(k-2)!(b-k)!}{T_c (b-1)!}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:5%; width:90%"&gt;
        &lt;img src="talk_images/H3N2_2017_prediction.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h5&gt;but...&lt;/h5&gt;
        &lt;ul&gt;
            &lt;li&gt;HI titers are a crude proxy for selection in humans&lt;/li&gt;
            &lt;li&gt;need human serology + infection history&lt;/li&gt;
            &lt;li&gt;better coverage where most of influenza infections happen&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h3 class="slidetitle"&gt;Lots of reassortement&lt;/h3&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:12%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/flu_tanglegram_small.png" width=100%&gt;
        &lt;h5&gt;next to no idea what mutations in segments other than HA do...&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What about bacteria?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;NGS genomes tend to be fragmented&lt;/li&gt;
            &lt;li&gt;very little understanding of relevant phenotypes&lt;/li&gt;
            &lt;li&gt;what are the relevant spatial and temporal scales?&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Bacteria: Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Structural variation&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:8%; width:45%; text-align:left"&gt;
    &lt;img src="/talk_images/panX_gene_presence_absence.png" height="700px"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:50%; width:45%; text-align:left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;closely related strains differ in dozens to hundreds of genes&lt;/li&gt;
            &lt;li&gt;frequent rearrangements/loss of synteny&lt;/li&gt;
            &lt;li&gt;often multiple plasmids from a few to several 100 thousand bases&lt;/li&gt;
            &lt;li&gt;recombination necessary for genome maintainance and segregation&lt;/li&gt;
            &lt;li&gt;most evolutionary analyses look for SNPs in a "core genome"&lt;/li&gt;
            &lt;li&gt;but the action is somewhere else...&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Genome assembly with short reads&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MiSeq.png" height=400px&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;10s of millions of short reads (&lt;500bp)&lt;/li&gt;
                &lt;li&gt;Too short to bridge repetitive elements&lt;/li&gt;
                &lt;li&gt;&amp;rarr; assemblies are fragmented into 100s of "contigs"&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/bad_assembly_graph_rrwick.png" height=500px&gt;
        &lt;h4&gt;(really terrible example)&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images: illumina.com, github.com/rrwick&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:10%"&gt;
            &lt;img class="plain" src="/images/team_pics/nicholas_noll.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_small.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_Boris_desk.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/canu_to_spades.png" height=600px&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Ancestral recombination graphs&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:17%; width:65%"&gt;
        &lt;img src="talk_images/bacterial_ARG_sketch.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div  style="position:absolute; top:70%; left:17%; width:65%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;find orthologous clusters &amp;rarr; use as seeds for local alignments&lt;/li&gt;
                &lt;li&gt;stitch together into a larger graph&lt;/li&gt;
                &lt;li&gt;identify synteny blocks, recombination hotspots, across species transfers...&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Another global experiment...&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:17%; width:75%"&gt;
        &lt;img src="talk_images/pray_antibiotic_resistance_emergence.png" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sequencing of Carbapenem resistant bacteria&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:17%; width:75%; text-align:left"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Global spread over the last 30 years&lt;/li&gt;
                &lt;li&gt;multiple carbapenemases&lt;/li&gt;
                &lt;li&gt;chromosomal and plasmid mediated&lt;/li&gt;
                &lt;li&gt;resistance stacking: plasmids or integrons loaded with lots of resistance genes&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h5&gt;Questions:&lt;/h5&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;What are the right questions?&lt;/li&gt;
                &lt;li&gt;Gene or genome?&lt;/li&gt;
                &lt;li&gt;What are the assembly rules?&lt;/li&gt;
                &lt;li&gt;Species boundaries? Or geography/treatment regimens?&lt;/li&gt;
                &lt;li&gt;How does this translate to multispecies environments?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Microbial evolution</title><link href="/201806_Paros_lightning.html" rel="alternate"></link><published>2018-06-06T00:00:00+02:00</published><updated>2018-06-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-06-06:/201806_Paros_lightning.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Within-patient HIV-1 evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:35%; width:60%"&gt;
        &lt;img src="talk_images/reservoir_study_design.png" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:36%; width:30%"&gt;
        &lt;h5&gt;Mutation dynamics&lt;/h5&gt;
        &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:68%; width:30%"&gt;
        &lt;h5&gt;Fitness landscapes&lt;/h5&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:4%; width:35%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;accurate frequency data across the entire genome&lt;/li&gt;
                &lt;li&gt;replicating virus and integrated reservoir&lt;/li&gt;
                &lt;li&gt;substantial reversion towards consensus&lt;/li&gt;
                &lt;li&gt;&amp;rarr; core fitness landscape&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus evolution&lt;/h3&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:35%"&gt;
        &lt;img src="talk_images/flu_genome.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:40%; width:60%"&gt;
        &lt;h5&gt;Lost of reassortment&lt;/h5&gt;
        &lt;img src="talk_images/flu_tanglegram_small.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:5%; width:35%"&gt;
        &lt;h5&gt;Crude antigenic assays&lt;/h5&gt;
        &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:40%; width:55%"&gt;
        &lt;h5&gt;Challenge: accurate prediction which strain will dominate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h1&gt;What about bacteria?&lt;/h1&gt;
    &lt;h3&gt;what are the evolutionary units …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Within-patient HIV-1 evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:30%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:35%; width:60%"&gt;
        &lt;img src="talk_images/reservoir_study_design.png" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:36%; width:30%"&gt;
        &lt;h5&gt;Mutation dynamics&lt;/h5&gt;
        &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:5%; left:68%; width:30%"&gt;
        &lt;h5&gt;Fitness landscapes&lt;/h5&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:4%; width:35%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;accurate frequency data across the entire genome&lt;/li&gt;
                &lt;li&gt;replicating virus and integrated reservoir&lt;/li&gt;
                &lt;li&gt;substantial reversion towards consensus&lt;/li&gt;
                &lt;li&gt;&amp;rarr; core fitness landscape&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus evolution&lt;/h3&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:35%"&gt;
        &lt;img src="talk_images/flu_genome.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:40%; width:60%"&gt;
        &lt;h5&gt;Lost of reassortment&lt;/h5&gt;
        &lt;img src="talk_images/flu_tanglegram_small.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:5%; width:35%"&gt;
        &lt;h5&gt;Crude antigenic assays&lt;/h5&gt;
        &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:40%; width:55%"&gt;
        &lt;h5&gt;Challenge: accurate prediction which strain will dominate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h1&gt;What about bacteria?&lt;/h1&gt;
    &lt;h3&gt;what are the evolutionary units?&lt;/h3&gt;
    &lt;h3&gt;what are the constraints on DNA exchange?&lt;/h3&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Nextstrain: real-time tracking of pathogen evolution</title><link href="/hadfield_nextstrain:_2018.html" rel="alternate"></link><published>2018-05-26T00:00:00+02:00</published><updated>2018-05-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-05-26:/hadfield_nextstrain:_2018.html</id><content type="html">&lt;p&gt;AbstractSummary.  Understanding the spread and evolution of pathogens is important for effective public health measures and surveillance. Nextstrain consists of&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Learning about evolution from pathogen sequence data</title><link href="/201805_InHouse.html" rel="alternate"></link><published>2018-05-18T00:00:00+02:00</published><updated>2018-05-18T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-05-18:/201805_InHouse.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:50%; text-align: left;"&gt;
        &lt;h3&gt;A quantitative understanding of evolution?&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;What are the relevant parameters?&lt;br&gt; (population size, mutation rates etc)&lt;/li&gt;
                &lt;li&gt;How do the dynamics depend on parameters?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:55%; left:50%; width:50%; text-align: left;"&gt;
        &lt;h3&gt;Challenges&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Most data are static snap shots.&lt;/li&gt;
                &lt;li&gt;Genotype-phenotype map is largely unknown.&lt;/li&gt;
                &lt;li&gt;Ecology …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:50%; text-align: left;"&gt;
        &lt;h3&gt;A quantitative understanding of evolution?&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;What are the relevant parameters?&lt;br&gt; (population size, mutation rates etc)&lt;/li&gt;
                &lt;li&gt;How do the dynamics depend on parameters?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:55%; left:50%; width:50%; text-align: left;"&gt;
        &lt;h3&gt;Challenges&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Most data are static snap shots.&lt;/li&gt;
                &lt;li&gt;Genotype-phenotype map is largely unknown.&lt;/li&gt;
                &lt;li&gt;Ecology and environments are complex and variable.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Experimental evolution -- Lenski experiment&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:8%; width: 33%; text-align: left;"&gt;
        &lt;img src="/talk_images/LTEE_Timeline.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/lenski_LTEE_picture.png" width="60%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/University_of_Queensland_Pitch_drop_experiment.jpg" width="60%"&gt;
        &lt;font size=5&gt;Experiment started 1927, one drop every 10 years. wikipedia.org&lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/Lenski_Desai_trajectories.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Rich Lenski, Ben Good, Michael Desai et al&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div style="position:absolute; top:7%; left:20%; width:40%; text-align: left"&gt;
            &lt;h3&gt;Influenza A/H3N2&lt;/h3&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rapidly evolving RNA viruses -- HIV&lt;/h3&gt;
    &lt;div class="current-visible" style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:50%;"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="98%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Richman et al, 2003.&lt;/span&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:23%; width:54%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="100%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:8%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.basel.ch"&gt;hiv.biozentrum.basel.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and rates of change&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Estimating the date of infection from diversity data&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:8%"&gt;
            &lt;img class="plain" src="/images/team_pics/vadim_puller.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/Puller_2017_diversity_by_codon_pos.png"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;diversity at 3rd positions increases almost linearly in time&lt;/li&gt;
                &lt;li&gt;can be used to predict date of infection&lt;/li&gt;
                &lt;li&gt;critical to estimate incidence&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/Puller_2017_outliers.png" width="70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Multiple founder viruses cause over estimation&lt;/li&gt;
                &lt;li&gt;Degraded samples cause under estimation&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="puller_estimating_2017.html"&gt;Puller et al, PLoS Comp  Bio, 2017&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:15%"&gt;
            &lt;img class="plain" src="/images/team_pics/vadim_puller.png" width="48%"&gt;
            &lt;img class="plain" src="/images/team_pics/fabio_zanini.png" width="48%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="90%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div &gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;red: mutations that don't change protein sequence&lt;/li&gt;
            &lt;li&gt;blue: all mutations &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt; &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Influenza A/H3N2 virus evolution&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/wei_ding.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;What about more complicated things than viruses?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img class="plain" src="talk_images/MDR_TB_worldwide.jpg" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextTB: real-time molecular epidemiology of TB&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:8%"&gt;
            &lt;img class="plain" src="/images/team_pics/emma_hodcroft.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/TB_nunavik_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:48%"&gt;
        &lt;img class="plain" src="talk_images/TB_nunavik_map.png"  width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:20%; width:60%"&gt;
        &lt;h4&gt;Collaboration with Sebastian Gagneux and colleages at the STPH&lt;/h4&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;10s of thousand MTB genomes have been sequenced&lt;/li&gt;
                &lt;li&gt;Elucidate transmission routes at the local and global level&lt;/li&gt;
                &lt;li&gt;Integrate with drug resistance data&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Pan-genomes of bacteria&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;gene gain and loss&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;variation of divergence along the genome&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="http://pangenome.de"&gt;pangenome.ch&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Genome assembly with short reads&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MiSeq.png" height=400px&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;10s of millions of short reads (&lt;500bp)&lt;/li&gt;
                &lt;li&gt;Too short to bridge repetitive elements&lt;/li&gt;
                &lt;li&gt;&amp;rarr; assemblies are fragmented into 100s of "contigs"&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/bad_assembly_graph_rrwick.png" height=500px&gt;
        &lt;h4&gt;(really terrible example)&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images: illumina.com, github.com/rrwick&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Long-read sequencing&lt;/h3&gt;
    &lt;div style="position:absolute; top:2%; right:2%; width:10%"&gt;
            &lt;img class="plain" src="/images/team_pics/nicholas_noll.jpg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_small.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/MinION_Boris_desk.jpg" height=700px&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/canu_to_spades.png" height=600px&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgements&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%; text-align: left;"&gt;
        &lt;font size=5&gt;
        &lt;h4&gt;Group&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Fabio Zanini&lt;/li&gt;
            &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
            &lt;li&gt;Vadim Puller&lt;/li&gt;
            &lt;li&gt;Wei Ding&lt;/li&gt;
            &lt;li&gt;Sanda Dejanic&lt;/li&gt;
            &lt;li&gt;Emma Hodcroft&lt;/li&gt;
            &lt;li&gt;Nicholas Noll&lt;/li&gt;
            &lt;li&gt;Eric Ulrich&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h4&gt;Karolinska Institute&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Jan Albert&lt;/li&gt;
            &lt;li&gt;Lina Thebo&lt;/li&gt;
            &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:35%; width:30%; text-align: left;"&gt;
        &lt;font size=5&gt;
        &lt;h4&gt;FHCRC&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Trevor Bedford&lt;/li&gt;
            &lt;li&gt;James Hadfield&lt;/li&gt;
            &lt;li&gt;Sidney Bell&lt;/li&gt;
            &lt;li&gt;Colin Megill&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h4&gt;Swiss TPH&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Sebastian Gagneux&lt;/li&gt;
            &lt;li&gt;Chloé Loiseau &lt;/li&gt;
            &lt;li&gt;Fabrizio Menardo&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;h4&gt;USB&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Adrian Egli&lt;/li&gt;
            &lt;li&gt;Daniela Lang&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:65%; width:30%; text-align: left;"&gt;
        &lt;font size=5&gt;
        &lt;h4&gt;BZ&lt;/h4&gt;
        &lt;ul&gt;
            &lt;li&gt;Leo Faletti&lt;/li&gt;
            &lt;li&gt;sciCore&lt;/li&gt;
            &lt;li&gt;workshops&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;ul&gt;
            &lt;li&gt;Boris Shraiman (UCSB)&lt;/li&gt;
            &lt;li&gt;Colin Russell (AMC)&lt;/li&gt;
            &lt;li&gt;Oskar Hallatschek (UCB)&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Ist die Evolution von Grippeviren vorhersehbar?</title><link href="/201804_NaturforschendeGesellschaft.html" rel="alternate"></link><published>2018-04-23T00:00:00+02:00</published><updated>2018-04-23T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-04-23:/201804_NaturforschendeGesellschaft.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Verschiedene Viren&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Verschiedene Viren&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
                &lt;li&gt;zwei Linien die sich vor 30-40 Jahren geteilt haben&lt;/li&gt;
                &lt;li&gt;B/Victoria und B/Yamagata&lt;/li&gt;
                &lt;li&gt;nur eine Variante ist in der tri-valenten Impfung enthalten&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza A Viren des Menschen&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Wöchentliche Grippe-Fallzahlen in den USA&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genom-Sequenzen verraten die Ausbreitung und Evolution des Virus&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;T&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTAT&lt;span style="color:red;"&gt;C&lt;/span&gt;ATTGCTTT...&lt;br&gt;&lt;br&gt;
... Tausende Sequenzen mehr...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetische Analyse von Virus-Genomen&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA Viren haben hohe Mutationsraten. Ein Genom mutiert all paar Wochen.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:18%; width:30%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza Viren verändern sich und weichen so dem Immunsystem aus.&lt;/li&gt;
                &lt;li&gt;Impfstoffe müssen laufend aktualisiert werden&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Ist Evolution von Grippe vorhersehbar?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:28%; left:40%; width:50%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Extrapolation&lt;/li&gt;
            &lt;li&gt;Vorhersagen durch Vergleich mit historischen Mustern&lt;/li&gt;
            &lt;li&gt;Erfolgreiche Varianten anhand des Verzweigungsmuster detektieren&lt;/li&gt;
            &lt;li&gt;Antigenische Eigenschaften zirkulierender Viren&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Modell einer evolvierenden Influenza Virus Population&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness Inferenz anhand des Baums&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vorhersage der dominierenden H3N2 Influenza Variante &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Nicht Grippe-spezifisch&lt;/li&gt;
        &lt;li&gt;Wie kann das Model weiter verbessert werden? (siehe z.B. das Model von Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;Anwendbarkeit in anderen Zusammenhängen?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Zusammenfassung&lt;/h2&gt;
    &lt;div style="position:absolute; left:20%; width: 60%;"&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA Viren evolvieren schnell&lt;/li&gt;
        &lt;li&gt;Das Virusgenom verändert sich alle paar Wochen&lt;/li&gt;
        &lt;li&gt;Aus Genomsequenzen kann Dynamik und Ausbreitung des Virus rekonstruiert werden &lt;/li&gt;
        &lt;li&gt;Algorithm können vorhersagen, welche Grippe-Varianten nächste Saison dominiert&lt;/li&gt;
        &lt;li&gt;Automatische real-time Analyse kann helfen Ausbrüche einzudämmen&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Gemeinsame Arbeit mit....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Mugration models and homoplasy analysis in TreeTime</title><link href="/201804_treetime.html" rel="alternate"></link><published>2018-04-19T00:00:00+02:00</published><updated>2018-04-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-04-19:/201804_treetime.html</id><summary type="html">&lt;p&gt;We just pushed a new TreeTime release.
In addition to all sorts of little fixes, we added two new command-line scripts that use TreeTime's discrete ancestral state reconstruction to gather statistics about homoplasies (recurrent parallel mutations) and to infer ancestral states for characters like geographic location, host, or similar.
We …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We just pushed a new TreeTime release.
In addition to all sorts of little fixes, we added two new command-line scripts that use TreeTime's discrete ancestral state reconstruction to gather statistics about homoplasies (recurrent parallel mutations) and to infer ancestral states for characters like geographic location, host, or similar.
We hope they are useful, let us know if you have comments/questions.&lt;/p&gt;
&lt;p&gt;In additition, the command-line scripts are now installed via the &lt;code&gt;setup.py&lt;/code&gt; script and are available system wide.&lt;/p&gt;
&lt;h2&gt;homoplasy_scanner.py&lt;/h2&gt;
&lt;p&gt;Homoplasies are common if the same mutations are selected independently in many lineages, for example resistance mutations under treatment or cell-culture adaptation.
Homoplasies are also observed if the sequences used to build a tree underwent recombination or if there was contamination during sample prep and sequencing.&lt;/p&gt;
&lt;p&gt;After joint reconstruction of ancestral states, it is straight forward to gather statistics on how often a particular site mutates and how often it hits a particular state.
The &lt;code&gt;homoplasy_scanner.py&lt;/code&gt; does exactly that.
You would call is as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;:\&amp;gt;homoplasy_scanner.py --aln flu_alignment.fasta --tree flu_tree.nwk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;(it will attempt to build a tree if none is provided, but this will require a working installation of &lt;code&gt;fasttree&lt;/code&gt;, &lt;code&gt;iqtree&lt;/code&gt; or &lt;code&gt;raxml&lt;/code&gt;).
When run on a sample of ~500 recent H3N2 sequences, we get the following output (input files: &lt;a href="/static/flu_alignment.fasta"&gt;&lt;code&gt;flu_alignment.fasta.gz&lt;/code&gt;&lt;/a&gt;(please unpack) and &lt;a href="/static/flu_tree.nwk"&gt;&lt;code&gt;flu_tree.nwk&lt;/code&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;h4&gt;How many mutations are observed once, twice, etc...&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nx"&gt;The&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;TOTAL&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m m-Double"&gt;1.438&lt;/span&gt;&lt;span class="nx"&gt;e&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;00&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;expecting&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m m-Double"&gt;2465.1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;mutations&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;vs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;an&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;observed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2396&lt;/span&gt;
&lt;span class="nx"&gt;Of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;these&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2396&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;mutations&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;633&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;occur&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;times&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;196&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;occur&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;times&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;86&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;occur&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;times&lt;/span&gt;
&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h4&gt;How many positions were hit once, twice, etc...&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Of the 1736 positions in the genome,
   - 942 were hit 0 times (expected 436.66)
   - 329 were hit 1 times (expected 602.67)
   - 188 were hit 2 times (expected 415.90)
   - 80 were hit 3 times (expected 191.34)
   - 49 were hit 4 times (expected 66.02)
   - 34 were hit 5 times (expected 18.22)
   - 21 were hit 6 times (expected 4.19)
   - 24 were hit 7 times (expected 0.83)
     :
   - 1 were hit 22 times (expected 0.00)
   - 2 were hit 23 times (expected 0.00)
   - 1 were hit 25 times (expected 0.00)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This tells us that mutations are not randomly distributed across the genome (which is obvious) and that some sites are hit two dozen times.
One reason for clustering of mutations is purifying selection, which result in higher diversity at less conserved regions, e.g. 3rd codon positions.
The sites that are hit more than a handful of times, however, likely mutated due to egg/culture adaptation.&lt;/p&gt;
&lt;h4&gt;Multiplicity of specific mutations&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;The ten most homoplasic mutations are:
  mut multiplicity
  G1671A  20
  G1557A  19
  A55C  17
  C527A 15
     :
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h4&gt;Additional arguments&lt;/h4&gt;
&lt;p&gt;The flag &lt;code&gt;--detailed&lt;/code&gt; will trigger the output of additional stats on mutations that happen on terminal branches only.
In addition the script will output the names of strains that contain many mutations on their terminal branch that also occur elsewhere on the tree.&lt;/p&gt;
&lt;p&gt;If the aligment used only contains variable sites (as is often done for longer bacterial genomes), the user can specify the number of constant sites via &lt;code&gt;--const #of_const_sites&lt;/code&gt;.
The script will then use the sum of this number and the length of the alignment as total sequence length.&lt;/p&gt;
&lt;h2&gt;mugration.py&lt;/h2&gt;
&lt;p&gt;Several people have asked me to provide an interface to perform the type of discrete ancstral character inference that &lt;a href="https://nextstrain.org"&gt;nextstrain&lt;/a&gt; does for geographic regions or hosts.
This inference uses the machinery to reconstruct ancestral sequences and applies to discrete characters such as country.
Due to its analogy to mutation, this type of inference of migration dynamics between geographic regions is often called "mugration".
TreeTime can be repurposed to do mugration inference by coding discrete states as single letters in "sequences" of length one.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;mugration.py&lt;/code&gt; script is called as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;mugration.py --tree Zika_tree.newick --states Zika_metadata.csv --attribute country
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;which will use the tree &lt;a href="https://raw.githubusercontent.com/neherlab/treetime/master/data/Zika_tree.newick"&gt;Zika_tree.newick&lt;/a&gt;, the table &lt;a href="https://github.com/neherlab/treetime/blob/master/data/Zika_metadata.csv"&gt;Zika_metadata.csv&lt;/a&gt; with metadata, and reconstruct the ancestral state of the attribute &lt;code&gt;country&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The script saves a tree in nexus format with the inferred state added as a comment and the inferred GTR model is written to file.
When run with the flag &lt;code&gt;--confidence&lt;/code&gt;, an additional table containing full posterior distributions for each node is saved.&lt;/p&gt;
&lt;p&gt;If equilibrium probabilities across states are known, they can be passed to the script as follows&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;\:&amp;gt; mugration.py --tree Zika_tree.newick --states Zika_metadata.csv --attribute country --confidence --weights Zika_country_weights.csv
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The table &lt;a href="https://github.com/neherlab/treetime/blob/master/data/Zika_country_weights.csv"&gt;Zika_country_weights.csv&lt;/a&gt; contains the state (country) and the associated weight in csv format.
These will be normalized and used as equilibrium probabilities of the GTR model.&lt;/p&gt;
&lt;h3&gt;Command line reference&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;homoplasy_scanner&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;py&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ALN&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TREE&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CONST&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;                            &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;rescale&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;RESCALE&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;detailed&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;gtr&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GTR&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;                            &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;gtr_params&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GTR_PARAMS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;GTR_PARAMS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;...]]&lt;/span&gt;
&lt;span class="w"&gt;                            &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;prot&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;zero_based&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[-&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;N&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[--&lt;/span&gt;&lt;span class="n"&gt;verbose&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;Reconstructs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sequences&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;maps&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mutations&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;The&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;
&lt;span class="n"&gt;then&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;scanned&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;homoplasies&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;An&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;excess&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;number&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;homoplasies&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;might&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;suggest&lt;/span&gt;
&lt;span class="n"&gt;contamination&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;recombination&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;culture&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;adaptation&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;similar&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;

&lt;span class="n"&gt;optional&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;arguments&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;help&lt;/span&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;show&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;help&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;exit&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ALN&lt;/span&gt;&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="n"&gt;fasta&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;nucleotide&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sequences&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TREE&lt;/span&gt;&lt;span class="w"&gt;           &lt;/span&gt;&lt;span class="n"&gt;newick&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;optional&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;builders&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;installed&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CONST&lt;/span&gt;&lt;span class="w"&gt;         &lt;/span&gt;&lt;span class="n"&gt;number&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;constant&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sites&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;included&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;alignment&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;rescale&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;RESCALE&lt;/span&gt;&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;rescale&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;branch&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;lengths&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;detailed&lt;/span&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;generate&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;more&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;detailed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;report&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;gtr&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GTR&lt;/span&gt;&lt;span class="w"&gt;             &lt;/span&gt;&lt;span class="n"&gt;GTR&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;use&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Type&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;infer&amp;#39;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;infer&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Or&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;specify&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;If&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;specified&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;requires&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;additional&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;use&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;--gtr_args&amp;#39;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;specify&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;those&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;gtr_params&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GTR_PARAMS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;GTR_PARAMS&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;...]&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;GTR&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;parameters&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;specified&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;by&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;gtr&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;argument&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;The&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;parameters&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;should&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;be&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;feed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;as&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;key=value&amp;#39;&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;parameters&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Example&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;--gtr K80 --gtr_params&lt;/span&gt;
&lt;span class="s1"&gt;                        kappa=0.2 pis=0.25,0.25,0.25,0.25&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;See&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;exact&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;definitions&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;parameters&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;GTR&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;creation&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;methods&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;treetime&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;nuc_models&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;py&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Only&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;nucleotide&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;supported&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;present&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;zero_based&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="n"&gt;zero&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;based&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;SNP&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;indexing&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;N&lt;/span&gt;&lt;span class="w"&gt;                  &lt;/span&gt;&lt;span class="n"&gt;number&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mutations&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;nodes&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;that&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;are&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;printed&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;screen&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;verbose&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;verbosity&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;\&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mugration&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;py&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;
&lt;span class="n"&gt;usage&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mugration&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;py&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TREE&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;attribute&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ATTRIBUTE&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;STATES&lt;/span&gt;
&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;WEIGHTS&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;confidence&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;pc&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PC&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="w"&gt;                    &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;verbose&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;Reconstructs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;discrete&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ancestral&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;geographic&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;location&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="ow"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;similar&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;

&lt;span class="n"&gt;optional&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;arguments&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;help&lt;/span&gt;&lt;span class="w"&gt;            &lt;/span&gt;&lt;span class="n"&gt;show&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;this&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;help&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;and&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;exit&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;TREE&lt;/span&gt;&lt;span class="w"&gt;           &lt;/span&gt;&lt;span class="n"&gt;newick&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tree&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;attribute&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;ATTRIBUTE&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;attribute&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;reconstruct&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;country&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;STATES&lt;/span&gt;&lt;span class="w"&gt;       &lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tsv&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;discrete&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;characters&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="c1"&gt;#name,country,continent&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="n"&gt;taxon1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;micronesia&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;oceania&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;weights&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;WEIGHTS&lt;/span&gt;&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;tsv&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;probabilities&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;that&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;randomly&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;sampled&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;sequence&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;equilibrium&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;has&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;particular&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;state&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;E&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;population&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;different&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;continents&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;countries&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;E&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="c1"&gt;#country,weight&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="n"&gt;micronesia&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;
&lt;span class="w"&gt;                          &lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;confidence&lt;/span&gt;&lt;span class="w"&gt;          &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;confidence&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mugration&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;inference&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;pc&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PC&lt;/span&gt;&lt;span class="w"&gt;               &lt;/span&gt;&lt;span class="n"&gt;pseudo&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;higher&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;will&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;in&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;flatter&amp;#39;&lt;/span&gt;
&lt;span class="w"&gt;                        &lt;/span&gt;&lt;span class="n"&gt;models&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;verbose&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="w"&gt;     &lt;/span&gt;&lt;span class="n"&gt;verbosity&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;of&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="post"></category><category term="software"></category></entry><entry><title>Virus evolution and population genetics</title><link href="/201804_computational_biology.html" rel="alternate"></link><published>2018-04-12T00:00:00+02:00</published><updated>2018-04-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-04-12:/201804_computational_biology.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Balance between mutation and deleterious mutations&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:2%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_time_scaled.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_divergence.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/h3n2_clock.png" width=100%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Tree building optimization with temporal constraints&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:40%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Time stamps single out a root&lt;/li&gt;
            &lt;li&gt;Root can be found by optimizing root-to-tip regression&lt;/li&gt;
            &lt;li&gt;BEAST: Markov-Chain Monte Carlo tree sampler&lt;/li&gt;
            &lt;li&gt;If topology is correct, temporal constraints can be accounted for in linear time&lt;/li&gt;
            &lt;li&gt;Multiple tools: treedate, LSD, treetime&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/wrong_root.png" width=50%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:5%; left:52%; width:47%"&gt;
        &lt;img class="plain" src="/teaching_images/correct_root.png" width=50%&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1"  style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Time-scaled phylogenies&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:20%; width:60%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Calibration points can be longitudinal samples, ancient DNA or fossils&lt;/li&gt;
            &lt;li&gt;Rates can vary between proteins and organisms from 0.01/year to $&lt;10^{-8}$/y &lt;/li&gt;
            &lt;li&gt;Some site change often, some rarely &amp;rarr; saturation&lt;/li&gt;
            &lt;li&gt;The apparent rate changes over time&lt;/li&gt;
            &lt;li&gt;Divergence times are often under estimated. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;h2&gt;&lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;/h2&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Advanced Methods in Computational Sciences</title><link href="/201804_advanced_methods.html" rel="alternate"></link><published>2018-04-10T00:00:00+02:00</published><updated>2018-04-10T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-04-10:/201804_advanced_methods.html</id><summary type="html">&lt;h2&gt;Probabilistic inference in population genetics&lt;/h2&gt;
&lt;p&gt;The many sequenced genomes that are now available allow inference of past population processes from genetic diversity.
Population processes of interest include selection of novel variants that help populations to adapt to new enviroments, severe reductions in population size (so called population bottlenecks), and migration …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Probabilistic inference in population genetics&lt;/h2&gt;
&lt;p&gt;The many sequenced genomes that are now available allow inference of past population processes from genetic diversity.
Population processes of interest include selection of novel variants that help populations to adapt to new enviroments, severe reductions in population size (so called population bottlenecks), and migration.
The objectives of this lecture are to&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;introduce basic concepts of population genetic inference&lt;/li&gt;
&lt;li&gt;set up probabilistic models of variant frequencies&lt;/li&gt;
&lt;li&gt;solve branching processes using generating functions and the method of characteristics&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Evidently, all of this will have to remain quite superficial but I am hoping to give you some flavor of what population genetics is about and what kind of questions can be addressed with sequence data.&lt;/p&gt;
&lt;p&gt;As genomes are passed on from parents to children, they are reshuffled by recombination and altered by mutation, and the composition of the gene pool changes since some variants are more successful than others -- either by chance or because of their intrinisic properties.
Understanding these processes is essential in order to use genetic data for inference.
Genetic data typically comes in the form of sequences of whole genomes or a particular gene from different individuals and these sequences differ at a few positions.
These differences originate from mutations that happened at some point the past.
When a group of individuals shares a particular mutation, this mutations could have either happened in the common ancestor of this group of individuals, or this mutation could have arisen multiple times.
When mutated sites are a minority (humans differ at 1 in 1000 sites), a shared mutations typically arose in the ancestor of this group of individuals.
Some type of mutations, for example drug resistance mutations often arise independently under treatment.
We will assume for now that the great majority of mutations is not of that type.
In this case, mutations -- or more generally the similarity between sequences -- can be used to reconstruct the a tree that describes the history of the sequences in the sample:&lt;/p&gt;
&lt;p&gt;&lt;img alt="coalescence" src="/talk_images/popgen_all.svg"&gt;&lt;/p&gt;
&lt;p&gt;Population genetics is concerned with understanding the link between mutation, selection, etc and genetic diversity in the population.This link is essential for inference.&lt;/p&gt;
&lt;h3&gt;The neutral background model&lt;/h3&gt;
&lt;p&gt;In absence of any systematic differences between different variants, their relative frequencies will nevertheless change by chance.
The stochastic element stems from the randomness in the number of offspring each individual has.
This process is typically modeled in two complementary but equivalent ways -- either via a "forward in time" diffusion process of variants or a "backward in time" genealogical process called the coalescent.
It is instructive to consider them both.&lt;/p&gt;
&lt;h4&gt;Coalescent models&lt;/h4&gt;
&lt;p&gt;The coalescent starts from a sample of individuals and asks "What is the probability that a given pair are siblings, i.e., have the same parent?".
In a population of constant size (average number of offspring \(m=1\)), it is easy to show that this probability is \(\frac{\sigma^2}{N}\).
This result makes intuitive sense: In a large population, the probability of sharing a parent by change is small. Furthermore, this probability is larger if there are a few large families, that is the offspring number distribution has large variance.
If there are \(k\) individuals in the sample, there are \(k(k-1)/2\) possible pairs.
Tracing now these \(k\) lineages backward in time, the first merger between a random pair will happen at rate
$$
\lambda_k = \frac{k(k-1)\sigma^2}{2N}
$$
After the first merger event, the number of lineages decreases from \(k\to k-1\) until eventually only one lineage is left, see the sketch of a tree above.
This lineage is the most recent common ancestor (MRCA) of the sample and the expected time to get there is simply the sum of the expectation of the different merger events.
$$
\langle T_{MRCA}\rangle = \frac{2N}{\sigma^2}\sum_{k=2}^{n} \frac{1}{k(k-1)} = \frac{2N}{\sigma^2}\left[\frac{1}{2} + \frac{1}{6}+\cdots\right] = \frac{2N(n-1)}{\sigma^2 n}
$$
(easy to show by induction -- try it!).&lt;/p&gt;
&lt;p&gt;The mutations observed in the sample have accumulated on the tree since the MRCA and genetic diversity is informative about population processes in the past.
The averge pairwise difference between sequences, for example, is equal to \(N\mu\) where \(\mu\) is the per site mutation rate.
Furthermore, time dependence of the population size can be inferred by fitting a trajectory \(N(t)\) that maximizes the likelihood of the sequence data.&lt;/p&gt;
&lt;p&gt;Coalescent processes in population genetics were first introduced by &lt;a href="https://doi.org/10.1016/0304-4149(82)90011-4"&gt;Kingman&lt;/a&gt; in 1982.&lt;/p&gt;
&lt;h4&gt;Diffusion models&lt;/h4&gt;
&lt;p&gt;A completely equivalent approach to describe genetic diversity in the population is via a forward-in-time diffusion process.
If the size of the population is approximately constant, the average number of offspring is evidently \(m=1\) , while variance \(\sigma^2\) depends on the mode of reproduction.
Given mean and variance of the offspring number distribution, we can calculate the distribution of the frequency of a variant in the subsequent generation.
In a population of size \(N\), the this frequency is going to be centered around its value \(p\) in the previous generation with a variance \(\frac{\sigma^2 p(1-p)}{N}\).
In the continuous time lime, the distribution \(P(p,t)\) obeys the diffusion equation
$$\frac{\partial}{\partial t} P(p,t) = \frac{\sigma^2}{2N}\frac{\partial^2}{\partial p^2}p(1-p)P(p,t)$$&lt;/p&gt;
&lt;p&gt;It is easy to see that this can be solved by separation of variables \(P(p,t) = a(p)b(t)\) which results in&lt;/p&gt;
&lt;p&gt;$$\frac{1}{b(t)}\frac{\partial}{\partial t} b(t) = -\lambda = \frac{1}{a(p)}\frac{\sigma^2}{2N}\frac{\partial^2}{\partial p^2}p(1-p)a(p)$$&lt;/p&gt;
&lt;p&gt;suggesting that mode decay is exponential with \(b(t) = e^{-\lambda t}\). The equation for \(a(p)\) is related to the hypergeometric equation and its solution can be expressed in terms of Gegenbauer polynomials. Finite solution at \(p=0\) and \(p=1\) requires a discrete spectrum with such that admissable solutions are
$$
a_k(p) = \frac{k(k+1)\sigma^2}{N}T_{k}(p)
$$
Each of these solutions corresponds to an eigenmode that decays with rate \(\frac{k(k+1)\sigma^2}{N}\) and the general solution is
$$
P(p,t) = \frac{\sigma^2}{N}\sum_{k=0} c_k k(k+1) T_{k}(p) e^{-\frac{k(k+1)\sigma^2}{N}}
$$
This description of the frequencies of genetic variants in the population was developed by Motoo Kimura and is summarized in &lt;a href="http://www.jstor.org/stable/3211856"&gt;Kimura, 1964&lt;/a&gt;.
Note that the decay rates of the eigenmodes are the same as the rates at which the tree goes from \(k\) to \(k-1\) lineages.&lt;/p&gt;
&lt;h4&gt;Branching processes and the spread of beneficial mutations&lt;/h4&gt;
&lt;p&gt;The models introduced above assume that all individuals in the population are completely equivalent, meaning that there are no heritable traits that affect the offspring distribution.
Beneficial mutations, i.e., mutations that increase the change of survival, are of particular interest.
These mutations typically arise in a single individual and are then passed on in a stochastic manner.
It is hence quite uncertain if a beneficial mutation is going to survive.
For sake of arguments, lets assume the offspring number distribution is Poisson.
Individuals with a new good mutation have a mean number of offspring of \(m = 1+s\), those without the mutation simply 1.
The probabibility of loss of the mutation obeys
$$
P_0 = \sum_{i=0} p_i P_0^i = e^{-1-s}\sum_{i=0} \frac{((1+s)P_0)^i}{i!} = e^{-(1+s)(1-P_0)}
$$
For small \(s\), \(P_0\) is close to 1 and we can expand in \(P_{fix} = 1-P_0\)
$$
1 - P_{fix} = 1 - (1+s)P_{fix} + (1+2s+s^2)P_{fix}^2/2 \Rightarrow sP_{fix}\approx P_{fix}^2/2
$$
and hence \(P_{fix}\approx 2s\).
This illustrates that a mutation that confers an advantage of 10% is still lost in 80% of all cases -- evolution is very stochastic!&lt;/p&gt;
&lt;p&gt;More generally, stochastic population processes can be modeled with branching processes and it is instructive to solve explicitly for the solution of a branching process.
The goal is to solve for the probability distribution of the number of copies of a genetic variant \(P(n,t)\) at time \(t\) after the mutation arose.
This quantity obeys a simple difference equation
$$
P(n, t+dt) = (1-dt(b+d)n)P(n, t) + dt\left[ (n-1)b P(n-1,t) + (n+1)dP(n+1,t)\right]
$$
where the first term corresponds to the case when nothing is happening in the time interval \(dt\), the second corresponds to division/birth with rate \(d\) and the third to the death of one individual with rate \(d\).
Taking the limit \(dt\to 0\), we immediately get
$$
\partial_t P(n, t) = -(b+d)nP(n, t) + (n-1)bP(n-1,t) + (n+1)dP(n+1,t)
$$
To solve this equation, we define the generating function \(\phi(z,t) = \sum_n z^n P(n,t)\), multiply the equation by \(z^n\) and sum:
$$
\partial_t \phi(z, t) = -(b+d) z \partial_z \sum_{n=0} z^{n} P(n, t) + z^2 b \partial_z \sum_{n=0} z^{n-1}P(n-1,t) + \partial_z \sum_{n=1} n z^{n+1}P(n+1,t) = \left[-(b+d)z + bz^2 + d\right]\partial_z \phi(z,t)
$$
We will consider here the case where \(P(n,0)=\delta_{n0}\), i.e., there is exactly one individual at time \(t=0\), and \(\phi(z,t) = z\)
To solve this partial differential equation, we can use the methods of characteristics.
The method of characteristics determines families of curves in the space of \((z,t)\) along which the function is constant.
Parameterizing the characteristic with \(t\), we have \(\phi(z(t),t)\) and consequently.
$$
0 = \frac{d\phi(z(t), t)}{dt} = \partial_z \phi(z,t) \frac{dz}{dt} + \partial_t \phi(z,t) = \partial_z \phi(z,t) \left[\frac{dz}{dt} -(b+d)z + b z^2 + d  \right]
$$
Substituting \(z(t) = 1- \chi(t)\), this equation simplifies to
$$
\frac{d \chi(t)}{dt} =  - s \chi(t) + b\chi(t)^2
$$
with \(s=b-d\).
The solution then is
$$
\chi(t) = \frac{e^{-st}}{C-b\int_0^t e^{-st'}  dt'} = \frac{e^{-st}}{C+\frac{b}{s}(e^{-st}-1)}
$$
with initial condition \(\chi(0) = C^{-1}\).
By construction, the generating function \(\phi(z,t)\) is constant along the characteristic curve such that \(\phi(z(t),t) = \phi(z(0),0)) = z(0) = 1-C^{-1}\).
The problem is hence reduced to finding the integration constant \(C\) such that the characteristic passes through the point \((z,t)\).
Solving
$$
z = 1 - \frac{e^{-st}}{C(z,t)+\frac{b}{s}(e^{-st}-1)}
$$
for \(C(z,t)\) yields
$$
%(1 - z)(C(z,t)+\frac{b}{s}(e^{-st}-1)) = e^{-st}
%(1 - z)C(z,t) = e^{-st} - (1-z)\frac{b}{s}(e^{-st}-1)
%\frac{1}{C(z,t)} = \frac{(1 - z)}{e^{-st} - (1-z)\frac{b}{s}(e^{-st}-1)}
\phi(z,t) = 1 - \frac{1}{C(z,t)} = 1-\frac{(1 - z)e^{st}}{1 - (1-z)\frac{b}{s}(1 - e^{st})}
$$
As a sanity check, we can evaluate the first few moments
$$
1 = \sum_n P(n,t) = \phi(1,t) = 1
$$
$$
\langle n\rangle = \sum_n n P(n,t) = \partial_z \phi(z,t)|_{z=1} = e^{st}
$$
and the survival probability
$$
1-P(0,t) = 1-\phi(0,t) = \frac{e^{st}}{1+\frac{(1+s)}{s}(e^{st}-1)} \to
\cases{
\frac{s}{1+s} &amp;amp; s&amp;gt;0\cr
\frac{1}{1+t} &amp;amp; s=0\cr
se^{st} &amp;amp; s&amp;lt;0
}
$$
The figure below illustrates the behavior of the fixation probability for different growth rates \(s\).
For times \(t&amp;lt;s\), all curves behave roughly neutrally.
Only at longer times do systematic differences in growth rate matter and beneficial mutations fix for good and deleterious mutations are lost.&lt;/p&gt;
&lt;p&gt;&lt;img alt="fixation" src="talk_images/fixation_probability.svg"&gt;&lt;/p&gt;
&lt;p&gt;The full probability distribution \(P(n,t)\) can be readily obtained by expanding \(\phi(z,t)\) into a geometric series.&lt;/p&gt;
&lt;h4&gt;&lt;a href="/teaching_notes/201704_advanced_methods_notes.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h4&gt;
&lt;h4&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://jhupbooks.press.jhu.edu/content/population-genetics"&gt;Population Genetics: A concise guide&lt;/a&gt;, John Gillespie, John Hopkins University Press, 2004&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jstor.org/stable/3211856"&gt;Diffusion Models in Population Genetics&lt;/a&gt;,  Motoo Kimura, Journal of Applied Probability, Vol. 1, No. 2 (Dec., 1964), pp. 177-232&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.1016/0304-4149(82)90011-4"&gt;The coalescent&lt;/a&gt;, John Kingman, Stochastic Processes and their Applications
Volume 13, Issue 3, September 1982, Pages 235-248&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="coalescent"></category><category term="diffusion theory"></category><category term="branching process"></category></entry><entry><title>Ist die Evolution von Grippeviren vorhersehbar?</title><link href="/201803_SeniorenUni.html" rel="alternate"></link><published>2018-03-23T00:00:00+01:00</published><updated>2018-03-23T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-23:/201803_SeniorenUni.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Surface proteins hemagglutinin (HA) and neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;Common in birds and mammals&lt;/li&gt;
                &lt;li&gt;Many different subtypes defined by surface proteins&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infects mainly humans&lt;/li&gt;
                &lt;li&gt;two lineages that split 30-40y ago&lt;/li&gt;
                &lt;li&gt;B/Victoria vs B/Yamagata&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human Influenza A viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Weekly numbers of positive influenza tests in the US by subtype&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Tracking virus spread and evolution by sequencing&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
... thousands of sequences...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetic analysis of viral sequences&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA viruses have a high mutation rate. New mutations arise every few weeks.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Can we predicting influenza virus evolution?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:28%; left:40%; width:50%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Extrapolate current trends&lt;/li&gt;
            &lt;li&gt;Predict based on historical patterns&lt;/li&gt;
            &lt;li&gt;Use the branching pattern to predict success&lt;/li&gt;
            &lt;li&gt;Measure antigenic properties of circulating viruses&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA viruses evolve fast&lt;/li&gt;
        &lt;li&gt;Viral lineages pick up mutations every few weeks&lt;/li&gt;
        &lt;li&gt;Genomic sequences can be used to track viral spread&lt;/li&gt;
        &lt;li&gt;Algorithms can predict future influenza virus variants&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Ist die Evolution von Grippeviren vorhersehbar?</title><link href="/201803_SeniorenUni_de.html" rel="alternate"></link><published>2018-03-23T00:00:00+01:00</published><updated>2018-03-23T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-23:/201803_SeniorenUni_de.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Verschiedene Viren&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Verschiedene Viren&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus (HIV)&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:40%"&gt;
    &lt;font size=5&gt;&lt;ul&gt;
        &lt;li&gt;Viren benötigen Wirtszellen zur Replikation&lt;/li&gt;
        &lt;li&gt;sind wenig mehr als Genom + Kapsid&lt;/li&gt;
        &lt;li&gt;ihr Genom ist 5-200Tsd Basen lang (+Ausnahmen)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;zahlenmäßig dominierenden Organismen $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza virus&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:5%; width:60%; justify-content: left"&gt;
    &lt;img src="/talk_images/InfluenzaA-virion_viralZone.jpg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:15%; left:68%; width:30%; justify-content: left"&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Oberflächenproteine Hämagglutinin (HA) und Neuraminidase (NA)&lt;/li&gt;
            &lt;li&gt;Influenza A Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;verbreitet in Vögeln und Säugetieren&lt;/li&gt;
                &lt;li&gt;Viele Subtypen der Oberflächenproteine&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1, H7N9, H5N1&lt;/li&gt;
                &lt;li&gt;H3N2, H1N1 zirkulieren im Menschen&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;Influenza B Virus&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;infiziert fast nur Menschen&lt;/li&gt;
                &lt;li&gt;zwei Linien die sich vor 30-40 Jahren geteilt haben&lt;/li&gt;
                &lt;li&gt;B/Victoria und B/Yamagata&lt;/li&gt;
                &lt;li&gt;nur eine Variante ist in der tri-valenten Impfung enthalten&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza A Viren des Menschen&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Wöchentliche Grippe-Fallzahlen in den USA&lt;/h3&gt;
    &lt;img class="plain" src="/images/flu_subtypes_positive_tests.png" width="1400px"&gt;
&lt;span class="ref"&gt;&lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;Data by the US CDC&lt;/a&gt; &lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Genom-Sequenzen verraten die Ausbreitung und Evolution des Virus&lt;/h3&gt;
&lt;div style="position: absolute;top:22%; left:15%; width:70%; text-align: left"&gt;
&lt;font font-family="Andale Mono"&gt;
A/Brisbane/100/2014&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1000/2015&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATTATTGCTTT...&lt;br&gt;&lt;br&gt;
A/Brisbane/1/2017&lt;br&gt;
GGATAATTCTATTAACCATGAAGACTATCATTGCTTT...&lt;br&gt;&lt;br&gt;
... Tausende Sequenzen mehr...
&lt;/font&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Phylogenetische Analyse von Virus-Genomen&lt;/h3&gt;
    &lt;div style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:22%; left:15%; width: 70%"&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=100% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:75%; left:15%; width: 70%"&gt;
        &lt;h5&gt;RNA Viren haben hohe Mutationsraten. Ein Genom mutiert all paar Wochen.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:18%; width:30%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza Viren verändern sich und weichen so dem Immunsystem aus.&lt;/li&gt;
                &lt;li&gt;Impfstoffe müssen laufend aktualisiert werden&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Ist Evolution von Grippe vorhersehbar?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:28%; left:40%; width:50%"&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;Extrapolation&lt;/li&gt;
            &lt;li&gt;Vorhersagen durch Vergleich mit historischen Mustern&lt;/li&gt;
            &lt;li&gt;Erfolgreiche Varianten anhand des Verzweigungsmuster detektieren&lt;/li&gt;
            &lt;li&gt;Antigenische Eigenschaften zirkulierender Viren&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness Inferenz anhand des Baums&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Vorhersage der dominierenden H3N2 Influenza Variante &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Nicht Grippe-spezifisch&lt;/li&gt;
        &lt;li&gt;Wie kann das Model weiter verbessert werden? (siehe z.B. das Model von Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;Anwendbarkeit in anderen Zusammenhängen?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Zusammenfassung&lt;/h2&gt;
    &lt;div style="position:absolute; left:20%; width: 60%;"&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA Viruses evolvieren schnell&lt;/li&gt;
        &lt;li&gt;Das Virusgenom verändert sich alle paar Wochen&lt;/li&gt;
        &lt;li&gt;Aus Genomsequenzen kann Dynamik und Ausbreitung des Virus rekonstruiert werden &lt;/li&gt;
        &lt;li&gt;Algorithm können vorhersagen, welche Grippe-Varianten nächste Saison dominiert&lt;/li&gt;
        &lt;li&gt;Automatische real-time Analyse kann helfen Ausbrüche einzudämmen&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Gemeinsame Arbeit mit....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>How rapidly does influenza spread?</title><link href="/201803_influenza_dynamics.html" rel="alternate"></link><published>2018-03-20T00:00:00+01:00</published><updated>2018-03-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-20:/201803_influenza_dynamics.html</id><summary type="html">&lt;p&gt;Influenza in temperate regions is seasonal: Only a few imported cases are observed over the summer and influenza activity is picking up around November.
During winter a fraction of the population is infected by influenza viruses and builds up immunity which prevents reinfection by the same strain to a large …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Influenza in temperate regions is seasonal: Only a few imported cases are observed over the summer and influenza activity is picking up around November.
During winter a fraction of the population is infected by influenza viruses and builds up immunity which prevents reinfection by the same strain to a large degree.
However, the viruses change their antigenic properties over time and the same subtype can reinfect previously immune individuals after some time.
The rise and fall of influenza in winter depends on the rate at which the virus transmits, the fraction of the population that is susceptible at the beginning of the season, and the fraction that suffers from influenza in a given season (the attack rate).
A nice recent paper on this topic is &lt;a href="http://www.pnas.org/content/112/9/2723"&gt;Yang, Lipsitch, Shaman. PNAS, 2015&lt;/a&gt;.
I get a sense of how the different aspects of the seasonal influenza dynamics fit together, I looked into &lt;a href="https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html"&gt;data on seasonal influenza by the US CDC&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Public health authorities summarize influenza activity using a score called "Influenza Like Illness (ILI)" that quantifies the fraction of doctor visits with typical symptoms of influenza (fever, cough, sore throat).
The data reported by the US CDC are shown in the figure below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_ili" src="/images/ili_1997_2018.png"&gt;&lt;/p&gt;
&lt;p&gt;The different influenza seasons are colored by dominating subtype or lineage.
ILI tends to peak shortly after the new year and A/H3N2 dominated seasons tend to result in more severe epidemics.
In 2009, the pandemic A/H1N1 strain (orange) caused abnormal ILI patterns but has since then settled into a seasonal pattern.
The current 2017-2018 season (highlighted by a thicker line) was worse than all previous seasons.&lt;/p&gt;
&lt;p&gt;The seasonal pattern is believed to be due seasonal forcing coupled to antigenic evolution of the virus and subsequent loss of human immunity.
Seasonal forcing refers to the fact that influenza virus transmits better in winter than in summer (the underlying causes are still unclear, relative humidity is a plausible driver in temperate regions).
The other aspect that determines the dynamics of transmission is antigenic evolution and loss of immunity.
In absence of influenza activity, the fraction of individuals that are susceptible to influenza infection grows since viruses change an immunity is lost.
In contrast, the susceptible fraction shrinks when influenza activity is high since infected individuals will build up immunity against the circulating influenza strain.&lt;/p&gt;
&lt;p&gt;The purpose of this note is to go through elementary numbers that determine the rate at which influenza viruses spread, the fraction of the population they infect in a given season, and the fraction of individuals that are susceptible.
The assumptions made below are quite drastic and the relationships we establish should be taken as qualitative rather than quantitative.&lt;/p&gt;
&lt;p&gt;To a first approximation, the growth rate \(\beta\) of influenza epidemic can be estimated from the number of reported cases \(x(t)\) at time \(t\) and at a later time \(t+D\):
$$
    D\beta = \frac{x(t+D) - x(t)}{x(t)} = R_0 \alpha - 1
$$
Here \(D\) is the time between subsequent infections in a transmission chain, \(R_0\) is average number of subsequent infections in a population that is 100% susceptible and \(\alpha\) is the actual fraction of susceptible individuals.
The product \(R_0 \alpha\) is sometimes referred to as effective \(R_e\)).
At steady state, the growth rate needs to vanish and we expect \(\alpha = R_0^{-1}\).
Influenza, however, is not at steady state. At the beginning of the season, the growth rate of the dominant strain positive and drops below zero as the end of the season approaches.
During that time \(\alpha\) dropped by \(\Delta \alpha \) such that
$$
D\beta = R_0 \alpha - 1 &amp;gt; 0 &amp;gt; R_0 (\alpha  - \Delta \alpha)- 1
$$&lt;/p&gt;
&lt;h3&gt;Measuring the growth rate \(\beta\) of influenza&lt;/h3&gt;
&lt;p&gt;In addition to the ILI score, public health laboratories report the number of positive influenza tests for each week of the year.
These tests typically differentiate influenza A and B viruses as well as the different subtypes of influenza A (H1N1, H3N2, and 2009 H1N1pdm).
At the peak of the influenza season, there are thousands of positive tests per week.
Despite various problems of biases in health care seeking behavior and the volume of samples that are tested, these numbers give us a good sense of how rapidly the seasonal influenza epidemics take off.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_ili" src="/images/flu_subtypes_positive_tests.png"&gt;&lt;/p&gt;
&lt;p&gt;This graph shows the number of positive tests for the different influenza virus types (B, A/H1, A/H3, A/H1pdm 2009) through time.
Again, the dominance of A/H3 in most years and the anomalous dynamics in 2009 due to the pandemic H1N1 variant is apparent.&lt;/p&gt;
&lt;p&gt;For each season, we can estimate the rate \(\beta\) at which the influenza spreads for each subtype that has substantial circulation.
The plot below shows on the left the number of positive tests for each season and subtype aligned at the peak. Note the logarithmic \(y\)-axis.
The right panel shows simple estimates of the growth rate for each subtype and season.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_growth" src="/images/flu_growth_rate.png"&gt;&lt;/p&gt;
&lt;p&gt;A/H3N2 tends to have growth rates around 0.4/week, while the other subtypes have lower growth rates arount 0.2-0.3/week.
Furthermore, the different seasons and subtypes align pretty well with a typical standard deviation of 3-5 weeks.
Furthermore, the decline after the peak has a similar slope as the rise before the peak.
The infectious period or the typical time between infections is somewhat short of a week and most estimates but it to \(4-5\) days or 0.6-0.7 weeks.
Our growth rate estimates hence corresponds to \(R_0\alpha = 1 + \beta D \approx 1.3\) for A/H3N2 and \(R_0\alpha\approx 1.2\) for the other types.
After the season, our analysis suggest that \(R_0(\alpha-\Delta \alpha) \approx 0.7 \).
Hence we can deduce that \(R_0 \Delta \alpha \approx 0.6 \), which as one immediate consequence:
$$
\frac{\Delta\alpha}{\alpha} \approx
\frac{0.6}{1.3} \approx 0.45 \quad \mathrm{for \ A/H3N2}
$$
This implies that about 45% of susceptible individuals are infected in a given season.
For other lineages, this works out to slightly smaller number, but still essentially 40%.
Of course, our argument is extremely symplistic and this number comes with all sorts of caveats&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we have ignored seasonal forcing. I have little idea how strong of an effect this is, but a recent investigation in Australia demonstrated that influenza dynamics is highly synchronized across climatically very distinct regions. Hence I would expect its influence on growth rates minor. But it could turn the 45% into 30% if one third of the before/after season difference was due to the environment.&lt;/li&gt;
&lt;li&gt;we have ignored interactions with other respiratory diseases. The average innate antiviral immunity could be modulated by the number of viruses going around, effectively reducing the basal susceptibility to such disease.&lt;/li&gt;
&lt;li&gt;all sorts of other things&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Influenza attack rates \(\Delta \alpha\)&lt;/h3&gt;
&lt;p&gt;Varies studies estimate the fraction of the population that suffers from influenza during a season.
These estimates are typically in the &lt;a href="http://www.who.int/biologicals/vaccines/influenza/en/"&gt;range of 5-10% for adults and 20-30% for children&lt;/a&gt;.
Some studies estimate attack rates for the general population as high as 30%.
While I don't see an immediate way to infer the attack rate from the data analyzed above, we can still explore the consequences that different attack rates would have.&lt;/p&gt;
&lt;h4&gt;Low attack rate scenario: 5%&lt;/h4&gt;
&lt;p&gt;In this case, \(\Delta \alpha=0.05\) and the susceptible fraction \(\alpha \approx \Delta\alpha/0.4 \approx 0.1\).
This would imply a bare \(R_0\approx 10\) which is on the high end of the credible range.&lt;/p&gt;
&lt;p&gt;If our estimate of \(\Delta\alpha/\alpha\) is too high, the estimate of \(\alpha\) would be higher and hence \(R_0\) lower.
But even with \(\Delta\alpha/\alpha \approx 0.25\), we would infer \(\alpha=0.2\) and \(R_0=5\).&lt;/p&gt;
&lt;p&gt;An attack rate of only 5% would imply that people get infected by a any subtype every 20y and hence by a given subtype only every 30-60y (most years are A/H3N2 dominated, B and A/H1N1 would essentially only infect a given individual once or twice in a life time).
Again, this seems implausibly low to me.&lt;/p&gt;
&lt;h4&gt;Medium attack rate scenario: 15%&lt;/h4&gt;
&lt;p&gt;Here, we would expect a susceptible fraction \(\alpha \approx 0.3-0.5\). This would imply a bare \(R_0\approx 2-3\) which is not unreasonable and concordant with estimates by &lt;a href="http://www.pnas.org/content/112/9/2723"&gt;Yang, Lipsitch, Shaman. PNAS, 2015&lt;/a&gt;.
People would suffer from influenza every six years with the individual strains infecting people every 8-20 years.
This is consistent with the rate of antigenic evolution of the different lineages.
Ferret HI titers against A/H3N2 viruses drop by a factor of two every 1.4 years, while HI titers against B viruses drop by a factor of two every 5-10 years, see &lt;a href="http://www.pnas.org/content/113/12/E1701"&gt;Neher et al&lt;/a&gt; and &lt;a href="https://elifesciences.org/articles/01914#abstract"&gt;Bedford et al&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;High attack rate scenario: 30%&lt;/h4&gt;
&lt;p&gt;Here, we would expect a susceptible fraction to be close to one and the pre-season growth rate would be similar to the bare \(R_0\approx 1.5\).
An attack rate of this magnitude would also imply that no lasting immunity is build up and people that suffer from influenza one year are susceptible to influenza the next year.
This scenario would require a large fraction of asymptomatic infections to be plausible.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;The simple minded analysis of fitting increasing exponentials to the number of positive tests in the US gives estimates of the effective \(R_e = 1+\beta D\) of around 1.3 for A/H3N2 and 1.2 for the other lineages, consistent with previous estimates by &lt;a href="http://www.pnas.org/content/112/9/2723"&gt;Yang, Lipsitch, Shaman. PNAS, 2015&lt;/a&gt;.
Together with the rate at which the epidemic collapses after the season, we estimated the ratio of attack rate and susceptible fraction \(\Delta \alpha/\alpha\) to around 40%.
This number is sensitive to a number of assumptions, violation of which would reduce this fraction.&lt;/p&gt;
&lt;p&gt;The attack rate itself is difficult to estimate from these data, but assuming an attack rate of about 10-15%, we get plausible values of \(R_0\) around 3 and a dynamics that is consistent with patterns of antigenic evolution.&lt;/p&gt;
&lt;h2&gt;Appendix&lt;/h2&gt;
&lt;h3&gt;Week of peak activity and peak width by subtype&lt;/h3&gt;
&lt;p&gt;&lt;img alt="flu_growth" src="/images/flu_peak_properties.png"&gt;&lt;/p&gt;
&lt;p&gt;The Gaussian fit to the number of positive tests has parameters for the standard deviation and peak position for each season and subtype with substantial circulation. Influenza B tends to peak slighly later than influenza A and has slightly broader peaks.
(The full-width-half-maximum (FWHM) equals \(2.4\sigma\)).&lt;/p&gt;
&lt;h3&gt;Scripts and data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="/static/influenza_dynamics.py"&gt;influenza_dynamics.py&lt;/a&gt;: Script that generates the plots&lt;/li&gt;
&lt;li&gt;&lt;a href="/static/parse_epi_data.py"&gt;parse_epi_data.py&lt;/a&gt;: Script containing short routines to parse the data&lt;/li&gt;
&lt;li&gt;&lt;a href="/static/ILINet_new.csv"&gt;ILI_data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/static/WHO_NREVSS_Combined_prior_to_2015_16.csv"&gt;Positive tests prior to 2015&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="/static/WHO_NREVSS_Public_Health_Labs.csv"&gt;Positive tests since 2015&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="post"></category><category term="influenza evolution"></category></entry><entry><title>Incomplete inhibition of HIV infection results in more HIV infected lymph node cells by reducing cell death</title><link href="/jackson_incomplete_2018.html" rel="alternate"></link><published>2018-03-18T00:00:00+01:00</published><updated>2018-03-18T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-18:/jackson_incomplete_2018.html</id><content type="html"></content><category term="publication"></category></entry><entry><title>RNA virus evolution and the predictability of next year's flu</title><link href="/201803_ASTAR.html" rel="alternate"></link><published>2018-03-12T00:00:00+01:00</published><updated>2018-03-12T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-12:/201803_ASTAR.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img class="plain" src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.basel.ch"&gt;hiv.biozentrum.basel.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%; text-align:justify;"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Split the genome into categories from high to low conservation&lt;/li&gt;
            &lt;li&gt;Fit model of minor variation to each category&lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ harmonic average fitness cost in category &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Influenza A/H3N2 virus evolution&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;font size=5&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img class="plain" src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img class="plain" src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time analysis and forecasting of influenza virus evolution</title><link href="/201803_IMRP.html" rel="alternate"></link><published>2018-03-08T00:00:00+01:00</published><updated>2018-03-08T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-08:/201803_IMRP.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Large scale sequencing -- A/H3N2 genomes in GISAID&lt;/h3&gt;
    &lt;img src="/talk_images/influenza_genome_count.png" width="1000px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Features&lt;/h2&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Maps mutations to the tree&lt;/li&gt;
            &lt;li&gt;Calculates frequency trajectories of every major mutation …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Large scale sequencing -- A/H3N2 genomes in GISAID&lt;/h3&gt;
    &lt;img src="/talk_images/influenza_genome_count.png" width="1000px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Joint work with....&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=220px class="plain"&gt;
            &lt;img src="/images/team_pics/colin_russell.png"  height=220px class="plain"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=220px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=8&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu_screen_shot_2018.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Features&lt;/h2&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Maps mutations to the tree&lt;/li&gt;
            &lt;li&gt;Calculates frequency trajectories of every major mutation&lt;/li&gt;
            &lt;li&gt;Allows subsetting of data to date ranges and geographic region&lt;/li&gt;
            &lt;li&gt;Time-scaled and standard phylogenetic trees&lt;/li&gt;
            &lt;li&gt;Updated frequently, reflects GISAID data&lt;/li&gt;
            &lt;li&gt;Integrates HI data and molecular evolution data&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Different approaches to predict IAV evolution&lt;/h2&gt;
    &lt;font size=6&gt;
        &lt;ul&gt;
            &lt;li&gt;extrapolation of current frequency trajectories&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;sampling bias can affect this dramatically&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;explicit fitness score based on historical patterns (Lukzsa and Lässig)&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;epitope mutations&lt;/li&gt;
                &lt;li&gt;other mutations -- interfere with virus function&lt;/li&gt;
            &lt;/ul&gt;
            &lt;li&gt;fitness inference from branching patterns in the tree (RN, Russell, Shraiman)&lt;/li&gt;
            &lt;ul&gt;
                &lt;li&gt;requires no historical data&lt;/li&gt;
                &lt;li&gt;not influenza specific&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/ul&gt;
    &lt;p&gt;&lt;a href="http://www.sciencedirect.com/science/article/pii/S0966842X17302093"&gt;Recent review: Morris et al, Trends in Microbiology, 2017&lt;/a&gt;&lt;/p&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of an adapting influenza virus population&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h2&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/lbi_unrooted.png" height=850px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Since 2015: Reports with (conservative) predictions are available on nextflu.org&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sept 2015: "3c2.a will continue to dominate"&lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_prediction_sep_2015.png" width=900px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Feb 2016: "...we predict the HA1:171K (now 3c2.a1) variant to dominate..."&lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_prediction_feb_2016.png" width=900px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sep 2016: "...we predict that clade 3c2.a1 variant to dominate, but..."&lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_prediction_sep_2016.png" width=900px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Feb 2017: "...we predict clades 171K/121K (3c2.a1a) and 131K/142K (3c2.a2) to be successful..."&lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_prediction_feb_2017.png" width=900px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sep 2017: "...we think clades 3c2.a1a/135K, 3c2.a2, 3c2.a3 are competitive"&lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_prediction_sep_2017.png" width=900px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;A reassortant dominated A/H3N2 circulating this past season &lt;/h3&gt;
    &lt;img src="/talk_images/h3n2_ha_na_reassortment.png" width=1300px&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Are antigenic distances tree-like?&lt;/h3&gt;
    &lt;div style="position:absolute; top:21%; left:5%; width:38%"&gt;
    &lt;img src="/talk_images/HI_quartett.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:11%; left:55%; width:38%"&gt;
    &lt;img src="/talk_images/HI_H3N2_tree_distances.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rate of antigenic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/influenza_antigenic_advance.png" width="100%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Cumulative antigenic evolution since the root: $\sum_i d_i$&lt;/li&gt;
        &lt;li&gt;A/H3N2 evolves faster antigenically&lt;/li&gt;
        &lt;li&gt;A/H3N2 has a more rapid population turn-over&lt;/li&gt;
        &lt;li&gt;Proportion of children is high in B vs A/H3N2 infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/h3n2_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/vic_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/yam_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How many sites are involved?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
    &lt;img src="/talk_images/H3N2_HA_structure.png"  class="plain"  width="70%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HI_H3N2_cumulative_effects.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:40%; width:20%"&gt;
        &lt;font size=5&gt;
        &lt;table class="table table-striped"&gt;
            &lt;col width="70%"&gt;
            &lt;col width="30%"&gt;
            &lt;thead&gt;&lt;tr&gt;&lt;td&gt;Mutation&lt;/td&gt;&lt;td&gt;effect&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;
            &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;K158N/N189K&lt;/td&gt;
                &lt;td&gt;3.64&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K158R&lt;/td&gt;
                &lt;td&gt;2.31&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K189N&lt;/td&gt;
                &lt;td&gt;2.18&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S157L&lt;/td&gt;
                &lt;td&gt;1.29&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;V186G&lt;/td&gt;
                &lt;td&gt;1.25&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S193F&lt;/td&gt;
                &lt;td&gt;1.2&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K140I&lt;/td&gt;
                &lt;td&gt;1.1&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;F159Y&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144D&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145N&lt;/td&gt;
                &lt;td&gt;0.91&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S159Y&lt;/td&gt;
                &lt;td&gt;0.89&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;I25V&lt;/td&gt;
                &lt;td&gt;0.88&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Q1L&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144N&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N8D&lt;/td&gt;
                &lt;td&gt;0.73&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;T212S&lt;/td&gt;
                &lt;td&gt;0.69&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N188D&lt;/td&gt;
                &lt;td&gt;0.65&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/tbody&gt;
        &lt;/table&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Exploring HI data relative to individual sera&lt;/h3&gt;
    &lt;img src="/talk_images/A_Stockholm_6_titers.png" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextflu and nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px class="plain"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px class="plain"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size="6"&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real time analysis and visualization of RNA virus evolution</title><link href="/201803_XLAB.html" rel="alternate"></link><published>2018-03-04T00:00:00+01:00</published><updated>2018-03-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-04:/201803_XLAB.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution in different parts of the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/blab/nextflu"  target="_blank"&gt;&lt;h4&gt;code at github.com/blab/nextflu&lt;/h4&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sequence alignment?&lt;/h3&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Reconstruction of phylogenetic trees&lt;/h3&gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;There are super-exponentially many trees&lt;/li&gt;
            &lt;li&gt;for $n$ taxa, there are $N = (2n-5)!! = (2n-5)*(2n-7)*\cdots*3*1$ trees&lt;/li&gt;
            &lt;li&gt;There are efficient heuristics to reconstruct trees, e.g. &lt;a href="https://en.wikipedia.org/wiki/Neighbor_joining"&gt;Neighbor Joining&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;img src="/talk_images/toy_alignment_tree.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What about bacteria?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;variation of divergence along the genome&lt;/li&gt;
            &lt;li&gt;NGS genomes tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.tuebingen.mpg.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links between species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_ermB.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Data set are growing rapidly &lt;br&gt;
            &amp;rarr; tools for interpretation and exploration are crucial&lt;/li&gt;
        &lt;li&gt;Breadth and depth&lt;br&gt;
            &amp;rarr; provide an overview, integrate, and go deep&lt;/li&gt;
        &lt;li&gt;Actionable outputs require (near)real-time analysis &lt;br&gt;
            &amp;rarr; fast analysis pipelines are essential&lt;/li&gt;
        &lt;li&gt;We are just scratching the surface...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Interested in HIV NGS: come find me!&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg"   class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg"    class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;&lt;br&gt;
    &lt;li&gt;All the scientist that share virus sequence data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime &amp; panX&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" class="plain" height=250px&gt;
            &lt;h4&gt;TreeTime: Pavel Sagulenko&lt;/h4&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;br&gt;
            webserver at &lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/153494"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=250px&gt;
            &lt;h5&gt;panX: Wei Ding&lt;/h5&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;br&gt;
            live site at &lt;a href="http://pangenome.de"&gt;pangenome.de&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/072082"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:30%; width:70%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_teaching"></category></entry><entry><title>A glimpse into sequence bioinformatics</title><link href="/201803_xlab_informatik.html" rel="alternate"></link><published>2018-03-04T00:00:00+01:00</published><updated>2018-03-04T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-03-04:/201803_xlab_informatik.html</id><summary type="html">&lt;h3&gt;Setting up your system&lt;/h3&gt;
&lt;p&gt;If you know what you are doing, install the necessary program (see yaml file below) via whatever method you like best.
Otherwise, I suggest you install the programs and libraries we will need via the package manager &lt;a href="https://conda.io"&gt;conda&lt;/a&gt;.
To install conda, follow the &lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;instructions&lt;/a&gt; relevant for …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Setting up your system&lt;/h3&gt;
&lt;p&gt;If you know what you are doing, install the necessary program (see yaml file below) via whatever method you like best.
Otherwise, I suggest you install the programs and libraries we will need via the package manager &lt;a href="https://conda.io"&gt;conda&lt;/a&gt;.
To install conda, follow the &lt;a href="https://docs.anaconda.com/anaconda/install/"&gt;instructions&lt;/a&gt; relevant for your operating system.
On linux, this could be achieved by these two commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To install the packages we need, create (or &lt;a href="/teaching_notes/xlab.yml"&gt;download&lt;/a&gt;) the following file that specifies the dependencies&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;xlab&lt;/span&gt;
&lt;span class="n"&gt;channels&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;bioconda&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;defaults&lt;/span&gt;

&lt;span class="n"&gt;dependencies&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;python&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;2.7&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;biopython&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;1.66&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;numpy&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;1.10&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;scipy&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.16&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;

&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;fasttree&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;2.1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;iqtree&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;1.5&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;mafft&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mf"&gt;7.305&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then install all these dependencies on a specific environment via&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;conda env create -f xlab.yml
source activate xlab
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Influenza virus sequences&lt;/h3&gt;
&lt;p&gt;Download the file &lt;a href="/teaching_notes/H3N2_Australia.fasta"&gt;H3N2_Australia.fasta&lt;/a&gt; and open it in a text editor.
This file contains influenza virus genomes (more precisely the segment HA of H3N2 viruses sampled in Australia).
You should see something like this&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&amp;gt;A/Brisbane/1/2017|01/02/2017|Australia|H3N2
GGATAATTCTATTAACCATGAAGACTATCATTGCTTTGAGCTGCATTCTATGTCTGGTTTTCGCTCAAAA
AATTCCTGGAAATGACAATAGCACGGCAACGCTGTGCCTTGGGCACCATGCAGTACCAAACGGAACGATA
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This is the so-called &lt;code&gt;fasta&lt;/code&gt; file format. A line that starts with &lt;code&gt;&amp;gt;&lt;/code&gt; contains the name of the sequence (in this case a concatenation of name, data, country and subtype).
All other lines contain the actual sequence.
A more convenient way to explore such sequences is via a dedicated alignment viewer such as &lt;a href="http://ormbunkar.se/aliview/"&gt;aliview&lt;/a&gt;.
If you want, download and install it.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_alignment" src="/teaching_images/flu_alignment_screenshot.png"&gt;&lt;/p&gt;
&lt;p&gt;The different nucleotides (A,C,G,T) in this sequence are colored differently.
The isolated differences between the sequences correspond to mutations that happened somewhere in the history of the sample.
The sequences in this alignment code for a protein and the alignment viewer has the functionality to translate the nucleotide sequences into amino acid sequences.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_alignment_translation" src="/teaching_images/flu_alignment_translation.png"&gt;&lt;/p&gt;
&lt;p&gt;The genetic code maps nucleotide triplets (so called codons) to amino acids.
In this case, codons start at the 2nd positions, i.e., the reading frame is +2.&lt;/p&gt;
&lt;h4&gt;Sequence alignment&lt;/h4&gt;
&lt;p&gt;The sequences in the file above are already aligned, that is corresponding nucleotides are arranged in columns in the alignment.
This is not necessarily the case.
Sequences could simply have different length (parts at the beginning or end are missing in some sequences), or during evolution some parts of the sequences might have been deleted or other inserted.
In this case, we need to align the sequences (insert gaps &lt;code&gt;-&lt;/code&gt; at the appropriate places) to make sure corresponding nucleotides are in the same column.
In this context, corresponding positions are positions that share a common ancestor, and in general such positions are more likely to be in the same state.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ATCTCGTCG---ACTC
||...|X||...||X|
AT---GACGGCGACGC
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To score and compare alignments, one typically assigns a positive score to a match &lt;code&gt;|&lt;/code&gt;, a negative score to a mismatch &lt;code&gt;X&lt;/code&gt; and gaps.
The optimal alignment of a pair of sequences can be computed in polynomial time (square of the length of the sequence) via a dynamic programming scheme (transfer matrix type for the physicists), but alignments of multiple sequences are in general a hard problem.
A fast but accurate mutliple alignment tool is &lt;code&gt;mafft&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;Phylogenetic tree reconstruction&lt;/h3&gt;
&lt;p&gt;Sequences of the same influenza virus segment descent from a common ancestor without recombination.
Their history is hence described by a tree that links the common ancestor to all offspring.
Tree reconstruction is in general hard since there are super exponentially many trees.
In most cases, however, efficient heuristics give accurate results.
A reliable but fast tree reconstruction package is &lt;code&gt;iqtree&lt;/code&gt;.
To construct a tree from the sequences above, type the following on the command line&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;iqtree -s H3N2_Australia.fasta
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will generate a number of files and the one ending on &lt;code&gt;treefile&lt;/code&gt; will contain the tree.
This tree is written in the so-called newick format that groups sequences like so&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="nt"&gt;A&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;B&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;12&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;05&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="nt"&gt;C&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;13&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To look at the tree you just constructed, do the following in &lt;code&gt;ipython&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;Bio&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Phylo&lt;/span&gt;
&lt;span class="n"&gt;T&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;Phylo&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;H3N2_Australia.fasta.treefile&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;newick&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ladderize&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;Phylo&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;draw&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;this should open a window with a graphical depiction of the tree.&lt;/p&gt;</content><category term="teaching"></category><category term="command line"></category><category term="bioinformatics"></category></entry><entry><title>Evolution of RNA viruses</title><link href="/201802_swissnex.html" rel="alternate"></link><published>2018-02-22T00:00:00+01:00</published><updated>2018-02-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-22:/201802_swissnex.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within infected individuals&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;
                The HIV population is initially homogeneous
            &lt;/li&gt;
            &lt;li&gt;
                HIV changes and diversifies to evade the immune system
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:8%; left:57%; width:35%"&gt;
        &lt;img class="plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:57%; left:55%; width:43%"&gt;
        &lt;img class="plain"  src="/talk_images/hiv_mutation_trajectories.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The evolving global population of influenza A/H3N2 viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:65%"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width="1000px"&gt;
        &lt;div style="position:absolute; top:3%; left:5%; width:40%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png" width="400px"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div current-visible" style="position:absolute; top:40%; left:5%; width:60%"&gt;
            &lt;font size=5&gt;
                &lt;ul&gt;
                    &lt;li&gt;Influenza viruses evolve to avoid human immunity …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within infected individuals&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;
                The HIV population is initially homogeneous
            &lt;/li&gt;
            &lt;li&gt;
                HIV changes and diversifies to evade the immune system
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:8%; left:57%; width:35%"&gt;
        &lt;img class="plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:57%; left:55%; width:43%"&gt;
        &lt;img class="plain"  src="/talk_images/hiv_mutation_trajectories.png" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;The evolving global population of influenza A/H3N2 viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:65%"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width="1000px"&gt;
        &lt;div style="position:absolute; top:3%; left:5%; width:40%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png" width="400px"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div current-visible" style="position:absolute; top:40%; left:5%; width:60%"&gt;
            &lt;font size=5&gt;
                &lt;ul&gt;
                    &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                    &lt;li&gt;Grey crosses indicated past vaccine viruses&lt;/li&gt;
                    &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/font&gt;
            &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:72%; width:27%; text-align:justify;"&gt;
        &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
            &lt;font size=5&gt;
&lt;p&gt;Positions in influenza haemaglutinin associated with escape from human immunity.&lt;/p&gt;
            &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/h3n2_prediction_2018.png"&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:0%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/h3n2_prediction_2018.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Within-host evolution of HIV and population genetics of rapid adaptation</title><link href="/201802_IST.html" rel="alternate"></link><published>2018-02-21T00:00:00+01:00</published><updated>2018-02-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-21:/201802_IST.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.basel.ch"&gt;hiv.biozentrum.basel.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!--

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;


&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness variation in rapidly adapting populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="100%"&gt;&lt;/img&gt;
    &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago? &lt;br&gt;
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
            &lt;li&gt;
                All other merger rates are also consistent with the Bolthausen-Sznitman coalescent:&lt;br&gt; $\quad\lambda_{b,k} = \frac{(k-2)!(b-k)!}{T_c (b-1)!}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Universality -- adaptation and deleterious mutations&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_DF_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;img src="talk_images/BSC_asexual_exponential_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:13%; left:52%; width:43%"&gt;
        &lt;img src="talk_images/BSC_asexual_deleterious.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;!-- SEXUAL POPULATIONS --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Extension to sexual populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:1%; width:70%"&gt;
        &lt;img src="talk_images/BSC_sexual.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:72%; width:28%; text-align:justify;"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;$T_{MRCA}$ determined by $\sigma_b$&lt;/li&gt;
                &lt;li&gt;Block length $\zeta_b$ is determined by $T_{MRCA}$&lt;/li&gt;
                &lt;li&gt;Fitness variation $\sigma_b$ is determined by block length&lt;/li&gt;
            &lt;/ul&gt;
            &amp;rarr; self-consistent solution required
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Kessinger, Shraiman PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;$T_{MRCA}$ and SFS&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/BSC_sexual_T2.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:52%; width:43%"&gt;
        &lt;img src="talk_images/BSC_sexual_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Kessinger, Shraiman PNAS, 2013&lt;/span&gt;
    &lt;div class="fragment" style="position:absolute; top:70%; left:20%; width:43%; text-align:justify;"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Fitness diversity in block: $\sigma_b = \frac{\mu \langle s^2\rangle}{2\rho}$&lt;/li&gt;
                &lt;li&gt;Qualitative change behavior around $N\sigma_b$&lt;/li&gt;
                &lt;li&gt;Total rate of adaptation: $\sim L\sqrt{\rho \mu \langle s^2\rangle \log N}$&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- &lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201802_TUM.html" rel="alternate"></link><published>2018-02-19T00:00:00+01:00</published><updated>2018-02-19T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-19:/201802_TUM.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;!-- &lt;section&gt;
    &lt;h2&gt;Does HIV evolve during therapy?&lt;/h2&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:40%;"&gt;
    &lt;font size=5&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; height: 80%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" height=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Real-time tracking, molecular epidemiology, and data sharing</title><link href="/201802_bellagio.html" rel="alternate"></link><published>2018-02-14T00:00:00+01:00</published><updated>2018-02-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-14:/201802_bellagio.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;bottom:10%; left:15%; width: 70%"&gt;
&lt;h5&gt;Can we use sequences to track an ongoing outbreak?&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:3%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;h5&gt;Need to sequence the entire genome!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent mutations imply...&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak differ from each other&lt;/li&gt;
    &lt;li&gt;data suggest transmission chains&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time molecular epidemiology during outbreaks?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Ebola virus outbreak in West Africa -- Dudas et al, Nature 2017&lt;/h3&gt;
&lt;video height="80%" data-autoplay src="talk_images/dudas_ebola_animation.mp4"&gt;&lt;/object&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;How do we avoid the long delay?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.tuebingen.mpg.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Building Trust&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Peter Bogner coordinated Influenza data sharing&lt;/li&gt;
        &lt;li&gt;Andrew Rambaut coordinated Ebola virus data sharing&lt;/li&gt;
        &lt;li&gt;During the EBV outbreak, WHO and journals explicitly encouraged data sharing&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;div style="position:absolute; top:10%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/zika_grubaugh.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22400.html"&gt; Grubaugh et al, samples from Florida&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:10%; left:55%; width:41%"&gt;
&lt;img src="/talk_images/zika_metsky.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22402.html"&gt;Metsky et al, sample from the Caribbean&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Challenges and Opportunities&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Software is not the bottleneck!&lt;/li&gt;
            &lt;li&gt;Lack of data sharing&lt;/li&gt;
            &lt;li&gt;timeliness of data sharing&lt;/li&gt;
            &lt;li&gt;inconsistent formats&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:40%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Sharing is not a priority since nothing is done with data&lt;/li&gt;
            &lt;li&gt;Sites like nextstrain provide incentives for data sharing&lt;/li&gt;
            &lt;li&gt;Automated analysis and web dissemination are low maintenance&lt;/li&gt;
            &lt;li&gt;Lots of synergies...&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/emma_hodcroft.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Emma Hodcroft&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime &amp; panX&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" class="plain" height=250px&gt;
            &lt;h4&gt;TreeTime: Pavel Sagulenko&lt;/h4&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;br&gt;
            webserver at &lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/153494"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=250px&gt;
            &lt;h5&gt;panX: Wei Ding&lt;/h5&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;br&gt;
            live site at &lt;a href="http://pangenome.de"&gt;pangenome.de&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/072082"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:30%; width:70%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Global morphogenetic flow is accurately predicted by the spatial distribution of myosin motors</title><link href="/striechan_gmf_2018.html" rel="alternate"></link><published>2018-02-09T00:00:00+01:00</published><updated>2018-02-09T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-09:/striechan_gmf_2018.html</id><summary type="html">&lt;p&gt;During embryogenesis tissue layers undergo morphogenetic flow rearranging and folding into specific shapes. While developmental biology has identified key genes and local cellular processes, global coordination of tissue remodeling at the organ scale remains unclear. Here we combine in toto light-sheet microscopy of the Drosophila embryo with quantitative analysis and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;During embryogenesis tissue layers undergo morphogenetic flow rearranging and folding into specific shapes. While developmental biology has identified key genes and local cellular processes, global coordination of tissue remodeling at the organ scale remains unclear. Here we combine in toto light-sheet microscopy of the Drosophila embryo with quantitative analysis and physical modeling to relate cellular flow with the patterns of force generation during the gastrulation process. We find that the complex spatio-temporal flow pattern can be predicted from the measured meso-scale myosin density and anisotropy using a simple effective viscous model of the tissue, achieving close to 90% accuracy with one time dependent and two constant parameters. Our analysis uncovers the importance of a) spatial modulation of myosin distribution on the scale of the embryo and b) the non-locality of its effect due to mechanical interaction of cells, demonstrating the need for the global perspective in the study of morphogenetic flow&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>The evolutionary dynamics of untreated HIV and the maintenance of the latent reservoir</title><link href="/201802_dienstagsclub.html" rel="alternate"></link><published>2018-02-06T00:00:00+01:00</published><updated>2018-02-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-02-06:/201802_dienstagsclub.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Inferred vs measured mutations rates (Abram et al)&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_experiment_comparison.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and rates of change&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=750px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Pipelines with snakemake</title><link href="/201801_snakemake.html" rel="alternate"></link><published>2018-01-22T00:00:00+01:00</published><updated>2018-01-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-22:/201801_snakemake.html</id><summary type="html">&lt;p&gt;&lt;a href="http://snakemake.readthedocs.io/en/latest/"&gt;Snakemake&lt;/a&gt; is a tool to build reproducible bioinformatic workflows.
It has convenient support for cluster queuing systems, which makes it attractive for us.&lt;/p&gt;
&lt;h3&gt;Requirements&lt;/h3&gt;
&lt;p&gt;Snakemake is written in python 3. I installed it in the anaconda environment &lt;code&gt;py3&lt;/code&gt; that we have on the cluster.
You can activate this environment by …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="http://snakemake.readthedocs.io/en/latest/"&gt;Snakemake&lt;/a&gt; is a tool to build reproducible bioinformatic workflows.
It has convenient support for cluster queuing systems, which makes it attractive for us.&lt;/p&gt;
&lt;h3&gt;Requirements&lt;/h3&gt;
&lt;p&gt;Snakemake is written in python 3. I installed it in the anaconda environment &lt;code&gt;py3&lt;/code&gt; that we have on the cluster.
You can activate this environment by&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;source activate py3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Basic idea&lt;/h3&gt;
&lt;p&gt;Similar to the classic GNU &lt;code&gt;make&lt;/code&gt;, you specify what you want how that is made.
These instructions are saved in a &lt;code&gt;snakefile&lt;/code&gt;.
Their website has this example&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;plots/dataset1.pdf&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;plots/dataset2.pdf&amp;quot;&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;raw/&lt;/span&gt;&lt;span class="si"&gt;{dataset}&lt;/span&gt;&lt;span class="s2"&gt;.csv&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;plots/&lt;/span&gt;&lt;span class="si"&gt;{dataset}&lt;/span&gt;&lt;span class="s2"&gt;.pdf&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;somecommand &lt;/span&gt;&lt;span class="si"&gt;{input}&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="si"&gt;{output}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The first rule specifies what you want to have as inputs.
Snakemake will then look at all other rules to see whether the required files match the output of another rule.
This matching can contain wild cards like &lt;code&gt;{dataset}&lt;/code&gt; in this case.
This is done recursively until snakemake arrives at a rule that has all required inputs on disk.&lt;/p&gt;
&lt;h3&gt;Example: Influenza viruses and segments&lt;/h3&gt;
&lt;p&gt;We commonly analyze different flu subtypes (&lt;code&gt;A/H3N2&lt;/code&gt;, &lt;code&gt;A/H1N1&lt;/code&gt;, &lt;code&gt;B/YAM&lt;/code&gt; and &lt;code&gt;B/VIC&lt;/code&gt;), each of which has eight segments.
To process sequence data for all of them, we could set up a snakefile as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;segments&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;pb1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;pa&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;np&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;mp&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ns&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;viruses&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# this makes a list of filenames for each segment and virus&lt;/span&gt;
&lt;span class="n"&gt;alignments&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{v}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{seg}&lt;/span&gt;&lt;span class="s2"&gt;/results/alignment.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;seg&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;segments&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;viruses&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignments&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;/results/sequences.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;/results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;mafft&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Adding parameters&lt;/h3&gt;
&lt;p&gt;Sometimes, your scripts needs additional parameters and structured input of files.
This can be achieved very elegantly in the following way&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;segments&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;pb2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;pb1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;pa&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ha&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;np&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;mp&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;na&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ns&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;viruses&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# this makes a list of filenames for each segment and virus&lt;/span&gt;
&lt;span class="n"&gt;alignments&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;expand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{v}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{seg}&lt;/span&gt;&lt;span class="s2"&gt;/results/alignment.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;seg&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;segments&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;viruses&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ref_seq_name&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;references&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;h3n2&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;A/Beijing/32/1992&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                  &lt;span class="s1"&gt;&amp;#39;h1n1pdm&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;A/California/07/2009&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                  &lt;span class="s1"&gt;&amp;#39;vic&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;B/HongKong/02/1993&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                  &lt;span class="s1"&gt;&amp;#39;yam&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;B/Singapore/11/1994&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;references&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;virus&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;


&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;alignments&lt;/span&gt;

&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nb"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;sequences&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;/results/sequence.fasta&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;refseq&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/metadata/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;_&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;_outgroup.gb&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;output&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;/results/alignment.fasta&amp;quot;&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;seasonal_flu/&lt;/span&gt;&lt;span class="si"&gt;{virus}&lt;/span&gt;&lt;span class="s2"&gt;/&lt;/span&gt;&lt;span class="si"&gt;{segment}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;ref&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ref_seq_name&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;python src/align.py --path  &lt;/span&gt;&lt;span class="si"&gt;{params.path}&lt;/span&gt;&lt;span class="s2"&gt; --reference &lt;/span&gt;&lt;span class="si"&gt;{input.refseq}&lt;/span&gt;&lt;span class="s2"&gt; &amp;amp;&amp;amp;&amp;quot;&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;python src/map_to_reference.py --path &lt;/span&gt;&lt;span class="si"&gt;{params.path}&lt;/span&gt;&lt;span class="s2"&gt; --reference &lt;/span&gt;&lt;span class="si"&gt;{params.ref}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This does a number of additional things.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;input files now have names and can be addressed as &lt;code&gt;input.sequences&lt;/code&gt; etc&lt;/li&gt;
&lt;li&gt;a &lt;code&gt;params&lt;/code&gt; field with variables that contain wild cards&lt;/li&gt;
&lt;li&gt;it defines a function &lt;code&gt;ref_seq_name&lt;/code&gt; which is called upon execution with wild cards as arguments.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These additional features allow for complex and powerful pipelines.&lt;/p&gt;
&lt;h3&gt;Running snakemake on the cluster&lt;/h3&gt;
&lt;p&gt;Snakemake can run all the jobs necessary in correct order on the cluster, but you'll have to tell it how to submit and what kind of resources it is allowed to use.
Furthermore, you have to run snakemake on a submit and keep that session alive, for example using &lt;code&gt;tmux&lt;/code&gt; or &lt;code&gt;nohup&lt;/code&gt; (very ugly but easy). This would work the following&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;nohup snakemake --snakefile seasonal_flu/flu_snake --jobs 32 --cluster &amp;quot;sbatch -t 05:59:00&amp;quot; 1&amp;gt;log2 &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This tells snakemake to use &lt;code&gt;sbatch&lt;/code&gt; to submit jobs with a time limit of 6h and run at most 32 jobs in parallel.
In many cases, it might be better to specify rule specific resources via a cluster configuration json or individual submit scripts for the rules.
Furthermore, if you scripts use modules that need to be loaded or need to modify you path, you might want to do something like&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rule&lt;/span&gt; &lt;span class="n"&gt;align&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="o"&gt;...&lt;/span&gt;
    &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;export PATH=/path_to_anaconda/anaconda2/bin/:$PATH &amp;amp;&amp;amp; &amp;quot;&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;ml MAFFT &amp;amp;&amp;amp; &amp;quot;&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;python src/align.py --path  &lt;/span&gt;&lt;span class="si"&gt;{params.path}&lt;/span&gt;&lt;span class="s2"&gt; --reference &lt;/span&gt;&lt;span class="si"&gt;{input.refseq}&lt;/span&gt;&lt;span class="s2"&gt; &amp;amp;&amp;amp;&amp;quot;&lt;/span&gt;
        &lt;span class="s2"&gt;&amp;quot;python src/map_to_reference.py --path &lt;/span&gt;&lt;span class="si"&gt;{params.path}&lt;/span&gt;&lt;span class="s2"&gt; --reference &lt;/span&gt;&lt;span class="si"&gt;{params.ref}&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="notes"></category><category term="bioinformatics"></category><category term="snakemake"></category></entry><entry><title>Emma Hodcroft</title><link href="/emma-hodcroft.html" rel="alternate"></link><published>2018-01-14T00:00:00+01:00</published><updated>2018-01-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-14:/emma-hodcroft.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Nicholas Noll</title><link href="/nicholas-noll.html" rel="alternate"></link><published>2018-01-14T00:00:00+01:00</published><updated>2018-01-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-14:/nicholas-noll.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Sanda Dejanic</title><link href="/sanda-dejanic.html" rel="alternate"></link><published>2018-01-14T00:00:00+01:00</published><updated>2018-01-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-14:/sanda-dejanic.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Does a small transmission bottleneck slow down antigenic evolution?</title><link href="/201801_influenza_bottlenecks.html" rel="alternate"></link><published>2018-01-03T00:00:00+01:00</published><updated>2018-01-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-03:/201801_influenza_bottlenecks.html</id><summary type="html">&lt;p&gt;Two studies of the influenza virus transmission bottleneck size (the typical number of viral genomes that contribute to a new infection) have come to very different conclusions:
&lt;a href="https://www.nature.com/articles/ng.3479"&gt;Poon et al, 2014&lt;/a&gt; estimated a bottle neck size of the order of 100, while &lt;a href="https://www.biorxiv.org/content/early/2017/11/25/176362"&gt;McCrone et al, 2017&lt;/a&gt; estimate a typical bottleneck …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Two studies of the influenza virus transmission bottleneck size (the typical number of viral genomes that contribute to a new infection) have come to very different conclusions:
&lt;a href="https://www.nature.com/articles/ng.3479"&gt;Poon et al, 2014&lt;/a&gt; estimated a bottle neck size of the order of 100, while &lt;a href="https://www.biorxiv.org/content/early/2017/11/25/176362"&gt;McCrone et al, 2017&lt;/a&gt; estimate a typical bottleneck of size one.
The differences between those studies likely have to do with the setting in which transmission happened, but this is not the focus of this post.
Instead, I'd like to discuss whether the transmission bottleneck size actually matters for the way we think about influenza virus evolution.&lt;/p&gt;
&lt;p&gt;Population bottlenecks are typically associated with inefficient selection since each bottleneck down-samples the population and likely prunes rare beneficial variants from the population.
The situation in influenza virus populations is, however, very different from the classical population genetics scenario:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;100s of millions of humans are infected every year&lt;/li&gt;
&lt;li&gt;the viral mutation rate is much larger than the inverse populations size (both the within host viral population as well as the number of infected hosts)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While bottlenecks will surely decrease the rate at which beneficial mutations spread, we will see that even tiny transmission bottlenecks allow for efficient selection of antigenic escape mutations.&lt;/p&gt;
&lt;h3&gt;The dynamics of mutations within hosts&lt;/h3&gt;
&lt;p&gt;The typical influenza virus infection last a few days with several tens of viral replication cycles (~6h).
The peak viral load (very roughly \(10^6\)/ml, \(10^8\) total) is observed after about two days or eight replication cycles, suggesting a replication ratio of about \(R_0 = 10\) and an exponential growth rate of \(\alpha\approx 2\) per cycle (again very rough, &lt;a href="http://jvi.asm.org/content/80/15/7590.full"&gt;Baccam et al&lt;/a&gt; estimate \(R_0\) to be a little higher, &lt;a href="http://rsif.royalsocietypublishing.org/content/13/119/20160289"&gt;Hadjichrysanthou et al&lt;/a&gt; estimate lower values).&lt;/p&gt;
&lt;p&gt;Now consider a mutation that allows partial escape from preexisiting immunity.
Viruses with this mutation will spread preferentially from one individual to the next (we'll consider this part below), but they are also likely beneficial within the host.
Such mutations arise from the infecting clone with a mutation rate \(\mu \approx 2 \times 10^{-5}\) per cycle and we'll parameterize their effect on replication by a selection coefficient \(s\) (for every new infection by an original virus, mutants will produce on average \(1+s\)).
The infecting virus population initially increases as
\(n_0 = e^{\alpha t}\)
and produces mutant virus rate \(\mu n_0\).
The resulting mutant clones will then subsequently increase with rate \(\alpha+s\) and the fraction of mutant viruses at time \(\tau\)
$$
f_m(\tau) = \frac{n_m}{n_0} =  \frac{\int_{0}^\tau \mu e^{\alpha t}e^{(\alpha+s) (\tau-t)} dt}{e^{\alpha \tau}} = \frac{\mu}{s}\left[e^{s \tau}-1\right]
$$
where \(\tau\) is measured in replication cycles.
Substantial selection will happen if \(s\tau\gg 1\) which is the case as soon \(s\) exceeds a 10%.
It is not typically observed that a mutation rises to frequencies of order one within hosts, but \(s\tau \sim 4\) would increase a variant frequency to 0.5%  -- a big effect but still hardly detectable in sequencing data.&lt;/p&gt;
&lt;p&gt;If, instead of arising by mutation from the original virus type, the mutant is initially present at frequency \(f_0\), the frequency at time \(\tau\) will be simply
$$
f(\tau) = \frac{e^{s\tau}}{(f_0^{-1}-1)+e^{s\tau}}
$$&lt;/p&gt;
&lt;h3&gt;Transmission&lt;/h3&gt;
&lt;p&gt;Most human influenza transmission is via droplets and these droplets contain many viruses.
But many of these viruses are defunct or fail to contribute to the infection because they end up in the wrong place or fail to over-come host defenses.
An antigenically novel mutant virus is likely preferentially transmitted.
We will parameterize this effect by having making the probability to transmit proportional to \(1+fr\) where \(f\) is the frequency of the mutant.
The initial frequency of mutant in the new infection is then binomially distributed with \(b\) trials and success probability \(f\).&lt;/p&gt;
&lt;p&gt;The figure below shows the results of a simple simulation.
As expected, large bottlenecks accelerate the spread of the mutant, but not dramatically so.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mutations" src="/images/spread_of_mutations.png"&gt;&lt;/p&gt;
&lt;p&gt;The effect of the bottleneck is pronounced if there is substantial within host selection (large \(s\)) and only a small effect on the transmission rate (small \(r\)), while the bottleneck size matters little if no strong selection is going on within (small \(s\), large \(r\)).&lt;/p&gt;
&lt;h3&gt;Asymptotic behavior for small bottlenecks&lt;/h3&gt;
&lt;p&gt;For very small bottlenecks as observed by &lt;a href="https://www.biorxiv.org/content/early/2017/11/25/176362"&gt;McCrone et al&lt;/a&gt; variation is not transmitted and the within host amplification of mutations has the effect of an increased effective mutation rate given by
$$
\mu_e = \frac{\mu}{s}\left[e^{s\tau}-1\right]
$$
For \(s\tau\approx 3\), this will increase the mutation rate by a factor of 10.
Beyond that, selection operates at the level of transmission and the mutants spread with a growth rate \(r\).
An effective model based on this increased mutation rate and selection coefficient \(r\) describes the simulations for small bottlenecks well (grey lines in the figure).&lt;/p&gt;
&lt;p&gt;For very large bottlenecks, selection operates continuously on each viral replication and the mutant enjoys an average growth rate of \(s + r/\tau\) per virus replication.
This growth rate is only realized for bottleneck sizes on the order of the inverse mutation rate.&lt;/p&gt;
&lt;h3&gt;Summary&lt;/h3&gt;
&lt;p&gt;The rapid molecular evolution of seasonal influenza viruses depends much more strongly on the ability of the virus to evade pre-existing immunity by mutation than efficient transmission of minor variation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Even if the bottleneck is tiny, a variant will spread as long as it confers a benefit at transmission.&lt;/li&gt;
&lt;li&gt;Small bottlenecks slow down but don't prevent the spread of an antigenic escape variant. But the effect of bottlenecks is large when within host selection is strong compared to its effect on transmission.&lt;/li&gt;
&lt;li&gt;The dynamics when bottleneck are small is well described by a model with selection only at transmission. All within-host dynamics can be captured by an effective mutation rate.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The transmission bottleneck is important for all sorts of other aspects, including our ability to track transmission chains, complementation, etc. Please keep sequencing!&lt;/p&gt;
&lt;h3&gt;Updates&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://twitter.com/AdamJKucharski/status/948950192639758336"&gt;Adam Kucharski&lt;/a&gt; pointed out that the effect of mutations on within host dynamics and transmission can go in opposite directions: &lt;a href="https://www.nature.com/articles/srep29793"&gt;Frise et al, Scientific Reports&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://twitter.com/dbweissman/status/948963392034885633"&gt;Daniel Weissman&lt;/a&gt; remarked that the way the simulation selects for transmission is purely on the basis of the fraction of mutant in the droplet and doesn't account for preferential infection by the mutant beyond the mutation frequency. This should be accounted for.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks a lot for your feedback.&lt;/p&gt;
&lt;h3&gt;Code&lt;/h3&gt;
&lt;p&gt;The figure above was generated with this python script:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;scipy.stats&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;binom&lt;/span&gt;

&lt;span class="c1"&gt;# set parameters&lt;/span&gt;
&lt;span class="n"&gt;Nhost&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100000&lt;/span&gt;
&lt;span class="n"&gt;mu&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;2e-5&lt;/span&gt;
&lt;span class="n"&gt;max_gen&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;
&lt;span class="n"&gt;tau&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;


&lt;span class="c1"&gt;# set up four panel figure&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;
&lt;span class="n"&gt;fig&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subplots&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sharey&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sharex&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;figsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="c1"&gt;# loop over transmission effect r and within host effect s&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;0.07&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;&lt;span class="p"&gt;]):&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;si&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;0.07&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.15&lt;/span&gt;&lt;span class="p"&gt;]):&lt;/span&gt;
        &lt;span class="n"&gt;ax&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;si&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_title&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;s=&lt;/span&gt;&lt;span class="si"&gt;%1.2f&lt;/span&gt;&lt;span class="s2"&gt;, r=&lt;/span&gt;&lt;span class="si"&gt;%1.2f&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

        &lt;span class="c1"&gt;# loop over bottleneck b&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
            &lt;span class="n"&gt;fmut&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Nhost&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;tmp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Nhost&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;mutation_frequency&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="n"&gt;mutation_frequency&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mf"&gt;0.99&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="c1"&gt;# within host&lt;/span&gt;
                &lt;span class="n"&gt;ind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
                &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;mu&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;tau&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;~&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;tau&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;fmut&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# normalize (logistic)&lt;/span&gt;

                &lt;span class="c1"&gt;# transmission&lt;/span&gt;
                &lt;span class="n"&gt;success&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
                &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Nhost&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="c1"&gt;# generate at least Nhost transmission with success probability 1+fr&lt;/span&gt;
                    &lt;span class="n"&gt;ind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
                    &lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;extend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

                &lt;span class="c1"&gt;# shuffle transmissions and resample binomially&lt;/span&gt;
                &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shuffle&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;fmut&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;binom&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rvs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="n"&gt;Nhost&lt;/span&gt;&lt;span class="p"&gt;]),&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;

                &lt;span class="c1"&gt;# record overall mutation frequency&lt;/span&gt;
                &lt;span class="n"&gt;mutation_frequency&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fmut&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;

            &lt;span class="c1"&gt;#plot mutation frequency trajectory&lt;/span&gt;
            &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mutation_frequency&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;b=&lt;/span&gt;&lt;span class="si"&gt;%d&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;lw&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="c1"&gt;# plot the effective model for small bottlenecks&lt;/span&gt;
        &lt;span class="n"&gt;mu_e&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;mu&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;tau&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;mu_e&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;mu_e&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;k&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;lw&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;si&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;time&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fontsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;mutation frequency&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fontsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;si&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;loc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fontsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;ax&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_xlim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;170&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="post"></category><category term="influenza evolution"></category></entry><entry><title>How pairwise coevolutionary models capture the collective residue variability in proteins</title><link href="/CoEvModelMBE.html" rel="alternate"></link><published>2018-01-01T00:00:00+01:00</published><updated>2018-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2018-01-01:/CoEvModelMBE.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Why are spaced seeds more sensitive?</title><link href="/201712_spaced_seeds.html" rel="alternate"></link><published>2017-12-27T00:00:00+01:00</published><updated>2017-12-27T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-27:/201712_spaced_seeds.html</id><summary type="html">&lt;p&gt;Spaced seeds puzzled me the first time I came across the claim that they increase sensitivity.
The claim is correct and not actually that mysterious, but I intuitively thought about it the wrong way.
My initially fallacy was to consider the probability of an exact match which clearly only depends …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Spaced seeds puzzled me the first time I came across the claim that they increase sensitivity.
The claim is correct and not actually that mysterious, but I intuitively thought about it the wrong way.
My initially fallacy was to consider the probability of an exact match which clearly only depends on the length of the seed (assuming equal character probabilities).
However, to detect homology, what matters is not the expected number of matches but the probability of finding at least one match.
Different seeds differ in the way matches are clustered along the genome.
When moving a seed without gaps by one letter, only one additional letter is queried.
Hence if position \(i\) is a match, it is very likely that position \(i+1\) is a match as well -- in other words seed matches cluster.
This clustering makes it more likely that homology is missed in a particular gene.
When moving a spaced seed by one letter, several new positions contribute to the seed.
The code below illustrates this behavior.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;

&lt;span class="n"&gt;L&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
&lt;span class="n"&gt;s1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fromstring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;1111111111&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;S1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="sa"&gt;b&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;s2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fromstring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;101100111011101&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;S1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="sa"&gt;b&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;ps&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;sensitivity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="n"&gt;mean_match&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="n"&gt;std_match&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;matches&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;aln&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;
        &lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;([(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;convolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;aln&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mask&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mode&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;valid&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mask&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;mask&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;s1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s2&lt;/span&gt;&lt;span class="p"&gt;]])&lt;/span&gt;


    &lt;span class="n"&gt;matches&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;average number of matches:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;fraction of alignments with match:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;sensitivity&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;mean_match&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;std_match&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;std&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="n"&gt;sensitivity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sensitivity&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;mean_match&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mean_match&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;std_match&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;std_match&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;fig&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subplots&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;figsize&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sensitivity&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;not spaced&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sensitivity&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;spaced seed&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;sensitivity&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;similarity&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mean_match&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;not spaced&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mean_match&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;spaced seed&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;mean number of matches&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;similarity&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;std_match&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;not spaced&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ps&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;std_match&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;spaced seed&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;standard deviation of number of matches&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;axs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;set_xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;similarity&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="notes"></category><category term="bioinformatics"></category></entry><entry><title>Mutating branching processes in deteriorating environments</title><link href="/201712_branching_process_traveling_wave.html" rel="alternate"></link><published>2017-12-22T00:00:00+01:00</published><updated>2017-12-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-22:/201712_branching_process_traveling_wave.html</id><summary type="html">&lt;p&gt;One often encounters the problem of a branching process in a changing environment.
Let's assume that the environment is changing such that birth rates behave as
$$
b = 1 + x - vt
$$
while death rates are constant at \(d=1\).
This situation is a typical model of a lineages in an adapting …&lt;/p&gt;</summary><content type="html">&lt;p&gt;One often encounters the problem of a branching process in a changing environment.
Let's assume that the environment is changing such that birth rates behave as
$$
b = 1 + x - vt
$$
while death rates are constant at \(d=1\).
This situation is a typical model of a lineages in an adapting population where \(vt\) is the increasing mean fitness of the population.
In order to survive, the lineage has to adapt and keep up with the increasing mean fitness.
Let's assume a general mutation process with step site distribution \(\mu(s)\) and a total mutation rate \(\mu = \int ds \mu(s)\).
One straightforward way to calculate the distribtion \(p(n,t|x)\) of the number of descendants \(n\) at time \(t\) given the lineages started at fitness \(x\) at time \(t=0\) is via a first step equation.
A first step equation (similar to a backward Fokker-Planck equation) varies with respect to the initial condition and expresses \(p(n,t|x)\) as the whatever happens between \(t=0\) and \(t=\Delta t\) and \(p(n,t-\Delta t | x - v\Delta t)\).
Importantly, at \(t=\Delta t\) the mean fitness of the population has increases by \(v\Delta t\) and the growth rate of the focal lineage had decreased.
The first step equation then reads
$$
p(n,t|x) = (1 - \Delta t (2+x+\mu))p(n,t-\Delta t|x-v\Delta t) + \Delta t \left[\delta(n=0) + (1+x)\sum_{n'=0}^n p(n', t|x)p(n-n', t|x) + \int ds \mu(s)(p(n,t|x-s) - p(n,t|x)) \right]
$$
The first terms corresponds to nothing happening other than the clock advancing, while the terms in brackets correspond to death, division, and mutation.
Rearranging and approximating the mutation terms by a Taylor series in small mutations, we have
$$
\dot{p}(n,t|x) + vp'(n,t|x) = -(2+x)p(n,t|x) + \delta(n=0) + (1+x)\sum_{n'=0}^n p(n', t|x)p(n-n', t|x) + \mu\langle s\rangle p'(n,t|x-s) + \frac{\mu \langle s^2\rangle}{2}p''(n,t|x)
$$
To clean this up a little, let's define \(\sigma^2 = v - \mu \langle s \rangle\) and \(D = \frac{\mu \langle s^2 \rangle}{2}\).
$$
\dot{p}(n,t|x) = -(2+x)p(n,t|x) + \delta(n=0) + (1+x)\sum_{n'=0}^n p(n', t|x)p(n-n', t|x) - \sigma^2 p'(n,t|x-s) + Dp''(n,t|x)
$$
Next, we consider the generating function \(\hat{p}(\lambda, t|x) = \sum_{n=0}^\infty \lambda^n p(n,t|x)\).
Multiplying the equation by \(\lambda^n\) and summing over \(n\) will factorize the convolution and turn the \(\delta(n=0)\) into 1:
$$
\dot{\hat{p}}(\lambda,t|x) = -(2+x)\hat{p} + 1 + (1+x)\hat{p}^2 - \sigma^2 \hat{p}' + D\hat{p}''
$$
This equation can be further simplified by substituting \(\phi = 1 -\hat{p}\):
$$
\dot{\phi}(\lambda,t|x) = (2+x)(1-\phi) - 1 - (1+x)(1-\phi)^2 - \sigma^2 phi' + D\phi''
$$
which after some rearrangment simplifies to
$$
\dot{\phi}(\lambda,t|x) = x\phi - \sigma^2 \phi' + D\phi''  - (1+x)\phi^2
$$
The initial condition is \(\phi(\lambda, t=0|x)= 1-\sum_n \lambda^n p(n,t=0|x)=1-\lambda\) when starting from one individual at fitness \(x\).&lt;/p&gt;
&lt;h3&gt;The mean number of descendents&lt;/h3&gt;
&lt;p&gt;The mean \(\langle n\rangle(t|x) = -\frac{d\phi}{d\lambda}(\lambda=1)\).
We can therefore derive the following equation for the mean
$$
\dot{\langle n\rangle}(t|x) = x\langle n\rangle - \sigma^2 \langle n\rangle' + D\langle n\rangle''  - 2(1+x)\phi|_{\lambda=1} \langle n\rangle
$$
where the last term is identical zero since \(\phi==0\) if the initial condition is \(\lambda=1\) (all terms in the evolution equation for \(\phi\) vanish if \(\phi=0\)).
This equation has the solution
$$
\langle n\rangle(t,x) = e^{xt - \frac{\sigma^2t^2}{2} + \frac{Dt^3}{3}}
$$
The clone initally starts growing but the growth rate is gradually declining due to increasing mean fitness. During this time, the clone is diversifying and develops into a small traveling wave of its own.
Selection on the increasing diversity attenuates the decline in growth rate.
Only when the initial fitness is \(&amp;gt;\frac{\sigma^4}{2D}\) is the growth rate always positive.
This initial fitness corresponds to the positions of the most fit individuals in a traveling wave model.&lt;/p&gt;
&lt;h3&gt;Survival probability&lt;/h3&gt;
&lt;p&gt;The probability that there is at least one descendant at time \(t\) is
$$
p_s = 1 - p(0,t|x) = 1 - \hat{p}(0,t|x) = \phi(0,x,t)
$$
With initial condition \(\lambda=0, \phi=1\), the solution for \(\phi\) undergoes different characterisitic phases.
At small times, \(\phi\) is flat and none of the derivatives are important.
Furthermore, typical fitness differentials are small (\(|x|\ll 1\)) such that the initial dominant balance is \(\dot{\phi} = -\phi^2\) with solution
$$
\phi(t|x) = \frac{1}{1+t}
$$
Hence the branching process is initially insensitive to growth rate differences and behaves like a critical branching process.
Only after \(t\sim 1/x\gg1\) is the selection term important.
At large \(x\), the dominant balance shifts to \(x\phi = (1+x)\phi^2\) and therefore \(\phi = x/(1+x\).
This is the same result as you would find for a standard super-critical branching process: The lineage needs to escape initial stochastic loss, but once established grows fast enough to outrun the adapting population.
This dominant balance will remain valid above \(x_c = \frac{\sigma^4}{2D}\).&lt;/p&gt;
&lt;p&gt;&lt;img alt="survival" src="/teaching_images/traveling_wave_survival_probability.png"&gt;&lt;/p&gt;
&lt;p&gt;Below \(x_c\), the increasing mean fitness strongly reduces the fixation probability.
Ignoring the \(\phi^2\) term, the remaining linear equation at steady state
$$
0 = x\phi - \sigma^2 \phi' + D\phi''
$$
Has a solution in terms of Airy functions.
The relevant solution goes to zero at large negative \(x\) and crosses over to the linear&lt;/p&gt;
&lt;p&gt;The script below solves for the survival probability at different times (via a very simple minded forward Euler solution of the differential equation).&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;dphidt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;

    &lt;span class="n"&gt;dphidx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;dphidx&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="n"&gt;dphidx&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="n"&gt;dphidx&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

    &lt;span class="n"&gt;dphidx2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;dphidx2&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.25&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dphidx&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dphidx2&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;


&lt;span class="n"&gt;D&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.0005&lt;/span&gt;
&lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.002&lt;/span&gt;
&lt;span class="n"&gt;dt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.01&lt;/span&gt;

&lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;.2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;300&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="mi"&gt;151&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;phi&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ones_like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
        &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;t=&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;
        &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;
    &lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;dt&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dphidt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;phi&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;loc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;k&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;))[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;k&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;survival probability&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;initial growth rate&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="notes"></category><category term="branching process"></category><category term="first-step equation"></category></entry><entry><title>Branching processes with time dependent birth and death rates</title><link href="/201712_general_branching_process.html" rel="alternate"></link><published>2017-12-22T00:00:00+01:00</published><updated>2017-12-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-22:/201712_general_branching_process.html</id><summary type="html">&lt;p&gt;Let's consider a process in which individuals die and give birth at rates \(\alpha(t)\) and \(\beta(t)\), respectively.
We could solve this problem via a forward equation with the method of characteristics.
But it is a lot easier using a first step equation approach.
Starting with one individual at …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Let's consider a process in which individuals die and give birth at rates \(\alpha(t)\) and \(\beta(t)\), respectively.
We could solve this problem via a forward equation with the method of characteristics.
But it is a lot easier using a first step equation approach.
Starting with one individual at \(t\), we can express \(p(n,\tau|1,t)\) as
$$
p(n,\tau|1,t) = (1-\Delta t (\alpha(t)+\beta(t)))p(n,\tau|1,t+\Delta t) + \Delta t \left[\beta(t)\delta(n=0) + \alpha(t)\sum_{n'=0}^n p(n',\tau|1,t)p(n-n',\tau|1,t)\right]
$$
This difference equation corresponds to the ODE
$$
-\frac{d p(n,\tau|1,t)}{dt} = -(\alpha(t)+\beta(t))p(n,\tau|1,t) + \beta(t)\delta(n=0) + \alpha(t)\sum_{n'=0}^n p(n',\tau|1,t)p(n-n',\tau|1,t)
$$
Note that the sign of the time derivative is different since the derivative is with respect to the starting time.
As before, we use the Laplace transform \(\phi(\lambda,\tau,t) = \sum_n \lambda^n p(n,\tau|1,t)\) to obtain
$$
-\frac{d \hat{p}(\lambda,\tau|1,t)}{dt} = -(\alpha(t)+\beta(t))\hat{p}(\lambda,\tau|1,t) + \beta(t) + \alpha(t)\hat{p}(\lambda,\tau|1,t)^2
$$
Furthermore, we substitute \(\phi(\lambda,t|t') = 1 - \hat{p}(\lambda,t|t')\)
$$
\frac{d \phi(\lambda,\tau|t)}{dt} = -(\alpha(t)+\beta(t))(1-\phi(\lambda,\tau|t)) + \beta(t) + \alpha(t)(1-\phi(\lambda,\tau|t))^2
$$
$$
\frac{d \phi(\lambda,\tau|t)}{dt} = (\alpha(t)-\beta(t))\phi(\lambda,\tau|t) - \alpha(t)\phi(\lambda,\tau|t)^2
$$
This equation can be integrated (\s(t) = \alpha(t)-\beta(t)\))u
$$
\phi(\lambda,\tau|t) = \frac{e^{-\int_t^{\tau} s(t')}}{C + \alpha(t)\int_t^\tau e^{-\int_{t'}^{\tau} s(t')}dt'}
$$
At the initial time \(\tau=t\) we need \(\phi(\lambda,t|t) = 1-\lambda\) and hence the integration constant is
$$
C = (1-\lambda)^{-1}
$$&lt;/p&gt;
&lt;h3&gt;Sanity check: moments&lt;/h3&gt;
&lt;p&gt;The normalization of the probability distribution requires that \(\phi(\lambda=1)\) vanishes at all times.
Our solution has this property since \(C\) diverges in this case.
Similarly, the derivative wrt to \(\lambda\) evaluated at \(\lambda=1\) should evaluate to the mean number of descendants:&lt;/p&gt;</content><category term="notes"></category><category term="branching process"></category></entry><entry><title>Neutral site frequency spectra</title><link href="/201712_neutral_site_frequency_spectra.html" rel="alternate"></link><published>2017-12-22T00:00:00+01:00</published><updated>2017-12-22T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-22:/201712_neutral_site_frequency_spectra.html</id><content type="html">&lt;h3&gt;To Come&lt;/h3&gt;</content><category term="notes"></category><category term="Kingman"></category><category term="Kimura diffusion"></category><category term="site frequency spectra"></category></entry><entry><title>The evolutionary dynamics of untreated HIV and the maintenance of the latent reservoir</title><link href="/201712_IISc.html" rel="alternate"></link><published>2017-12-19T00:00:00+01:00</published><updated>2017-12-19T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-19:/201712_IISc.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Deep sequencing of plasma RNA&lt;/h3&gt;
    &lt;img src="/talk_images/sketchPrepCircle.png" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Inferred vs measured mutations rates (Abram et al)&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_experiment_comparison.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and rates of change&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=750px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Genomic basis and evolutionary potential for extreme drought adaptation in Arabidopsis thaliana</title><link href="/exposito2018genomic.html" rel="alternate"></link><published>2017-12-18T00:00:00+01:00</published><updated>2017-12-18T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-18:/exposito2018genomic.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Evolution of HIV</title><link href="/201712_ICTP1.html" rel="alternate"></link><published>2017-12-15T00:00:00+01:00</published><updated>2017-12-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-15:/201712_ICTP1.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
        &lt;h3&gt;From qualitative to quantitative&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;What are the relevant parameters?&lt;/li&gt;
                &lt;li&gt;How does adaptation and diversity depend on parameters?&lt;/li&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
        &lt;h3&gt;From qualitative to quantitative&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;What are the relevant parameters?&lt;/li&gt;
                &lt;li&gt;How does adaptation and diversity depend on parameters?&lt;/li&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Experimental evolution -- Lenski experiment&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:8%; width: 33%; text-align: left;"&gt;
        &lt;img src="/talk_images/LTEE_Timeline.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/lenski_LTEE_picture.png" width="60%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/Lenski_Desai_trajectories.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Rich Lenski, Ben Good, Michael Desai et al&lt;/span&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
    &lt;img src="talk_images/HIV-SIV-phylogenetic-tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute; left:50%; top:20%; width: 40%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;wikipedia, Klenermann et al&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width:80%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg" width="800px"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch_engl.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutation rate, evolutionary rate, substitution rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 60%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:70%; width: 30%"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Mutation rate != evolutionary rate&lt;/li&gt;
                &lt;li&gt;Neutral divergence = $\mu t$&lt;/li&gt;
                &lt;li&gt;Diversifying selection &amp;rarr; faster&lt;/li&gt;
                &lt;li&gt;Purifying selection &amp;rarr; slower&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution in different parts of the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:60%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:15%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:53%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV recombination&lt;/h3&gt;
    &lt;img src="talk_images/HIV_recombination_sketch.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Recombination and linkage&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;img src="talk_images/recombination_sketch.png" width=100% class=plain&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:45%; width:55%"&gt;
        &lt;img src="talk_images/HIV_linkage.svg" width=100% class=plain&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Why recombination?&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
        &lt;img src="talk_images/recombination_benefit_1.png" width=100% class=plain&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:45%; width:50%"&gt;
        &lt;img src="talk_images/recombination_benefit_2.png" width=100% class=plain&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:65%; left:10%; width:80%"&gt;
        &lt;ul&gt;
            &lt;li&gt;Red and blue: beneficial mutations&lt;/li&gt;
            &lt;li&gt;Black: deleterious mutation&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:5%; width:50%"&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state at rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width="1300px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=750px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Summary&lt;/h3&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Deep sequencing allows comprehensive characterization of evolving populations&lt;/li&gt;
        &lt;li&gt;RNA viruses evolve rapidly enough to observe dynamics&lt;/li&gt;
        &lt;li&gt;Fitness landscape can be estimated explicitly&lt;/li&gt;
        &lt;li&gt;Constant struggle between maintaining a functional virus and adaptation to host immunity&lt;/li&gt;
        &lt;li&gt;Latently integrated virus is an accurate snapshot of the virus before therapy&lt;/li&gt;
        &lt;li&gt;Latent virus can serve as barcode for T-cells. &lt;/li&gt;
    &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Questions&lt;/h2&gt;
    &lt;font size=6&gt;
    &lt;div&gt;
    &lt;ul&gt;
        &lt;li&gt;Complex dynamics of many mutations: How do they interact?&lt;/li&gt;
        &lt;li&gt;What are appropriate theoretical frameworks?&lt;/li&gt;
        &lt;li&gt;Can we quantify the effect of recombination on HIV adaptation?&lt;/li&gt;
        &lt;li&gt;How important is epistasis?&lt;/li&gt;
        &lt;li&gt;Are there regions in the HIV genome that can't escape the immune system?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Applied evolutionary biology: tracking and predicting the spread of disease</title><link href="/201712_ICTP2.html" rel="alternate"></link><published>2017-12-15T00:00:00+01:00</published><updated>2017-12-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-15:/201712_ICTP2.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza seasonality - USA&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_subtypes.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_subtypes_zoom.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab …&lt;/h3&gt;&lt;/a&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Influenza seasonality - USA&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_subtypes.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_subtypes_zoom.png" width=100%&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/flu_vaccine_schedule.jpg" width="80%"&gt;
    &lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;&lt;a href="https://www.nature.com/articles/nature13087"&gt;Influenza virus prediction by Luksza &amp; Lässig&lt;/a&gt;&lt;/h3&gt;
    &lt;div style="position:absolute; top:14%; left:5%; width:44%"&gt;
        &lt;img src="talk_images/H1N1_epitope_structure.jpg"&gt;&lt;br&gt;
    &lt;span class="ref"&gt;&lt;a href="http://jvi.asm.org/content/88/21/12364.abstract"&gt;Matzusaki et al, JVI, 2014&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment"  style="position:absolute; top:70%; left:5%; width:44%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Epitope mutations: association with antigenic change&lt;/li&gt;
            &lt;li&gt;Non-epitope mutations: likely deleterious&lt;/li&gt;
            &lt;li&gt;Nonlinear component: synonymous mutations&lt;/li&gt;
        &lt;/ul&gt;
        $$W = \frac{x_i(t+1)}{x_i(t)} = e^{f_0 + \alpha f_{ep} + \beta f_{ne} + \gamma f_{nl}}$$
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:14%; left:55%; width:44%"&gt;
        &lt;img src="talk_images/L_L_prediction.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Are antigenic distances tree-like?&lt;/h3&gt;
    &lt;div style="position:absolute; top:21%; left:5%; width:38%"&gt;
    &lt;img src="/talk_images/HI_quartett.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:11%; left:55%; width:38%"&gt;
    &lt;img src="/talk_images/HI_H3N2_tree_distances.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rate of antigenic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/influenza_antigenic_advance.png" width="100%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Cumulative antigenic evolution since the root: $\sum_i d_i$&lt;/li&gt;
        &lt;li&gt;A/H3N2 evolves faster antigenically&lt;/li&gt;
        &lt;li&gt;A/H3N2 has a more rapid population turn-over&lt;/li&gt;
        &lt;li&gt;Proportion of children is high in B vs A/H3N2 infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/h3n2_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/vic_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/yam_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How many sites are involved?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
    &lt;img src="/talk_images/H3N2_HA_structure.png"  class="plain"  width="70%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HI_H3N2_cumulative_effects.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:40%; width:20%"&gt;
        &lt;font size=5&gt;
        &lt;table class="table table-striped"&gt;
            &lt;col width="70%"&gt;
            &lt;col width="30%"&gt;
            &lt;thead&gt;&lt;tr&gt;&lt;td&gt;Mutation&lt;/td&gt;&lt;td&gt;effect&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;
            &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;K158N/N189K&lt;/td&gt;
                &lt;td&gt;3.64&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K158R&lt;/td&gt;
                &lt;td&gt;2.31&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K189N&lt;/td&gt;
                &lt;td&gt;2.18&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S157L&lt;/td&gt;
                &lt;td&gt;1.29&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;V186G&lt;/td&gt;
                &lt;td&gt;1.25&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S193F&lt;/td&gt;
                &lt;td&gt;1.2&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K140I&lt;/td&gt;
                &lt;td&gt;1.1&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;F159Y&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144D&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145N&lt;/td&gt;
                &lt;td&gt;0.91&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S159Y&lt;/td&gt;
                &lt;td&gt;0.89&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;I25V&lt;/td&gt;
                &lt;td&gt;0.88&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Q1L&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144N&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N8D&lt;/td&gt;
                &lt;td&gt;0.73&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;T212S&lt;/td&gt;
                &lt;td&gt;0.69&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N188D&lt;/td&gt;
                &lt;td&gt;0.65&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/tbody&gt;
        &lt;/table&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting successful influenza clades&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_H3N2_clade_trajectories.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_success.png" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting successful influenza clades&lt;/h3&gt;
    &lt;div style="position:absolute; top:14%; left:20%; width:60%"&gt;
    &lt;img src="/talk_images/HI_best_vs_realized.png" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Evolutionary biology can help track and fight disease&lt;/li&gt;
        &lt;li&gt;Theory shows how to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can make up-to-date analysis available to every body&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Kinetic proofreading</title><link href="/20171212_theoretical_biophysics.html" rel="alternate"></link><published>2017-12-12T00:00:00+01:00</published><updated>2017-12-12T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-12:/20171212_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Many biochemical reactions happen at extreme fidelity: DNA replication in some organisms makes fewer than one mistake in \(10^{10}\) bases copied.
This fidelity relies on energetic discrimination the correct and wrong base pairing and that fact that extremely high accuracies can be achieved is remarkable.&lt;/p&gt;
&lt;p&gt;However, mutation rates vary …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many biochemical reactions happen at extreme fidelity: DNA replication in some organisms makes fewer than one mistake in \(10^{10}\) bases copied.
This fidelity relies on energetic discrimination the correct and wrong base pairing and that fact that extremely high accuracies can be achieved is remarkable.&lt;/p&gt;
&lt;p&gt;However, mutation rates vary greatly across organisms: the smaller the genome, the higher the mutation rate.
This anti-correlation is shown in schematically in the plot below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mutation_rates" src="https://viralzone.expasy.org/resources/mutrate.jpg"&gt;
&lt;br&gt;viralzone.expasy.org&lt;/p&gt;
&lt;p&gt;Why should we expect such an anti-correlation?
The probability that that the entire genome of length \(L\) is copied faithfully is given by \(exp(-L\mu)\).
Hence as soon as the mutation rate is much larger than the inverse genome size, almost every new genome will contain mutations resulting in a gradual loss of functional sequence (a process known as Muller's ratchet).
If being accurate is costly in terms of energy amd/or time, you'd expect organisms to adjust fidelity to be just "good enough". Hence the scaling behavior of fidelity with genome length is plausible.&lt;/p&gt;
&lt;p&gt;However, it is not at all a trivial question how high fidelity can be achieved given the small free energy differences associated with nucleotide mis-incorporation.
It was &lt;a href="http://www.pnas.org/content/71/10/4135.abstract"&gt;John Hopfield&lt;/a&gt; and &lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/1182215"&gt;Jaques Ninio&lt;/a&gt; who first discussed mechanisms on how to achieve high fidelity in biochemical processes.
Fidelity is not only important in DNA replication, but also in translation, tRNA charging and signaling processes.&lt;/p&gt;
&lt;h3&gt;Energies of discrimination&lt;/h3&gt;
&lt;p&gt;Consider the following simple set of reactions
$$
C + c \leftrightarrow Cc \rightarrow \mathrm{correct}
$$
$$
D + c \leftrightarrow Dc \rightarrow \mathrm{wrong}
$$
The transition states Cc and Dc are populated according to the equilibrium constant of these reactions \(K_C =k_C'/k_C\) and \(K_D = k_D'/k_D\).
We assume that the product formation happens at the same rate \(W\) for both the correct and incorrect transition state.
In other words, the discrimination between the wrong and the correct state happens in the formation of the transition state.
This is a sensible assumption in cases like polymerization reactions which can occur as long as the two entities are in place.
Furthermore, it is reasonable to assume that the on-rates \(k_C'\) and \(k_D'\) are similar since they are likely dominated by diffusion.
The off-rates, on the other hand, are strongly dependent on the correct substrate match and this is where discrimination comes from.
Assuming that both on-rates are \(k = k_C' = k_D'\), we can express the rate at which each product is formed as
$$
W[Cc] = W\frac{k[C]}{k_C+W}
$$
$$
W[Dc] = W\frac{k[D]}{k_D+W}
$$
and hence the ratio of correct to wrong product is
$$
\frac{\mathrm{correct}}{\mathrm{wrong}} = \frac{[C]}{[D]}\frac{k_D+W}{k_C + W} \rightarrow \frac{[C]}{[D]}\frac{k_D}{k_C} =  \frac{[C]}{[D]}e^{-\Delta G/kT}
$$
Here the last two expressions assumed that the product formation rate \(W\) is much smaller than the off-rates of the transition state.
The very last equality expressed the off-rate dependence in terms of the difference in free energy of the transition states and thereby defines the &lt;em&gt;energy of discrimination&lt;/em&gt;.
Hence in any off-rate dominated discrimination, the differences in free energy put an upper bound on the accuracy of the process.
However, the binding energy differences of incorrect nucleotide reactions are on the order of a few kT and while accuracy of DNA replication would seem to require energies of discrimination on the order of 20kT.
This conundrum is what kinetic proofreading resolves in an elegant way.&lt;/p&gt;
&lt;h3&gt;Irreversible intermediate states and kinetic proof reading&lt;/h3&gt;
&lt;p&gt;Kinetic proof reading requires additional steps in the pathway to final product, but at least one of these steps needs to be coupled to an additional energy consuming reaction that makes the pathway irreversible.
The need for such an additional step is seen as follows: A reaction that proceeds via two intermediate states \(Xc\) and \(Xc'\) can effectively be compressed into one
$$
X + c \leftrightarrow Xc \leftrightarrow  Xc' \rightarrow \mathrm{product}
$$
$$
X + c \leftrightarrow  Xc' \rightarrow \mathrm{product}
$$
or put otherwise the second intermediate state is in equilibrium with the same discriminatory ratio as before.&lt;/p&gt;
&lt;p&gt;If, however, the transition from \(Xc\) to \(Xc' \) is coupled to an irreversible reaction while \(Xc' \) can still decay into \(X+c\), higher accuracy can be attained.
In this case, the state \(Xc' \) can only be reached via \(Xc\) which is already selected for the correct product by a factor \(e^{-\Delta G/kT}\).
If the rates of decay of \(Xc' \) for C and D are again different by a factor \(e^{-\Delta G/kT}\), the overall accurary of the process can be as high as \(e^{-2\Delta G/kT}\).&lt;/p&gt;
&lt;p&gt;The accuracy of a process can be exponentiated by adding more and more intermediate states.&lt;/p&gt;
&lt;h3&gt;Interpretation of proof-reading as a delay&lt;/h3&gt;
&lt;p&gt;The addition of an irreversible step essentially changes the distribution of times the product spends in the transition state.
While being in the transition state, the correct pair decays as \(e^{-k_Ct}\) and the wrong product as \(e^{-k_Dt}\) such that the ratio behaves as \(e^{-(k_C-k_D)t}\).
In a one step reaction, the distribution of residence times in the transition state has a peak at \(t=0\) and decays exponentially. In a two-step reaction, this distributions has a peak away from zero.
This can be seen as follows.
Consider the a transition state \(Xc\) the moment it is formed. The probability \(p(t)\) of still being intact is given by
$$
\frac{dp}{dt} = - (k_X + W)p(t) \quad \Rightarrow\quad p(t) = e^{-(k_X+W)t}
$$
where \(W\) is the rate at which the second intermediate is formed.
The probability \(q(t)\) of being in the second intermediate is then
$$
\frac{dq}{dt} = Wp(t) - Vq(t) = We^{-(k_X+W)t} - Vq(t)
$$
The latter has the solution
$$
q(t) = We^{-Vt}\int_0^t e^{(V-W-k_X)t'} dt' = \frac{We^{-Vt}}{W+k_X-V}\left[1-e^{-(W+k_X - V)t}\right]
$$
While in a single step reaction the product starts being formed immediately, product formation starts gradually in a two step reaction.
This delay give the wrong intermediate complexes more time to break up and hence better discrimination.&lt;/p&gt;
&lt;h3&gt;&lt;a href="teaching_notes/20171212_theoretical_biophysics.pdf"&gt;Handwritten Notes&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="kinetic proofreading"></category></entry><entry><title>TreeTime: Maximum-likelihood phylodynamic analysis</title><link href="/sagulenko_treetime:_2017.html" rel="alternate"></link><published>2017-12-10T00:00:00+01:00</published><updated>2017-12-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-10:/sagulenko_treetime:_2017.html</id><summary type="html">&lt;p&gt;Mutations that accumulate in the genome of cells or viruses can be used to infer their evolutionary history. In the case of rapidly evolving organisms, genomes can reveal their detailed spatiotemporal spread. Such phylodynamic analyses are particularly useful to understand the epidemiology of rapidly evolving viral pathogens. As the number …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Mutations that accumulate in the genome of cells or viruses can be used to infer their evolutionary history. In the case of rapidly evolving organisms, genomes can reveal their detailed spatiotemporal spread. Such phylodynamic analyses are particularly useful to understand the epidemiology of rapidly evolving viral pathogens. As the number of genome sequences available for different pathogens has increased dramatically over the last years, phylodynamic analysis with traditional methods becomes challenging as these methods scale poorly with growing datasets. Here, we present TreeTime, a Python-based framework for phylodynamic analysis using an approximate Maximum Likelihood approach. TreeTime can estimate ancestral states, infer evolution models, reroot trees to maximize temporal signals, estimate molecular clock phylogenies and population size histories. The runtime of TreeTime scales linearly with dataset size.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Chromatin organization and structure</title><link href="/20171205_theoretical_biophysics.html" rel="alternate"></link><published>2017-12-05T00:00:00+01:00</published><updated>2017-12-05T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-12-05:/20171205_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Packing a DNA into the nucleus while maintaining it accessible is a difficult task.
Without any compactification the size of a DNA coil is \(\sim \sqrt{l_p L}\) where \(l_p=150bp = 50nm\) is the persistence length of DNA.
Given a typical chromosome size of 100Mb corresponding to \(L=3\times …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Packing a DNA into the nucleus while maintaining it accessible is a difficult task.
Without any compactification the size of a DNA coil is \(\sim \sqrt{l_p L}\) where \(l_p=150bp = 50nm\) is the persistence length of DNA.
Given a typical chromosome size of 100Mb corresponding to \(L=3\times 10^7 nm\), we would expect a typical end-to-end distance of \(\sqrt{10^9nm^2}\approx 30\mu m\).
Eukaryotic cells achieve this major compactification by wrapping DNA around histone octamers that are subsequently packed into higher order structures.&lt;/p&gt;
&lt;p&gt;&lt;img alt="chromatin_overview" src="http://www.mdpi.com/genes/genes-06-00734/article_deploy/html/images/genes-06-00734-g001.png"&gt;
&lt;a href="http://www.mdpi.com/2073-4425/6/3/734/htm"&gt;Vuthy Ea, Marie-Odile Baudement, Annick Lesne and Thierry Forné. Genes 2015, 6(3), 734-750&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The complex of histone octamer and the DNA is called nucleosome. About 150bp (one persistence length!) is wrapped about 1.7 times around an octamer of 2 copies of H2A, H2B, H3 and H4 each.
DNA is strongly bent in this configuration, which is maintained by many protein-DNA interactions.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nucleosome" src="/teaching_images/Nucleosome_1KX5_colour_coded.png"&gt;
&lt;a href="https://commons.wikimedia.org/wiki/File:Nucleosome_1KX5_colour_coded.png"&gt;Zephyris, wikipedia&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This extremely tight association between DNA and nucleosomes begs the question how DNA is kept accessible to regulatory proteins such as transcription factors.
The last two decades have seen tremendous progress in figuring out how chromatin is maintained and remodeled.
These mechanisms involved many different modification of histones (histone acetylation) and DNA (methylation).
Furthermore, different variants of the histone proteins can be substituted for each other.&lt;/p&gt;
&lt;p&gt;&lt;img alt="epigenetics" src="/teaching_images/Epigenetic_mechanisms.jpg"&gt;
&lt;a href="http://commonfund.nih.gov/epigenomics/figure"&gt;NIH&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One aspect of epigenetic regulation is the positioning of histones on the DNA.
Using deep sequencing techniques, it is now possible to determine the distribution of nucleosomes along the entire genome.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nucleosome_positioning" src="/teaching_images/nucleosome_positioning.png"&gt;
&lt;a href="https://www.nature.com/articles/nrg2522#f1"&gt;Cizhong Jiang and B. Franklin Pugh, Nature Reviews Genetics&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nucleosomes have a preference for certain sequences (those that are particularly flexible at particular positions to facilitate wrapping around the histone octamer) and avoid others.
These sequence preference allow explicit positioning of nucleosomes and it has been observed that transcription start sites tend to be nucleosome depleted.
The upstream and down stream regions next the TSS tend to have periodic nucleosome occupancy.
The degree to which these periodic patterns are explicitly positioned is not immediately clear.
However, statistical modeling by &lt;a href="http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000891"&gt;Möbius and Gerland&lt;/a&gt; shows that a simple model of randomly placed nucleosomes next to a rigidly organized TSS is enough to explain these patterns (Tonks gas). The explicit comparison between the model and the data is shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nuc_model" src="teaching_images/Mobius_Gerland.png"&gt;&lt;br&gt;
Density of reads mapping to nucleosomes in yeast compared to the prediction of the simple Tonks-gas model.&lt;/p&gt;
&lt;p&gt;The discrete contributions of nucleosomes as distance 1,2,3,4 etc are shown separately in the plot below&lt;/p&gt;
&lt;p&gt;&lt;img alt="model_pred" src="teaching_images/mobius_gerland_S1.png"&gt;&lt;br&gt;
Density of reads mapping to nucleosomes in yeast compared to the prediction of the simple Tonks-gas model. With increasing distance, the peaks get broader and broader and eventually give rise to a uniform distribution.&lt;/p&gt;
&lt;h2&gt;Large scale chromosome organization&lt;/h2&gt;
&lt;p&gt;Beyond the microscopic organization of chromatin on the nucleosome scale, chromatin is organized in specific structures all the way to whole chromosome scales.
The earliest indications of this were banding patterns in &lt;a href="https://en.wikipedia.org/wiki/Polytene_chromosome"&gt;polytene chromosomes in Drosophila&lt;/a&gt;.
Fluorescent probes can be used to monitor the location of particular loci within the condensed or open chromatin and multi-color labeling can reveal the relative location of several such loci.
Recently, however, high throughput methods that can survey billions of interactions have enabled a much more detailed view of the 3D organization of chromatin.&lt;/p&gt;
&lt;h3&gt;3C, 4C, 5C, Hi-C: methods for characterizing chromatin&lt;/h3&gt;
&lt;p&gt;These new high-throughput methods are based on fixation of cross-links, ligation of pieces in physical proximity, and deep sequencing. The methods are derivatives of the original 3C (chromosome conformation capture).
While 3C and 4C were restricted to specific or few locus interaction assays, HiC can be used to detect interactions across chromosomes.&lt;/p&gt;
&lt;p&gt;&lt;img alt="hic" src="http://www.mdpi.com/genes/genes-06-00734/article_deploy/html/images/genes-06-00734-g002.png"&gt;
&lt;a href="http://www.mdpi.com/2073-4425/6/3/734/htm"&gt;Vuthy Ea, Marie-Odile Baudement, Annick Lesne and Thierry Forné. Genes 2015, 6(3), 734-750&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These methods generate detailed maps of how likely it is that two points on the chromosome touch.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mirny_hic" src="teaching_images/Nuebler_Mirny_HiC.png"&gt;&lt;br&gt;
Example of a HiC map  on chromosome 6. This shows an 50Mb interval. From &lt;a href="https://www.biorxiv.org/content/early/2017/10/03/196261"&gt;Nuebler et al&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Using HiC methods, scientists have shown that chromatin is organized hierarchically on multiple scales.
At the largest scale, there are two domains (termed A/B).
This two-domain structure is evident in the checkerboard pattern of HiC maps as seen in the top left figure below.
These are segments that tend to interact with themselves and their next-nearest neighbor, but not their immediate neighbor.&lt;/p&gt;
&lt;p&gt;&lt;img alt="checker" src="teaching_images/Mirny_ABs_TADs.png"&gt;&lt;br&gt;
&lt;a href="https://www.nature.com/articles/nrg3454"&gt;Deckker, Marti-Remon, Mirny. Nature Review Genetics, 2013&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At finer scales, chromosome are organized into so called Topologically Associated Domains (short TADs). This really is just a fancy name of a local blob where the DNA tends to touches itself.
We'll touch on how these TADs form and how they are maintained below.&lt;/p&gt;
&lt;p&gt;For a more statistical characterization of the chromosome structure, it is instructive to calculate the probability that two points in the DNA interact as a function of distance.
We have discussed explicit predictions for this probability in the context of polymer conformations where the dominant behavior for a random coil was \(s^{-3/2}\).
This probability of touching decays much less rapidly in the nucleus.&lt;/p&gt;
&lt;p&gt;&lt;img alt="p2" src="teaching_images/Mirny_pcorr.png"&gt;&lt;/p&gt;
&lt;p&gt;There is a fabulous tool to interrogate and explore chromosome conformation structure.
It provides Google Maps like views into HiC data sets at every level and is available at &lt;a href="http://higlass.io"&gt;higlass.io&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Mechanisms of maintaining chromosome structure&lt;/h3&gt;
&lt;p&gt;This is a very recent field and some of the results are still very much in flux.
The boundaries of TADs tend to be associated with a protein called CTCF.
&lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4889513/"&gt;Leonid Mirny's group at MITA has put forward a hypothesis&lt;/a&gt; that TADs are maintained by a loop extrusion mechanisms.
This model assumes that a certain type of ring-like motor protein binds on DNA and pulls the double strand through the ring until it hits a boundary defined by CTCF.&lt;/p&gt;
&lt;p&gt;&lt;img alt="loop_extrusion" src="/teaching_images/loop_extrusion.jpg"&gt;&lt;br&gt;
&lt;a href="http://www.cell.com/cell-reports/abstract/S2211-1247(16)30530-7"&gt;Fudenberg et al&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Currently, the best candidate for this molecular motor are SMC cohesins.&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Calculate the bending energy of DNA wrapped around a histone octamer! Work out the radius of the octamer from the length of the DNA and the number of turns.&lt;/li&gt;
&lt;li&gt;Fool around with &lt;a href="http://higlass.io"&gt;higlass.io&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20171205_theoretical_biophysics.pdf"&gt;Handwritten notes on nucleosome positioning&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="chromatin"></category></entry><entry><title>Phase transitions in membranes</title><link href="/20171128_theoretical_biophysics.html" rel="alternate"></link><published>2017-11-28T00:00:00+01:00</published><updated>2017-11-28T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-28:/20171128_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Shifts in concentrations or modulation of interaction strength can result in sudden instability of a solution and separation into multiple liquid phases as we discussed earlier for the case of P-granules in early C. elegans embryos.
In biological systems, such phase separation is often mediated by multivalent low affinity interactions …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Shifts in concentrations or modulation of interaction strength can result in sudden instability of a solution and separation into multiple liquid phases as we discussed earlier for the case of P-granules in early C. elegans embryos.
In biological systems, such phase separation is often mediated by multivalent low affinity interactions between constituents, for example mediated by RNA/protein complexes.
Similar phase separation can happen in membranes and such phase separation plays important roles in signaling.&lt;/p&gt;
&lt;h3&gt;Properties of lipid bilayers&lt;/h3&gt;
&lt;p&gt;Lipid bilayers from spontanously from amphiphilic lipids in solution.
Individual lipid molecules arrange themselves such that the hydrophilic heads face the aqueous phase, while the hydrophopic tails touch each other.
A large number of genometric conformations are possible depending on the type of liquid, the liquid mix, and their concentration.&lt;/p&gt;
&lt;p&gt;&lt;img alt="membranes" src="/teaching_images/Phospholipids_aqueous_solution_structures.svg.png"&gt;&lt;br&gt;
&lt;a href="https://commons.wikimedia.org/wiki/File:Phospholipids_aqueous_solution_structures.svg"&gt;Mariana Ruiz Villarreal, wikipedia.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These lipid bilayers are dynamic and represent a two dimensional fluid rather than a stiff sheet.
Individual lipid molecules diffuse within the membrane and the membrane will respond to shear stress by flow.
While dynamic and fluid within the sheet, individual lipids face a high energy barrier when flipping from one sheet to the next or leaving the membrane.&lt;/p&gt;
&lt;p&gt;Lipid bilayers tend to have a bending stiffness and small vesicles tend to assume a shape that minimizes curvature.
This stiffness is a result of finite thickness of the membrane.
When the membrane is bent, spacing between the heads increases while the tails are pushed together.&lt;/p&gt;
&lt;h3&gt;Domain formation in lipid bilayers&lt;/h3&gt;
&lt;p&gt;Similar mechanisms that lead to phase separation in three dimensional liquids also generate domains in two dimensional membranes.
This requires that the membrane is made from different types of lipids or has proteins embedded in the membrane.
Attraction between molecules is not necessarily due to direct interaction between them, but can be mediated by distortion of the membrane.&lt;/p&gt;
&lt;p&gt;&lt;img alt="lipid_raft" src="/teaching_images/Lipid_raft_organisation_scheme.svg.png"&gt;
by &lt;a href="https://commons.wikimedia.org/wiki/File:Lipid_raft_organisation_scheme.svg"&gt;Artur Jan Fijałkowski, wikipedia.org&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Such domain structures, also known as lipid rafts, often contain higher concentrations of cholestrol and particular kinds of lipids.
The precise nature of lipid rafts and what molecular process is ultimately responsible for receptor clustering in membranes is still being debated.
But long range interactions between lipids, proteins, and cholesterol with a two dimensional sheet is certainly a mechanisms that can lead to domain formation.
Such tendencies can be redundantly reinforced by other interactions between receptors in the cytosol.&lt;/p&gt;
&lt;h3&gt;Membrane protein cross-linking&lt;/h3&gt;
&lt;p&gt;&lt;img alt="cross_linking" src="https://cdn.elifesciences.org/articles/04123/elife-04123-fig1-v2.jpg"&gt;&lt;/p&gt;
&lt;h3&gt;Percolation and gelation transitions&lt;/h3&gt;
&lt;p&gt;The phenomenon of clustering observed among membrane proteins is qualitatively similar to sol-gel transitions.
Consider a polymer melt (a dense solution of polymers) and start adding cross-links between the polymers.
With increasing number of cross-links, the system will go from a liquid to a gel which resists shear force.
These cross-links could be covalent bonds, base-pairings, protein-crosslinks etc.
Examples of this process abound for example in industrial applications or cooking.&lt;/p&gt;
&lt;p&gt;Such a sol-gel transition has very intruiging features: The properties of the material change suddenly at a well defined density of cross-links.
In the vicinity of the transition, the systems exhibits a number of universal properties that do not depend on the microscopic features of the system.
The simplest mathematical model to appreciate this behavior is percolation on a so called Bethe lattice.
Assume that each molecule \(z\) potential neighbors and that each pair of neigbors is cross-linked with probability \(p\).
Furthermore, assume that there are no loops in the graph, i.e. that none of your neighbors are connected to each other (this is a strong approximation, but it will make the calculation is lot simpler).
Let's call the probability that the molecule is not connected to the infinite connected component via a particular link \(Q = 1-P\).
For the monomer not to be connected to infinite component via a particular link is&lt;/p&gt;
&lt;p&gt;$$ Q = (1-p) + pQ^{z-1}$$&lt;/p&gt;
&lt;p&gt;The first term accounts for the bond not being formed, while the second term corresponds to the bond being in place but none of the \(z-1\) other neighbors making a connection to the infinite component.
Our monomer in question has \(z\) neighbors.
Hence its probability not to be connected is \(P = Q^{z}\).&lt;/p&gt;
&lt;p&gt;What solutions does the above equation have? For \(z=2\), it is clear that the only solution is \(Q=1\) unless \(p=1\).
This is intuitively clear: there is no possibilty of making an infinite component with stochastically linking neighbors in one dimension.
But for any \(z&amp;gt;2\), there is a non-trivial solution.&lt;/p&gt;
&lt;p&gt;Consider \(z=3\) first. In this case, we are left with a quadratic equation for \(Q\)&lt;/p&gt;
&lt;p&gt;$$ Q = (1-p) + pQ^2 \quad \Rightarrow\quad Q = \frac{1}{2p} \pm \sqrt{\frac{1}{4p^2} - \frac{1-p}{p}} = 1, \frac{1-p}{p}$$&lt;/p&gt;
&lt;p&gt;The interesting solution is \(P = Q^3 = \left(\frac{1-p}{p}\right)^3\).
This is larger than 1 for \(p&amp;lt;1/2\), which is obviously non-sensical. Put for larger \(p\), this solution is relevant.
At \(p_c=0.5\), the fraction of monomers that are part of the giant component goes from strictly zero to a positive value and increases a \(p\) increases.
In this simple model, the critical point is in fact always at \(p_c = \frac{1}{z-1}\).&lt;/p&gt;
&lt;h2&gt;Excurs: High througput sequencing technologies&lt;/h2&gt;
&lt;p&gt;Sequencing has undergone a revolution in recent years. The cost have fallen by orders of magnitude and throughput as increased to levels that were unimaginable just a few years ago.
The chart below gives an impression of the development of the different technologies.&lt;/p&gt;
&lt;p&gt;&lt;img alt="sequencing_throuput" src="https://flxlexblog.files.wordpress.com/2016/07/developments_in_high_throughput_sequencing.jpg?w=1738&amp;amp;h=1228"&gt;&lt;/p&gt;
&lt;p&gt;Notably, we have gone from about 1kb low throughput Sanger sequencing via high throughput short reads (~36bp) to now super high throughput medium length reads (~150bp).
A few technologies (PacBio, nanopore) are pushing for much longer reads in excess of 10kb with increasing throughput.
The cost for (re-)sequencing a human genome has also dropped precipitously to the point where preparation and analysis of the data are more costly than the sequencing itself.&lt;/p&gt;
&lt;p&gt;&lt;img alt="sequencing_cost" src="https://www.genome.gov/images/content/costpergenome_2017.jpg"&gt;&lt;/p&gt;
&lt;p&gt;The market leader is undoubtedly Illumina. Illumina uses an extremely scalable approach where individual short pieces of DNA are locally amplified in small clusters using a mechanism called bridge amplification.&lt;/p&gt;
&lt;p&gt;&lt;img alt="illumina" src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Cluster_Generation.png/960px-Cluster_Generation.png"&gt;&lt;br&gt;
DMLapato, wikipedia.org&lt;/p&gt;
&lt;p&gt;A single flow cell of an illumina sequencer contains 100s of millions of such clusters at a density of around \(10^6/mm^2\).
During sequencing, fluoresenctly labeled nucleotides are incorporated and the colorful clusters imaged using a sensitive camera.
The sequence of colors can then be translated to sequence and Illumina sequencers achieve an accuracy better than 1/1000.&lt;/p&gt;
&lt;p&gt;&lt;img alt="illumina_sequencing" src="https://www.ebi.ac.uk/training/online/sites/ebi.ac.uk.training.online/files/user/1218/documents/illumina4.png"&gt;&lt;br&gt;
Image: EBI&lt;/p&gt;
&lt;p&gt;The more recent long read technologies sequence individual molecules rather than clusters of identical molecules.
This necessarily means much weaker signals and higher error rates.&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Solve for the gel fraction in the Bethe model with \(z=4\). There is a closed form solution for polynomial equation of third order, but its probably more straightforward to solve this numerically.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Play a bit with a percolation problem in 2D. There is a nice animation provided by &lt;a href="http://michaeltoth.me/pages/percolation.html"&gt;Michael Toth&lt;/a&gt;. For a sufficiently large lattice, the giant spanning cluster suddenly appears as more and more squares are filled.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="phase transitions in membranes"></category></entry><entry><title>GTR models</title><link href="/201711_gtr_models.html" rel="alternate"></link><published>2017-11-28T00:00:00+01:00</published><updated>2017-11-28T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-28:/201711_gtr_models.html</id><summary type="html">&lt;p&gt;Mutations arise at random in the genome, but the rates of different mutations are not necessarily the same and the process can be reasonably modeled by a matrix of rates going from each state to any other state.
Furthermore, mutations are filtered by selection. While providing the raw material for …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Mutations arise at random in the genome, but the rates of different mutations are not necessarily the same and the process can be reasonably modeled by a matrix of rates going from each state to any other state.
Furthermore, mutations are filtered by selection. While providing the raw material for evolution. the evolutionary rate matrix is not necessarily equal to the mutation matrix.
A common way to model sequence evolution is via a general time reversible model, by which one means the most general stochastic (probability conserving) matrix which is time reversible (known in physics as detailed balance condition).
Let's denote the transition matrix by \(Q_{ij}\). It has \(n^2\) parameters, but we require probability conservation&lt;/p&gt;
&lt;p&gt;$$ \sum_i Q_{ij} = 0  \quad \Rightarrow \quad Q_{ii} = - \sum_{k\neq i} Q_{ki}$$&lt;/p&gt;
&lt;p&gt;and detailed balance&lt;/p&gt;
&lt;p&gt;$$ Q{ij}\pi_j = Q_{ji}\pi_i$$&lt;/p&gt;
&lt;p&gt;where \(\pi\) are the equilibrium frequencies given by the right eigenvector of \(Q_{ij}\pi_j\) with eigenvalue 0.
Hence we have \(n(n-1)/2\) constraints on the matrix \(Q_{ij}\) and are left with \(n(n-1)/2\) free parameters.
It is convienient to decompose \(Q_{ij}\) into a symmetric matrix \(W_{ij}\) and the equilbrium frequencies&lt;/p&gt;
&lt;p&gt;$$Q_{ij} = \pi_i W_{ij} $$&lt;/p&gt;
&lt;p&gt;which automatically satisfies the detailed balance condition.
This is readily seen in this little numerical example&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="n"&gt;W&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;],[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]],&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;tmpQ&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;W&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;#\delta_{ik}p_i W_{kj}&lt;/span&gt;
&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fill_diagonal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;W&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tmpQ&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;Q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;W&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# this is symmetric!&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Q&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Q&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To solve for the time evolution, we need an eigen decomposition of the model.
The largest eigenvalue of the matrix is zero and the corresponding right eigenvector is the vector of equilbrium concentrations.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;V&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linalg&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;eig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Q&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;lev&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;levec&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linalg&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;eig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Q&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])))&lt;/span&gt; &lt;span class="c1"&gt;#equals p&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;levec&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;levec&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])))&lt;/span&gt; &lt;span class="c1"&gt;#unit vector&lt;/span&gt;

&lt;span class="n"&gt;v_inv&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linalg&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;V&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Q&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;revec&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diag&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;dot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v_inv&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Now the probability of transitioning from one sequence to another is given by&lt;/p&gt;
&lt;p&gt;$$ P(a | b, t) = exp(Q_{ij}t)&lt;em ak&gt;{a,b} = \sum_k V&lt;/em&gt;$$}e^{\lambda_k t} V^{-1}_{kb&lt;/p&gt;
&lt;p&gt;where \(U\) is the matrix of right eigenvectors. For large \(t\), the goes towards the stationary distribution corresponding to eigenvalue 0.&lt;/p&gt;
&lt;p&gt;The diagonalized matrix can be written as&lt;/p&gt;
&lt;p&gt;$$ Q_{ij} = \pi_i W_{ij} = \sum_k V_{ik} \lambda_k V^{-1}_{kj} $$&lt;/p&gt;
&lt;p&gt;Dividing by \(\pi_i\) we find&lt;/p&gt;
&lt;p&gt;$$ W_{ij} = \sum_k V_{ik}/\pi_i \lambda_k V^{-1}_{kj} $$&lt;/p&gt;
&lt;p&gt;Similar, we can define the symmetric propagator&lt;/p&gt;
&lt;p&gt;$$ G(a,b|t) = sum_k V_{ak}/\pi_ae^{\lambda_k t} V^{-1}_{kb} $$&lt;/p&gt;
&lt;p&gt;that connects two points in a tree.&lt;/p&gt;</content><category term="notes"></category><category term="phylogenetics"></category><category term="general time reversible models"></category></entry><entry><title>The marginal distribution of the length of a branch</title><link href="/201711_marginal_branch_length.html" rel="alternate"></link><published>2017-11-27T00:00:00+01:00</published><updated>2017-11-27T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-27:/201711_marginal_branch_length.html</id><summary type="html">&lt;p&gt;The likelihood of observing a set of sequences \(\sigma_{i}^n\) at terminal nodes \(n\) of a tree  given topology, branch lengths, and a time reversible substitution model \(Q_{ij} = \pi_i W_{ij}\) is given by&lt;/p&gt;
&lt;p&gt;$$L(\sigma_{i}^{n}|T, Q_{ij}) = \sum_{\sigma^m_i}\prod_i\pi_{sigma^0_i …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The likelihood of observing a set of sequences \(\sigma_{i}^n\) at terminal nodes \(n\) of a tree  given topology, branch lengths, and a time reversible substitution model \(Q_{ij} = \pi_i W_{ij}\) is given by&lt;/p&gt;
&lt;p&gt;$$L(\sigma_{i}^{n}|T, Q_{ij}) = \sum_{\sigma^m_i}\prod_i\pi_{sigma^0_i}\prod_{m\in INT}}\prod_{c\in m} P(\sigma_{i}^{c}| \sigma^{m}, t_c) $$&lt;/p&gt;
&lt;p&gt;where the first product runs all internal nodes \(m\), the second product runs over all children of node \(m\), and the sum loops over all possible sequences of node internal nodes.
The polarization of nodes into parents and children can be obtained by labeling an arbitrary point in the tree as root.
Since the structure is a tree, conditioning on the state of any internal node splits the problem into two smaller subproblems. This allows a recursive calculation of the likelihood as realized by Bethe and later by phylogeneticists.
To optimize the branch length, one would typically calculate derivatives of the likelihood and do some form of gradient descent.
Since its talkes \(N\times L \times q\) steps to calculate the likelihood, branch length optimization should scale at least as \(N^2\times L \times q\).&lt;/p&gt;
&lt;p&gt;Alternatively, one can approximate the problem by first reconstructing the most likely ancestral states using the same recursive algorithm as above and optimize each branch length separately for fixed ancestral sequences.
This is clearly faster since it requires only on global optimization of ancestral states \(N\times L \times q\) followed by local branch length optimization.
This procedure can be iterated, i.e., updated ancestral sequences after a first round of branch length optimization.
One obvious problem of this procedure is a systematic underestimation of branch length since subleading states of internal nodes are ignored.&lt;/p&gt;
&lt;p&gt;This problem can be overcome by calculating the complete marginal distribution of the length of a branch, given the rest of the tree. This distribution (for every branch) can be calculated in linear time as before.&lt;/p&gt;</content><category term="notes"></category><category term="phylogenetics"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201711_dinosaurs.html" rel="alternate"></link><published>2017-11-24T00:00:00+01:00</published><updated>2017-11-24T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-24:/201711_dinosaurs.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Cytoskeleton -- Solutions to problems</title><link href="/20171121_solutions.html" rel="alternate"></link><published>2017-11-21T00:00:00+01:00</published><updated>2017-11-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-21:/20171121_solutions.html</id><summary type="html">&lt;h3&gt;Analyze the free energy function. Is a pure state ever preferred? (Is the minimum ever at \(\phi=0\) or \(\phi=1\)). In case of large repulsive interactions between solvent and protein, at what concentration is the minimum of the free energy?&lt;/h3&gt;
&lt;p&gt;No, a pure state is never preferred. Complete separation …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Analyze the free energy function. Is a pure state ever preferred? (Is the minimum ever at \(\phi=0\) or \(\phi=1\)). In case of large repulsive interactions between solvent and protein, at what concentration is the minimum of the free energy?&lt;/h3&gt;
&lt;p&gt;No, a pure state is never preferred. Complete separation is strongly penalized by entropy. This is reflected in the infinite derivative of the entropy term at \(\phi=0\) or 1. Even if the interactions between different molecules are strongly repulsive, there will we some residual mixing. The minimum free energy obeys&lt;/p&gt;
&lt;p&gt;$$ kT(\log\phi + \log(1-\phi)) -(2\phi - 1)\frac{z(u_{sp} - u_{ss} - u_{pp})}{2} = 0 $$&lt;/p&gt;
&lt;p&gt;At very small \(\phi\), this condition can be approximated as&lt;/p&gt;
&lt;p&gt;$$ kT\log\phi + \frac{z(u_{sp} - u_{ss} - u_{pp})}{2} = 0 $$&lt;/p&gt;
&lt;p&gt;with solution&lt;/p&gt;
&lt;p&gt;$$ \phi = e^{-\frac{z(u_{sp} - u_{ss} - u_{pp})}{2kT}} $$&lt;/p&gt;
&lt;p&gt;Hence repulsive interactions make the preferred mixing concentration exponentially small, but it is always different from 0.&lt;/p&gt;
&lt;h3&gt;How does the free energy landscape change with temperature? What contributions to the free energy are affected?&lt;/h3&gt;
&lt;p&gt;The entropy part in the simple lattice model we considered is purely combinatorial.
Entropy enters the free energy with a prefactor \(kT\). But all relevant quantities depend on the ratio of the free energy to \(kT\).&lt;/p&gt;
&lt;p&gt;$$ e^{-\frac{G}{kT}} = e^{-\frac{U- kTS}{kT}} = e^{S}e^{-\frac{U}{kT}} $$&lt;/p&gt;
&lt;p&gt;So its really the energy part that is sensitive to temperature, but the relative weight of the entropy part increases as temperature increases.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Liquid-liquid phase transitions within cells</title><link href="/20171121_theoretical_biophysics.html" rel="alternate"></link><published>2017-11-21T00:00:00+01:00</published><updated>2017-11-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-21:/20171121_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Early bright field microscopy revealed intricate intracellular substructures.
The larger structures, such as the nucleus, golgi, ER, mitochondria etc are enclosed by lipid membranes that clearly separate inside and outside.
Transport between compartments is controlled by pores and channels.
Many other organelles, however, are not surrounded by a lipid membrane …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Early bright field microscopy revealed intricate intracellular substructures.
The larger structures, such as the nucleus, golgi, ER, mitochondria etc are enclosed by lipid membranes that clearly separate inside and outside.
Transport between compartments is controlled by pores and channels.
Many other organelles, however, are not surrounded by a lipid membrane yet still are well defined and stable.
Here, we will explore how these structures are formed and under what conditions they arise.&lt;/p&gt;
&lt;h3&gt;&lt;a href="20171121_theoretical_biophysics_slides.html"&gt;Slides with pictures and videos&lt;/a&gt;&lt;/h3&gt;
&lt;h2&gt;Entropy and energy of multi-component solutions&lt;/h2&gt;
&lt;p&gt;The phase separation, or de-mixing, is driven by conflicting entropy and energetic (enthalpic) tendencies.
A mixture prone to phase separation is characterized by energetically favorable interactions with the same type and less favorable interactions between types.
Depending on temperature, concentration, salt condition etc the preferred state is either a mixed one or phase separated state.&lt;/p&gt;
&lt;p&gt;&lt;img alt="interaction" src="/teaching_images/Brangwynne_interactions.png"&gt;&lt;br&gt;
Brangwynne et al, Nature Physics, 2015&lt;/p&gt;
&lt;p&gt;In the above picture, the white balls represent the solvent, the green balls the protein or polymer whose condensation we are interested in (we'll call it protein for simplicity). The interaction energy can be written as the number of contacts between solvent molecules \(u_{ss}\), between solvent and protein \(u_{sp}\), and between proteins \(u_{pp}\).
The typical number of contacts one solvent molecule makes is called the coordination number \(z\).
For simplicity, lets assume that monomers have similar size as solvent molecules and arrange them on a lattice.
If the state of the systems is a random mix with monomer fraction \(\phi\), the energy of the system is&lt;/p&gt;
&lt;p&gt;$$H = \frac{N z}{2} \left[(1-\phi)^2 u_{ss} + \phi^2 u_{pp} + 2\phi(1-\phi)u_{sp}\right]= \frac{N z}{2}\left[\phi(1-\phi)(2u_{sp} - u_{pp}-u_{ss}) + \phi(u_{pp}-u_{ss}) + u_{ss}\right] $$&lt;/p&gt;
&lt;p&gt;The term proportional to \(\phi(1-\phi)\) is the contribution of contacts between the types, while the term proportional to \(\phi\) is simple the difference between the pure types.
The take home here is that as a function of concentration \(\phi\), the enthalpy is a parabola that can either have positive curvature favoring mixtures or negative curvature favoring demixing.&lt;/p&gt;
&lt;p&gt;Demixing is opposed by entropy: many energetically unfavorable states can have more weight than few favorable states.
Entropy is the logarithm of the number states available given the constraints.
Consider a lattice model of the solution and ignore for a moment that the monomors of the polymer are strung together.&lt;/p&gt;
&lt;p&gt;&lt;img alt="separation" src="/teaching_images/Brangwynne_mixed_vs_separated.png"&gt;&lt;br&gt;
Brangwynne et al, Nature Physics, 2015&lt;/p&gt;
&lt;p&gt;In a random mixture, we can pick for each lattice site independently whether its solvent or monomer.
This results in&lt;/p&gt;
&lt;p&gt;$$ e^{S+c} = \frac{N!}{(N\phi)!(N(1-\phi))!} $$&lt;/p&gt;
&lt;p&gt;configurations.
The logarithm of this number is the entropy (up to an additive constant).
To calculate its magnitude, we use the well known Stirling's approximation for factorials \(\log n! \approx n\log n - n\) and find&lt;/p&gt;
&lt;p&gt;$$  S + c = N\left[\log N - \phi\log(\phi N) - (1-\phi)\log((1-\phi)N)\right] = -N(\phi\log(\phi) + (1-\phi)\log(1-\phi))$$&lt;/p&gt;
&lt;p&gt;Combining the interaction energy with the mixing entropy, we arrive at the free energy of the idealized system:&lt;/p&gt;
&lt;p&gt;$$ \frac{F}{N} =  kT(\phi\log(\phi) + (1-\phi)\log(1-\phi)) + \phi(1-\phi) \frac{z(2u_{sp} - u_{pp}-u_{ss})}{2} $$&lt;/p&gt;
&lt;p&gt;Whether the solution will spontaneously separate into a phase of high and low concentration of the protein, depends on whether the free energy of the homogeneous mixed system is lower than the sum of the energies of two systems at high/low monomer concentration.&lt;/p&gt;
&lt;h3&gt;Instability of a mixture&lt;/h3&gt;
&lt;p&gt;Consider a homogenous mixture with monomer concentration \(\phi\) and compare this to a two phase mixture in which one phase (fraction \(\alpha\)) has concentration \(\phi_1\) and the other phase (fraction \(1-\alpha\)) has concentation \(\phi_2\).
To conserve mass \(\alpha \phi_1 + (1-\alpha)\phi_2 = \phi\).
Under what conditions will a mixture of two phases will have lower energy than the homogeneous case?&lt;/p&gt;
&lt;p&gt;The stability of a configuration depends on the curvature of the free energy in \(phi\).
This is illustrated in the figure below.&lt;/p&gt;
&lt;p&gt;&lt;img alt="unstable_mix" src="/teaching_images/unstable_mix.png"&gt;&lt;/p&gt;
&lt;p&gt;The free energy of a mixture with fraction \(\alpha\) lies on a straight line connecting the two pure phases with concentrations \(\phi_{1/2}\).
Conservation of mass requires that the average concentration doesn't change, hence the relevant comparisons are all on a vertical line.
This considerations immediately tells us that a mixture is stable if the free energy is convex, i.e., the curvature is positive.
Otherwise, it is always possible to lower the free energy by splitting the solution into a mix of two phases.&lt;/p&gt;
&lt;h2&gt;Surface tension&lt;/h2&gt;
&lt;p&gt;Phase separation happens when like interactions are sufficiently strong to overcome entropy favoring mixing.
At the surfaces of two phases, however, molecules enjoy a smaller number of like interactions than in the bulk of the either phase.
Hence surfaces between phases are associated with a free energy cost.
This cost results in a tendency to minimize the surface area given the volume and the optimal geometry is obviously a sphere.
Effectively, the surface is under tension driving shapes towards the lowest free energy geometry.
Surface tension has units energy/area or Newton/length.&lt;/p&gt;
&lt;p&gt;When three different phases (or a solid, a liquid and a gas) meet, the three phase interface depends on the relative surface tensions associated with the three interfaces.
The resulting behavior and contact angles can be calculated from the balance of forces at the contact line.&lt;/p&gt;
&lt;h2&gt;Nucleation&lt;/h2&gt;
&lt;p&gt;The relative contributions of free energy of the bulk and surface depend on the size of the droplet.
For a spherical droplet, the free energy will scale with the radius as&lt;/p&gt;
&lt;p&gt;$$ G(r) = -\alpha r^3 + \beta r^2  $$&lt;/p&gt;
&lt;p&gt;where \(\alpha,\beta\) are positive constant with the appropriate dimensions.
At very small \(r\), the free energy increases with \(r\) and small droplets are unstable.
Only above the nucleation radius \(r^* = \frac{2\beta}{3\alpha}\) do droplets grow deterministically.
This phenomenon is known as nucleation.&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Analyze the free energy function. Is a pure state ever preferred? (Is the minimum ever at \(\phi=0\) or \(\phi=1\)). In case of large repulsive interactions between solvent and protein, at what concentration is the minimum of the free energy?&lt;/li&gt;
&lt;li&gt;How does the free energy landscape change with temperature? What contributions to the free energy are affected?&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="liquid-liquid phase separation"></category></entry><entry><title>Liquid-liquid phase transitions in cell biology</title><link href="/20171121_theoretical_biophysics_slides.html" rel="alternate"></link><published>2017-11-21T00:00:00+01:00</published><updated>2017-11-21T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-21:/20171121_theoretical_biophysics_slides.html</id><summary type="html">&lt;section&gt;
    &lt;h3&gt;The cytosol is structured&lt;/h3&gt;
    &lt;img src="http://microsite.garlandscience.com/pboc2/resources/jpegs/figures/ch02/ch02/figure_02_23.jpg" width="600px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Many organelles are not membrane bound&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/e/eb/NucleolusNCc.jpg"&gt;
        &lt;figcaption&gt;Micrograph of a nucleolus. wikipedia.org.&lt;br&gt; Nucleoli are few um in diameter.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:53%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Cajal_bodies.jpg"&gt;
        &lt;figcaption&gt;Cajal bodies, described in 1903. &lt;br&gt;About 0.3-1um sized structures in the nucleus&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Potential roles of sub-cellular non-membrane bound compartments&lt;/h3&gt;
    &lt;div style="position: absolute;left:20%; top: 25%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Function generally poorly described&lt;/li&gt;
                &lt;li&gt;Nucleoli: involved in rRNA …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h3&gt;The cytosol is structured&lt;/h3&gt;
    &lt;img src="http://microsite.garlandscience.com/pboc2/resources/jpegs/figures/ch02/ch02/figure_02_23.jpg" width="600px"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Many organelles are not membrane bound&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/e/eb/NucleolusNCc.jpg"&gt;
        &lt;figcaption&gt;Micrograph of a nucleolus. wikipedia.org.&lt;br&gt; Nucleoli are few um in diameter.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:53%; top: 15%; width: 40%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Cajal_bodies.jpg"&gt;
        &lt;figcaption&gt;Cajal bodies, described in 1903. &lt;br&gt;About 0.3-1um sized structures in the nucleus&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Potential roles of sub-cellular non-membrane bound compartments&lt;/h3&gt;
    &lt;div style="position: absolute;left:20%; top: 25%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Function generally poorly described&lt;/li&gt;
                &lt;li&gt;Nucleoli: involved in rRNA production and processing&lt;/li&gt;
                &lt;li&gt;Cajal bodies: possibly involved in splicing&lt;/li&gt;
                &lt;li&gt;Generally: structure helps spatio-temporal organisation of 1000s of reactions&lt;/li&gt;
                &lt;li&gt;Locally increase concentration of reaction partners&lt;/li&gt;
                &lt;li&gt;Buffer concentrations in the cytosol&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;P granules in C. elegans&lt;/h3&gt;
    &lt;div style="position: absolute;left:15%; top: 15%; width: 70%; text-align: left"&gt;
    &lt;figure&gt;
        &lt;img src="https://iiif.elifesciences.org/lax:04591/elife-04591-fig1-v2.tif/full/1500,/0/default.jpg"  width=900px&gt;
        &lt;figcaption  width=1000px&gt;&lt;a href="https://elifesciences.org/articles/04591"&gt;Jennifer T Wang et al.&lt;/a&gt; The top row shows a schematic of the assymetric cell division in a C. elegans embryo. &lt;br&gt; The bottom panels show the distribution of P granules in the wild type and different mutants.&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;P granules in C. elegans&lt;/h3&gt;
    &lt;iframe width="840" height="630"
        src="https://www.youtube.com/embed/-iFDqNUXUd8"&gt;
    &lt;/iframe&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Organelles resemble liquid droplets&lt;/h3&gt;
    &lt;div style="position: absolute;left:7%; top: 15%; width: 50%"&gt;
    &lt;figure&gt;
        &lt;img src="/teaching_images/Brangwynne_liquid_droplets.png" width=1000px&gt;
        &lt;figcaption&gt;&lt;a href="http://science.sciencemag.org/content/357/6357/eaaf4382.full"&gt;Yongdae Shin and Clifford P. Brangwynne, Science 2017&lt;/a&gt;&lt;/figcaption&gt;
    &lt;/figure&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;left:60%; top: 15%; width: 60%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;droplets drip and deform in shear flow&lt;/li&gt;
                &lt;li&gt;droplets coalesce&lt;/li&gt;
                &lt;li&gt;droplets round up in absense of shear&lt;/li&gt;
                &lt;li&gt;droplets require nucleation&lt;/li&gt;
                &lt;li&gt;droplets exchange material with their surroundings&lt;/li&gt;
                &lt;li&gt;behavior reminiscent of vinaigrette&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Imprint</title><link href="/imprint.html" rel="alternate"></link><published>2017-11-20T00:00:00+01:00</published><updated>2017-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-20:/imprint.html</id><content type="html"></content><category term="imprint"></category></entry><entry><title>Active tension network model suggests an exotic mechanical state realized in epithelial tissues</title><link href="/noll_active_2017.html" rel="alternate"></link><published>2017-11-20T00:00:00+01:00</published><updated>2017-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-20:/noll_active_2017.html</id><content type="html">&lt;p&gt;Determining how cellular activity affects the collective properties of growing tissues is key to understanding morphogenesis. An epithelial tissue model shows how active tension can give rise to striking mechanical behaviours seen in experiments.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Phylogenetic Tools for Generalized HIV-1 Epidemics: Findings from the PANGEA-HIV Methods Comparison.</title><link href="/ratmann_phylogenetic_2017.html" rel="alternate"></link><published>2017-11-20T00:00:00+01:00</published><updated>2017-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-20:/ratmann_phylogenetic_2017.html</id><summary type="html">&lt;p&gt;Viral phylogenetic methods contribute to understanding how HIV spreads in populations, and thereby help guide the design of prevention interventions. So far, most analyses have been applied to well-sampled concentrated HIV-1 epidemics in wealthy countries. To direct the use of phylogenetic tools to where the impact of HIV-1 is greatest …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Viral phylogenetic methods contribute to understanding how HIV spreads in populations, and thereby help guide the design of prevention interventions. So far, most analyses have been applied to well-sampled concentrated HIV-1 epidemics in wealthy countries. To direct the use of phylogenetic tools to where the impact of HIV-1 is greatest, the Phylogenetics And Networks for Generalized HIV Epidemics in Africa (PANGEA-HIV) consortium generates full-genome viral sequences from across sub-Saharan Africa. Analyzing these data presents new challenges, since epidemics are principally driven by heterosexual transmission and a smaller fraction of cases is sampled. Here, we show that viral phylogenetic tools can be  adapted and used to estimate epidemiological quantities of central importance to&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Identifying Transmission Clusters with Cluster Picker and HIV-TRACE.</title><link href="/rose_identifying_2017.html" rel="alternate"></link><published>2017-11-20T00:00:00+01:00</published><updated>2017-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-20:/rose_identifying_2017.html</id><summary type="html">&lt;p&gt;We compared the behavior of two approaches (Cluster Picker and HIV-TRACE) at varying genetic distances to identify transmission clusters. We used three HIV gp41 sequence datasets originating from the Rakai Community Cohort Study: (1) next-generation sequence (NGS) data from nine linked couples; (2) NGS data from longitudinal sampling of 14 …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We compared the behavior of two approaches (Cluster Picker and HIV-TRACE) at varying genetic distances to identify transmission clusters. We used three HIV gp41 sequence datasets originating from the Rakai Community Cohort Study: (1) next-generation sequence (NGS) data from nine linked couples; (2) NGS data from longitudinal sampling of 14 individuals; and (3) Sanger consensus sequences from  a cross-sectional dataset (n = 1,022) containing 91 epidemiologically linked heterosexual couples. We calculated the optimal genetic distance threshold to separate linked versus unlinked NGS datasets using a receiver operating curve analysis. We evaluated the number, size, and composition of clusters detected by  Cluster Picker and HIV-TRACE at six genetic distance thresholds (1\%-5.3\%) on all  three datasets. We further tested the effect of using all NGS, versus only a single variant for each patient/time point, for datasets (1) and (2). The optimal gp41 genetic distance threshold to distinguish linked and unlinked couples and individuals was 5.3\% and 4\%, respectively. HIV-TRACE tended to detect larger and  fewer clusters, whereas Cluster Picker detected more clusters containing only two sequences. For NGS datasets (1) and (2), HIV-TRACE and Cluster Picker detected all linked pairs at 3\% and 4\% genetic distances, respectively. However, at 5.3\% genetic distance, 20\% of couples in dataset (3) did not cluster using either program, and for {\textgreater}1/3 of couples cluster assignment were discordant. We suggest caution in choosing thresholds for clustering analyses in a generalized epidemic.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Cytoskeleton -- Solutions to problems</title><link href="/20171114_solutions.html" rel="alternate"></link><published>2017-11-14T00:00:00+01:00</published><updated>2017-11-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-14:/20171114_solutions.html</id><summary type="html">&lt;h3&gt;Kramer's rate&lt;/h3&gt;
&lt;p&gt;Simulate the Langevin equation to study escape rates.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="c1"&gt;## Set a bunch of parameters&lt;/span&gt;
&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;10.0&lt;/span&gt;   &lt;span class="c1"&gt;# barrier height (actual barrier heigth will be h/e)&lt;/span&gt;
&lt;span class="n"&gt;dt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.01&lt;/span&gt;  &lt;span class="c1"&gt;# time step for integration of the Langevin equation&lt;/span&gt;
&lt;span class="n"&gt;sqrt_dt …&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h3&gt;Kramer's rate&lt;/h3&gt;
&lt;p&gt;Simulate the Langevin equation to study escape rates.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="c1"&gt;## Set a bunch of parameters&lt;/span&gt;
&lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;10.0&lt;/span&gt;   &lt;span class="c1"&gt;# barrier height (actual barrier heigth will be h/e)&lt;/span&gt;
&lt;span class="n"&gt;dt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.01&lt;/span&gt;  &lt;span class="c1"&gt;# time step for integration of the Langevin equation&lt;/span&gt;
&lt;span class="n"&gt;sqrt_dt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# precompute the prefactor of the diffusive term&lt;/span&gt;

&lt;span class="n"&gt;x_left&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;10.0&lt;/span&gt;  &lt;span class="c1"&gt;# left boundary (reflecting)&lt;/span&gt;
&lt;span class="n"&gt;x_right&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt;   &lt;span class="c1"&gt;# right boundary (absorbing)&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_left&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x_right&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# initial position&lt;/span&gt;

&lt;span class="n"&gt;x_distribution&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;      &lt;span class="c1"&gt;# empty list to collect points for the spatial distribution&lt;/span&gt;
&lt;span class="n"&gt;t_distribution&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;      &lt;span class="c1"&gt;# empty list to collect the barrier crossing times&lt;/span&gt;

&lt;span class="n"&gt;n_runs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;              &lt;span class="c1"&gt;# number of runs&lt;/span&gt;
&lt;span class="n"&gt;t_total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1000000&lt;/span&gt;        &lt;span class="c1"&gt;# max time before breaking&lt;/span&gt;
&lt;span class="n"&gt;batch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10000&lt;/span&gt;            &lt;span class="c1"&gt;# batch size of time points to speed up random number generation&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;force&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# potential 10e^{x - e^{x}}&lt;/span&gt;
    &lt;span class="c1"&gt;#f = -10*np.exp(x-np.exp(x))*(1-np.exp(x))&lt;/span&gt;
    &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# precalculate&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;potential&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="c1"&gt;## report n_runs times&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n_runs&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;escaped&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;
    &lt;span class="c1"&gt;# loop over batches&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_total&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;eta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;normal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# make batch gaussian random numbers&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="c1"&gt;# loop over the these&lt;/span&gt;
            &lt;span class="c1"&gt;# Langevin equation for the increment in position&lt;/span&gt;
            &lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dt&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;force&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;sqrt_dt&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;eta&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;x_left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="c1"&gt;# reflecting boundary&lt;/span&gt;
                &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;x_left&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;x_left&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;x_right&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="c1"&gt;# absorbing boundary&lt;/span&gt;
                &lt;span class="n"&gt;escaped&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;          &lt;span class="c1"&gt;# -&amp;gt; break out of loop&lt;/span&gt;
            &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;dx&lt;/span&gt;

            &lt;span class="n"&gt;x_distribution&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;escaped&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="c1"&gt;# if we have hit the right boundary&lt;/span&gt;
            &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;
            &lt;span class="n"&gt;t_distribution&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# record time&lt;/span&gt;
            &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_left&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x_right&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;escape event, t=&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt; &lt;span class="c1"&gt;# start with  new run&lt;/span&gt;

&lt;span class="c1"&gt;# make histogram and plot spatial distribution&lt;/span&gt;
&lt;span class="n"&gt;x_hist&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;histogram&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_distribution&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_left&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x_right&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;bc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;bw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;dis&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;x_hist&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x_distribution&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;# normalized distribution&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dis&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;observed distribution&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# add boltzmann distribution scaled to overlap with the empirical distribution&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;potential&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dis&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;Boltzmann distribution&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="c1"&gt;# plot temporal distribution&lt;/span&gt;
&lt;span class="n"&gt;t_hist&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t_bins&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;histogram&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_distribution&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;bc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_bins&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;t_bins&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;bw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;t_dis&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;t_hist&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_distribution&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t_dis&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;escape time distribution&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;time&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Barrier height:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;Mean time:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_distribution&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Reaction rates and the method of dominant balance</title><link href="/20171114_theoretical_biophysics.html" rel="alternate"></link><published>2017-11-14T00:00:00+01:00</published><updated>2017-11-14T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-14:/20171114_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Jacobus_Henricus_van_%27t_Hoff"&gt;Jacobus van't Hoff&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Svante_Arrhenius"&gt;Svante Arrhenius&lt;/a&gt;, two chemists in the late 19th century, described how equilibrium constants and reaction rates depend on temperature.
Consider an reaction&lt;/p&gt;
&lt;p&gt;$$ A+B\leftrightarrow C$$&lt;/p&gt;
&lt;p&gt;with an equilibrium constant \(K\). In general, this equilibrium constant is temperature dependent and van't Hoffs equation states that&lt;/p&gt;
&lt;p&gt;$$ \frac …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Jacobus_Henricus_van_%27t_Hoff"&gt;Jacobus van't Hoff&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Svante_Arrhenius"&gt;Svante Arrhenius&lt;/a&gt;, two chemists in the late 19th century, described how equilibrium constants and reaction rates depend on temperature.
Consider an reaction&lt;/p&gt;
&lt;p&gt;$$ A+B\leftrightarrow C$$&lt;/p&gt;
&lt;p&gt;with an equilibrium constant \(K\). In general, this equilibrium constant is temperature dependent and van't Hoffs equation states that&lt;/p&gt;
&lt;p&gt;$$ \frac{d\log K}{dT} = \frac{\Delta H}{kT^2} $$&lt;/p&gt;
&lt;p&gt;where \(\Delta H\) is the enthalpy change (that is the internal energy + \(pV\) if any expansion happens during the reaction).
This equation can obviously be integrated between two temperatures (assuming that \(\Delta H\) is temperature independent).
More usefully, the equation suggests an obvious way to plot and \(K\) and measure \(\Delta H\).
Graphing \(\log K\) vs \(1/T\) should result in a straight line.
The slope of this line the enthalpy of the reaction.
The intercept \(1/T=0\) (that is infinite temperature) is the entropy change involved in the reaction.
The latter holds because the equilibrium constant is related to the Gibbs free energy by \(K = e^{-\Delta G/kT}\) and&lt;/p&gt;
&lt;p&gt;$$\Delta G = \Delta H - T\Delta S$$&lt;/p&gt;
&lt;p&gt;Hence at infinite temperature, only the entropic part remains.&lt;/p&gt;
&lt;p&gt;Arrhenius extended this reasoning to reaction rates, i.e., the rates that take A and B to C and vice versa.
Clearly, the equilibrium constant is the ratio of the reaction rates and some degree of exponential dependence on temperature of the equilibrium constant will carry over to the rates.
In general, however, the enthalpy can take any part along the reaction coordinate.
This is typically assumed to be just a single peak.&lt;/p&gt;
&lt;p&gt;&lt;img alt="reaction_rates" src="/teaching_images/reaction_rates.png"&gt;&lt;/p&gt;
&lt;p&gt;Arrhenius proposed that rates are exponential in the (negative) height of the energy barrier:&lt;/p&gt;
&lt;p&gt;$$k^+ =  \alpha e^{-\Delta H_{act}/kT} \quad \mathrm{and} \quad k^{-} = \alpha e^{-(\Delta H_{act} + \Delta H)/kT} $$&lt;/p&gt;
&lt;p&gt;This behavior is explicit in so called Arrhenius plots that graph (in analogy to the discussion above) the logarithm of a rate against inverse temperature.&lt;/p&gt;
&lt;p&gt;&lt;img alt="arrhenius_plot" src="/teaching_images/arrhenius_plot.png"&gt;&lt;/p&gt;
&lt;p&gt;The slope of the log rate vs inverse temperature equals the activation energy.&lt;/p&gt;
&lt;p&gt;The exponential dependence of a rate on an energy barrier has featured a number of times during the course with hand-waving explanation.
One the other hand, we have calculate now rapidly reactants come together by diffusion and it seems natural to assume that the diffusion limited rate will play the role of the prefactor.
The diffusion limited rate is then reduced by the energy barrier that needs to be overcome in addition to being in close proximity.
We now want to look at this problem in a more formal, quantitative way.&lt;/p&gt;
&lt;h3&gt;One dimensional first passage problem&lt;/h3&gt;
&lt;p&gt;The first passage time is the time it takes for a system to first reach a certain state.
We will exclusively look at systems with diffusive dynamics (inertia is rarely important within cells).
In this case, the first passage can be modeled as a diffusion problem with an absorbing boundary at the target state.&lt;/p&gt;
&lt;p&gt;The graph below illustrates our set-up.&lt;/p&gt;
&lt;p&gt;&lt;img alt="first_passage_problem" src="/teaching_images/first_passage_problem.png"&gt;&lt;/p&gt;
&lt;p&gt;At long distances, the density of an A,B pair is simply the product of their concentrations.
At short distance, the density is reduced by the energy barrier to overcome, that is the two species repel each other.
The diffusion equation governing the density is&lt;/p&gt;
&lt;p&gt;$$ \frac{dP(x,t)}{dt} = \mu kT\frac{d^2P(x,t)}{dx^2} + \mu\frac{d E}{dx} \frac{dP}{dx}$$&lt;/p&gt;
&lt;p&gt;Here, we are using the Einstein relation that the diffusion constant \(D=\mu kT\) where \(\mu\) is the mobility, i.e., the coefficient that relates force to velocity in the over-damped limit.
We further express the force as the negative spatial derivative of the energy.
In analogy to our treatment of diffusion limited reaction where \(E(x)=0\), we look for a state solution with constant flux -- the flux into the absorbing boundary will correspond to the rate of reaction of A and B to C.
This simplifies the equation for \(P(x)\) to&lt;/p&gt;
&lt;p&gt;$$ j = \mu kT \frac{dP(x)}{dx} - \mu\frac{d E}{dx} P(x)$$&lt;/p&gt;
&lt;p&gt;If the energy barrier is high, the flux will be small and to a first approximation we can ignore the flux \(j\) far from the barrier where \(P(x)\) is large.
In this case, we get&lt;/p&gt;
&lt;p&gt;$$ P(x) = ce^{-(E(x) - E(\infty)/kT}$$&lt;/p&gt;
&lt;p&gt;where \(c\) is the concentration of the molecule pair at long distances.
This solution is identical to the equilibrium Boltzmann distribution.
However, it does not hold at or even in the vicinity of the energy barrier (it predicts the density to increase after crossing the barrier, but that is where the absorbing boundary sits).
What this approximate solution implies is that the energy barrier acts as an approximate reflecting boundary.
Now for convenience assume the energy barrier is exactly at \(x=0\) and lets approximate the energy barrier locally as a parabola \(E(x) = E_b - ax^2/2\).
This simplifies the problem&lt;/p&gt;
&lt;p&gt;$$ \frac{dP(x)}{dx} = \frac{j}{\mu kT} + \frac{ax}{kT} P(x)$$&lt;/p&gt;
&lt;p&gt;This equation has the solution&lt;/p&gt;
&lt;p&gt;$$ P(x) = e^{\frac{ax^2}{2kT}} \frac{j}{\mu kT}\int_{x_0}^{x} e^{-\frac{ay^2}{2kT}} dy$$&lt;/p&gt;
&lt;p&gt;where lower integration boundary can be chosen to fulfill the boundary condition \(P(x)\to 0\) at large positive \(x\).
Hence the upper boundary needs to be \(x_0=\infty\) and we can write the solution as&lt;/p&gt;
&lt;p&gt;$$ P(x) = - \frac{j}{\mu kT}e^{\frac{ax^2}{2kT}}\int_{x}^{\infty} e^{-\frac{ay^2}{2kT}} dy$$&lt;/p&gt;
&lt;p&gt;This solution if valid in the vicinity of the barrier and a few times \(\sqrt{kT/a}\).
We have to match this solution to the quasi-equilibrium solution far from the barrier.
To this end, remember that \(\int_{-\infty}^{\infty} e^{-\frac{ay^2}{2kT}}  = \sqrt{\frac{2\pi kT}{a}}\) such that we arrive at the condition&lt;/p&gt;
&lt;p&gt;$$ j/\mu e^{ax^2/kT} \sqrt{\frac{2\pi}{a kT}} = c e^{-(E(x) - E_b+\Delta E)/kT} $$&lt;/p&gt;
&lt;p&gt;where we have replaced \(E_{\infty}\) by \(E_b-\Delta E\), i.e., the peak minus the barrier height.
Now \(E(x)-E_b\approx - ax^2/2\) such that the flux is&lt;/p&gt;
&lt;p&gt;$$ j = \mu c \sqrt{\frac{a kT}{2\pi}}e^{-E_b/kT} = D c \sqrt{\frac{a}{2\pi kT}}e^{-E_b/kT}$$&lt;/p&gt;
&lt;p&gt;As expected, the rate is linear in the diffusion coefficient and the concentration and it depends exponentially on the height of the energy barrier.
In addition, we see that the rate depends also on the shape of the energy landscape near the transition state.
The sharper this peak is (larger \(a\)), the more rapid is the transition.&lt;/p&gt;
&lt;p&gt;So when are the approximations we made good approximations?
First, we assumed that \(j\) is small compared to \(D P'\) and \(\mu E'P\).
The flux \(j\sim D c e^{-E_b/kT}\). Hence this approximation is good where ever \(E(x)-E_{\infty}\ll E_b\).
Since this dependence is exponential, we don't really need a big difference in these two numbers: The approximation should be accurate to about 1% outside of 4kT of the barrier.
The other approximation we have made is the parabolic approximation of the barrier.
Every peak, to first order, is a parabola.
And we only need this approximation to be good within a few kT of the peak -- until we match it with the equilibrium solution.&lt;/p&gt;
&lt;h3&gt;The method of dominant balance&lt;/h3&gt;
&lt;p&gt;We have calculated the rate of barrier crossing -- central to reaction rates or any processes that require overcoming of an activation energy by thermal fluctuations -- by matching two solutions that are accurate before and on the barrier.
The solution before the barrier was obtained by ignoring the flux, the part on the barrier by approximating the potential, and the we could calculate a simple solution of the right of the barrier.
Key to solving problems like this is to know what to ignore -- a concept central to the method of the dominant balance.
We have used this method approximating when we ignored the flux.&lt;/p&gt;
&lt;p&gt;Michael Brenner in his course illustrates the power of the method of the dominant balance by finding approximate solutions to random polynomial equations.
Consider&lt;/p&gt;
&lt;p&gt;$$ 18x^5- 60x^3 + x^2/5 = 8 $$&lt;/p&gt;
&lt;p&gt;This equation has 5 solutions, some of which might be imaginary.
To proceed, one should first try to non-dimensionalize the system. Here, lets simply  divide by the coefficient of the largest monomial.&lt;/p&gt;
&lt;p&gt;$$ x^5 - 10x^3/3 + x^2/90 - 8/18 = 0 $$&lt;/p&gt;
&lt;p&gt;The solutions at large absolute \(x\) are probably obtained when balancing the two highest monomials \(x^5 = 10x^3/3\) corresponding to \(x_{1/2} \approx \sqrt{10/3}\approx \pm 1.82\). Plugging these solution into the equation justifies the omission of the other terms.&lt;/p&gt;
&lt;p&gt;At small \(x\), the lowest monomials and the constant tend to contribute.
In this case the cubic component has a large prefactor, so we might want to try \(\frac{10}{3}x^3 = 8/18\) which corresponds to \(x_3 \approx -0.5\).
Again, this is readily verified to be within a few percent of the correct solution.&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Simulate barrier crossing of diffusing particles across potential
    $$ E(x)/kT = 10e^{x - e^{x}} $$
    Place a reflecting boundary at -10 and an absorbing boundary at +1 and start with a particle at \(x=-5\). Update the position of the particle by
    $$ x(t+\Delta t) = x(t) - \Delta t\frac{dE}{dx} + \sqrt{\Delta t}\eta $$
    where \(\eta\) is a Gaussian random variable. Repeat this until the particle escaped at \(x=1\). If the particle passes through the reflecting boundary, mirror the trajectory forward. Periodically report the position of the particle and finally compare the resulting distribution to the Boltzmann distribution.
    Repeat the entire escape process a few hundred times (lower the barrier if it takes to long) and plot the distribution of escape times.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Make up a polynomial equation of 5th order with at least 4 terms and find approximate solutions.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a href="/20171114_solutions.html"&gt;Solutions&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="reaction rates"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201711_NIBR.html" rel="alternate"></link><published>2017-11-09T00:00:00+01:00</published><updated>2017-11-09T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-09:/201711_NIBR.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=750px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=180px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=180px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Molecular motors</title><link href="/20171107_theoretical_biophysics.html" rel="alternate"></link><published>2017-11-07T00:00:00+01:00</published><updated>2017-11-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-07:/20171107_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;We have encountered a number of processes in past weeks that hydrolize ATP to drive irreversible reactions.
In the case of the actin cytoskeleton, these irreversible reactions result in forces that drive cell motility.
Here, we want to look more closely at proteins that explicitly convert chemical energy into mechanical …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We have encountered a number of processes in past weeks that hydrolize ATP to drive irreversible reactions.
In the case of the actin cytoskeleton, these irreversible reactions result in forces that drive cell motility.
Here, we want to look more closely at proteins that explicitly convert chemical energy into mechanical work known as molecular motors.
There are a number of different types of molecular motors, including&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;cytoskeletical associated motors: myosin, dynein, kinesin&lt;/li&gt;
&lt;li&gt;ion pumps (ATP synthase can also run as a proton pump)&lt;/li&gt;
&lt;li&gt;rotary motors that drive flagella&lt;/li&gt;
&lt;li&gt;translocation: motors that import polymers or unfold proteins.&lt;/li&gt;
&lt;li&gt;DNA/RNA associated motors such as polymerases, helicases, viral packaging motors, chromatin condensation etc&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Molecular motors have always fascinated biophysicists because of the direct link between biochemical reactions and mechanical work done by individual molecular machines.
They devised many clever single molecule experiments to elucidate the properties of these machines.&lt;/p&gt;
&lt;p&gt;The following illustration shows sketches of the three most important "cargo" motors myosin V, kinesin, and dynein.
Myosin uses actin, the other two microtubuli as substrates.&lt;/p&gt;
&lt;p&gt;&lt;img alt="optical_tweezers" src="/teaching_images/PBOC/figure_16_02.jpg"&gt;&lt;/p&gt;
&lt;h2&gt;Assays to characterize motor activity and function&lt;/h2&gt;
&lt;h3&gt;Actin sliding on myosin coated surfaces&lt;/h3&gt;
&lt;p&gt;Myosin motors immobilized on surfaces and propel labeled actin filaments&lt;/p&gt;
&lt;p&gt;&lt;img alt="gliding_assay" src="/teaching_images/PBOC/figure_16_09a.jpg"&gt;&lt;/p&gt;
&lt;p&gt;In presence of ATP, the myosin motors will start to push the actin filaments across the surface.
This situation is partly analogous to myosin II in muscles, where many motors bind cooperatively to a filament.
If the filaments are fluorescently labeled, the movement of the filaments can be observed in a microscope.&lt;/p&gt;
&lt;p&gt;&lt;img alt="gliding_assay" src="/teaching_images/PBOC/figure_16_09b.jpg"&gt;&lt;/p&gt;
&lt;h3&gt;Single molecule techniques&lt;/h3&gt;
&lt;p&gt;The gliding assay discussed above is suitable to study bulk properties of many motors simultaneously.
More sensitive technologies have been developed to study the dynamics of individual motor proteins.&lt;/p&gt;
&lt;p&gt;How exactly these motors move along their substrates has been a long standing debate in molecular biophysics.
Specifically, people disagreed on whether these motors moved via a "hand-over-hand" or "inch-worm" mechanism.
These kind of questions are difficult to answer using crystallography or NMR or similar, but direct observation of single molecular motors resolved the controversy.&lt;/p&gt;
&lt;p&gt;&lt;img alt="hand_over_hand" src="/teaching_images/PBOC/figure_16_11.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://science.sciencemag.org/content/300/5628/2061"&gt;Yildiz et al&lt;/a&gt; labeled one of the two heads with a fluorescent label and directly observed the step-wise motion of the motor head.
The head moved in steps of 70nm and the only compatible mode with this step size is the hand-over-hand mode.
Similar experiments have been performed for kinesin.
Note that the localization of the fluorophore in these experiments is much tighter than the diffraction limit.
This tight localization works via a similar mechanism as PALM or STORM.
Repeated observations from a point source can be fit to the known point spread function.
Given enough data, the center of the point spread function can be fit to nm accuracy.&lt;/p&gt;
&lt;h3&gt;Observing rotary motors&lt;/h3&gt;
&lt;p&gt;Another fascinating class of molecular motors are rotary motors with their most prominent examples bacterial flagellum and the proton pump/ATP synthase.&lt;/p&gt;
&lt;p&gt;&lt;img alt="rotary_motors" src="/teaching_images/PBOC/figure_16_14.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/9069291"&gt;Noji et al&lt;/a&gt; figured out a way to observe the dynamics of single ATP synthase already more than 20 years ago.
They attached a fluorescently labeled actin filament to the motor and could directly image the motion of the filament.
This demonstrated clearly that the motor rotors in steps 120 degrees.&lt;/p&gt;
&lt;p&gt;&lt;img alt="rotary_motors" src="/teaching_images/PBOC/figure_16_16.jpg"&gt;&lt;/p&gt;
&lt;h3&gt;Response of motors to load&lt;/h3&gt;
&lt;p&gt;The experiments above observed motors in absence of load.
A central task of the motor, however, is to perform work and work is performed through motion under load.&lt;/p&gt;
&lt;p&gt;A sensitive technique to measure load and exert force are optical tweezers
A bead can be positioned by a focused laser beam.
The bead diffracts light and light diffraction generates a restoring force.
At the same time, the position of the bead relative to the center of the beam can be determined via the refraction pattern.&lt;/p&gt;
&lt;p&gt;&lt;img alt="optical_tweezers" src="/teaching_images/PBOC/figure_04_11.jpg"&gt;&lt;/p&gt;
&lt;p&gt;The beads can be functionialized in different ways and attached to molecular motors (via linkers), pieces of DNA etc.&lt;/p&gt;
&lt;p&gt;The figure below shows the load dependence of a kinesin molecular motor at different ATP concentrations.
With increasing force, the velocity of the motor decreases until it hits zero at around 5-8pN.
This stall force also seems to depend on the ATP concentration.
The latter, however, mostly seems to affect the speed.&lt;/p&gt;
&lt;p&gt;&lt;img alt="load_dependence" src="/teaching_images/PBOC/figure_16_34b.jpg"&gt;&lt;/p&gt;
&lt;p&gt;Detailed single molecule experiments have shown that the position of motors fluctuates and moves forward and (sometimes) backward on the microtubule.
The higher the load, the more frequently the motor moves backward.
Let's try to understand this behavior using a simple quantitative model in which the walker moves forward with rate \(k^x\) and backward with rate \(k^-\).
The distribution of the walker along the track then obeys the equation&lt;/p&gt;
&lt;p&gt;$$\frac{P(n,t)}{dt}  = -(k^+ + k^-)P(n,t) + k^+P(n-1,t) + k^-P(n+1,t)$$&lt;/p&gt;
&lt;p&gt;This equation should be familiar with the Master equation for random walks we studied earlier.
This master equation can be transformed into a diffusion equation by realizing that the right hand side can be decomposed into a discrete first and second derivative.&lt;/p&gt;
&lt;p&gt;$$\frac{P(n,t)}{dt}  = \frac{k^+ + k^-}{2}\left[P(n-1,t) - 2P(n,t) + P(n+1,t)\right] + \frac{k^+ - k^-}{2}\left[P(n-1,t)- P(n+1,t)\right]$$&lt;/p&gt;
&lt;p&gt;Hence the Master equation is equivalent to a diffusion equation with velocity and diffusion coefficient&lt;/p&gt;
&lt;p&gt;$$V = a(k^+ - k^-) \quad\mathrm{and}\quad
  D = a^2\frac{k^+ + k^-}{2}$$&lt;/p&gt;
&lt;p&gt;Now both the \(k^+\) and the \(k^-\) rate could depend on the applied force.
For the same reasons we have encountered several times before, the dependence of rates on the applied force will generally be of Boltzmann form. If for example the \(k^+\) is the only rate that is force dependent, we expect&lt;/p&gt;
&lt;p&gt;$$k^+ = k_0 e^{-aF/kT} $$&lt;/p&gt;
&lt;p&gt;The length scale \(a\) here is the distance between binding sites on the track, which in the case of actin or microtubule filaments will be an integer multiple of the helical pitch.
Whether the load is mostly affecting the forward or backward rate has measurable consequence:
If the force is affecting the backward rate, the velocity responds little to force until the force approaches the stall force, beyond which the motor is rapidly going backwards. In the opposite case, the velocity is sensitive to load up to the stall force and has lower sensitive at large super stall-force loads.
Experiments suggest that a load largely affects the backward rate.
This is seen in the graph below, that illustrates the velocity dependence for the cases where the force affects \(k^+\)(A) and \(k^-\) (B) and shows experimental data by Gebhardt et al.&lt;/p&gt;
&lt;p&gt;&lt;img alt="load_dependence" src="/teaching_images/PBOC/figure_16_27.jpg"&gt;&lt;/p&gt;
&lt;p&gt;This simple model of a biased random walker captures some of the qualitative behavior, but misses a crucial part of physical reality: How does the walker know that left and right are different. Without internal states that are coupled ATP hydrolysis, no directed motion should be possible.&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;What is the drag force of a 100nm vesicle when moving at a typical molecular motor velocity? (use the viscosity of the cytosol and look up motor speeds)&lt;/li&gt;
&lt;li&gt;What is the distance beyond which directed transport by a molecular motor is faster than diffusion for (i) a typical protein, (ii) a 1kb mRNA, (iii) a 100nm vesicle?&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="molecular motors"></category></entry><entry><title>Biological Oscillators, circadian rhythms and temperature compensation</title><link href="/20171106_CompSysBio.html" rel="alternate"></link><published>2017-11-06T00:00:00+01:00</published><updated>2017-11-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-06:/20171106_CompSysBio.html</id><summary type="html">&lt;section&gt;
    &lt;h3&gt;Periodic environments and biological oscillations&lt;/h3&gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;Day/night&lt;/li&gt;
            &lt;li&gt;Tides&lt;/li&gt;
            &lt;li&gt;Moon phases&lt;/li&gt;
            &lt;li&gt;Cells anticipate periodic environments&lt;/li&gt;
            &lt;li&gt;Circadian clocks run without cues (free run). &lt;/li&gt;
            &lt;li&gt;Clocks are entrainable&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Nobelprize 2017: Elucidation of the Molecular Mechanisms of Circadian Clocks&lt;/h3&gt;
    &lt;div  style="position:absolute; top:25%; left:5%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/hall.jpg"&gt;
        &lt;h5&gt;Jeffrey Hall&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:38%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/rosbash.jpg"&gt;
        &lt;h5&gt;Michael Rosbach&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:69%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/young.jpg"&gt;
        &lt;h5&gt;Michael Young&lt;/h5&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images by Nobel media, Nobelprize.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physical and biochemical oscillators …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h3&gt;Periodic environments and biological oscillations&lt;/h3&gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;Day/night&lt;/li&gt;
            &lt;li&gt;Tides&lt;/li&gt;
            &lt;li&gt;Moon phases&lt;/li&gt;
            &lt;li&gt;Cells anticipate periodic environments&lt;/li&gt;
            &lt;li&gt;Circadian clocks run without cues (free run). &lt;/li&gt;
            &lt;li&gt;Clocks are entrainable&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Nobelprize 2017: Elucidation of the Molecular Mechanisms of Circadian Clocks&lt;/h3&gt;
    &lt;div  style="position:absolute; top:25%; left:5%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/hall.jpg"&gt;
        &lt;h5&gt;Jeffrey Hall&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:38%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/rosbash.jpg"&gt;
        &lt;h5&gt;Michael Rosbach&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:69%; width:30%"&gt;
        &lt;img src="https://www.nobelprize.org/nobel_prizes/medicine/laureates/2017/young.jpg"&gt;
        &lt;h5&gt;Michael Young&lt;/h5&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Images by Nobel media, Nobelprize.org&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Physical and biochemical oscillators&lt;/h3&gt;
    &lt;div  style="position:absolute; top:25%; left:5%; width:40%"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;Pendulum &lt;br&gt;$$\frac{d^2\theta(t)}{dt^2} = \frac{g}{L}\sin \theta(t) \approx \frac{g}{L}\theta^2$$ &lt;/li&gt;
                &lt;li&gt;period $$T = 2\pi \sqrt{\frac{g}{L}}$$&lt;/li&gt;
                &lt;li&gt;Oscillation driven by back and forth between kinetic and potential energy.&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div  style="position:absolute; top:25%; left:50%; width:40%"&gt;
        &lt;font size="5"&gt;
            &lt;ul&gt;
                &lt;li&gt;No equivalent of kinetic energy&lt;/li&gt;
                &lt;li&gt;Multi-component systems with interdependent regulation&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;

&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Cytoskeleton -- Solutions to problems</title><link href="/20171106_solutions.html" rel="alternate"></link><published>2017-11-06T00:00:00+01:00</published><updated>2017-11-06T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-06:/20171106_solutions.html</id><summary type="html">&lt;h3&gt;Drag forces: What is the drag force of a 100nm vesicle when moving at a typical molecular motor velocity? (use the viscosity of the cytosol and look up motor speeds)&lt;/h3&gt;
&lt;p&gt;This is essentially the same as a previous excercise put with a 5 fold smaller radius. Hence the mobility is …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Drag forces: What is the drag force of a 100nm vesicle when moving at a typical molecular motor velocity? (use the viscosity of the cytosol and look up motor speeds)&lt;/h3&gt;
&lt;p&gt;This is essentially the same as a previous excercise put with a 5 fold smaller radius. Hence the mobility is 5 fold lower and the force 5 fold higher.&lt;/p&gt;
&lt;p&gt;$$ F \approx 20\times 0.1\mu m\times 0.2\mu m/s \times 10^{-3} pNs/\mu m^2 = 0.4\times 10^{-3} pN$$&lt;/p&gt;
&lt;h3&gt;Diffusion vs directed transport: What is the distance beyond which directed transport by a molecular motor is faster than diffusion for (i) a typical protein, (ii) a 1kb mRNA, (iii) a 100nm vesicle?&lt;/h3&gt;
&lt;p&gt;The time it takes to be carried by a motor a distance \(d\) is \(t = d/v\).
We are hence looking for the distance where \(d = \sqrt{6Dd/v}\) or&lt;/p&gt;
&lt;p&gt;$$ d = 6D/v \approx 12D \frac{s}{\mu m} $$&lt;/p&gt;
&lt;p&gt;where I have assumed a motor speed of 550nm/s.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Generating function of critical branching processes</title><link href="/201711_critical_branching_process.html" rel="alternate"></link><published>2017-11-05T00:00:00+01:00</published><updated>2017-11-05T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-05:/201711_critical_branching_process.html</id><summary type="html">&lt;p&gt;Let's consider a process in which individuals die and give birth with rate one.
This process is known as a continuous time critical branching process.
The probability to observe \(n\) individual at time \(t\) obeys the following difference equation:
$$
P(n, t+dt) = (1-2 n dt )P(n, t) + dt …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Let's consider a process in which individuals die and give birth with rate one.
This process is known as a continuous time critical branching process.
The probability to observe \(n\) individual at time \(t\) obeys the following difference equation:
$$
P(n, t+dt) = (1-2 n dt )P(n, t) + dt\left[ (n-1) P(n-1,t) + (n+1)P(n+1,t)\right]
$$
where the first term corresponds to the case when nothing is happening in the time interval \(dt\), the second corresponds to division/birth and the third to the death of one individual with rate.
Taking the limit \(dt\to 0\), we immediately get
$$
\partial_t P(n, t) = -2nP(n, t) + (n-1)P(n-1,t) + (n+1)P(n+1,t)
$$
To solve this equation, we define the generating function \(\hat{p}(z,t) = \sum_n z^n P(n,t)\), multiply the equation by \(z^n\) and sum over \(n\):
$$
\partial_t \hat{p}(z, t) = -2z \partial_z \sum_{n=0} z^{n} P(n, t) + z^2 \partial_z \sum_{n=0} z^{n-1}P(n-1,t) + \partial_z \sum_{n=1} n z^{n+1}P(n+1,t) = \left[-2z + z^2 + 1\right]\partial_z \hat{p}(z,t)
$$
Instead of the difference equation, we are now looking at partial differential equation for the generating function.&lt;/p&gt;
&lt;p&gt;We will consider here the initial condition \(P(n,0)=\delta_{n0}\), i.e., there is exactly one individual at time \(t=0\), and \(\hat{p}(z,t) = z\) and solve this partial differential equation using the methods of characteristics.
The method of characteristics determines families of curves in the space of \((z,t)\) along which the function is constant.
Parameterizing the characteristic with \(t\), we have \(\hat{p}(z(t),t)\) and consequently.
$$
0 = \frac{d\hat{p}(z(t), t)}{dt} = \partial_z \hat{p}(z,t) \frac{dz}{dt} + \partial_t \hat{p}(z,t) = \partial_z \hat{p}(z,t) \left[\frac{dz}{dt} -(b+d)z + b z^2 + d  \right]
$$
Substituting \(z(t) = 1 - \chi(t)\), this equation simplifies to
$$
\frac{d \chi(t)}{dt} =  \chi(t)^2
$$
which has a finite time singularity.
$$
\chi(t) = \frac{1}{C - t}
$$
with initial condition \(\chi(0) = C^{-1}\).
By construction, the generating function \(\hat{p}(z,t)\) is constant along the characteristic curve such that \(\hat{p}(z(t),t) = \hat{p}(z(0),0)) = z(0) = 1-C^{-1}\).
The problem is hence reduced to finding the integration constant \(C\) such that the characteristic passes through the point \((z,t)\).
Solving
$$
z = 1 - \frac{1}{C(z,t)-t}
$$
for \(C(z,t)\) yields
$$
% (1-z)^{-1} = C(z,t)-t
C(z,t) = (1-z)^{-1} + t
$$
This in turn results in the generating function
$$
\hat{p}(z,t) = 1 - \frac{1}{(1-z)^{-1} + t}
$$
As a sanity check, we can evaluate the first few moments
$$
1 = \sum_n P(n,t) = \hat{p}(1,t) = 1
$$
$$
\langle n\rangle = \sum_n n P(n,t) = \partial_z \hat{p}(z,t)|_{z=1} = 1
$$
and the survival probability
$$
1-P(0,t) = 1-\hat{p}(0,t) = \frac{1}{1+t}
$$&lt;/p&gt;
&lt;h3&gt;Solution via the first step equation&lt;/h3&gt;
&lt;p&gt;While the way we derived the generating function above was straightforward, it did require solving a (simple) PDE.
A more direct way to the solution is via a first step equation.
Splitting the time interval \([0,t]\) in \([0,\Delta t]\) and \([\Delta t, t]\), and assuming we start with a single individual at time \(t=0\), we have
$$
P(n,t) = (1-2\Delta t)P(n,t-\Delta t) + \Delta t \left[\delta(n=0) + \sum_{n'=0}^n P(n',t)P(n-n',t)\right]
$$
The first term corresponds to the case where nothing happens in the interval \([0,\Delta t]\), the third term corresponds to the death of the one and only individual (and pins the distribution at \(n=0\)), while the last term corresponds to a birth event and the sum runs over the different ways in which \(n\) descendants can result from two seeds.&lt;/p&gt;
&lt;p&gt;This equation is readily turned into an ODE
$$
\frac{dP(n,t)}{dt} = -2 P(n,t) + \delta(n=0) + \sum_{n'=0}^n P(n',t)P(n-n',t)
$$
and the convolution can be disentangled by Laplace-transformation, that is considering the generating function \(\hat{p}(\lambda,t)\ = \sum_n \lambda^n P(n,t)\).
The Laplace transform turns the convolution into a product:
$$
\frac{d\hat{p}(\lambda,t)}{dt} = -2 \hat{p}(\lambda,t) + 1 + \sum_{n}\sum_{n'=0}^n \lambda^{n'}P(n',t)\lambda^{n-n'}P(n-n',t) = 2\hat{p}(\lambda,t) + 1 + \hat{p}(\lambda,t)^2
$$
(Note that \(\sum_{n=0}^\infty)\sum_{n'=0}^{n} = \sum_{n'=0}^\infty)\sum_{n=n'}^{\infty} \)).
This can be further simplified by substituting \(\hat{p}(\lambda,t) = 1-\phi(\lambda,t)\):
$$
\frac{d\phi(\lambda,t)}{dt} = 2 (1-\phi) - 1 - (1-\phi))^2 = -\phi^2
$$
with solution \(\phi(\lambda,t) = \frac{1}{(1-\lambda)^{-1}+t})
\),
where the integration constant was used to fulfill the initial condition \(\phi(\lambda,t=0)=1-\lambda\).&lt;/p&gt;</content><category term="notes"></category><category term="branching process"></category><category term="method of characteristics"></category><category term="first-step equation"></category></entry><entry><title>Virus evolution and the spread of infectious disease</title><link href="/20171101_Ringvorlesung.html" rel="alternate"></link><published>2017-11-01T00:00:00+01:00</published><updated>2017-11-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-11-01:/20171101_Ringvorlesung.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia …&lt;/a&gt;&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
&lt;!--    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

 --&gt;&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Lifecycle of animal viruses&lt;/h3&gt;
    &lt;img src="/talk_images/HepC_replication.png"&gt;
&lt;span class="ref"&gt;By &lt;a href="https://en.wikipedia.org/wiki/User:GrahamColm" class="extiw" title="wikipedia:User:GrahamColm"&gt;GrahamColm&lt;/a&gt; at &lt;a href="https://en.wikipedia.org/wiki/" class="extiw" title="wikipedia:"&gt;English Wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Some viruses evolve a million times faster than animals&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Animal haemoglobin&lt;/h4&gt;
    &lt;img src="/talk_images/hemoglobin_alignment.png" width="1200px" class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;HIV protein&lt;/h4&gt;
    &lt;img src="/talk_images/HIV_dummy_alignment.png" width="1200px" class="plain"&gt;
&lt;/section&gt;
&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_sketch.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Immune escape in early HIV infection&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_immune_escape_salazar.png" width=1200px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selective sweeps&lt;/h3&gt;
    &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Viruses carrying a beneficial mutation have more offspring: on average $1+s$ instead of $1$&lt;/li&gt;
            &lt;li&gt;$s$ is called selection coefficient&lt;/li&gt;
            &lt;li&gt;Fraction $x$ of viruses carrying the mutation changes as
            $$x(t+1) = \frac{(1+s)x(t)}{(1+s)x(t) + (1-x(t))}$$&lt;/li&gt;
            &lt;li&gt;In continuous time &amp;rarr; logistic differential equation:
                $$\frac{dx}{dt} = sx(1-x) \Rightarrow x(t) = \frac{e^{s(t-t_0)}}{1+ e^{s(t-t_0)}}$$
                &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section&gt;
    &lt;h3&gt;The rate of sequence evolution in HIV&lt;/h3&gt;
    &lt;img src="/talk_images/HIV_Zanini_evolutionary_rates.png" width=1000px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution in different parts of the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Cytoskeleton -- Solutions to problems</title><link href="/20171031_solutions.html" rel="alternate"></link><published>2017-10-31T00:00:00+01:00</published><updated>2017-10-31T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-31:/20171031_solutions.html</id><summary type="html">&lt;h2&gt;Diffusion limited rate of actin polymerization&lt;/h2&gt;
&lt;p&gt;What is diffusion limited rate of actin polymerization at 3mM concentration?&lt;/p&gt;
&lt;p&gt;The diffusion limited rate is&lt;/p&gt;
&lt;p&gt;$$ \kappa = 4\pi D r \approx 4\pi 20\mu m^2/s \times 0.003\mu m = 0.8\mu m^3/s \approx 3\times 10 …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Diffusion limited rate of actin polymerization&lt;/h2&gt;
&lt;p&gt;What is diffusion limited rate of actin polymerization at 3mM concentration?&lt;/p&gt;
&lt;p&gt;The diffusion limited rate is&lt;/p&gt;
&lt;p&gt;$$ \kappa = 4\pi D r \approx 4\pi 20\mu m^2/s \times 0.003\mu m = 0.8\mu m^3/s \approx 3\times 10^{8} M^{-1}s^{-1}$$&lt;/p&gt;
&lt;p&gt;With a concentration of \(3\times 10^{-4}M\), we find a rate of&lt;/p&gt;
&lt;p&gt;$$ k = 9\times 10^{4}/s $$&lt;/p&gt;
&lt;p&gt;This is a pretty high rate, certainly a lot higher than what is typically observed.
However, the orientational correction factor will reduce this rate by at least a factor of 10.&lt;/p&gt;
&lt;h2&gt;Drag force on a listerium&lt;/h2&gt;
&lt;p&gt;A sphere with diameter of one \(\mu m\) at a velocity of 200nm/s will experience a drag of&lt;/p&gt;
&lt;p&gt;$$F = 6\pi r \eta v  $$&lt;/p&gt;
&lt;p&gt;where the viscosity of water is \(\eta=10^{-3}pNs/\mu m^2\). Hence&lt;/p&gt;
&lt;p&gt;$$ F \approx 20\times 0.5\mu m\times 0.2\mu m/s \times 10^{-3} pNs/\mu m^2 = 2\times 10^{-3} pN$$&lt;/p&gt;
&lt;p&gt;hence the actual drag force on the bacterium is pretty small. (And we must have made a mistake during the excercise session.)&lt;/p&gt;
&lt;h2&gt;Plot the solution by Moligner and Oster.&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;scipy.integrate&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;quad&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;o_integral&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    This function returns the integral omega(v) for a particular&lt;/span&gt;
&lt;span class="sd"&gt;    value for v. omega(v) is evaluated by numeric integration.&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;f&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="c1"&gt;# the integration boundaries are 0 and minimum of 100 and 10/v&lt;/span&gt;
    &lt;span class="c1"&gt;# for small v, the integrand is ~exp(-x), hence a range 100 is generous&lt;/span&gt;
    &lt;span class="c1"&gt;# for large v, the integrand is neglibile if x&amp;gt;&amp;gt;log(v)/v&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;quad&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;minimum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;10.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,))[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;omega&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    this function checks whether the input v is a scalar (i.e. just one number)&lt;/span&gt;
&lt;span class="sd"&gt;    or a list/array. In the the latter case, the integral is&lt;/span&gt;
&lt;span class="sd"&gt;    evaluated for every point and the result returned as an array&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isscalar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;o_integral&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;o_integral&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;RHS&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eps1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eps2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eps3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eps4&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;the right hand side (RHS) of the Moligner/Oster result&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;eps2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;eps1&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;omega&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;eps4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;eps3&lt;/span&gt;

&lt;span class="c1"&gt;## Make a figure plotting the graphical solution of the&lt;/span&gt;
&lt;span class="c1"&gt;# Moligner/Oster result&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;1e-2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;55&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1001&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# use the values from the paper&lt;/span&gt;
&lt;span class="n"&gt;rhs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;RHS&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;5.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;105&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;#plot left and right hand side of the equation&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rhs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;v&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="c1"&gt;###&lt;/span&gt;
&lt;span class="c1"&gt;# plotting the approximate and numerical solutions of omega(w)&lt;/span&gt;
&lt;span class="c1"&gt;###&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="c1"&gt;# numeric solution&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;omega&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;numerical solution&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;large v approximation&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;small v approximation&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;omega(v)&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;v&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Biophysical properties of the cytoskeleton</title><link href="/20171031_theoretical_biophysics.html" rel="alternate"></link><published>2017-10-31T00:00:00+01:00</published><updated>2017-10-31T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-31:/20171031_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;The cytoskeleton is an umbrella term for structural components of cellular organization.
For a detailed overview of the cytoskeleton, you'll have to look at cell biology books like Albert's.
Here, we will only have a cursory look at the basic properties of cytoskeletal filaments.
The most prominent member of the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The cytoskeleton is an umbrella term for structural components of cellular organization.
For a detailed overview of the cytoskeleton, you'll have to look at cell biology books like Albert's.
Here, we will only have a cursory look at the basic properties of cytoskeletal filaments.
The most prominent member of the cytoskeleton are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;microtubuli: stiff 25nm "rods"&lt;/li&gt;
&lt;li&gt;intermediate filaments: coiled-coils&lt;/li&gt;
&lt;li&gt;actin filaments: more flexible 8nm fibers, often branched&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="cytoskeleton" src="images/RGBoverlay.png"&gt;&lt;/p&gt;
&lt;p&gt;In this false-color image, microtubules are show in blue and actin in green (the DAPI DNA stain is red).&lt;/p&gt;
&lt;h3&gt;Microtubuli&lt;/h3&gt;
&lt;p&gt;Microtubuli are made from hetero-dimers of alpha and beta tubulin. They assemble into a walled tube with a circumference of 13 hetero-dimers and a diameter of about 25nm.
They are polar. One end is known as plus end, the other is the minus end.&lt;/p&gt;
&lt;p&gt;&lt;img alt="microtubuli" src="/teaching_images/PBOC/figure_10_28.jpg"&gt;&lt;/p&gt;
&lt;p&gt;GTP molecules (shown in red) are trapped between the monomers. One of them is hydrolyzed upon polymerisation.&lt;/p&gt;
&lt;p&gt;Microtubuli orchestrate the separation of sister chromatids during cell division.
For that purpose, several microtubuli are assembled into bundles that start at the spindle and connect to the kinetochores on the replicated sister chromatids.
Microtubuli also serve as "cargo lanes" kinesin and dynein molecular motors.
Kinesin motors move towards the plus end, while dynein motors run the other way.&lt;/p&gt;
&lt;p&gt;&lt;img src="/teaching_images/Microtubules_in_the_leading_edge_of_a_cell.jpg" width="300px"&gt;
&lt;img src="/teaching_images/Kinetochore.jpg" width=500px&gt;
&lt;br&gt;
Pakorn Kanchanawon and Clare Waterman; Afunguy. source: wikipedia.org&lt;/p&gt;
&lt;p&gt;Microtubules don't assemble spontaneously (the individual proto-filaments are unstable) but require microtubule organizing centers (MTOCs) to nucleate.
Apparently many different structures can serve as MTOCs and initiate the polymerization of microtubules.&lt;/p&gt;
&lt;h3&gt;Actin&lt;/h3&gt;
&lt;p&gt;Actin filaments are composed to G-actin monomers and two protofilaments are wrapped around each other.&lt;/p&gt;
&lt;p&gt;&lt;img alt="actin" src="/teaching_images/PBOC/figure_10_29.jpg"&gt;&lt;/p&gt;
&lt;p&gt;Myosin motors operate on and between actin fibers.
There are many different types of myosins that carry cargo along fibers of slide actin fibers along each other.&lt;/p&gt;
&lt;p&gt;Actin filaments often form branches and interconnected networks through actin binding proteins that crosslink various fibers.
The actin cytoskeleton is central to cell motility and muscle contractility.
The myson/actin network orchestrates many morphological changes during development.&lt;/p&gt;
&lt;iframe width="420" height="315"
    src="https://www.youtube.com/embed/RTjYXBnMcgs"&gt;
&lt;/iframe&gt;

&lt;p&gt;Growth cones are pushed forward by the myson/actin network, resulting in structures called filopodia and lamellipodia, see figure below.
We will explore in greater detail how actin cytoskeleton can exert force and push cells and membranes forward.&lt;/p&gt;
&lt;p&gt;&lt;img alt="growth cones" src="/teaching_images/GrowthCones.jpg"&gt;
&lt;br&gt;by Chris1387. source &lt;a href="https://en.wikipedia.org/wiki/File:GrowthCones.jpg"&gt;wikipedia.org&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Intermediate filaments&lt;/h3&gt;
&lt;p&gt;The term &lt;code&gt;intermediate filament&lt;/code&gt; refers to a diverse group of coiled-coil proteins that are involved in variety of structural components of the cell, e.g. the nuclear lamina.
They are called intermediate because they have a ~10nm diameter, hence thicker than actin and thinner than microtubuli.
The precise function and assembly of intermediate filaments is much less understood than actin or microtubuli.
None of the proteins associated with these filaments seem to have motor activity.
They are extremely stable and extensible.
They are often described as supporting membranes, for example the nuclear membrane or the cell membrane, and maintain membrane integrity by distributing tensile forces.&lt;/p&gt;
&lt;p&gt;&lt;img alt="intermediate filaments" src="https://upload.wikimedia.org/wikipedia/commons/2/27/Intermediate_filament.svg"&gt;
&lt;br&gt;wikipedia.org&lt;/p&gt;
&lt;h2&gt;The cytoskeleton is dynamic&lt;/h2&gt;
&lt;p&gt;Our experiences with the macroscopic world leads us to think that structural elements are static.
Quite the opposite is true for cytoskeletal filaments.
Actin and microtubuli in particular are constantly polymerizing and depolymerizing and some pathogenic bacteria have found ways to hijack the eukaryotic actin cytoskeleton.
The graph below shows labeled actin and phase contrast images of listeria.&lt;/p&gt;
&lt;p&gt;&lt;img alt="listeria" src="/teaching_images/PBOC/figure_15_03.jpg"&gt;&lt;/p&gt;
&lt;p&gt;Listeria are an important human pathogen with a high case fatality rate (20%) that is typically transmitted via contaminated food.
It can grow at low temperatures (in your fridge).
Listeria infections are particularly problematic during pregnancy where they can cause meningitis of the fetus.&lt;/p&gt;
&lt;p&gt;The bacteria invade host cells and induce polymerization of actin at one pole to move around in cells.
The build-up of an actin network results in propulsion.
Listeria move at about 0.2um/s, similar to the speed of migration of motile animal cells such as keratocytes.
This given an actin monomer size of 3nm, this corresponds to AT LEAST 70 monomer incorporations per second.
How the polymerization of actin generates forces was studied in detail by &lt;a href="http://www.sciencedirect.com/science/article/pii/S0006349503749698"&gt;Mogilner and Oster&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The basic component of the model put forward by Moligner and Oster is that actin polymers bend through thermal fluctuations. Once they are bent and there is a gap between the bacterium and the actin fiber, further polymerization can occur. This results in a permanently bent polymer that pushes against the surface.
In a slight twist, the bacterium also serves as a nucleus for new filaments and these filaments pull the bacterium back rather than push it forward.
Only after they detach, they can polymerize further and push the bacterium forward.
The balance of forces on the bacterium can be broken down into three components
$$ F_{load} + f_a a = f_w w$$
where \(F_{load}\) is the viscous drag on the moving bacterium, \(f_a n\) is the product of the pulling force and the number of attached filaments, and \(f_w w\) is the pushing force and the number of pushing (working) filaments.
The number of attached and working filaments is modeled as first order ODEs
$$ \frac{da}{dt} = n - a \delta  \quad \Rightarrow \quad \bar{a} = n/\delta$$
$$ \frac{dw}{dt} = a \delta - \kappa w  \quad \Rightarrow \quad \bar{w} = n/\kappa$$
where \(\delta\) and \(\kappa\) are the detachment and capping (preventing further polymerization) rates.&lt;/p&gt;
&lt;p&gt;The fact that the bacterium is both pulled and pushed complicates the analysis.
The faster the bacterium moves, the higher is the pulling force, which in turn slows it down.
In addition, the detachment rates will increase with the pulling force.
Do find a consistent solution in this case, we need to specify how the forces and rates depend on the load and the velocity.
To this end, we express the velocity as the
$$ V = V_{max}e^{-f_wl/kT} - V_{dep} $$
as the difference between the polymerization and depolymerization velocity.
The polymerization velocity is reduced by the force exerted by the bacterium by the exponential factor \(e^{-f_wl/kT}\) where \(l\) is the length of the monomer.
This is a consequence of the equipartition theorem -- the probability of a gap opening of length \(l\) is Boltzmann in the work needed to do so.
The dissociation rate, in contrast, is accelerated by the pulling force and the typical force applied to an attached actin filament is determined by the stiffness of the actin network, the speed of the bacterium, and the characteristic length of the attachment potential.&lt;/p&gt;
&lt;p&gt;MORE TO COME -- SEE NOTES FOR THE TIME BEING&lt;/p&gt;
&lt;h2&gt;Buckling instability&lt;/h2&gt;
&lt;p&gt;Microtubules are the only cytoskeletal structure that resist compressive force. Others are good at tensile forces.
But how much compressive force can a microtubule withstand?
We discussed earlier that the persistence length of microtubules is about 1mm.
Recalling that the persistence length is stiffness over kT, the stiffness is
$$ \kappa = kT l_p = 4pN \mu m^2$$
Let's write down the energy of a microtubule of length \(L\) when a force \(F\) is applied. Then the microtubule bends, its end-to-end distance gets shorter.
The curvature is commonly described by the radius \(R\) of the circle that overlaps with the microtubule's contour.
The angle \(\theta = L/R\) and the end-to-end distance is
$$ l = 2R\sin(L/2R) \approx L - \frac{L^3}{24R^2} $$
The total energy is then
$$ E_{tot} = E_{bend} + E_{load} = \frac{\kappa L}{2R^2} - FL(1 - \frac{L^2}{24R^2}) = \frac{1}{L} \left[\frac{\kappa}{2}\theta^2 - FL^2(1 - \theta^2/24)\right] $$
As long as \(\frac{dE_{tot}}{d\theta}&amp;gt;0\), the beam is stable. But as soon as the force exceeds
$$ F_c = \frac{12\kappa}{L^2} $$
the beam will buckle. This is known as Euler's buckling instability.
As is intuitively clear, buckling becomes easier when the beam is longer -- one reason for frequent crosslinking.&lt;/p&gt;
&lt;p&gt;NOTE: we have made an approximation here since the shape of the bent microtubule is not actually a part of a circle, but a sine. This changes the prefactor (replacing the 12 with \(\pi^2\)).&lt;/p&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;What is the diffusion limit on the actin polymerization rate? Assume an actin concentration of 0.3mM.&lt;/li&gt;
&lt;li&gt;What is the viscous drag on the bacterium? Assume a sphere of a diameter of one \(\mu m\) and a speed of 200nm/s.&lt;/li&gt;
&lt;li&gt;Look at &lt;a href="http://www.sciencedirect.com/science/article/pii/S0006349503749698"&gt;Moligner and Oster&lt;/a&gt;, find the values for the dimensionless parameters, and plot the LHS and RHS of the result (their Fig 2, Eq. 12). Vary the parameters by +/- 50% and observe how the solution changes. Note that this will require numerical integration of the expression for \(\omega(v)\).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a href="20171031_solutions.html"&gt;Solutions&lt;/a&gt;&lt;/h2&gt;
&lt;h2&gt;Further reading&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.ibiology.org/ibioseminars/cell-biology/julie-theriot-part-1.html"&gt;Lectures on cell motility and the cytoskeleton by Julie Theriot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sciencedirect.com/science/article/pii/S0006349503749698"&gt;Moligner and Oster, Biophys. J, 2003&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a href="/teaching_notes/20171031_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="cytoskeleton"></category></entry><entry><title>Predictive Modeling of Influenza Shows the Promise of Applied Evolutionary Biology</title><link href="/morris_predictive_2017.html" rel="alternate"></link><published>2017-10-30T00:00:00+01:00</published><updated>2017-10-30T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-30:/morris_predictive_2017.html</id><summary type="html">&lt;p&gt;Seasonal influenza is controlled through vaccination campaigns. Evolution of influenza virus antigens means that vaccines must be updated to match novel strains, and vaccine effectiveness depends on the ability of scientists to predict nearly a year in advance which influenza variants will dominate in upcoming seasons. In this review, we …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Seasonal influenza is controlled through vaccination campaigns. Evolution of influenza virus antigens means that vaccines must be updated to match novel strains, and vaccine effectiveness depends on the ability of scientists to predict nearly a year in advance which influenza variants will dominate in upcoming seasons. In this review, we highlight a promising new surveillance tool: predictive models. Developed through data-sharing and close collaboration between the World Health Organization and academic scientists, these models use surveillance data to make quantitative predictions regarding influenza evolution. Predictive models demonstrate the potential of applied evolutionary biology to improve public health and disease control. We review the state of influenza predictive modeling and discuss next steps and recommendations to ensure that these models deliver upon their considerable biomedical promise.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>panX: pan-genome analysis and exploration</title><link href="/ding_panx:_2017.html" rel="alternate"></link><published>2017-10-25T00:00:00+02:00</published><updated>2017-10-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-25:/ding_panx:_2017.html</id><summary type="html">&lt;p&gt;Horizontal transfer, gene loss, and duplication result in dynamic bacterial genomes shaped by a complex mixture of different modes of evolution. Closely related strains can differ in the presence or absence of many genes, and the total number of distinct genes found in a set of related isolates—the pan-genome …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Horizontal transfer, gene loss, and duplication result in dynamic bacterial genomes shaped by a complex mixture of different modes of evolution. Closely related strains can differ in the presence or absence of many genes, and the total number of distinct genes found in a set of related isolates—the pan-genome—is often many times larger than the genome of individual isolates. We have developed a pipeline that efficiently identifies orthologous gene clusters in the pan-genome. This pipeline is coupled to a powerful yet easy-to-use web-based visualization for interactive exploration of the pan-genome. The visualization consists of connected components that allow rapid filtering and searching of genes and inspection of their evolutionary history. For each gene cluster, panX displays an alignment, a phylogenetic tree, maps mutations within that cluster to the branches of the tree and infers gain and loss of genes on the core-genome phylogeny. PanX is available at pangenome.de. Custom pan-genomes can be visualized either using a web server or by serving panX locally as a browser-based application.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Diffusion -- Solutions to problems</title><link href="/20171024_solutions.html" rel="alternate"></link><published>2017-10-24T00:00:00+02:00</published><updated>2017-10-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-24:/20171024_solutions.html</id><summary type="html">&lt;h2&gt;Intersegment transfer&lt;/h2&gt;
&lt;p&gt;In a free polymer coil, contacts between different parts of the polymer are much more likely for positions close by on the chain.
The compression of the polymer into a small volume increases the change that very distant parts touch each other.
Hence confinement should increase the speed …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Intersegment transfer&lt;/h2&gt;
&lt;p&gt;In a free polymer coil, contacts between different parts of the polymer are much more likely for positions close by on the chain.
The compression of the polymer into a small volume increases the change that very distant parts touch each other.
Hence confinement should increase the speed of exploration by reducing redundancy in the search.&lt;/p&gt;
&lt;h2&gt;The distribution of return times in a closed box&lt;/h2&gt;
&lt;p&gt;The probability of a diffusing particle to return to the origin in free 3D space is given by&lt;/p&gt;
&lt;p&gt;$$P(0,t) = \frac{dx^3}{(4\pi Dt)^{3/2}}$$&lt;/p&gt;
&lt;p&gt;where \(dx^3\) is a small infinitesimal volume around the origin.
When considering the same problem in an enclosed volume, we encounter the same discrete spectrum of eigenmodes that we derived in a &lt;a href="20171003_solutions.html"&gt;previous assignment&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In the middle of our box, the only the even modes make a contribution. And all these contributions are equal.
Hence we should have&lt;/p&gt;
&lt;p&gt;$$P(0,t) = \sum_{n=0}^\infty e^{-\frac{n^2\pi^2 D}{L^2}t} $$&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Finding binding sites and diffusion limited rates</title><link href="/20171024_theoretical_biophysics.html" rel="alternate"></link><published>2017-10-24T00:00:00+02:00</published><updated>2017-10-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-24:/20171024_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;How do transcription factors find their binding sites?&lt;/h2&gt;
&lt;p&gt;In 1970, &lt;a href="http://www.sciencedirect.com/science/article/pii/0022283670900744"&gt;Riggs et al&lt;/a&gt; noted that the rate at which the lac repressor found its target on DNA in vitro was about 1000 fold higher than seemed allowed by 3D diffusion.
This conundrum has obsessed quantitative biologists for a long time …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;How do transcription factors find their binding sites?&lt;/h2&gt;
&lt;p&gt;In 1970, &lt;a href="http://www.sciencedirect.com/science/article/pii/0022283670900744"&gt;Riggs et al&lt;/a&gt; noted that the rate at which the lac repressor found its target on DNA in vitro was about 1000 fold higher than seemed allowed by 3D diffusion.
This conundrum has obsessed quantitative biologists for a long time and a number of elegant solutions to the problem have been formulated, foremost through the pioneering work by &lt;a href="http://www.jbc.org/content/264/2/675.short"&gt;von Hippel and Berg&lt;/a&gt;.
The problem of target location touches on many themes that we discussed over the last few weeks.&lt;/p&gt;
&lt;h3&gt;Search in three dimensions and diffusion limited rates&lt;/h3&gt;
&lt;p&gt;How do molecules find each other by diffusion, i.e., what determines the rate of diffusion limited reactions? In an enzymatic reaction, the total production rate per unit volume is&lt;/p&gt;
&lt;p&gt;$$ \kappa [S][E] \quad \mathrm{with\, units}\quad \frac{stuff}{volume\times time}$$&lt;/p&gt;
&lt;p&gt;where \(\kappa\) is the rate constant and [E] and [S]. One what quantities will the rate \(\kappa\) depend? Obvious contenders are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the relative diffusion constant \(D_{3D}\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;the size of the reactants \(r\) with units \(length\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hence we expect a scaling&lt;/p&gt;
&lt;p&gt;$$ \kappa \sim D_{3D} r \quad [length^3/time] $$&lt;/p&gt;
&lt;p&gt;A more careful calculation will reveal that if we assume spherical particles with radii \(r_A\) and \(r_B\) and diffusion constants \(D_A\) and \(D_B\), the diffusion limit reaction rate is&lt;/p&gt;
&lt;p&gt;$$ \kappa = 4 \pi (D_A+D_B)(r_a + r_b) $$&lt;/p&gt;
&lt;p&gt;One way to understand this relation is to think of an reaction area \(4\pi (r_a + r_b)^2\) and a diffusive flux through that area with magnitude \((D_A+D_B)/(r_a + r_b)\) since the gradient of the concentration profile around and absorbing sphere is inversely proportional to the radius. This radius should not be interpreted as the radius of the molecules, but the range of interactions.&lt;/p&gt;
&lt;p&gt;In practice, reactions require that reactants are positioned at particular angles to each other which will reduce these rates below the diffusion limit.
This effect is partly counter-balanced by the unspecific electrostatic attraction between the molecules.&lt;/p&gt;
&lt;p&gt;Applying this reasoning to the problem of transcription facter/DNA association, we can ignore the diffusion of DNA (it is a large slow molecule).
Furthermore, the radius of reaction should be of the same order as the distance between basepairs since the TFs recognize specific DNA sequences and hence have to be in register with the DNA to 0.3nm. Together with an in-vitro diffusion constant of a transcription factor of about \(100\mu m^2/s\), this results in a rate estimate&lt;/p&gt;
&lt;p&gt;$$ \kappa_{D} = 4\pi \times 100 \times 3\times 10^{-4} \mu m^3/s \approx 0.4  \mu m^3/s \approx 2\times 10^8 M^{-1}s^{-1} $$&lt;/p&gt;
&lt;p&gt;This might be a little high since we have not accounted for the orientation, but the measured association rates are about 100fold higher.
Clearly, diffusion limitation is not what is limiting this association and some additional mechanisms have to be at play.&lt;/p&gt;
&lt;h4&gt;Excurs: perfectly absorbing sphere&lt;/h4&gt;
&lt;p&gt;To calculate the rate of at which two particles hit each other, it is useful to observe the following simplifications:
The only quantity that matters is the distance \(\vec{r}\) between them.
This distance diffuses with a combined diffusion constant \(D=D_A+D_B\).
The boundary condition then requires that \(P(|\vec{r}|=R)=0\) with \(R=r_A+r_B\).&lt;/p&gt;
&lt;p&gt;We are looking for an isotropic solution with constant flux which required&lt;/p&gt;
&lt;p&gt;$$ r^2 D \frac{\partial P(r)}{\partial r} = C $$&lt;/p&gt;
&lt;p&gt;with solution \(P(r) = x(1-\frac{R}{r}) \). This confirms our reasoning above that the gradient of the concentration profile on the surface is \(\sim (r_A+r_B)^{-1}\).&lt;/p&gt;
&lt;h3&gt;Search in one dimension&lt;/h3&gt;
&lt;p&gt;Early on, Riggs et al suggested that the massive speed up in the association rate might be due to sliding of the TF along the DNA until it found the specific target site.
Once the TF has found the DNA, its binds unspecifically and "scans" the DNA for the right target site.
Since this scan in un-directed and diffusive, the typical length of DNA that the TF has scanned will increase as \(l \approx \sqrt{2D_{1D} t}\) with the time since association.&lt;/p&gt;
&lt;p&gt;This recapitulates what we discussed earlier that diffusive search in one dimension is fast on short time scales but ends up revisiting the same places as time goes on.
3D diffusion, on the other hand, is unlikely to revisit the same place because reassociation on a random DNA coil will typically transfer the TF to a completely new section of the genome.&lt;/p&gt;
&lt;p&gt;Diffusion of transcription factors on DNA has been measured using single molecule techniques (e.g., by fluorescently labeling the TF).
van Oijen et al found a diffusion constant of&lt;/p&gt;
&lt;p&gt;$$D_{1D} \approx 10^5-10^6 bp^2/s = 0.01-0.1\mu m^2/s $$&lt;/p&gt;
&lt;p&gt;hence about a factor of 100-1000 smaller that free 3D diffusion.
Nonetheless, searching in one dimension greatly accelerates search.&lt;/p&gt;
&lt;h3&gt;Optimal combined search&lt;/h3&gt;
&lt;p&gt;If combined 1D/3D diffusion was the mechanism by which TFs find their target, how should they be dividing their time between 3D and 1D search?
Following &lt;a href="http://iopscience.iop.org/article/10.1088/1751-8113/42/43/434013"&gt;Mirny et al&lt;/a&gt;, the total time until the target is found can be expressed as the sum over multiple rounds of 3D/1D search&lt;/p&gt;
&lt;p&gt;$$ t_s = \sum_{i=1}^K (\tau_{1D,i} + \tau_{3D,i}) $$&lt;/p&gt;
&lt;p&gt;and the typical number of rounds necessary would be \(\bar{K} = L/l \) where L is the length of the genome and l is the length searched in a single round.
Since \(l\sim \sqrt{2D_{1D} \tau_{1D}}\), we obtain for the average search time&lt;/p&gt;
&lt;p&gt;$$ t_s = \frac{L}{\sqrt{2D_{1D} \tau_{1D}} }(\tau_{1D}+\tau_{3D}) $$&lt;/p&gt;
&lt;p&gt;The search time is minimal when&lt;/p&gt;
&lt;p&gt;$$ \frac{d t_s}{d \tau_{1D}} = \frac{L}{2\sqrt{2D_{1D}}}(\tau_{1D}^{-1/2}-\tau_{3D}\tau_{1D}^{-3/2}) = 0$$&lt;/p&gt;
&lt;p&gt;which requires \(\tau_{1D} = \tau_{3D}\), i.e., the TF should spend equal times on the DNA and in solution.
The mean search time is therefore&lt;/p&gt;
&lt;p&gt;$$ t_s = L\sqrt{\frac{2\tau_{3D}}{D_{1D}}} $$&lt;/p&gt;
&lt;h4&gt;Why is there an optimum?&lt;/h4&gt;
&lt;p&gt;One dimensional diffusion alone would be extremely inefficient since it takes very long time to scan the entire genome.
Very short \(\tau_{1D}\), on the other hand, corresponds to very limited scanning of bases and in the limit of \(\tau_{1D}\to 0\) corresponds to pure 3D search.
Hence it is plausible that an optimum should exist.&lt;/p&gt;
&lt;h3&gt;Intersegment transfer&lt;/h3&gt;
&lt;p&gt;The 1D diffusion mechanism suggests that transcription factors stay close to DNA by unspecific electrostatic interactions.
In addition to 3D diffusion, there is another way by which the TF can explore DNA sequence space.&lt;/p&gt;
&lt;p&gt;In the excercise session from last weeks, you should have found that the typical time for a diffusive walker to return to the origin is proportional to \(s^{-3/2}\).
In other words, most contacts between two DNA sites in 3D involve sequences in close proximity, but very long range jumps exist.&lt;/p&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The efficiency of intersegment transfer depends on the distribution of long range contacts among sites on the genome. For a random coil in 3D, this is \(\sim s^{-3/2}\). In a bacterium, DNA is compressed and has a denser conformation than the typical random coil. Does this make intersegment transfer more or less efficient?&lt;/li&gt;
&lt;li&gt;How does the distribution of distances between self-contacts behave qualitatively?  Analyze its behavior qualitatively using the properties of solutions to the diffusion equation in a closed compartment.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a href="/teaching_notes/20171024_theoretical_biophysics.pdf"&gt;Notes&lt;/a&gt;&lt;/h2&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="target search"></category></entry><entry><title>Recent progress in understanding evolutionary dynamics</title><link href="/201710_Solvay.html" rel="alternate"></link><published>2017-10-21T00:00:00+02:00</published><updated>2017-10-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-21:/201710_Solvay.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
        &lt;h3&gt;From qualitative to quantitative&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;What are the relevant parameters?&lt;/li&gt;
                &lt;li&gt;How does adaptation and diversity depend on parameters?&lt;/li&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Concepts and typical assumptions -- 20th century&lt;/h3&gt;
    &lt;div style="position:absolute; top:14%; left:8%; width: 40%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            Assumptions:&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt;The world …&lt;/li&gt;&lt;/ul&gt;&lt;/font&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:30%"&gt;
        &lt;img src="talk_images/Tree_of_life_by_Haeckel.jpg" width=1100px class="plain"&gt;
        &lt;span&gt;Ernst Haeckel, 1879&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:50%; width:40%"&gt;
        &lt;h3&gt;From qualitative to quantitative&lt;/h3&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;What are the relevant parameters?&lt;/li&gt;
                &lt;li&gt;How does adaptation and diversity depend on parameters?&lt;/li&gt;
                &lt;li&gt;How repeatable is evolution?&lt;/li&gt;
                &lt;li&gt;How predictable is evolution?&lt;/li&gt;
                &lt;li&gt;How gradual is evolution?&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics &amp; evolutionary dynamics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Concepts and typical assumptions -- 20th century&lt;/h3&gt;
    &lt;div style="position:absolute; top:14%; left:8%; width: 40%; text-align: left;"&gt;
        &lt;font size="5"&gt;
            Assumptions:&lt;br&gt;
            &lt;ul&gt;
                &lt;li&gt;The world doesn't change!&lt;/li&gt;
                &lt;li&gt;Mutations happen one at a time!&lt;/li&gt;
                &lt;li&gt;Typical events dominate!&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:38%; left:8%; width: 40%; text-align: left;"&gt;
        &lt;h4&gt;Fitness landscapes&lt;/h4&gt;
        &lt;img src="/talk_images/fitness_landscape_sketch.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:52%; width: 40%; text-align: left;"&gt;
        &lt;h4&gt;Diffusion theory (Kimura)&lt;/h4&gt;
        &lt;font size=5&gt;
        &lt;div class="spacer"&gt;&lt;/div&gt;
        $\frac{\partial P(x,t)}{\partial t} = \frac{\partial}{\partial x}\left[-sx(1-x)+\frac{\partial}{\partial x}\frac{x(1-x)}{N}\right]P(x,t)$&lt;br&gt;
        &lt;div class="spacer"&gt;&lt;/div&gt;
        &lt;ul&gt;
            &lt;li&gt;Stochastic dynamics of a single locus&lt;/li&gt;
            &lt;li&gt;Difficult to generalize to many loci&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:48%; left:52%; width: 40%; text-align: left;"&gt;
        &lt;h4&gt;Coalescence theory (Kingman)&lt;/h4&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;Backwards in time model&lt;/li&gt;
            &lt;li&gt;Predictions for diversity at many loci&lt;/li&gt;
            &lt;li&gt;Difficult to generalize to non-neutral variation&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
        &lt;img src="talk_images/popgen3.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Development of sequencing technologies&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:0%; width: 65%; text-align: left;"&gt;
        &lt;img src="/talk_images/developments_in_high_throughput_sequencing.jpg" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:60%; width: 40%; text-align: left;"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;h5&gt;We can now sequence...&lt;/h5&gt;
        &lt;font size="6"&gt;
            &lt;ul&gt;
                &lt;li&gt;thousands of bacterial isolates&lt;/li&gt;
                &lt;li&gt;thousands of single cells&lt;/li&gt;
                &lt;li&gt;populations of viruses, bacteria or flies&lt;/li&gt;
                &lt;li&gt;diverse ecosystems&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;img src="/talk_images/pile_up.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Experimental evolution -- Lenski experiment&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:8%; width: 33%; text-align: left;"&gt;
        &lt;img src="/talk_images/LTEE_Timeline.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/lenski_LTEE_picture.png" width="60%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:43%; width:56%; text-align: left;"&gt;
        &lt;img src="/talk_images/Lenski_Desai_trajectories.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Rich Lenski, Ben Good, Michael Desai et al&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div style="position:absolute; top:7%; left:20%; width:40%; text-align: left"&gt;
            &lt;h3&gt;Influenza A/H3N2&lt;/h3&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rapidly evolving RNA viruses -- HIV&lt;/h3&gt;
    &lt;div class="current-visible" style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:50%;"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="98%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:2%; width:50%"&gt;
        &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:75%; left:5%; width:=90%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Many adaptive mutations &amp;rarr; mutation supply not limiting&lt;/li&gt;
                &lt;li&gt;Many competing clones &amp;rarr; complex dynamics&lt;/li&gt;
                &lt;li&gt;Environments are constantly changing&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Richman et al, 2003.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Gerrish &amp; Lenksi; Desai &amp; Fisher; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling wave models of adaptation&lt;/h3&gt;
    &lt;div style="position:absolute; left:15%; top:16%; width:70%"&gt;
        &lt;img src="talk_images/DF_model_sketch.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:20%; width:70%"&gt;
        &lt;font size=5&gt;
            &lt;ul&gt;
                &lt;li&gt;Speed of adaptation is logarithmic in population size&lt;/li&gt;
                &lt;li&gt;Environment (fitness landscape), not mutation supply, determines adaptation&lt;/li&gt;
                &lt;li&gt;Different models have universal emerging properties&lt;/li&gt;
                &lt;li&gt;Dispersal matters: well mixed populations different from dynamics in one or two dimensions&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Desai &amp; Fisher, Genetics&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=3 style="position:absolute; top:15%; left:53%; width:38%; text-align:left"&gt;
        &lt;small&gt;
        $T_c \sim \log N \quad\mathrm{instead\, of}\quad \sim N$ &lt;br&gt;
        &lt;div class="spacer"&gt;&lt;/div&gt;
        $\mathrm{rare\,jackpot\,events\,}P(n) \sim n^{-2}$&lt;br&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Brunet and Derrida, PRE, 2007; RN, Hallatschek, PNAS, 2013;  Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Testable predictions -- site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Kosheleva &amp; Desai, Genetics, 2014; RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Site frequency spectra observed in HIV populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:10%; width:80%"&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=80%&gt;
    &lt;/div&gt;
    &lt;span class="bigref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Repeatability -- selecting 100 E. coli lines to live at 42C by Tenaillon et al&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:35%"&gt;
        &lt;img class="plain" src="/talk_images/Tenaillon_recurrent_mutation.png"&gt;
        &lt;small&gt;
            Extensive parallelism at the level of genes and pathways
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:34%"&gt;
        &lt;img class="plain" src="/talk_images/Tenaillon_cooccurence.png"&gt;
        &lt;small&gt;
            Alternative adaptive path to heat adaptation
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:7%; left:5%; width:90%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Drug resistance: repeated evolution of the same mutations is typical&lt;/li&gt;
                &lt;li&gt;Less well defined selection targets: repeatability is restricted to genes or pathways&lt;/li&gt;
                &lt;li&gt;Selection on quantitative traits: standing diversity determines response&lt;/li&gt;
                &lt;li&gt;Little success in a priori prediction of adaptive pathways&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting future populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:40%; width:58%; text-align: left"&gt;
    &lt;h4&gt;General idea&lt;/h4&gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;Future populations descend from present day high fitness individuals&lt;/li&gt;
            &lt;li&gt;Identify current high fitness individuals&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Predicting influenza&lt;/h4&gt;
    &lt;font size="5"&gt;
        &lt;ul&gt;
            &lt;li&gt;Approach 1: leverage our understanding of trees of adapting populations &lt;br&gt;(RN, Russell, Shraiman)&lt;/li&gt;
            &lt;li&gt;Approach 2: exploit historical patterns indicative of recent adaptation &lt;br&gt;(Luksza and Lässig)&lt;/li&gt;
            &lt;li&gt;These methods now inform the WHO vaccine strain selection process.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Conclusions, limitations, questions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%; text-align: left;"&gt;
        &lt;font size="6"&gt;
        &lt;ul&gt;
            &lt;li&gt;Good understanding of adapting populations under directional selection&lt;/li&gt;
            &lt;li&gt;Sequencing is easy, structure and function are hard&lt;/li&gt;
            &lt;li&gt;Limited ability to predict the nature of adaptations&lt;/li&gt;
            &lt;li&gt;Experimental evolution = artificial environments &lt;br&gt;
                &amp;rarr; atypical adaptation, dominated by loss of function mutations. &lt;br&gt;  Is this representative? Better/other systems?&lt;/li&gt;
            &lt;li&gt;Observable pathogen evolution &amp;rarr; Coevolution.
                &lt;br&gt; Is this a more general setting (or limited RNA to viruses)?&lt;br&gt;
                Beyond one pathogen/one host?&lt;/li&gt;
&lt;!--            &lt;li&gt;Models often ignore frequency dependent selection&lt;br&gt; &amp;rarr; failure to describe diversity and minor variant dynamics. &lt;br&gt;
                How many types coexist? Frequency distributions?&lt;/li&gt;
 --&gt;            &lt;li&gt;Ecology gets in the way &amp;rarr; coevolution, niche construction, variable environments&lt;br&gt;
                How does adaptation interact with ecology and intra-species partitioning?
                &lt;br&gt; Can we ever separate the environment from adaptation?&lt;/li&gt;
            &lt;li&gt;How does short term adaptation extrapolate to processes on longer time scales?&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Polymers in biology</title><link href="/20171017_theoretical_biophysics.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/20171017_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Many of the most important molecules in biology are polymers. They carry information (DNA, RNA), all proteins are polypeptides, and they provide structure and stability in form of the cytoskeleton.
The microscopic properties of these different polymers depend on their molecular structure, but on larger scales their behavior is governed …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many of the most important molecules in biology are polymers. They carry information (DNA, RNA), all proteins are polypeptides, and they provide structure and stability in form of the cytoskeleton.
The microscopic properties of these different polymers depend on their molecular structure, but on larger scales their behavior is governed by a few mesoscopic parameters such as stiffness, charge, and self-interaction.
We will discuss properties of&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;single stranded RNA and DNA&lt;/li&gt;
&lt;li&gt;double stranded DNA&lt;/li&gt;
&lt;li&gt;actin filaments&lt;/li&gt;
&lt;li&gt;microtubules&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and study general models of polymers. In addition to introducing properties of polymers, this lesson will also serve to revise concepts from the chapters on diffusion and random walks.&lt;/p&gt;
&lt;p&gt;&lt;img alt="DNA micrograph" src="/talk_images/DNA_micrograph.jpg"&gt;&lt;br&gt;
Micrograph of bacteria phage DNA adsorbed to a 2D surface (by R. Roberts, NEB).&lt;/p&gt;
&lt;h2&gt;The freely jointed chain model&lt;/h2&gt;
&lt;p&gt;In the above micrograph, it is obvious that DNA often changes direction in a seemingly random way.
it might therefore by a good starting point to model polymer configurations as random walk of the type we have encountered when discussing diffusion.
The simplest models of polymers approximate this polymer configuration by discretizing the molecule into short straight segments of length $d$ followed by a complete randomization of the direction.&lt;/p&gt;
&lt;p&gt;Consider a chain of \(N\) stiff segments of length \(d\).
The end-to-end distance of that chain is then&lt;/p&gt;
&lt;p&gt;$$\vec{R} = d\sum_i^N \vec{e}_i$$&lt;/p&gt;
&lt;p&gt;where \(\vec{e}_i\) are unit vectors of random direction.
The average squared end-to-end distance is therefore&lt;/p&gt;
&lt;p&gt;$$\langle \vec{R}^2 \rangle = d^2\sum_{ij}^N \langle\vec{e}_i\vec{e}_j\rangle = d^2N$$&lt;/p&gt;
&lt;p&gt;(products of vectors here are scalar products, that is \(\vec{v}\vec{u} = v_xu_x+v_yu_y+v_zu_y = |v||u|\cos(\phi_{uv}\) with \(\phi_{uv}\) being the angle between the vectors).
The last identity hold since all off-diagonal terms \(\sum_{i\neq j}^N \langle\vec{e}_i\vec{e}_j\rangle\) average to zero since the average projection of one random vector onto any other vector vanishes. The diagonal term, however, contributes since \(\langle\vec{e}_i\vec{e}_i\rangle = 1\).
Hence we recover the same \(\sqrt{N}\) scaling that we found for random walks.&lt;/p&gt;
&lt;p&gt;By analogy, we know that the distribution of end-to-end distance will behave exactly like a diffusing particle that moves in a random direction at every step and the distribution of the end-to-end distance is given by&lt;/p&gt;
&lt;p&gt;$$ R(\vec{R}) = \left(\frac{3}{2\pi N d^2}\right)^{3/2} e^{-\frac{3(R_x^2 + R_y^2 + R_z^2)}{2Nd^2}}$$&lt;/p&gt;
&lt;p&gt;The additional factor of three accounts for the fact that the total average squared end-to-end distance is \(Nd^2\).
Each spatial dimension contributes one third of that variance.&lt;/p&gt;
&lt;p&gt;The picture below shows measurements of the mean squared distance of chromosomal markers in interphase chromatin.
The squared distance increases linearly with genomic separation, as expected from a random polymer walk.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Genome_conformation" src="/teaching_images/Genome_conformation_van_den_Engh.png"&gt;&lt;br&gt;
&lt;a href="http://science.sciencemag.org/content/257/5075/1410"&gt;van den Engh et al, Science 1992&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the linear increase of squared distance, we can estimate the segment length \(d\) as follows:&lt;/p&gt;
&lt;p&gt;$$\langle R^2(s) \rangle \approx 1.5\frac{\mu m^2}{Mbp} s  = 1.5\frac{\mu m^2}{Mbp} N d = Nd^2 $$&lt;/p&gt;
&lt;p&gt;Here \(d\) is measured in Mbp which corresponds to \(\approx 300\mu m\). One finds \(d = 1.5\frac{\mu m^2}{Mbp} = 5nm \).
Hence the segment length of the chromatin fiber seems to be short and rougly comparable to the histone diameter (\(\sim 10nm\)).&lt;/p&gt;
&lt;!--
### The radius of gyration
The end-to-end distance is one way of describing the spatial extend of a polymer chain, but a more generic measure would be the averaged squared distance of each monomer from the center of mass.
The latter is defined as the average location

$$ \vec{R}_{CM} = \frac{1}{N} \sum_i \vec{R}_i = \frac{1}{N} \sum_i^N d\sum_j^i \vec{e}_j = \frac{1}{N} \sum_i^N (N-i+1) \vec{e}_i$$

The squared radius of gyration is then

$$ R_G^2 = \frac{d^2}{N}\langle\sum_{k=1}^N \left(\sum_{l=1}^k \vec{e}_l - \frac{1}{N} \sum_{i=1}^N (N-i+1) \vec{e}_i \right)^2\rangle$$

While this looks pretty nasty, it is not so bad since after squaring only terms with equal indices will survive the averaging and all terms that survive contribute one.

$$ R_G^2 = \frac{d^2}{N}\sum_{k=1}^N \left(k - 2\sum_{i=1}^k \frac{N-i+1}{N} + \sum_{i=1}^N \frac{(N-i+1)^2}{N^2}\right) =
\frac{d^2}{N}\sum_{k=1}^N \left(-k + 2\sum_{i=1}^k \frac{i-1}{N} + \sum_{i=1}^N \frac{N^2 - 2N(i-1) + (i-1)^2}{N^2}\right)$$

This simplifies to

$$ R_G^2 = \frac{d^2}{N}\sum_{k=1}^N \left(k - \frac{k(k-1)}{N} - \sum_{i=1}^N \frac{(i-1)^2}{N^2}\right) = \frac{d^2N}{2}$$
 --&gt;

&lt;h3&gt;Excurs: The central limit theorem and Gaussian distributions&lt;/h3&gt;
&lt;p&gt;The central limit theorem states that if you sum \(N\) random variables with variance \(\sigma^2\), the distribution of the sum will be Gaussian with variance \(N\sigma^2\).
This is the reason why the end-to-end distance is Gaussian, and why the diffusion equation admits a Gaussian solution.&lt;/p&gt;
&lt;p&gt;For concreteness, lets do derive the end-to-end distribution separately for the different cartesian coordinates, e.g. \(R_x = d\sum_j^N e_{jx}\).
The probability for observing \(R_x\in [x, x+dx]\) is given by the product \(\rho(x)dx\) of the probability density \(\rho(x)\) and \(dx\).
For each monomer, we average over all possible orientations which can come from any part of the \(4\pi\) sphere.
The integral over this sphere is \(\int_0^{\pi}\frac{d\phi \sin \phi}{4\pi}\int_0^{2\pi}  d\theta\) where \(\phi\) is the angle with the x-axis.
The density for the x-coordinate of the end-to-end distance is then is given by&lt;/p&gt;
&lt;p&gt;$$\rho(x) = \int_0^{\pi}\int_0^{2\pi} \prod_j\frac{d\phi_jd\theta_j}{4\pi}\sin(\phi_j) \delta(d\sum_i \cos(\phi_j) - x) = \int_0^{\pi}\prod_j\frac{d\phi_j}{2}\sin(\phi_j) \delta(d\sum_i \cos(\phi_j) - x) $$&lt;/p&gt;
&lt;p&gt;To evaluate this expression, we apply a Fourier transform&lt;/p&gt;
&lt;p&gt;$$\hat\rho(\omega) = \frac{1}{2\pi} \int dx e^{-i\omega x}\rho(x) \rho = \int_0^{\pi} \prod_j \frac{d\phi_j}{2}\sin(\phi_j) \int  \frac{dx}{2\pi} e^{-i\omega x} \delta(d\sum_j\cos(\phi_j) - x)=  \frac{1}{2\pi} \int_0^{\pi} \prod_j \frac{d\cos(\phi_j)}{2}e^{-i\omega d\sum_j\cos(\phi_j)}$$&lt;/p&gt;
&lt;p&gt;which decouples the different integrals.
The last term in the equations follows from the fact that the Fourier transform of the \(\delta\) function is identically one.
In other words, you get a very sharp peak by overlaying many oscillating function that all agree in exactly one point, but cancel everywhere else.
We can now separately evaluate the different integrals. Instead of evaluating them exactly, we assume (and later justify) that the relevant \(\omega\) is small and we can Taylor expand the exponential:&lt;/p&gt;
&lt;p&gt;$$\int_{-1}^{1} \frac{dy}{2} e^{-i\omega d y}  = \frac{e^{-i\omega d} - e^{i\omega d}}{2i\omega} \approx = \frac{-2i\omega d - i\omega^3d^3/3}{2i\omega} = 1 - \frac{\omega^2 d^2}{6} $$&lt;/p&gt;
&lt;p&gt;We can ignore higher order terms, since they correspond to distances shorter than the individual step-size \(d\).
Combining all terms yields&lt;/p&gt;
&lt;p&gt;$$\hat\rho(\omega) = \frac{1}{2\pi} \prod_j (1 - \frac{d^2\omega^2}{6}) \approx \frac{1}{2\pi} e^{-\frac{N d^2\omega^2}{6}}$$&lt;/p&gt;
&lt;p&gt;To solve for \(\rho(x)\), we have to invert the Fourier transform.&lt;/p&gt;
&lt;p&gt;$$\rho(x) =  \frac{1}{2\pi} \int d\omega e^{i\omega x -\frac{3N d^2\omega^2}{2}} = \frac{1}{\sqrt{2\pi Nd^2}}e^{-\frac{3x^2}{2Nd^2}}$$&lt;/p&gt;
&lt;p&gt;The last integral can be reduced to a standard Gaussian integral by completing the square and the result is a Gaussian with variance \(Nd^2\).
Lastly, we should check whether our assumption that \(\omega d\) is small is justified. Looking that the Gaussian inverse, we see that \(\omega\) values that contribute substantially to the solutiona \(\omega d &amp;lt; 1/\sqrt{N}\). Hence ignoring higher order terms was ok.&lt;/p&gt;
&lt;h2&gt;Worm-like chain model&lt;/h2&gt;
&lt;p&gt;The above model of freely jointed stiff segments is obviously an extreme simplification, albeit not totally unreasonable for single stranded RNA/DNA where the stiffness is of the same order of magnitude as the length of the monomers.
dsDNA is stiff over many helical turns and a better model is one where the polymer is continuously changing direction due to infinitesimal bending.
This bending requires energy and spontaneously occurs due to thermal activation.
At absolute zero, the polymer would be in its lowest energy configuration, that is completely straight.&lt;/p&gt;
&lt;p&gt;We can parameterize a polymer by the location \(\vec{r}(s)\) of the monomers in 3D as we move along the backbone \(s\).
The tangent vector, that is the direction of the polymer, is given by the derivative \(\vec{t} = \frac{d \vec{r}(s)}{ds}\).
Curvature correspond to change in direction, i.e., bending. The total bending energy is therefore given by&lt;/p&gt;
&lt;p&gt;$$E_{bend} = \frac{\kappa}{2}\int_0^L ds \left(\frac{d^2 \vec{r}(s)}{ds^2}\right)^2 $$&lt;/p&gt;
&lt;p&gt;By termal activation, the chain changes direction and it can be shown that the correlation in direction decays exponentially&lt;/p&gt;
&lt;p&gt;$$\langle \vec{t}(0)\vec{t}(s)\rangle = e^{-s/l_p} $$&lt;/p&gt;
&lt;p&gt;where \(l_p\) is known as the persistence length. It is related to the stiffness via $$l_p = \kappa/kT.$$
With this exponential form of the decorrelation, we can calculate properties such as the average squared end-to-end distance&lt;/p&gt;
&lt;p&gt;$$ \langle r(L)^2 \rangle  = \langle \int_0^L ds \vec{t}(s) \int_0^L ds' \vec{t}(s')\rangle  = \int_0^L dsds' e^{-|s-s'|/l_p} = \int_0^L ds \left[\int_0^{L-s} dx e^{-x/l_p} + \int_0^{s} dx e^{-x/l_p}\right]$$
$$  \langle r(L)^2 \rangle = l_p \int_0^L ds[1 - e^{-(L-s)/l_p} + 1 - e^{-s/l_p}] = 2l_p \left[L - l_p (1 - e^{-L/l_p})\right] $$&lt;/p&gt;
&lt;p&gt;Hence for long polymers, the typical squared end-to-end distance scales as \(l_p L = l_p^2 N\) consistent with the freely jointed chain above.
For short polymers, we have \(\langle r(L)^2 \rangle = L^2(1-L/3l_p)\). In other words the polymer is mostly straight.&lt;/p&gt;
&lt;p&gt;&lt;img alt="OpticalTweezers" src="/teaching_images/OpticalTweezers_DNA.png"&gt;&lt;br&gt;
from &lt;a href="http://umdberg.pbworks.com/w/page/47555271/DNA%20spring%201%3A%20Spring%20constant%20of%20DNA"&gt;umdberg.pbworks.com&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Size of DNA coils of typical genomes&lt;/h3&gt;
&lt;p&gt;The persistence length of DNA at physiological conditions is about 50nm, that is about 150bp.
The DNA of a bacterium is therefore 30000 persistance length long and the radius of gyration is on the order of \(200\times 50nm = 10\mu m\), i.e. about 10 times larger than the size of the cell.
The problem is more severe for mammals or plants with their large genomes. Unconstrained, they genomes would occupy a ball of hundreds of \(\mu m\) in diameter.&lt;/p&gt;
&lt;p&gt;&lt;img alt="lysed ecoli" src="http://i.imgur.com/kaFF3.jpg"&gt;&lt;br&gt;
Lysed E. coli. The remains of the bacterium is the blob in the middle.&lt;/p&gt;
&lt;h2&gt;Microtubules&lt;/h2&gt;
&lt;p&gt;Microtubules are very stiff polymers that are part of the cytoskeleton.
They are the substrates on which dynein and kinesin motors run.
There large diameter makes microtubules exceptionally stiff with a persistence length of the order of one millimeter.
Hence microtubules are stiff on length scales much longer than the cell.&lt;/p&gt;
&lt;p&gt;&lt;img alt="microtubules" src="https://upload.wikimedia.org/wikipedia/commons/0/06/Microtubule_structure.png"&gt;&lt;br&gt;
By &lt;a href="//commons.wikimedia.org/wiki/User:Splette" title="User:Splette"&gt;Thomas Splettstoesser&lt;/a&gt; (&lt;a rel="nofollow" class="external text" href="http://www.scistyle.com"&gt;www.scistyle.com&lt;/a&gt;) - &lt;span class="int-own-work" lang="en"&gt;Own work&lt;/span&gt; (rendered with Maxon Cinema 4D), &lt;a href="https://creativecommons.org/licenses/by-sa/4.0" title="Creative Commons Attribution-Share Alike 4.0"&gt;CC BY-SA 4.0&lt;/a&gt;, &lt;a href="https://commons.wikimedia.org/w/index.php?curid=41014850"&gt;Link&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;How does stiffness scale with diameter?&lt;/h3&gt;
&lt;p&gt;For sake of argument, assume the microtubule has a square crossection with edge length \(r\).
When bending with a curvature radius \(R\), the outer part get longer by \(r/R\), while the inner part shrinks by that amount.
At the same time, the width increases with \(r\), resulting a quadratic increase of the bending force with \(r\).&lt;/p&gt;
&lt;h3&gt;Assignments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;How are the Kuhn length (the length of segments in the freely jointed chain) and the persistence length related?&lt;/li&gt;
&lt;li&gt;The models above did not account for self exclusion. Explore by simulation what happens when the polymer is not allowed to cross itself. (trivial in one dimension, what happens on two or three dimension?) How does the end-to-end distance deviate from the model predictions? Make a histogram of end-to-end distances and compare the predicted Gaussian distribution.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20171017_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="polymers"></category></entry><entry><title>PoissonNMF - Example</title><link href="/3dyeExampleZeiss.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/3dyeExampleZeiss.html</id><summary type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Triple stain imaged with Zeiss LSM meta 510&lt;/h2&gt;

&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Sample description and download&lt;/a&gt;
&lt;li&gt;&lt;a href="#load"&gt;Loading the data&lt;/a&gt;
&lt;li&gt;&lt;a href="#params"&gt;Options and parameters&lt;/a&gt;
&lt;li&gt;&lt;a href="#runtime"&gt;Examining the progress during runtime&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Analysing the results&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="poisson_nmf_documentation.html"&gt;Back to the main Page&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Sample description and download&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Download the data set from &lt;a href="/images/3dyeZeiss.lsm"&gt;here&lt;/a&gt;. The data consists of an
image …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Triple stain imaged with Zeiss LSM meta 510&lt;/h2&gt;

&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Sample description and download&lt;/a&gt;
&lt;li&gt;&lt;a href="#load"&gt;Loading the data&lt;/a&gt;
&lt;li&gt;&lt;a href="#params"&gt;Options and parameters&lt;/a&gt;
&lt;li&gt;&lt;a href="#runtime"&gt;Examining the progress during runtime&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Analysing the results&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="poisson_nmf_documentation.html"&gt;Back to the main Page&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Sample description and download&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Download the data set from &lt;a href="/images/3dyeZeiss.lsm"&gt;here&lt;/a&gt;. The data consists of an
image stack generated from adherent NIH-3T3 fibroblast cells. Therein, double-stranded
nucleic acids (mainly ribosomal RNA and nuclear DNA) were labeled with EtBr;
filamentous actin (F-actin) was stained with Alexa Fluor 532 (A532) conjugated phalloidin,
while tubulin was labeled with an Alexa Fluor 488 (A488) linked antibody.
The sample was imaged with a Zeiss LSM Meta 510 using 8 evenly spaced spectral
emission channels from 508 to 657 nm (width 21.4nm) and excited with a 488 nm laser.&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/3dyeZeiss_raw.png" width=600  alt="Lambda-Stack"&gt; &lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="load"&gt;Load the data&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNMF can load LSM files directly. Hence, start the plugin from the plugin menu
while no image is open. You will be asked to specify the type of data. Choose Zeiss LSM and locate
file the in the open dialog that follows. The image stack will be opened.&lt;/p&gt;
&lt;h3&gt;&lt;a name="params"&gt;Options and Parameters&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The first piece of information the plugin needs to know, is the number of sources the
data is to be decomposed into. Choose 3. Next, another dialog will appear,
in which the mandatory and optional information can be specified. The parameter dialog is shown in
the next figure. The number of iterations is preset to 100 (which is rather small, but suitable for
illustration purposes).
&lt;img src="/images/ParameterDialog_Zeiss.png" align=right&gt;
The image is taken with a 12bit AD converter, such that a saturation threshold
slightly below 4096 is appropriate. A background threshold of 50 is reasonable, but could be set higher. Higher background thresholds result in smaller runtime since the algorithm runs on a smaller data set.
For the background spectrum, &lt;b&gt;select ROI selection&lt;/b&gt;, leave everything else as is and hit run.
Next, you will be prompted for a ROI which contains only background. Select a small region
without cells and press OK. The algorithm will start.&lt;/p&gt;
&lt;h3&gt;&lt;a name="runtime"&gt;Examine the progress during runtime&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After the algorithm started, PoissonNMF opened a window displaying the spectra and a small
dialog with a &lt;b&gt;Cancel&lt;/b&gt; and &lt;b&gt;Least Square Solution&lt;/b&gt;.
The plot shows the evolution of the estimated spectra and the initial spectra. If the spectra
look correct and don't change anymore, the user can interrupt the algorithm by pressing the &lt;b&gt;
Least square solution&lt;/b&gt; button to use the current spectra to calculate a standard linear
unmixing solution. The progress of the algorithm is illustrated in the ImageJ progress bar.&lt;/p&gt;
&lt;h3&gt;&lt;a name="results"&gt;Results&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After the last iteration finished, PoissonNMF displays an image stack containing the estimated
sources and opens a small dialog with functions to produce false color overlay of some of the
sources, save the spectra or display the background spectrum.
The spectra are normalized to unit area and the concentrations maps are scaled accordingly. Hence,
weak stains will appear weak in the NMF sources stack. If desired, they can be individually rescaled
using functions ImageJ provides.&lt;/p&gt;
&lt;h4&gt;Spectra and Sources&lt;/h4&gt;
&lt;p&gt;&lt;img src="/images/ZeissSpectra.png"&gt;&lt;br&gt;&lt;/p&gt;
&lt;h4&gt;RBG false color overlay&lt;/h4&gt;
&lt;p&gt;After pressing the &lt;b&gt;RGB overlay&lt;/b&gt; button, a small dialog appears where the sources are assigned
to colors. PoissonNMF then produces a RGB picture according to the selection, where each source
is scaled to maximum intensity.&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/RGB_dialog.png"&gt;
&lt;img src="/images/RGBoverlay.png"&gt;&lt;/p&gt;
&lt;h4&gt;Background Map&lt;/h4&gt;
&lt;p&gt;The button &lt;b&gt;Background map&lt;/b&gt; displays the partition of the image into background,
saturated regions and the parts used for the analysis. Pixels that fall below the
background threshold in every lambda channel are displayed in blue, the saturated
regions in red and the part used for the analysis in green.
&lt;/body&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>PoissonNTF - Triple stain imaged with Leica SP2</title><link href="/NTF_3dyeExampleLeica.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/NTF_3dyeExampleLeica.html</id><summary type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Sample description and download&lt;/a&gt;
&lt;li&gt;&lt;a href="#load"&gt;Loading the data&lt;/a&gt;
&lt;li&gt;&lt;a href="#params"&gt;Options and parameters&lt;/a&gt;
&lt;li&gt;&lt;a href="#runtime"&gt;Examining the progress during runtime&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Analysing the results&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="/poisson_ntf_overview.html"&gt;Back to the main Page&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Sample description and download&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Download the data set from &lt;a href="/images/3dyeLeica.zip"&gt;here&lt;/a&gt;. The data consists of
12 images, comprising 3 excitations with 4 emission channels each …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Sample description and download&lt;/a&gt;
&lt;li&gt;&lt;a href="#load"&gt;Loading the data&lt;/a&gt;
&lt;li&gt;&lt;a href="#params"&gt;Options and parameters&lt;/a&gt;
&lt;li&gt;&lt;a href="#runtime"&gt;Examining the progress during runtime&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Analysing the results&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="/poisson_ntf_overview.html"&gt;Back to the main Page&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Sample description and download&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Download the data set from &lt;a href="/images/3dyeLeica.zip"&gt;here&lt;/a&gt;. The data consists of
12 images, comprising 3 excitations with 4 emission channels each. Stains: double-stranded
nucleic acids (mainly ribosomal RNA and nuclear DNA) were labeled with EtBr;
filamentous actin (F-actin) was stained with Alexa Fluor 532 (A532) conjugated phalloidin,
while tubulin was labeled with an Alexa Fluor 488 (A488) linked antibody.
The sample was imaged with a LEICA SP2 using the exciation wavelength 488, 514 and 561nm.&lt;br&gt;
Raw Data: &lt;br&gt;
&lt;img src="/images/LeicaNTF_488.jpg" width=200  alt="Lambda-Stack"&gt;
&lt;img src="/images/LeicaNTF_514.jpg" width=200  alt="Lambda-Stack"&gt;
&lt;img src="/images/LeicaNTF_561.jpg" width=200  alt="Lambda-Stack"&gt; &lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="load"&gt;Load the data&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Start the plugin from the plugin menu
while no image is open. You will be asked to specify the type of data. Choose Leica SP2 and locate
image series the in the open dialog that follows. Select on of the images and click "Open".
A dialog will appear listing the excitation (488, 514 and 561nm). Select all three.
The plugin will open three stacks, one for each excitation.&lt;/p&gt;
&lt;h3&gt;&lt;a name="params"&gt;Options and Parameters&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The first piece of information the plugin needs to know, is the number of sources the
data is to be decomposed into. Choose 3. Next, another dialog will appear,
in which the mandatory and optional information can be specified. The parameter dialog is shown in
the next figure. The number of iterations is preset to 100 (which is rather small, but suitable for
illustration purposes).
&lt;img src="/images/ParameterDialog_Leica.png" align=right&gt;
The image is taken with a 12bit AD converter, such that a saturation threshold
slightly below 4096 is appropriate. A background threshold of 100 is reasonable.
Higher background thresholds result in smaller runtime since the algorithm runs on a smaller data set.
For the background spectrum, &lt;b&gt;select ROI selection&lt;/b&gt;, leave everything else as is and hit run.
Next, you will be prompted for a ROI which contains only background. Select a small region
without cells and press OK. The algorithm will start.&lt;/p&gt;
&lt;h3&gt;&lt;a name="runtime"&gt;Examine the progress during runtime&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After the algorithm started, PoissonNTF opened two windows displaying the emission and excitation
spectra and a small dialog with a &lt;b&gt;Cancel&lt;/b&gt; and &lt;b&gt;Least Square Solution&lt;/b&gt;.
The plots shows the evolution of the estimated spectra and the initial spectra. If the spectra
look correct and don't change anymore, the user can interrupt the algorithm by pressing the &lt;b&gt;
Least square solution&lt;/b&gt; button to use the current spectra to calculate a standard linear
unmixing solution. The progress of the algorithm is illustrated in the ImageJ progress bar.&lt;/p&gt;
&lt;h3&gt;&lt;a name="results"&gt;Results&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After the last iteration finished, PoissonNTF displays an image stack containing the estimated
sources and opens a small dialog with functions to produce false color overlay of some of the
sources, save the spectra or display the background spectrum.
The spectra are normalized to unit area and the concentrations maps are scaled to maximum intensity.
The actual scale of the images is absorbed in the excitation efficiencies, which can be of
vastly different magnitudes. If desired, images can be individually rescaled
using functions ImageJ provides.&lt;/p&gt;
&lt;h4&gt;Spectra and Sources&lt;/h4&gt;
&lt;p&gt;Emission Spectra:&lt;br&gt;
&lt;img src="/images/LeicaEmissionSpectra.jpg"&gt;&lt;br&gt;
Excitation Spectra:&lt;br&gt;
&lt;img src="/images/LeicaExcitationSpectra.jpg"&gt;&lt;br&gt;&lt;/p&gt;
&lt;h4&gt;RBG false color overlay&lt;/h4&gt;
&lt;p&gt;After pressing the &lt;b&gt;RGB overlay&lt;/b&gt; button, a small dialog appears where the sources are assigned
to colors. PoissonNMF then produces a RGB picture according to the selection, where each source
is scaled to maximum intensity. &lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/RGB_dialog.png"&gt;&lt;br&gt;
Red-Green-Blue Overlay:&lt;br&gt;
&lt;img src="/images/RGB_Leica.jpg"&gt;&lt;/p&gt;
&lt;h4&gt;Background Map&lt;/h4&gt;
&lt;p&gt;The button &lt;b&gt;Background map&lt;/b&gt; displays the partition of the image into background, saturated regions and the parts used for the analysis. Pixels that fall below the background threshold in every lambda channel are displayed in blue, the saturated regions in red and the part used for the analysis in green.
&lt;/body&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>ImageJ plug-ins to optimize imaging parameters for fluorescence microscopy</title><link href="/optimize_acquisition_settings.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/optimize_acquisition_settings.html</id><summary type="html">&lt;p&gt;To obtain the label concentration of spectrally overlapping labels, the
imaging data has to be "unmixed" by offline computation
(&lt;a href="#dickinson"&gt;Dickinson et al., 2001&lt;/a&gt;). The accuracy of this linear unmixing
depends critically on the degree of spectral overlap between the dyes, and on the
choice of the spectral channels used to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;To obtain the label concentration of spectrally overlapping labels, the
imaging data has to be "unmixed" by offline computation
(&lt;a href="#dickinson"&gt;Dickinson et al., 2001&lt;/a&gt;). The accuracy of this linear unmixing
depends critically on the degree of spectral overlap between the dyes, and on the
choice of the spectral channels used to detect the emission. Here, we present a
plug-in for the image analysis software ImageJ that determines the optimal choice
of spectral channels and the optimal excitations for a given set of dyes. The plug-in
follows closely the procedure presented in &lt;a href="#neher"&gt;Neher and Neher, 2004&lt;/a&gt;.&lt;br&gt;&lt;/br&gt;&lt;/p&gt;
&lt;p&gt;Briefly, the plug-in first determines the optimal excitation settings assuming the emission
is detected at full spectral resolution. Excitations are optimized by looping
over all possible mixtures of excitation wavelength such that the total laser
power adds up to 100%. After the best combinations of excitation wavelengths
are determined, the plug-in loops over all possible choices of emission windows.
Different configurations are compared via the sum of squared standard deviations
of the label concentrations.&lt;/p&gt;
&lt;h3&gt;&lt;a name="installation"&gt;Installation&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Copy the 'OptimizeAcquistionScheme_.jar' into the plug-in folder of your ImageJ
distribution: &lt;a href="/static/OptimizeAcquisitionScheme.jar"&gt;OptimizeAcquisitionScheme.jar&lt;/a&gt; version 0.5.1&lt;/p&gt;
&lt;h3&gt;&lt;a name="run"&gt;Running the plug-in&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Localize the plug-in the ImageJ plug-ins menu and run it. You will be asked to enter the
number of dyes in the sample and the number of laser wavelength available. After clicking
'Ok', a new dialog will open where more specific information about the sample and the
set-up has to be entered:&lt;br&gt;&lt;/br&gt;
The first three fields specify the range of the emission and the resolution, at which the
different channels are sampled, i.e. what is the step size used for the channels boundaries
during the optimization. Beware, the run-time of the plugin increases dramatically with smaller
step sizes! The next two fields are used to specify the number of excitations the user wants
to do and the number of channels that can be measured in each of the excitations. &lt;br&gt;
Next, the user has to specify whether the same emission channels are to be used in all excitations
or whether the channels should be optimized for each excitation separately. Note that
using the same channels for all excitation is much faster and optimizing channels for more
than 2 excitations can easily result in excessively long run-times, in particular when the
number of steps (lambda range over stepsize) is large (&amp;gt;20). The other checkbox is used to
specify whether the detection should be forced to start at longer wavelength than the
longest excitation wavelength in a specific excitation.  &lt;br&gt;
The remaining fields are used to specify the available laser wave length and select the emission
and excitation spectra from the spectral library. The can also be entered manually.&lt;br&gt;
&lt;img src="/images/OAS_parameterDialog.png" width=400  alt="Parameter Dialog"&gt;&lt;/p&gt;
&lt;h4&gt;Results&lt;/h4&gt;
&lt;p&gt;The optimal excitations and emission channels are printed into a separate window. The emission
channels are also indicated in the plot showing the emission spectra. Below is shown an
example for the dyes A488, Cy3, MitoRed and FM464. The parameters are optimized for 2 excitations,
having the laser wavelength 488, 514 and 561nm available. &lt;br&gt;
The optimal solution turns out to be one excitation at 488nm and one at 561nm, leaving the
514nm laser unused. Note that knowledge of the excitation spectra is necessary.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="emission spectra" src="/images/OAS_emission_spectra.png"&gt;
&lt;img alt="Results" src="/images/OAS_results.png"&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="refs"&gt;References&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;&lt;a name="dickinson"&gt;[1] Dickinson, ME, Bearman, G, Tille, S, Lansford, R, and Fraser, SE.
Multi-spectral imaging and linear unmixing add a whole new dimension to laser scanning
fluorescence microscopy, BioTechniques, vol. 31 (6) pp. 1272, 2001 &lt;/a&gt;&lt;br&gt;
&lt;a name="neher"&gt;[2] Neher, R, and Neher, E. Optimizing imaging parameters for the separation of
multiple labels in a fluorescence image, Journal of microscopy, vol. 213 (Pt 1) pp. 46-62, 2004
&lt;/a&gt;&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>PoissonNMF - Documentation</title><link href="/poisson_nmf_documentation.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/poisson_nmf_documentation.html</id><summary type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;PoissonNMF - blind source separation of fluorescence microscopy data&lt;/h2&gt;

&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Introduction&lt;/a&gt;
&lt;li&gt;&lt;a href="#installation"&gt;Installation&lt;/a&gt;
&lt;li&gt;&lt;a href="#data"&gt;Data&lt;/a&gt;
&lt;li&gt;&lt;a href="#workflow"&gt;Workflow&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="#nosources"&gt;Number of Sources&lt;/a&gt;
&lt;li&gt; &lt;a href="#params"&gt;Parameter dialog&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Results panel&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="#spectralibrary"&gt;Spectra Library&lt;/a&gt;
&lt;li&gt;&lt;a href="#references"&gt;References&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="/poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Introduction&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNMF is an ImageJ plugin to decompose spectrally resolved fluorescence
microscopy data into the contribution of the labels under conditions …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a name="top"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;PoissonNMF - blind source separation of fluorescence microscopy data&lt;/h2&gt;

&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Introduction&lt;/a&gt;
&lt;li&gt;&lt;a href="#installation"&gt;Installation&lt;/a&gt;
&lt;li&gt;&lt;a href="#data"&gt;Data&lt;/a&gt;
&lt;li&gt;&lt;a href="#workflow"&gt;Workflow&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="#nosources"&gt;Number of Sources&lt;/a&gt;
&lt;li&gt; &lt;a href="#params"&gt;Parameter dialog&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Results panel&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="#spectralibrary"&gt;Spectra Library&lt;/a&gt;
&lt;li&gt;&lt;a href="#references"&gt;References&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="/poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Introduction&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNMF is an ImageJ plugin to decompose spectrally resolved fluorescence
microscopy data into the contribution of the labels under conditions where the
spectra are not or only inaccurately known. It employs non-negative matrix
factorization [&lt;a href="#Lee_Nature_1999"&gt;1&lt;/a&gt;], suitably modified to shot-noise dominated
data. The details of the algorithm are discussed in [&lt;a href="#Neher_BPJ_2009"&gt;2&lt;/a&gt;].
Step-by-step tutorial using an example with 3 dyes can be found &lt;a href="3dyeExampleZeiss.html"&gt;here&lt;/a&gt;.&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="installation"&gt;Installation&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;To install the plugin, copy the &lt;b&gt;PoissonNMF_.jar&lt;/b&gt; file into the plugin folder of
your ImageJ distribution. The plugin allows to save spectra to a library
and reuse them for future analysis, see &lt;a name="#spectralibrary"&gt;below&lt;/a&gt;.
For this feature to work, the spectra have to be saved in a folder named &lt;b&gt;SpectraLibrary&lt;/b&gt;
at the top level of the plugins folder of the ImageJ distribution.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="data"&gt;Input data&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNMF expects an image stack or an hyperstack with the default ImageJ order of
dimensions, i.e. the 3rd dimension of the stack has to correspond to different spectral channels,
whereas the 4th and 5th dimensions could be depth or time. The stack is internally converted
to a 32bit stack, such that the necessary memory can increase quite drastically.
If no stack is provided, the plugin asks the user to specify the type of data to be used (Regular Stack,
Zeiss LSM data, Leica SP2 data) and then displays and open dialog. In case of Zeiss LSM data
and Leica SP2 data, the plugin attempts to read the channel wavelength from the
meta data provided by these formats.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="workflow"&gt;Workflow&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The analysis of an image stack with poissonNMF proceeds in a one dimensional fashion. The
user is prompted for necessary and optional input using several dialog windows, which are
going to be explained in the following. Most values of in the dialog boxes are preset
to default values or those of the previous run.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/nosources.png" align="right"&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name="nosources"&gt;Number of sources&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Upon invoking poissonNMF from the plugin menu, the user is asked for the number
of labels that contribute to the image stack. This number is restricted to the range
2-10. In practice, more than 4 sources will rarely yield satisfactory results.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name="params"&gt;Parameter dialog&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;After specifying the number of sources, the user is prompted for parameters
needed for preprocessing of the data, initial conditions and runtime options.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Number of iterations and subsampling.&lt;/i&gt;
To speed up convergence, the poissonNMF applies the update rules in several stages
to subsamples of the data. The estimates for the spectra obtained with one subsamble
are used as initial conditions for the next larger subsample. The number of such stages can be specified in
subsamples field. From one subsample to the next, the amount of data used by the algorithm
is increased by a factor of 10 in such a way that the last subsamples comprises the entire data set.
The total number of times the iterative update rules are applied to the data can also be specified.
The number of iterations for larger subsamples is smaller (a factor 2 between successive subsamples).
&lt;br&gt;&lt;br&gt;
&lt;img src="/images/parameterDialog.png" align="right"&gt;
&lt;i&gt;Segregation bias. &lt;/i&gt; In some circumstances, in particular when spectra
overlap strongly, the NMF solution is not unique and NMF tends to estimate too narrow
spectra and incompletely separated sources. This tendency can be counteracted
by a segregation bias that penalizes the overlap of the estimated label distributions.
Suitable weights of the segregation bias are of order 1. Too high segregation bias will
yield in a faulty decomposition. To turn off the segregation bias, set its weight to zero.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Saturation threshold.&lt;/i&gt;
Saturated or nearly saturated pixels have
distorted emission spectra and therefore have to be excluded from the
analysis. If the signal in any channel at a certain pixel is above this
parameter value, the pixel is excluded.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Background threshold.&lt;/i&gt;
Very faint pixels carry little information
and are likely dominated by noise, autofluorescence or similar contaminants. It is
therefore advisable to limit the spectra estimation to reasonably strong
pixels. Any pixel, whose intensity is below this threshold in every channel is therefore excluded.
This thresholding is applied after the constant background is substracted.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Background spectrum and initial spectra.&lt;/i&gt;
Before the algorithms can process the data, the background spectrum has
to be substracted and spectra initialized with a set of start spectra.
Both, background and spectra can be specified in a variety of ways, that can be selected
from a pull-down menu. The choices for the background are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Minimal values: the minimum across the image is determined for each channel.
&lt;li&gt;ROI selection:  the user is prompted for a ROI
which contains background signal only.
&lt;li&gt;Manually: the user is prompted for the background strength in each channel
&lt;li&gt;Flat: the user prompted for one number, which is assumed to describe the background in all channels.
&lt;/ul&gt;
&lt;p&gt;Similar choices are available for the initial spectra:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gaussian: The spectra are initialized with a Gaussian with predefined width and position.
&lt;li&gt;ROI selection: the user is prompted for a ROI
which contains predominantly the corresponding dye.
&lt;li&gt;Manually: the user is prompted for the emission spectrum
&lt;li&gt;Library spectrum: If the spectra library is set up correctly and contains spectra, these spectra
are available at the bottom of the pull down menu.
&lt;/ul&gt;
&lt;p&gt;If the user selected items that require further user input such as ROIs or numbers,
additional dialogs will appear after closing the parameter dialog.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;
&lt;i&gt;Keep spectra fixed?&lt;/i&gt;
If some spectra are known accurately, one can fix them during the optimization and
iterate only the remaining spectra. To keep the spectrum of a dye fixed,  check
the appropriate boxe. If all
dyes are kept fixed, poissonNMF updates only the concentrations and thereby produces a non-negative
iterative linear unmixing of the signal. This unmixing differs from standard least squares
unmixing by assuming Poisson noise.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Specify spectral channels?&lt;/i&gt;
PoissonNMF does not need to know the boundaries of the spectral channels for the core
optimization. It does, however, rely on this information to display the spectra
and read spectra from the spectra library. If this option is checked, the user will
be prompted for a dialog where the channel boundaries can be entered.&lt;br&gt;
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="resultspanel"&gt;Results Panel&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After closing the parameter dialog and providing the optional input, the plugin
can decomposes the image stack. While the plugin is running, it continuously displays
the current spectra and the progress of the calculation in ImageJ toolbar. The
plugin can be cancelled at any time. Furthermore, the current spectra can be used
to produce a least square solution of the entire stack.&lt;br&gt;
&lt;img src="/images/resultspanel.png" align="right"&gt;&lt;/p&gt;
&lt;p&gt;Once poissonNMF has completed the optimization loop, it displays an image stack
containing the label distributions. Different labels correspond to different values of
the third dimensions, with all other dimensions being the same as the input data stack.
PoissonNMF also opens a dialog with four buttons for further processing of the results.
The button RGB overlay allows to produce a RGB of the current slice of the stack. The user
is asked for an assignment of dyes to color channels. &lt;br&gt;
The button background map presents the user a RGB image of the current slice, pixels
classified as background are blue, those used for poissonNMF are green and saturated
pixels are red. Furthermore, the user can save the estimated spectra and display the
background spectrum.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="spectralibrary"&gt;Spectra Library&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNMF can use literature spectra or spectra determined in previous
runs, for example as start spectra or as fixed spectra while
optimizing other unknown spectra. For a spectrum to be available in PoissonNMF,
it has to be placed in the folder &lt;b&gt;SpectraLibrary&lt;/b&gt; located in the
plugins folder of ImageJ. The files are assumed to be text files with the
wavelength in column one and the emission in column two, conform with the
output format of PoissonNMF. Files containing emission spectra have to end on &lt;b&gt;.emn&lt;/b&gt;.
A sample library of spectra can be found &lt;a href="../SpectraLibrary.zip"&gt;here&lt;/a&gt;.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="references"&gt;&lt;/a&gt;References&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a name="Lee_Nature_1999"&gt;D.D. Lee and H.S. Seung. Learning the parts of objects by non-negative matrix factorization. Nature, 40:788-791, 1999.&lt;/a&gt;
&lt;li&gt;&lt;a name="Neher_BPJ_2009"&gt;R.A. Neher, M. Mitkovski, F. Kirchhoff, E. Neher, F.J. Theis, and A. Zeug. Blind source separation techniques for the decomposition of multiply labeled fluorescence images. Biophysical Journal, vol. 96 (9) pp. 3791-800, 2009.&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>PoissonNMF - blind source separation of fluorescence microscopy data</title><link href="/poisson_nmf_documentation_overview.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/poisson_nmf_documentation_overview.html</id><summary type="html">&lt;p&gt;PoissonNMF is a &lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; plugin that allows to decompose lambda stacks of fluorescently labeled samples into the contribution of the individual dyes, even if the spectra of the dyes are not or only approximately known.
The method is described in &lt;a href="http://www.cell.com/biophysj/abstract/S0006-3495%2809%2900092-7"&gt;
Neher et al., Biophysical Journal&lt;/a&gt;. In addition to blind unmixing …&lt;/p&gt;</summary><content type="html">&lt;p&gt;PoissonNMF is a &lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; plugin that allows to decompose lambda stacks of fluorescently labeled samples into the contribution of the individual dyes, even if the spectra of the dyes are not or only approximately known.
The method is described in &lt;a href="http://www.cell.com/biophysj/abstract/S0006-3495%2809%2900092-7"&gt;
Neher et al., Biophysical Journal&lt;/a&gt;. In addition to blind unmixing, the plugin can also be used for standard or non-negative unmixing.
&lt;br&gt;
&lt;a href="/poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Documentation and Examples&lt;/h3&gt;
&lt;p&gt;&lt;a href="poisson_nmf_documentation.html"&gt;HTML documentation&lt;/a&gt;&lt;br&gt;
&lt;a href="3dyeExampleZeiss.html"&gt;Tutorial using an example with three dyes imaged on Zeiss LSM meta 510&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Download&lt;/h3&gt;
&lt;p&gt;The plug-in: &lt;a href="/static/PoissonNMF_.jar"&gt;PoissonNMF.jar&lt;/a&gt;, Version 0.8.7&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Authors&lt;/h3&gt;
&lt;p&gt;&lt;a href="mailto:richard.neher@unibas.ch"&gt;Richard Neher&lt;/a&gt;&lt;br&gt;
&lt;a href="mailto:fabian.theis@helmholtz-muenchen.de"&gt;Fabian Theis&lt;/a&gt;&lt;br&gt;
&lt;a href="mailto:zeug.andre@mh-hannover.de"&gt;Andre Zeug&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Please address comments and question to Richard Neher and notify us of any bugs you find.&lt;br&gt;
&lt;a href="/poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h4&gt;Links and related plugins&lt;/h4&gt;
&lt;p&gt;ImageJ: &lt;a href="http://rsbweb.nih.gov/ij/"&gt;rsbweb.nih.gov/ij&lt;/a&gt;&lt;br&gt;
Linear unmixing plugin by Joachim Walter: &lt;a href="http://rsb.info.nih.gov/ij/plugins/spectral-unmixing.html"&gt;Spectral Unmixing Plugins&lt;/a&gt; &lt;br&gt;&lt;/p&gt;
&lt;h4&gt;History&lt;/h4&gt;
&lt;p&gt;&lt;b&gt;2009/02/25 (version 0.8.7)&lt;/b&gt;&lt;br&gt;
Implemented the data visualization feature "Simplex projection".&lt;br&gt;
&lt;b&gt;2009/02/18 (version 0.8.6)&lt;/b&gt;&lt;br&gt;
First release.&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>PoissonNTF - documentation</title><link href="/poisson_ntf_documentation.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/poisson_ntf_documentation.html</id><summary type="html">&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Introduction&lt;/a&gt;
&lt;li&gt;&lt;a href="#installation"&gt;Installation&lt;/a&gt;
&lt;li&gt;&lt;a href="#data"&gt;Data&lt;/a&gt;
&lt;li&gt;&lt;a href="#workflow"&gt;Workflow&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="#nosources"&gt;Number of Sources&lt;/a&gt;
&lt;li&gt; &lt;a href="#params"&gt;Parameter dialog&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Results panel&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="#spectralibrary"&gt;Spectra Library&lt;/a&gt;
&lt;li&gt;&lt;a href="#references"&gt;References&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="index.html"&gt;Back to the main page&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Introduction&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNTF is an extension of the PoissonNMF plugin for ImageJ.
In contrast to the NMF plugin, NTF combines the data from multiple
excitations. Multiple excitations allow to …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Table of Contents&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="#intro"&gt;Introduction&lt;/a&gt;
&lt;li&gt;&lt;a href="#installation"&gt;Installation&lt;/a&gt;
&lt;li&gt;&lt;a href="#data"&gt;Data&lt;/a&gt;
&lt;li&gt;&lt;a href="#workflow"&gt;Workflow&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a href="#nosources"&gt;Number of Sources&lt;/a&gt;
&lt;li&gt; &lt;a href="#params"&gt;Parameter dialog&lt;/a&gt;
&lt;li&gt; &lt;a href="#results"&gt;Results panel&lt;/a&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href="#spectralibrary"&gt;Spectra Library&lt;/a&gt;
&lt;li&gt;&lt;a href="#references"&gt;References&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="index.html"&gt;Back to the main page&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;&lt;a name="intro"&gt;Introduction&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNTF is an extension of the PoissonNMF plugin for ImageJ.
In contrast to the NMF plugin, NTF combines the data from multiple
excitations. Multiple excitations allow to image and decompose more
fluorophores than single excitation imaging.  As PoissonNMF, PoissonNTF
employs a non-negative factorization algorithm generalized to higher dimensional data sets
(Tensors) [&lt;a href="#Shashau_2005"&gt;1&lt;/a&gt;].
The details of the algorithm are discussed in [&lt;a href="#Neher_BPJ_2009"&gt;2&lt;/a&gt;].
Step-by-step tutorial using an example with 3 dyes can be
found &lt;a href="NTF_3dyeExampleLeica.html"&gt;here&lt;/a&gt;.&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="installation"&gt;Installation&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;To install the plugin, copy the &lt;b&gt;&lt;a href="/static/PoissonNTF_.jar"&gt;PoissonNTF_.jar&lt;/a&gt;&lt;/b&gt; file into the plugin folder of
your ImageJ distribution. PoissonNTF uses the same library of spectra as PoissonNMF,
see &lt;a href="#spectralibrary"&gt;below&lt;/a&gt;.
For this feature to work, the spectra have to be saved in a folder named &lt;b&gt;SpectraLibrary&lt;/b&gt;
at the top level of the plugins folder of the ImageJ distribution.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="data"&gt;Input data&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;As of now, PoissonNTF works only for data acquired with Leica confocal microscopes (and has only
been tested for Leica SP2). The user is expected to choose one image from the experiment. The
plugin then reads the accompanying text file with the settings and builds stack of images for each
excitation. The channel and excitation wavelength are read from the
meta data in the Leica text file. It is important that the emission channels used in the different
excitations overlap and that the overlapping channels have exactly the same boundaries.&lt;br&gt;
Example:&lt;br&gt;
Excitation 1: 470-490nm, 490-510nm, 510-530nm, 530-550nm.&lt;br&gt;
Excitation 2: 510-530nm, 530-550nm, 550-570nm, 580-610nm.&lt;br&gt;
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="workflow"&gt;Workflow&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The workflow of Poisson NMF is very similar to PoissonNMF. Upon starting the plugin,
the user has to choose which kind of data he/she wants to analyze. Currently, only
Leica data is implemented. The user has to select one of the images of the experiment, and
the plugin will open all relevant images and group them into stacks according to excitation
wavelength. After opening of the images,  the user is guided through a series of dialogs.&lt;br&gt;&lt;/br&gt;
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;br&gt;&lt;/br&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class="plain" src="/images/NTF_excitation_select.png" align="right"&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name="params"&gt;Excitation wavelength&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The first dialog presents the excitation wavelength found in the configuration file and
offers the choice which of them are to be used for further analysis.&lt;br&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name="nosources"&gt;Number of sources&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Next, the user is asked for the number
of labels that contribute to the image stack. This number is restricted to the range
1-10.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;br&gt;
&lt;img class="plain" src="/images/nosources.png" align="right"&gt;&lt;/p&gt;
&lt;h4&gt;&lt;a name="params"&gt;Parameter dialog&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;After specifying the number of sources, the user is prompted for parameters
needed for preprocessing of the data, initial conditions and runtime options.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Number of iterations and subsampling.&lt;/i&gt;
To speed up convergence, the poissonNMF applies the update rules in several stages
to subsamples of the data. The estimates for the spectra obtained with one subsamble
are used as initial conditions for the next larger subsample. The number of such stages can be specified in
subsamples field. From one subsample to the next, the amount of data used by the algorithm
is increased by a factor of 10 in such a way that the last subsamples comprises the entire data set.
The total number of times the iterative update rules are applied to the data can also be specified.
The number of iterations for larger subsamples is smaller (a factor 2 between successive subsamples).
&lt;br&gt;&lt;br&gt;
&lt;img class="plain" src="/images/NTF_parameter_dialog.png" align="right"&gt;&lt;br&gt;
&lt;i&gt;Segregation bias. &lt;/i&gt; The segregation bias is mainly indended for PoissonNMF with only one excitation.
It can, however, be used in an analogous manner in NTF and multiple excitation and is this option
is therefore retained in PoissonNTF. We did not test this feature in detail.
As for NMF, the segregation bias should counteract the tendency of the algorithm to estimate
too narrow spectra by penalizing the overlap of the estimated label distributions.
Suitable weights of the segregation bias are of order 1. Too high segregation bias will
yield in a faulty decomposition. To turn off the segregation bias, set its weight to zero.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Saturation threshold.&lt;/i&gt;
Saturated or nearly saturated pixels have
distorted emission spectra and therefore have to be excluded from the
analysis. If the signal in any channel at a certain pixel is above this
parameter value, the pixel is excluded.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Background threshold.&lt;/i&gt;
Very faint pixels carry little information
and are likely dominated by noise, autofluorescence or similar contaminants. It is
therefore advisable to limit the spectra estimation to reasonably strong
pixels. Any pixel, whose intensity is below this threshold in every channel is therefore excluded.
This thresholding is applied after the constant background is substracted.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Background spectrum and initial spectra.&lt;/i&gt;
Before the algorithms can process the data, the background spectrum has
to be substracted and spectra initialized with a set of start spectra.
Both, background and spectra can be specified in a variety of ways, that can be selected
from a pull-down menu. The choices for the background are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Minimal values: the minimum across the image is determined for each channel.
&lt;li&gt;ROI selection:  the user is prompted for a ROI
which contains background signal only.
&lt;li&gt;Manually: the user is prompted for the background strength in each channel
&lt;li&gt;Flat: the user prompted for one number, which is assumed to describe the background in all channels.
&lt;/ul&gt;
&lt;p&gt;Similar choices are available for the initial spectra:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gaussian: The spectrum are initialized with a Gaussian with predefined width and position.
&lt;li&gt;ROI selection: the user is prompted for a ROI
which contains predominantly the corresponding dye.
&lt;li&gt;Manually: the user is prompted for the emission spectrum
&lt;li&gt;Library spectrum: If the spectra library is set up correctly and contains spectra, these spectra
are available at the bottom of the pull down menu.
&lt;/ul&gt;
&lt;p&gt;If the user selected items that require further user input such as ROIs or numbers,
additional dialogs will appear after closing the parameter dialog.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;br&gt;
&lt;i&gt;Keep spectra fixed?&lt;/i&gt;
If some spectra are known accurately, one can fix them during the optimization and
iterate only the remaining spectra. To keep the spectrum of a dye fixed,  check
the appropriate boxe. If all
dyes are kept fixed, poissonNTF updates only the concentrations and thereby produces a non-negative
iterative linear unmixing of the signal. This unmixing differs from standard least squares
unmixing by assuming Poisson noise.
&lt;br&gt;&lt;br&gt;
&lt;i&gt;Specify spectral channels?&lt;/i&gt;
PoissonNTF does not need to know the boundaries of the spectral channels for the core
optimization. It does, however, rely on this information to display the spectra
and read spectra from the spectra library. If this option is checked, the user will
be prompted for a dialog where the channel boundaries can be entered.&lt;br&gt;
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="resultspanel"&gt;Results Panel&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;After closing the parameter dialog and providing the optional input, the plugin
can decomposes the image stack. While the plugin is running, it continuously displays
the current excitation and emission spectra and the progress of the calculation in ImageJ toolbar. The
plugin can be cancelled at any time. Furthermore, the current spectra can be used
to produce a least square solution of the entire stack.&lt;br&gt;
&lt;img class="plain" src="/images/NTF_results.png" align="right"&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;Once poissonNTF has completed the optimization loop, it displays an image stack
containing the label distributions. Different labels correspond to different values of
the third dimensions, with all other dimensions being the same as the input data stack.
PoissonNTF opens a dialog with six buttons for further processing of the results.
The button RGB overlay allows to produce a RGB of the current slice of the stack. The user
is asked for an assignment of dyes to color channels. &lt;br&gt;
The button background map presents the user a RGB image of the current slice, pixels
classified as background are blue, those used for poissonNTF are green and saturated
pixels are red. Furthermore, the user can save the estimated spectra and display the
background spectrum.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="spectralibrary"&gt;Spectra Library&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;PoissonNTF can use literature spectra or spectra determined in previous
runs, for example as start spectra or as fixed spectra while
optimizing other unknown spectra. For a spectrum to be available in PoissonNTF,
it has to be placed in the folder &lt;b&gt;SpectraLibrary&lt;/b&gt; located in the
plugins folder of ImageJ. The files are assumed to be text files with the
wavelength in column one and the emission in column two, conform with the
output format of PoissonNTF. Files containing emission spectra have to end on &lt;b&gt;.emn&lt;/b&gt;.
&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name="references"&gt;&lt;/a&gt;References&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a name="Shashau_2005"&gt;A Shashua, T Hazan. Non-negative tensor factorization with applications to statistics and computer vision. 2005&lt;/a&gt;
&lt;li&gt;&lt;a name="Neher_BPJ_2009"&gt;R.A. Neher, M. Mitkovski, F. Kirchhoff, E. Neher, F.J. Theis, and A. Zeug. Blind source separation techniques for the decomposition of multiply labeled fluorescence images. Biophysical Journal, vol. 96 (9) pp. 3791-800, 2009.&lt;/a&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="#top"&gt;top&lt;/a&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>PoissonNTF - fluorescence microscopy data combining multiple excitations</title><link href="/poisson_ntf_overview.html" rel="alternate"></link><published>2017-10-19T00:00:00+02:00</published><updated>2017-10-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-19:/poisson_ntf_overview.html</id><summary type="html">&lt;p&gt;PoissonNTF is a &lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; plugin, similar to
&lt;a href="/poisson_nmf_overview.html"&gt;PoissonNMF&lt;/a&gt;, that allows to
decompose lambda stacks of fluorescently labeled samples into the contribution of
the individual dyes. In contrast to PoissonNMF, the NTF version allows to combine
spectrally resolved data acquired using different excitation wavelength.
The method is described in &lt;a href="http://www.cell.com/biophysj/abstract/S0006-3495%2809%2900092-7"&gt;
Neher et …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;PoissonNTF is a &lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; plugin, similar to
&lt;a href="/poisson_nmf_overview.html"&gt;PoissonNMF&lt;/a&gt;, that allows to
decompose lambda stacks of fluorescently labeled samples into the contribution of
the individual dyes. In contrast to PoissonNMF, the NTF version allows to combine
spectrally resolved data acquired using different excitation wavelength.
The method is described in &lt;a href="http://www.cell.com/biophysj/abstract/S0006-3495%2809%2900092-7"&gt;
Neher et al., Biophysical Journal&lt;/a&gt;. &lt;br&gt;
&lt;a href="/poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Documentation and Examples&lt;/h3&gt;
&lt;p&gt;&lt;a href="poisson_ntf_documentation.html"&gt;HTML documentation&lt;/a&gt;&lt;br&gt;
&lt;a href="NTF_3dyeExampleLeica.html"&gt;Tutorial using an example with three dyes imaged on a Leica SP2&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Download&lt;/h3&gt;
&lt;p&gt;The plug-in: &lt;a href="/static/PoissonNTF_.jar"&gt;PoissonNTF.jar&lt;/a&gt;, Version 0.5.0&lt;br&gt;&lt;/p&gt;
&lt;h3&gt;Authors&lt;/h3&gt;
&lt;p&gt;&lt;a href="mailto:richard.neher@unibas.ch"&gt;Richard Neher&lt;/a&gt;&lt;br&gt;
&lt;a href="mailto:fabian.theis@helmholtz-muenchen.de"&gt;Fabian Theis&lt;/a&gt;&lt;br&gt;
&lt;a href="mailto:zeug.andre@mh-hannover.de"&gt;Andre Zeug&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Please address comments and question to Richard Neher and notify us of any bugs you find.&lt;br&gt;
&lt;a href="poisson_nmf_overview.html"&gt;Back to main page&lt;/a&gt;&lt;br&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h4&gt;Links and related plugins&lt;/h4&gt;
&lt;p&gt;ImageJ: &lt;a href="http://rsbweb.nih.gov/ij/"&gt;rsbweb.nih.gov/ij&lt;/a&gt;&lt;br&gt;
Linear unmixing plugin by Joachim Walter: &lt;a href="http://rsb.info.nih.gov/ij/plugins/spectral-unmixing.html"&gt;Spectral Unmixing Plugins&lt;/a&gt; &lt;br&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>Diffusion -- Solutions to problems</title><link href="/20171017_solutions.html" rel="alternate"></link><published>2017-10-17T00:00:00+02:00</published><updated>2017-10-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-17:/20171017_solutions.html</id><summary type="html">&lt;h2&gt;Kuhn length&lt;/h2&gt;
&lt;p&gt;The Kuhn length of a polymer is the length of the segment that maps the polymer to the freely jointed chain model.&lt;/p&gt;
&lt;h2&gt;Self-avoiding walk&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;__future__&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;print_function&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;


&lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="n"&gt;L&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;
&lt;span class="n"&gt;n …&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h2&gt;Kuhn length&lt;/h2&gt;
&lt;p&gt;The Kuhn length of a polymer is the length of the segment that maps the polymer to the freely jointed chain model.&lt;/p&gt;
&lt;h2&gt;Self-avoiding walk&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;__future__&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;print_function&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;


&lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
&lt;span class="n"&gt;L&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;
&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;

&lt;span class="c1"&gt;#&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;make_trajectory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self_avoiding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;steps&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;box&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;x0&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x0&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
    &lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;tuple&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;
    &lt;span class="n"&gt;trials&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;trials&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;randint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;randint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="n"&gt;xtraj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;tp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;step&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;trials&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;xtest&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;step&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtest&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtest&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;

        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;tuple&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtest&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;self_avoiding&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;box&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;tuple&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtest&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;
            &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;xtest&lt;/span&gt;
            &lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
            &lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="n"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;

    &lt;span class="n"&gt;xtraj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;xtraj&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# generate an ensemble of trajectories&lt;/span&gt;
&lt;span class="n"&gt;end2end&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;
&lt;span class="n"&gt;counts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;distance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;final_distances&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="n"&gt;dt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;
&lt;span class="n"&gt;T&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ii&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5000&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;xtraj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;make_trajectory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;steps&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;final_distances&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;bi&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;ind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;
        &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;distance&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="n"&gt;distance&lt;/span&gt;&lt;span class="o"&gt;/=&lt;/span&gt;&lt;span class="n"&gt;counts&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;distance&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;self avoiding&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="n"&gt;counts_nsw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;distance_nsw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;final_distances_nsw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ii&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5000&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;xtraj&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;make_trajectory&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self_avoiding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;=&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;final_distances_nsw&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;bi&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;ind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tp&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;dt&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;
        &lt;span class="n"&gt;counts_nsw&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;distance_nsw&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;bi&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;xtraj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

&lt;span class="n"&gt;distance_nsw&lt;/span&gt;&lt;span class="o"&gt;/=&lt;/span&gt;&lt;span class="n"&gt;counts_nsw&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;distance_nsw&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;random&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;distance squared&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;time&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;### plot end-to-end distribution&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;histogram&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;final_distances&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;bc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;self avoiding&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;histogram&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;final_distances_nsw&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;bc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;random/no self avoidance&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;500&lt;/span&gt;
&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bc&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;radial Gaussian&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;distribution [scaled]&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;end to end distance&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Antigenic evolution of seasonal influenza viruses</title><link href="/201710_PCCMI.html" rel="alternate"></link><published>2017-10-12T00:00:00+02:00</published><updated>2017-10-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-12:/201710_PCCMI.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/blab/nextflu"  target="_blank"&gt;&lt;h4&gt;code at github.com/blab/nextflu&lt;/h4&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/blab/nextflu"  target="_blank"&gt;&lt;h4&gt;code at github.com/blab/nextflu&lt;/h4&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI data sets&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:10%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/h3n2_antigenic_cartography.png" height="700px"&gt;
    &lt;span class="ref"&gt;Smith et al, Science 2002&lt;/span&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:62%; width:37%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;$H_{a\beta} = v_a + p_\beta + \sum_{i\in (a,b)} d_i$&lt;/li&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
            &lt;li&gt;related model where $d_i$ are associated with substitutions&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;MDS: $(d+1)$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Tree model: $2$ parameters per virus&lt;/li&gt;
            &lt;li&gt;Sparse solution &lt;br&gt; &amp;rarr; identify branches or substitutions that cause titer drop &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Are antigenic distances tree-like?&lt;/h3&gt;
    &lt;div style="position:absolute; top:21%; left:5%; width:38%"&gt;
    &lt;img src="/talk_images/HI_quartett.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:11%; left:55%; width:38%"&gt;
    &lt;img src="/talk_images/HI_H3N2_tree_distances.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Rate of antigenic evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/influenza_antigenic_advance.png" width="100%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Cumulative antigenic evolution since the root: $\sum_i d_i$&lt;/li&gt;
        &lt;li&gt;A/H3N2 evolves faster antigenically&lt;/li&gt;
        &lt;li&gt;A/H3N2 has a more rapid population turn-over&lt;/li&gt;
        &lt;li&gt;Proportion of children is high in B vs A/H3N2 infections&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/h3n2_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/vic_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:16%; left:48%; width:45%"&gt;
    &lt;img src="/talk_images/yam_12y_timetree.png" width="100%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How many sites are involved?&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
    &lt;img src="/talk_images/H3N2_HA_structure.png"  class="plain"  width="70%"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HI_H3N2_cumulative_effects.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:40%; width:20%"&gt;
        &lt;font size=5&gt;
        &lt;table class="table table-striped"&gt;
            &lt;col width="70%"&gt;
            &lt;col width="30%"&gt;
            &lt;thead&gt;&lt;tr&gt;&lt;td&gt;Mutation&lt;/td&gt;&lt;td&gt;effect&lt;/td&gt;&lt;/tr&gt;&lt;/thead&gt;
            &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;K158N/N189K&lt;/td&gt;
                &lt;td&gt;3.64&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K158R&lt;/td&gt;
                &lt;td&gt;2.31&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K189N&lt;/td&gt;
                &lt;td&gt;2.18&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S157L&lt;/td&gt;
                &lt;td&gt;1.29&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;V186G&lt;/td&gt;
                &lt;td&gt;1.25&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S193F&lt;/td&gt;
                &lt;td&gt;1.2&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K140I&lt;/td&gt;
                &lt;td&gt;1.1&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;F159Y&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144D&lt;/td&gt;
                &lt;td&gt;1.08&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145N&lt;/td&gt;
                &lt;td&gt;0.91&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;S159Y&lt;/td&gt;
                &lt;td&gt;0.89&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;I25V&lt;/td&gt;
                &lt;td&gt;0.88&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Q1L&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;K144N&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N145S&lt;/td&gt;
                &lt;td&gt;0.85&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N8D&lt;/td&gt;
                &lt;td&gt;0.73&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;T212S&lt;/td&gt;
                &lt;td&gt;0.69&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;N188D&lt;/td&gt;
                &lt;td&gt;0.65&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/tbody&gt;
        &lt;/table&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting successful influenza clades&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_H3N2_clade_trajectories.png" width="90%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:15%; width:70%"&gt;
    &lt;img src="/talk_images/HI_success.png" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting successful influenza clades&lt;/h3&gt;
    &lt;div style="position:absolute; top:14%; left:20%; width:60%"&gt;
    &lt;img src="/talk_images/HI_best_vs_realized.png" width="90%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Shortcomings of ferret HI data&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:50%"&gt;
        &lt;small&gt;
        &lt;img src="/talk_images/h1n1pdm_mutations_6b_6b1.png"&gt;
            &lt;ul&gt;
                &lt;li&gt;ferrets are naive -- no complicated history of exposure&lt;/li&gt;
                &lt;li&gt;H1N1pdm experienced three recent rapid amino acid replacements&lt;/li&gt;
                &lt;li&gt;age specific immuno-dominance caused problems in the 2013-2014 influenza season&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:60%; width:40%"&gt;
        &lt;h4 style="text-align: left;"&gt;&lt;a href="http://www.pnas.org/content/111/44/15798.short"&gt; Linderman .... Hensley, PNAS 2014&lt;/a&gt; &lt;/h4&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;ABs in people born between 1960 and 1979 target an epitope containing 163K&lt;/li&gt;
                &lt;li&gt;Young people target a different epitope -- like ferrets&lt;/li&gt;
                &lt;li&gt;The 163K epitope in H1N1pdm is similar to H1N1 viruses circulating 1976-1986&lt;/li&gt;
                &lt;li&gt;The vaccine virus was 163K, likely boosted the old response&lt;/li&gt;
            &lt;/ul&gt;
            &lt;img src="/talk_images/linderman_K163_specificity.png" width="80%"&gt;
            &lt;span class="ref"&gt;Figure from Linderman et al&lt;/span&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Shortcomings of ferret HI data&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:40%"&gt;
            &lt;img src="/talk_images/linderman_K163_specificity.png" width="80%"&gt;
            &lt;span class="ref"&gt;Figure from Linderman et al&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:12%; left:50%; width:50%"&gt;
        &lt;h4 style="text-align: left;"&gt;&lt;a href="http://www.pnas.org/content/111/44/15798.short"&gt; Linderman .... Hensley, PNAS 2014&lt;/a&gt; &lt;/h4&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;People born between 1960 and 1979 target an epitope containing 163K&lt;/li&gt;
                &lt;li&gt;Young people target a different epitope -- like ferrets&lt;/li&gt;
                &lt;li&gt;The 163K epitope in H1N1pdm is similar to H1N1 viruses circulating 1976-1986&lt;/li&gt;
                &lt;li&gt;The vaccine virus was 163K, likely boosted the old response&lt;/li&gt;
                &lt;li&gt;After 1986, 163K was shielded by glycosylation&lt;/li&gt;
                &lt;li&gt;People born later had no old ABs targeting 166K&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Conclusions and Questions&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;We need to complement ferrets with systematic human serology&lt;/li&gt;
        &lt;li&gt;How do we move away from egg based vaccines?&lt;/li&gt;
        &lt;li&gt;How important is the history of exposure to vaccine efficacy?&lt;/li&gt;
        &lt;li&gt;What mediates the competition between distant influenza lineages?&lt;/li&gt;
        &lt;li&gt;Universal vaccines?&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
        &lt;li&gt;The WHO CCs in London and Atlanta for providing titer data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextflu.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Real-time tracking and prediction of RNA virus evolution</title><link href="/201710_ASMNGS.html" rel="alternate"></link><published>2017-10-09T00:00:00+02:00</published><updated>2017-10-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-09:/201710_ASMNGS.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/blab/nextflu"  target="_blank"&gt;&lt;h4&gt;code at github.com/blab/nextflu&lt;/h4&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza viruses evolve to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/blab/nextflu"  target="_blank"&gt;&lt;h4&gt;code at github.com/blab/nextflu&lt;/h4&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Model of rapidly adapting virus populations&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img class="plain" src="talk_images/arees_small_mutations_flu.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;div style="position:absolute; top:10%; left:5%; width:90%"&gt;
        &lt;img src="talk_images/H3N2_2017_prediction.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;


&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What about bacteria?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;variation of divergence along the genome&lt;/li&gt;
            &lt;li&gt;NGS genomes tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links between species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_ermB.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Data set are growing rapidly &lt;br&gt;
            &amp;rarr; tools for interpretation and exploration are crucial&lt;/li&gt;
        &lt;li&gt;Breadth and depth&lt;br&gt;
            &amp;rarr; provide an overview, integrate, and go deep&lt;/li&gt;
        &lt;li&gt;Actionable outputs require (near)real-time analysis &lt;br&gt;
            &amp;rarr; fast analysis pipelines are essential&lt;/li&gt;
        &lt;li&gt;We are just scratching the surface...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Interested in HIV NGS: come find me!&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png"      class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png"     class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;All the NICs and WHO CCs that provide influenza sequence data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg"   class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg"    class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;&lt;br&gt;
    &lt;li&gt;All the scientist that share virus sequence data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime &amp; panX&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" class="plain" height=250px&gt;
            &lt;h4&gt;TreeTime: Pavel Sagulenko&lt;/h4&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;br&gt;
            webserver at &lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/153494"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=250px&gt;
            &lt;h5&gt;panX: Wei Ding&lt;/h5&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;br&gt;
            live site at &lt;a href="http://pangenome.de"&gt;pangenome.de&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/072082"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:30%; width:70%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Rapid adaptation and the predictability of next year's flu</title><link href="/201710_Freiburg.html" rel="alternate"></link><published>2017-10-06T00:00:00+02:00</published><updated>2017-10-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-06:/201710_Freiburg.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.basel.ch"&gt;hiv.biozentrum.basel.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;


&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- &lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201710_EPFL.html" rel="alternate"></link><published>2017-10-04T00:00:00+02:00</published><updated>2017-10-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-04:/201710_EPFL.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen0.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen1.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen2.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:18%; left:10%; width: 80%"&gt;
        &lt;img src="talk_images/popgen3.svg" width=1100px class="plain"&gt;
    &lt;/div&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:5%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007; Desai, Walczak, Fisher, Genetics, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;can we predict fitness?&lt;/li&gt;
        &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Hemagglutination Inhibition assays&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:10%; width:80%"&gt;
    &lt;img src="/talk_images/hi_cross_reactivity.jpg" width="80%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Antigenic distance tables&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:43%"&gt;
    &lt;img src="/talk_images/hi_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:46%; left:5%; width:43%"&gt;
        &lt;div class="hugespacer"&gt;&lt;/div&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;Long list of distances between sera and viruses&lt;/li&gt;
            &lt;li&gt;Tables are sparse, only close by pairs&lt;/li&gt;
            &lt;li&gt;Structure of space is not immediately clear&lt;/li&gt;
            &lt;li&gt;MDS in 2 or 3 dimensions&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:52%; width:43%"&gt;
    &lt;img src="/talk_images/hi_full_table.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Integrating antigenic and molecular evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:50%"&gt;
    &lt;img src="/talk_images/HI_tree_model_illustration.svg" width="100%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;each branch contributes $d_i$ to antigenic distance&lt;/li&gt;
            &lt;li&gt;sparse solution for $d_i$ through $l_1$ regularization&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:16%; left:58%; width:37%"&gt;
    &lt;img src="/talk_images/HI_tree_model_accuracy.svg" width="100%"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN et al, PNAS, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HI distances on the phylogenetic tree&lt;/h3&gt;
    &lt;div style="position:absolute; top:12%; left:5%; width:90%"&gt;
    &lt;img src="/talk_images/hi_distances_on_tree.png" width="70%"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Diffusion -- Solutions to problems</title><link href="/20171003_solutions.html" rel="alternate"></link><published>2017-10-03T00:00:00+02:00</published><updated>2017-10-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-03:/20171003_solutions.html</id><summary type="html">&lt;h3&gt;FRAP with a box shaped pulse.&lt;/h3&gt;
&lt;p&gt;The assignment was&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Work out the solution of the diffusion equation for initial condition&lt;/em&gt;
$$
P(x,0) =
\cases{
c &amp;amp; x &amp;lt; -a \cr
0 &amp;amp; -a &amp;lt; x &amp;lt; a  \cr
c &amp;amp; x &amp;gt; a
}
$$&lt;/p&gt;
&lt;p&gt;In the lecture, we have worked out the solution to one-sided case where the …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;FRAP with a box shaped pulse.&lt;/h3&gt;
&lt;p&gt;The assignment was&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Work out the solution of the diffusion equation for initial condition&lt;/em&gt;
$$
P(x,0) =
\cases{
c &amp;amp; x &amp;lt; -a \cr
0 &amp;amp; -a &amp;lt; x &amp;lt; a  \cr
c &amp;amp; x &amp;gt; a
}
$$&lt;/p&gt;
&lt;p&gt;In the lecture, we have worked out the solution to one-sided case where the initial condition is \(c\) for \(x&amp;lt;0\) and zero otherwise.
Since the diffusion equation is linear, solutions add up and we can use the previous solution to construct one that satisfies these boundary conditions&lt;/p&gt;
&lt;p&gt;$$
P(x,t) = \frac{c}{\sqrt{4\pi Dt}} \left[\int_{-\infty}^{-a} dx_0 e^{-\frac{(x_0-x)^2}{4Dt}} + \int_{a}^{\infty} dx_0 e^{-\frac{(x_0-x)^2}{4Dt}}\right] = \frac{c}{\sqrt{4\pi Dt}} \left[\int_{-\infty}^{-a-x} dx_0 e^{-\frac{x_0^2}{4Dt}} + \int_{a-x}^{\infty} dx_0 e^{-\frac{x_0^2}{4Dt}}\right]
$$
This can be expressed as error functions as before.&lt;/p&gt;
&lt;h3&gt;Diffusion equation in a closed box&lt;/h3&gt;
&lt;p&gt;&lt;em&gt;Find a general solution to the diffusion equation in a box with no-flux boundaries at \(x=\pm L\).
(Hint: Separate variables, trigonometric functions fulfill the boundary conditions.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This problem is most readily solved by separation of variables. With this method, one is looking for a solution of the form \(P(x,t) = g(x)f(t)\).
Plugging this into the diffusion equation, we find&lt;/p&gt;
&lt;p&gt;$$g(x)\frac{d f(t)}{dt} = f(t) \left[D\frac{d^2g(x)}{dx^2} - v\frac{dg(x)}{dx}\right] $$&lt;/p&gt;
&lt;p&gt;We now divide by \(g(x)f(t)\) to find&lt;/p&gt;
&lt;p&gt;$$\frac{1}{f(t)}\frac{d f(t)}{dt} = -\lambda = \frac{1}{g(x)}D\frac{d^2g(x)}{dx^2}$$&lt;/p&gt;
&lt;p&gt;Note that the left side depends only on \(t\) while the right side depends only on \(x\). The only way to make this happen is for both sides to be constant.
In this case, the two equations can be solved and we find&lt;/p&gt;
&lt;p&gt;$$f(t) = e^{-\lambda t} \quad g(x) = a \cos(\sqrt{\lambda/D}x) + b \sin(\sqrt{\lambda/D}x) $$&lt;/p&gt;
&lt;p&gt;The boundary conditions now determine what kind of \(\lambda\) values are admissible.
For no-flux boundaries at \(x=-L\) and \(x=L\), we require either \(b=0\) and&lt;/p&gt;
&lt;p&gt;$$ \sqrt{\lambda/D}L = n \pi \Rightarrow \lambda_n = \frac{n^2\pi^2 D}{L^2} $$&lt;/p&gt;
&lt;p&gt;or \(a=0\) and (lets call the eigenvalue \(\kappa\) instead of \(\lambda\))&lt;/p&gt;
&lt;p&gt;$$ \sqrt{\kappa/D}L = (2n+1)\pi/2 \Rightarrow \kappa_n = \frac{(n+1/2)^2\pi^2 D}{L^2} $$&lt;/p&gt;
&lt;p&gt;We can now write the general solution as&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \sum_{n=0}^\infty a_n e^{-\lambda_n t} \cos(\sqrt{\lambda_n/D}x) + \sum_{n=0}^\infty b_n e^{-\kappa_n t} \sin(\sqrt{\kappa_n/D}x) $$&lt;/p&gt;
&lt;p&gt;We can now express any initial condition as a superposition of these functions with different \(a_n\) and \(b_n\).&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \sum_{n=0}^\infty a_n e^{-\lambda_n t} \cos(\frac{n\pi x}{L}) + \sum_{n=0}^\infty b_n e^{-\kappa_n t} \sin(\frac{(2n+1)\pi x}{2L}) $$&lt;/p&gt;
&lt;p&gt;The trigonometric functions with these eigen values from a complete orthogonal basis such that any arbitrary initial condition can be represented by a suitable choice of \(a_n\) and \(b_n\).
The different \(n\) are often called modes that decay at different rates. The slowest mode, \(\lambda_0\) doesn't decay at all.
It corresponds to a flat stationary solution to which the system will decay.
All other modes fade away over time, and the rate at which they fade is inversely proportional to the wave length of their spatial oscillation.&lt;/p&gt;
&lt;h3&gt;Return to the origin of a random walker.&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;__future__&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;print_function&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;return_intervals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    determine the intervals between successive returns to the origin&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])])&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)]])&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;))))&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;intervals&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;return_times&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    determine the times at which the walker returns to the origin&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shape&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])])&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;[:,&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;))[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)]])&lt;/span&gt;
    &lt;span class="n"&gt;intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;intervals&lt;/span&gt;


&lt;span class="c1"&gt;# generate multiple random walks and analyze them for their return properties.&lt;/span&gt;
&lt;span class="n"&gt;t_max&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10000&lt;/span&gt;
&lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;

&lt;span class="n"&gt;all_intervals&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;all_returns&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;rep&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;position&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cumsum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;randint&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t_max&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt; &lt;span class="n"&gt;axis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;t_max&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;tmp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;return_intervals&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;position&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;position&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;all_intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;extend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

        &lt;span class="n"&gt;tmp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;return_times&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;position&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;position&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;all_returns&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;extend&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;logspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
&lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;all_returns&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_x&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;histogram&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;all_returns&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;bins&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;all_returns&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]),&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dx&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;dim &lt;/span&gt;&lt;span class="si"&gt;%d&lt;/span&gt;&lt;span class="s2"&gt;, n=&lt;/span&gt;&lt;span class="si"&gt;%d&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mf"&gt;1.5&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylim&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;0.00001&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;probability of return&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;time&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;concatenate&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;logspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)])&lt;/span&gt;
&lt;span class="n"&gt;dx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;all_intervals&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;all_intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;all_intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])),&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;dim &lt;/span&gt;&lt;span class="si"&gt;%d&lt;/span&gt;&lt;span class="s2"&gt;, n=&lt;/span&gt;&lt;span class="si"&gt;%d&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;all_intervals&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])))&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylim&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="mf"&gt;0.001&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;legend&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;yscale&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;log&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;fraction shorter&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;interval&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Brownian motion and Diffusion</title><link href="/20171003_theoretical_biophysics.html" rel="alternate"></link><published>2017-10-03T00:00:00+02:00</published><updated>2017-10-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-03:/20171003_theoretical_biophysics.html</id><summary type="html">&lt;h2&gt;How are diffusion constants measured?&lt;/h2&gt;
&lt;p&gt;Most methods to measure diffusion constants in some way or another create a situation with a steep concentration gradient and observe how this gradient gets washed away by diffusion.
One convenient way to do so is by bleaching of fluorescent molecules with a strong laser …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;How are diffusion constants measured?&lt;/h2&gt;
&lt;p&gt;Most methods to measure diffusion constants in some way or another create a situation with a steep concentration gradient and observe how this gradient gets washed away by diffusion.
One convenient way to do so is by bleaching of fluorescent molecules with a strong laser.
Say you labeled your molecule of interest with a small fluorescent dye that bleaches due to photo damage during strong illumination.
If you now bleach the dye in some fraction of your field of view, you have set up a sharp gradient between fluorescent and non-fluorescent versions of your molecule.
By comparing the time course by which the fluorescence relaxes to a uniform state to the solution of the diffusion equation, one can determine the diffusion coefficient.
This method is called &lt;a href="https://en.wikipedia.org/wiki/Fluorescence_recovery_after_photobleaching"&gt;"Fluorescence Recovery After Photobleaching"&lt;/a&gt; or FRAP.&lt;/p&gt;
&lt;p&gt;&lt;img alt="FRAP" src="http://malone.bioquant.uni-heidelberg.de/methods/mobility/FRAP.png"&gt;
Image by bioquant Heidelberg.&lt;/p&gt;
&lt;p&gt;Before we start with sophisticated calculations it is useful to develop some intuition for the problem&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;we want to estimate \(D\) with units \(length^2/time\)&lt;/li&gt;
&lt;li&gt;somehow, a length scale and a time scale need to be involved&lt;/li&gt;
&lt;li&gt;the length scale available is the size of the bleached window \(w\)&lt;/li&gt;
&lt;li&gt;a plausible time scale would be the time to 50% recovery in the middle \(t_{1/2}\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hence we would expect that the diffusion coefficient is roughly \(D\sim w^2/4t_{1/2}\).&lt;/p&gt;
&lt;p&gt;Let's see how this simple reasoning compares to a more careful calculation.
To makes things simpler, assume that we have bleach everything to the right of \(x=0\) such that our initial condition reads&lt;/p&gt;
&lt;p&gt;$$
P(x,0) =
\cases{
c &amp;amp; x&amp;lt;0 \cr
0 &amp;amp; x&amp;gt;0
}
$$&lt;/p&gt;
&lt;p&gt;Since we don't have any boundary conditions in our simplified set-up, we can express the solution as a superposition of many initial point sources distributed along the axis for \(x&amp;lt;0\).&lt;/p&gt;
&lt;p&gt;$$P(x,t) = c \sum_{i} \frac{dx}{\sqrt{4\pi Dt}}e^{-\frac{(x+i dx)^2}{4Dt}}$$&lt;/p&gt;
&lt;p&gt;This is a spiky solution with spacing \(dx\), but we can take the continuum limit and send \(dx\) toward zero. In this case we get:&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{c}{\sqrt{4\pi Dt}} \int_{-\infty}^0 dx_0 e^{-\frac{(x - x_0 )^2}{4Dt}} =  \frac{c}{\sqrt{4\pi Dt}} \int_{-\infty}^{x} dx_0 e^{-\frac{x_0^2}{4Dt}}  = \frac{c}{2}\left[1 - \mathrm{erf}(x/\sqrt{4dt})\right]$$&lt;/p&gt;
&lt;p&gt;This distribution is pathological at \(t=0\) because of an infinitely steep jump at \(x=0\) but for any \(t&amp;gt;0\) is fine.&lt;/p&gt;
&lt;p&gt;In this example without any boundary conditions, the concentration will eventually settle at a uniform value if \(c/2\).
Hence we might want to ask when the concentration at \(x=d&amp;gt;0\) has reached \(c/4\).&lt;/p&gt;
&lt;p&gt;$$P(d,t_{1/2}) = \frac{c}{2}[1 - \mathrm{erf}(d/\sqrt{4Dt_{1/2}})] = \frac{c}{4}$$&lt;/p&gt;
&lt;p&gt;which requires \(\mathrm{erf}(d/\sqrt{4Dt_{1/2}}) = 1/2\) and we get&lt;/p&gt;
&lt;p&gt;$$D \approx 1.1\frac{d^2}{t_{1/2}}$$&lt;/p&gt;
&lt;p&gt;We see that our simple scaling argument got us pretty close to the correct answer.
The prefactor will differ for different geometries and initial conditions.&lt;/p&gt;
&lt;h3&gt;Typical diffusion coefficients&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;GFP in eukaryotic cells: \(\sim 25 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;GFP in prokaryotic cells: \(\sim 10 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;mRNA (actin in mouse): \(\sim 0.2 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H_2O}\) molecule in \(\mathrm{H_2O}\): \(\sim 2000 \mu m^2/s\)&lt;/li&gt;
&lt;li&gt;\(\mathrm{H^+}\) molecule in \(\mathrm{H_2O}\): \(\sim 7000 \mu m^2/s\)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;rarr; protein: \(\sim 10\mu  m^2/s\), small molecule: \(\sim 1000 \mu m^2/s\), big polymer: \(\sim 0.2 \mu m^2/s\).&lt;/p&gt;
&lt;h3&gt;How long does it take for a protein to diffuse a distance \(x\)?&lt;/h3&gt;
&lt;p&gt;The typical distance scale after a time \(t\) is&lt;/p&gt;
&lt;p&gt;$$ \Delta x = \sqrt{2Dt} \quad \Rightarrow \quad t = \frac{\Delta x^2}{2D}$$&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(\Delta x = 1\mu m\): \(t = 0.05s\) [across a bacterium]&lt;/li&gt;
&lt;li&gt;\(\Delta x = 10\mu m\): \(t = 5s\)   [across a eukaryotic cell]&lt;/li&gt;
&lt;li&gt;\(\Delta x = 1000\mu m\): \(t = 5000s=83m\)&lt;/li&gt;
&lt;li&gt;\(\Delta x = 1m\): \(t = 5\times 10^9s=160y\)   [along a peripheral axon]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;rarr; diffusion is fast on short distances, but completely inadequate on long distances.&lt;/p&gt;
&lt;h2&gt;The Stokes-Einstein relation&lt;/h2&gt;
&lt;p&gt;Above we discussed how diffusion coefficients can be measured by FRAP.
In fact, there is simple law that relates the diffusion constant to other properties of the medium and the diffusion particles: this law is called the Stokes-Einstein relation.
Before we derive it, lets take a moment to think about which quantities might matter:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;big things diffuse more slowly, hence the radius \(r\) with units \(length\) is important&lt;/li&gt;
&lt;li&gt;diffusion is thermal motion, hence \(kT\) with units \(energy\) should be relevant&lt;/li&gt;
&lt;li&gt;diffusion is slower at high viscosity, hence \(\eta\) with units \(Force\cdot time/area\) will matter.
    (viscosity is the factor relating the force per unity area to the velocity gradient in fluid flow.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;How can we combine these quantities to give us a diffusion constant with units \(length^2/time\)?
Clearly, \(\eta\) has to be in the denominator and \(kT\) in the numerator. Their ratio has the following units:&lt;/p&gt;
&lt;p&gt;$$ \frac{kT}{\eta}\quad \mathrm{has\ units}\quad \frac{Force\cdot length\cdot area}{Force \cdot time} = \frac{length^3}{time}$$&lt;/p&gt;
&lt;p&gt;Hence \(kT/\eta r\) has the right units and we expect the diffusion coefficient to scale as&lt;/p&gt;
&lt;p&gt;$$D \sim \frac{kT}{\eta r}$$&lt;/p&gt;
&lt;p&gt;Let's see how this holds up when analyzing the problem more carefully.
Einstein considered diffusion in a general potential. We will assume here we have a harmonic potential \(U(x) = \alpha x^2/2\), i.e., a force \(F = \alpha x\) is pulling the particle back to \(x=0\).
The motion of the particle is governed by the diffusion equation&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(x,t)}{\partial t} = D \frac{\partial^2 P(x,t)}{\partial x^2} + \alpha \mu \frac{\partial x P(x,t)}{\partial x}$$&lt;/p&gt;
&lt;p&gt;where \(\mu\) is the mobility of the particle, i.e., the relationship between velocity and pulling force in viscous media. Mobility is the inverse of friction.
At steady state, the distribution of the particle is&lt;/p&gt;
&lt;p&gt;$$P(x) = \frac{1}{\sqrt{2\pi D/\alpha}}e^{ - \frac{\alpha x^2}{2D}} $$&lt;/p&gt;
&lt;p&gt;However, the Maxwell-Boltzmann distribution requires that the equilibrium distribution is also proportional to \(e^{-\alpha x^2/2kT}\). Hence we find&lt;/p&gt;
&lt;p&gt;$$ D = \mu kT $$&lt;/p&gt;
&lt;p&gt;This is one example of a fluctuation-dissipation relation that connects macroscopic quantities such as mobility with the microscopic quantities such as the diffusion coefficients.&lt;/p&gt;
&lt;p&gt;Next, we need to consider how the mobility is related to the geometry of the particle and the solution.
This is given by Stokes' law that relates the friction force to the size of the sphere and the viscosity:&lt;/p&gt;
&lt;p&gt;$$ \mu = \frac{1}{6\pi \eta r} $$&lt;/p&gt;
&lt;p&gt;Deriving this is a standard exercise in fluid dynamics, but nothing that we will go into here. Have a look at &lt;a href="https://en.wikipedia.org/wiki/Stokes%27_law"&gt;the wikipedia page for Stokes' law&lt;/a&gt; if you are curious.&lt;/p&gt;
&lt;p&gt;Putting the Einstein relation and Stokes' law together, we obtain the Stokes-Einstein relation&lt;/p&gt;
&lt;p&gt;$$ D = \frac{kT}{6\pi \eta r} $$&lt;/p&gt;
&lt;p&gt;The remarkable fact about this equation is that \(\eta\) can be measured at macroscopic scales and the microscopic structure does not feature explicitly. Nevertheless, together with the molecular radius and the energy scale \(kT\), it determines the diffusion coefficient of microscopic particles.
Our intuitive scaling ansatz above was off by the factor \(6\pi\), but did capture the essence of the problem.&lt;/p&gt;
&lt;p&gt;The viscosity of water at room temperature is&lt;/p&gt;
&lt;p&gt;$$\eta_0 = 0.001\frac{N s}{m^2} = 10^{-15}\frac{N s}{\mu m^2} = 10^{-3}\frac{pN s}{\mu m^2} $$&lt;/p&gt;
&lt;p&gt;The cytosol typically has a 3fold higher viscosity. So let's see how well the numbers given above compare to the prediction (Stokes' law assumes a perfect sphere, so we don't expect perfect agreement).&lt;/p&gt;
&lt;p&gt;$$ D = \frac{kT}{6\pi \eta} \frac{1}{r} \approx \frac{4pN \cdot nm \cdot \mu m^2}{20\cdot 3\cdot 10^{-3} pN s}\frac{1}{r} = \frac{1}{r} \frac{\mu m^3}{15s} $$&lt;/p&gt;
&lt;p&gt;For GFP with an radius of about 2nm, we find \(D\approx 33 \mu m^2/s\) -- a little high but not too bad. For a water molecule with \(r\approx 0.1 nm\), our predictions is \(D = 660\mu m^2/s\) in the cytosol and \(2000\mu m^2/s\) in pure water as expected.&lt;/p&gt;
&lt;h2&gt;Diffusion in different dimensions&lt;/h2&gt;
&lt;p&gt;So far all our calculations were done in one dimension while most examples we considered were in three dimensions.
In fact, in biological systems diffusion is important in 1,2, and 3 dimensions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;One dimensional problems: diffusion on DNA, along axons, along microtubules, actin filaments etc.&lt;/li&gt;
&lt;li&gt;Two dimensions: diffusion happens within membranes. Membranes are fluid and lipids or proteins move in two-dimensional sheets&lt;/li&gt;
&lt;li&gt;Three dimensions: cytosol, nucleus, signaling between cells.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Luckily, there are only a few differences when going from one to two to three dimensions.
The random kicks a particle experiences from the surrounding molecules are independent in different directions and we can in principle look at each direction separately.
The latter is the reason why looking only at one dimension has gotten us so for.
Going through the same motions for multiple dimensions as previously for one dimension we arrive at a multi-dimensional diffusion equation&lt;/p&gt;
&lt;p&gt;$$ \frac{\partial P(\mathbf{x},t)}{\partial t} = D_i \sum_i \frac{\partial^2 P(\mathbf{x},t)}{\partial x_i^2}  - \sum_i \frac{\partial }{\partial x_i} v_i P(\mathbf{x},t) $$&lt;/p&gt;
&lt;p&gt;For constant advection this has the solution&lt;/p&gt;
&lt;p&gt;$$P(\mathbf{x},t) = \frac{1}{(4\pi D t)^{d/2}} e^{-\frac{\sum_i (x_i-v_i t)^2}{4Dt}} $$&lt;/p&gt;
&lt;p&gt;Without advection (\(v_i=0\)), the typical distance traveled after time \(t\) is \(\Delta x = \sqrt{2dDt}\). This simply an example of the well known fact that variances add and standard deviations grow as square root.&lt;/p&gt;
&lt;p&gt;One important difference, however, is the number of times a molecule returns to the vicinity of the origin at \(x_i=0\). In one dimension, this happens infinitely often, in two dimensions this happens but sometimes involves long waits, and in three dimensions this is not guaranteed to happen.
(It is impossible to get lost in 1d, there is hope in 2d, and you rarely find home when lost and drunk in 3d).&lt;/p&gt;
&lt;h2&gt;How fast do things move?&lt;/h2&gt;
&lt;p&gt;The typical genetic energy of every particle is \(\frac{mv^2}{2}\approx \frac{kT}{2}\) (we are ignoring the factor of 3 for each spatial dimension).
The velocity is therefore given by&lt;/p&gt;
&lt;p&gt;$$ v = \sqrt{\frac{kT}{m}} \approx \sqrt{\frac{4 pN\cdot nm}{m}} = \sqrt{\frac{4 \cdot 10^{-21} N m}{m}} = \sqrt{\frac{4 \cdot10^{-21} kg}{m}}\frac{m}{s} $$&lt;/p&gt;
&lt;p&gt;A protein of 30kDa weighs about \(5\times 10^{-23}\)kg suggesting a velocity of 10m/s. A water molecule with just 20Da (\(3\times 10^{-26}\)kg) would move at several 100m/s.&lt;/p&gt;
&lt;p&gt;If we compare the speed to the diffusion constant, we can work out how often the particle changes direction.
The mean free path (distance without substantial change of direction) is given by \(\delta x = \delta t v\).
The number of steps in time \(t\) is \(n = t/\delta t\) and the total displacement is then&lt;/p&gt;
&lt;p&gt;$$\Delta x = \sqrt{2Dt} \sim \sqrt{\delta x^2 n} =  \sqrt{t \delta t v^2} $$&lt;/p&gt;
&lt;p&gt;Hence the \(\delta t \sim D/v^2 \) which for water would evaluate to \( 2000 \mu m^2 s/10^{17} \mu m^2 = 2\times 10^{-14}s\). During this time, a water molecule travels about \(10^{-10}m\), that is about one atomic radius.&lt;/p&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Work out the solution of the diffusion equation for initial condition
$$
P(x,0) =
\cases{
c &amp;amp; x &amp;lt; -a \cr
0 &amp;amp; -a &amp;lt; x &amp;lt; a  \cr
c &amp;amp; x &amp;gt; a
}
$$&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Find a general solution to the diffusion equation in a box with no-flux boundaries at \(x=\pm L\).
    (Hint: Separate variables, trigonometric functions fulfill the boundary conditions.)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Write a computer program that simulates a random walker in a box of length \(L\) in one, two, and three dimensions. Measure the distribution of times before the walker comes back to the origin. Plot this distribution on a log-log and log-linear scale.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a href="/teaching_notes/20171003_theoretical_biophysics.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h3&gt;
&lt;h3&gt;&lt;a href="20171003_solutions.html"&gt;Solutions to Assignments&lt;/a&gt;&lt;/h3&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="diffusion"></category></entry><entry><title>In-vitro evolution of colistin resistance</title><link href="/201710_BZ.html" rel="alternate"></link><published>2017-10-02T00:00:00+02:00</published><updated>2017-10-02T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-02:/201710_BZ.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How we got into this...&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
        &lt;img src="/talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:45%"&gt;
        &lt;img src="/talk_images/morbidostat_protocol.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:17%; width:25%"&gt;
        &lt;img src="/images/team_pics/bianca_regenbogen.png" class="plain" width=300px&gt;
        &lt;h5&gt;Bianca Regenbogen&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;polymyxin, active against gram negatives&lt;/li&gt;
            &lt;li&gt;interacts with outer membrane&lt;/li&gt;
            &lt;li&gt;old antibiotic, discontinued because of nephrotoxicity&lt;/li&gt;
            &lt;li&gt;today: last-resort antibiotic&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Colistin.svg" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;h4&gt;mcr-1: "mobilized colistin resistance"&lt;/h4&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;first found in China 2 years ago&lt;/li&gt;
            &lt;li&gt;now found in &gt;30 countries&lt;/li&gt;
            &lt;li&gt;mainly &lt;i&gt;E. coli&lt;/i&gt;, &lt;i&gt;Klebsellia&lt;/i&gt;, and &lt;i&gt;Enterobacter&lt;/i&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How does …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How we got into this...&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:40%"&gt;
        &lt;img src="/talk_images/kitp_drug_resistance_workshop.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:45%"&gt;
        &lt;img src="/talk_images/morbidostat_protocol.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:50%; left:17%; width:25%"&gt;
        &lt;img src="/images/team_pics/bianca_regenbogen.png" class="plain" width=300px&gt;
        &lt;h5&gt;Bianca Regenbogen&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;polymyxin, active against gram negatives&lt;/li&gt;
            &lt;li&gt;interacts with outer membrane&lt;/li&gt;
            &lt;li&gt;old antibiotic, discontinued because of nephrotoxicity&lt;/li&gt;
            &lt;li&gt;today: last-resort antibiotic&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="https://upload.wikimedia.org/wikipedia/commons/0/03/Colistin.svg" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:50%; left:10%; width:35%"&gt;
        &lt;h4&gt;mcr-1: "mobilized colistin resistance"&lt;/h4&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;first found in China 2 years ago&lt;/li&gt;
            &lt;li&gt;now found in &gt;30 countries&lt;/li&gt;
            &lt;li&gt;mainly &lt;i&gt;E. coli&lt;/i&gt;, &lt;i&gt;Klebsellia&lt;/i&gt;, and &lt;i&gt;Enterobacter&lt;/i&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;How does colistin resistance emerge in situ?&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:35%"&gt;
        &lt;ul&gt;
            &lt;li&gt;How fast?&lt;/li&gt;
            &lt;li&gt;Which mutations?&lt;/li&gt;
            &lt;li&gt;Which order?&lt;/li&gt;
            &lt;li&gt;Genetic background?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Two &lt;i&gt;P. aeruginosa&lt;/i&gt; strains from blood stream infections&lt;/li&gt;
        &lt;li&gt;Extensively drug resistant phenotypes&lt;/li&gt;
        &lt;li&gt;PA77:
            &lt;ul&gt;
                &lt;li&gt;Plasmid 40kb, chromosome 3.7Mb, 2.3Mb, 1Mb contigs&lt;/li&gt;
                &lt;li&gt;blaIMP-8, blaOXA-10, blaOXA-50&lt;/li&gt;
                &lt;li&gt;various aminoglycoside resistance determinants&lt;/li&gt;
                &lt;li&gt;fosfomycin resistance&lt;/li&gt;
                &lt;li&gt;mostly on plasmid&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li&gt;PA83:
            &lt;ul&gt;
                &lt;li&gt;Plasmid 400kb, chromosome 6.8Mb&lt;/li&gt;
                &lt;li&gt;blaVIM-2, blaOXA-50&lt;/li&gt;
                &lt;li&gt;various aminoglycoside resistance determinants&lt;/li&gt;
                &lt;li&gt;fosfomycin resistance&lt;/li&gt;
                &lt;li&gt;in several integrons in the chromsome&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;From human patients to in-vitro experiments&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Morbidostat by Toprak et al.&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/toprak_morbidostat_feedback.png"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Computer measures OD&lt;/li&gt;
                &lt;li&gt;Controls pumps to add medium or AB&lt;/li&gt;
                &lt;li&gt;Waste is removed&lt;/li&gt;
                &lt;li&gt;Morbidostat&amp;rarr; growth rate is kept constant&lt;/li&gt;
                &lt;li&gt;Chemostat &amp;rarr; dilution is constant&lt;/li&gt;
                &lt;li&gt;Turbidostat &amp;rarr; OD is constant&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/toprak_morbidostat_trace.png"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Our morbidostat&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_media_pumps.jpg"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;more flexible software&lt;/li&gt;
                &lt;li&gt;more compact design&lt;/li&gt;
                &lt;li&gt;cheaper pumps and controllers&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_electronics.jpg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:55%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_inside.jpg"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Running the morbidostat&lt;/h3&gt;
    &lt;div style="position:absolute; top:10%; left:15%; width:28%"&gt;
    &lt;img src="talk_images/morbidostat_feedback.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:38%"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Typically 10 cultures in parallel&lt;/li&gt;
            &lt;li&gt;Measure OD every 30s&lt;/li&gt;
            &lt;li&gt;Adjust AB conc every 10min&lt;/li&gt;
            &lt;li&gt;Samples for sequencing every 2-3 days&lt;/li&gt;
            &lt;li&gt;Total duration: 3weeks&lt;/li&gt;
            &lt;li&gt;~50'000 OD measurements per culture&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;ul&gt;
            &lt;li&gt;Most parts can be autoclaved&lt;/li&gt;
            &lt;li&gt;Pumps sterilized with bleach/ethanol washes&lt;/li&gt;
            &lt;li&gt;Replace vials every few days to avoid biofilms&lt;/li&gt;
            &lt;li&gt;New piezo-pumps can be autoclaved as well&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:15%; left:50%; width:55%"&gt;
        &lt;video controls autoplay  width=800px&gt; &lt;source src="/talk_images/bottle.mp4" type="video/mp4"&gt;&lt;/video&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Colistin resistance emerges within 2 weeks&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_PA77_v01_drug.svg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/morbidostat_resistance.svg"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/morbidostat_etest.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/morbidostat_resistance.svg"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section&gt;
    &lt;img src="/talk_images/morbidostat_PA83_all.png" height="800px"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Mutation trajectories in strain PA77&lt;/h2&gt;
    &lt;img src="/talk_images/morbidostat_PA77_snps_in_vial_v01.png" width=1200px&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Whole genome deep sequencing ($&gt;200x$) with Illumina. &lt;/li&gt;
        &lt;li&gt;Track rare mutations, no matter where they are &lt;/li&gt;
        &lt;li&gt;Mutation frequencies to about 5% accuracy&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Mutation trajectories in strain PA83&lt;/h2&gt;
    &lt;img src="/talk_images/morbidostat_PA83_snps_in_vial_v12.png" width=1200px&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Recurrent mutations PA77&lt;/h3&gt;
&lt;small&gt;
&lt;table&gt;
&lt;b&gt;&lt;tr&gt;&lt;td&gt;&lt;i&gt;Gene&lt;/i&gt;&lt;/td&gt;&lt;td&gt;locus tag PAO1 &lt;/td&gt;&lt;td&gt; v01 &lt;/td&gt;&lt;td&gt;v02 &lt;/td&gt;&lt;td&gt;v03 &lt;/td&gt;&lt;td&gt;v04 &lt;/td&gt;&lt;td&gt;v05 &lt;/td&gt;&lt;td&gt; v05a &lt;/td&gt;&lt;td&gt;   v08a   &lt;/td&gt;&lt;td&gt; v10a &lt;/td&gt;&lt;td&gt;   v11a&lt;/td&gt;&lt;/tr&gt;&lt;/b&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrB&lt;/i&gt; &lt;/td&gt;&lt;td&gt;PA4777&lt;/td&gt;&lt;td&gt; V9A,L17Q &lt;/td&gt;&lt;td&gt; L90Q,E320K &lt;/td&gt;&lt;td&gt; V9A &lt;/td&gt;&lt;td&gt; P216Q &lt;/td&gt;&lt;td&gt; P254L &lt;/td&gt;&lt;td&gt; P169X,M292I &lt;/td&gt;&lt;td&gt; S257N &lt;/td&gt;&lt;td&gt; N41I,P169X &lt;/td&gt;&lt;td&gt; H261Y&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrE&lt;/i&gt;  &lt;/td&gt;&lt;td&gt;PA2043&lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N&lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28C &lt;/td&gt;&lt;td&gt; Y28N &lt;/td&gt;&lt;td&gt; Y28N&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lptD&lt;/i&gt;&lt;/td&gt;&lt;td&gt;PA3559&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt;Y803X&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;L538R&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;i&gt;pmrE&lt;/i&gt;: Most PA strains are 28C &amp;rarr; reversion&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt;: Many mutations that constitutively activate the gene&lt;br&gt;&amp;rarr; canonical colistin resistance gene&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;lptD&lt;/i&gt;: code for outer membrane protein, LPS transport.&lt;br&gt;&amp;rarr; has been associated with colistin resistance in &lt;i&gt;Acinetobacter&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Recurrent mutations in PA83&lt;/h3&gt;
&lt;font size=-1&gt;
    &lt;table&gt;
&lt;th&gt;&lt;td&gt; locus tag PAO1 &lt;/td&gt;&lt;td&gt; v02 &lt;/td&gt;&lt;td&gt;v03 &lt;/td&gt;&lt;td&gt;v05 &lt;/td&gt;&lt;td&gt;v06 &lt;/td&gt;&lt;td&gt;v08 &lt;/td&gt;&lt;td&gt;v11 &lt;/td&gt;&lt;td&gt;v12 &lt;/td&gt;&lt;td&gt;v14 &lt;/td&gt;&lt;td&gt;v15 &lt;/td&gt;&lt;/th&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxC&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4406 &lt;/td&gt;&lt;td&gt; P101S &lt;/td&gt;&lt;td&gt; V222A,S106G &lt;/td&gt;&lt;td&gt; V222A &lt;/td&gt;&lt;td&gt; V164G,A107T &lt;/td&gt;&lt;td&gt; A107T,G21W,F176S &lt;/td&gt;&lt;td&gt; A107T,I131F &lt;/td&gt;&lt;td&gt; M103I &lt;/td&gt;&lt;td&gt; D232E,D232G,V217F,V217A &lt;/td&gt;&lt;td&gt; V222A,S106G &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrB&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4777 &lt;/td&gt;&lt;td&gt; L96R &lt;/td&gt;&lt;td&gt; L171P &lt;/td&gt;&lt;td&gt; L87P &lt;/td&gt;&lt;td&gt; F51L &lt;/td&gt;&lt;td&gt; S8P,E320K &lt;/td&gt;&lt;td&gt; V9A &lt;/td&gt;&lt;td&gt; G123S &lt;/td&gt;&lt;td&gt; E320K,A248T,L167P &lt;/td&gt;&lt;td&gt; R259H,V361M &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;putative  tranferase    &lt;/td&gt;&lt;td&gt;PA3853 &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt; Y3C,G62S &lt;/td&gt;&lt;td&gt; V34A,Y155C &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt; R60C,Y216C,E185G &lt;/td&gt;&lt;td&gt; C226G &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; V122A,E185G &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;asparagine synthetase   &lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt; L365P &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt; L425P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G32S &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt; W153* &lt;/td&gt;&lt;td&gt; L365P,W153*,V286M &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;migA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA0705 &lt;/td&gt;&lt;td&gt; H219P &lt;/td&gt;&lt;td&gt; C25R,N27S &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; D106G &lt;/td&gt;&lt;td&gt; Q191R,V22A &lt;/td&gt;&lt;td&gt; T196P,H123P &lt;/td&gt;&lt;td&gt; H219P &lt;/td&gt;&lt;td&gt; A168T &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;mutS&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA3620 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; T51P &lt;/td&gt;&lt;td&gt; T51P,T287P &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxO2&lt;/i&gt;            &lt;/td&gt;&lt;td&gt;PA0936 &lt;/td&gt;&lt;td&gt; D163A &lt;/td&gt;&lt;td&gt; D163N &lt;/td&gt;&lt;td&gt; W209* &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; D163A &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; frameshift &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; in-frame deletion &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pmrA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4776 &lt;/td&gt;&lt;td&gt; L11Q &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; L11P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R159L,G15V,N172D &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;cupB5&lt;/i&gt;            &lt;/td&gt;&lt;td&gt;PA4082&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G260X,R26C &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; P139P &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;pdtA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA0690 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; A3885V,A3885A &lt;/td&gt;&lt;td&gt; G1527X &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;morA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA4601 &lt;/td&gt;&lt;td&gt; R1199H &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; G143D &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;lpxA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA3644 &lt;/td&gt;&lt;td&gt; R96S &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R191C &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;priA&lt;/i&gt;             &lt;/td&gt;&lt;td&gt; PA5050 &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; L38L &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; R689R &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;traN&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; W773* &lt;/td&gt;&lt;td&gt; G912D &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;wbpM&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA3141&lt;/td&gt;&lt;td&gt; E273K &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; E273G &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;i&gt;mscL&lt;/i&gt;             &lt;/td&gt;&lt;td&gt;PA4614&lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; V86I &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt;  &lt;/td&gt;&lt;td&gt; S35P &lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
&lt;/font&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;i&gt;lpxC&lt;/i&gt;: lipid A biosynthesis&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt;: Many mutations that constitutively activate the gene&lt;br&gt;&amp;rarr; canonical colistin resistance gene&lt;/li&gt;
    &lt;li&gt;&lt;i&gt;lptD&lt;/i&gt;: code for outer membrane protein, LPS transport.&lt;br&gt;&amp;rarr; has been associated with colistin resistance in &lt;i&gt;Acinetobacter&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutations in &lt;i&gt;pmrAB&lt;/i&gt;&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:95%"&gt;
    &lt;img src="/talk_images/morbidostat_pmrAB_mutation_olaitan.png"&gt;
    &lt;span&gt;Previously observed and new mutations in &lt;i&gt;pmrAB&lt;/i&gt; (blue: PA83, red: PA77)&lt;/span&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Olaitan et al. Front. Micro., 2014&lt;/span&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Mutator strains&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:45%"&gt;
    &lt;img src="/talk_images/morbidostat_mutators.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:45%"&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;1/9 PA77 cultures developed mutator phenotypes&lt;/li&gt;
            &lt;li&gt;6/9 PA83 cultures developed mutator phenotypes&lt;/li&gt;
            &lt;li&gt;about 10-100 fold more mutations, mostly unique&lt;/li&gt;
            &lt;li&gt;non-mutator: almost only non-synonymous mutations&lt;/li&gt;
            &lt;li&gt;mutator: pretty random mix&lt;/li&gt;
            &lt;li&gt;mutator/non-Mutator develop resistance at similar speed/similar mutations&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Insertions and deletions&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:55%"&gt;
    &lt;img src="/talk_images/morbidostat_plasmid_deletion.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:65%; width:35%"&gt;
        &lt;h5&gt;Stable genome!&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;few large deletions&lt;/li&gt;
            &lt;li&gt;a small number if gene-inactivating deletions&lt;/li&gt;
            &lt;li&gt;one notable progressive loss of parts of the resistance plasmid in one PA77 strain&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Comparison of the two strains&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:35%"&gt;
        &lt;h5&gt;PA77&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;few mutations&lt;/li&gt;
            &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt;: universal, different positions&lt;/li&gt;
            &lt;li&gt;&lt;i&gt;pmrE&lt;/i&gt;: reversion at specific position&lt;/li&gt;
            &lt;li&gt;one mutator&lt;/li&gt;
            &lt;li&gt;resistance increased around at day 8-10&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:35%"&gt;
        &lt;h5&gt;PA83&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;messy -- many mutations&lt;/li&gt;
            &lt;li&gt;&lt;i&gt;lpxC, pmrB&lt;/i&gt;: universal, different positions&lt;/li&gt;
            &lt;li&gt;&lt;i&gt;migA, pmrA, lpxO2&lt;/i&gt;: common, different positions&lt;/li&gt;
            &lt;li&gt;6 out of 9 mutators, possibly prexisting&lt;/li&gt;
            &lt;li&gt;resistance increased around at day 5-6&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:55%; left:35%; width:35%"&gt;
        &lt;h5&gt;Take home:&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;&lt;i&gt;pmrB&lt;/i&gt; is a common core of colistin resistance &lt;br&gt;&amp;rarr; 2-component system that regulates LPS modification &lt;/li&gt;
            &lt;li&gt;otherwise strain specific mutation trajectories, mostly involving LPS mods&lt;/li&gt;
            &lt;li&gt;Very reproducible in the same strain&lt;/li&gt;
            &lt;li&gt;Phenotypic trajectories are similar&lt;/li&gt;
            &lt;li&gt;No strict order, but &lt;i&gt;pmrB&lt;/i&gt; tends to mutate first&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;High quality reference genomes and high coverage are essential&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:55%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;without good reference, lots of artifactual polymorphisms&lt;/li&gt;
            &lt;li&gt;duplicated regions are collapsed in mapping/assembly &amp;rarr; spurious diversity&lt;/li&gt;
            &lt;li&gt;obtaining good references is straightforward with long read sequencing (PacBio/nanopore)&lt;/li&gt;
            &lt;li&gt;Illumina coverage is a poor guide of duplications. Only relative differences in coverage are meaningful.&lt;/li&gt;
            &lt;li&gt;mutations that change in frequency are most likely real than SNPs that remain at similar frequency (need high coverage)&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Potential of morbidostat-like devices&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:35%"&gt;
        &lt;h5&gt;Quantities that can be monitored:&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;features that can be captured by a camera or photodetector&lt;/li&gt;
            &lt;li&gt;optical density&lt;/li&gt;
            &lt;li&gt;fluoresence&lt;/li&gt;
            &lt;li&gt;...&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:35%"&gt;
        &lt;h5&gt;Control:&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;additions of several different solutions&lt;/li&gt;
            &lt;li&gt;each vial can be individually addressed&lt;/li&gt;
            &lt;li&gt;rapid feedback on measured parameters&lt;/li&gt;
            &lt;li&gt;custom schedules (e.g.~pharmacokinetics)&lt;/li&gt;
            &lt;li&gt;vary temperature, light, etc&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:55%; left:32%; width:35%"&gt;
        &lt;h5&gt;Prerequisites/challenges&lt;/h5&gt;
        &lt;small&gt;&lt;ul&gt;
            &lt;li&gt;electronic and mechanical workshop&lt;/li&gt;
            &lt;li&gt;a bit of programming&lt;/li&gt;
            &lt;li&gt;with flexibility comes the need to specify&lt;/li&gt;
            &lt;li&gt;lots of media&lt;/li&gt;
            &lt;li&gt;avoiding contamination&lt;/li&gt;
            &lt;li&gt;...&lt;/li&gt;
        &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Acknowledgements&lt;/h3&gt;
    &lt;p&gt;
    &lt;object data="/images/team_pics/bianca_regenbogen.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/silke_peter.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/matthias_willmann.png" height=150px&gt;&lt;/object&gt;
    &lt;/p&gt;&lt;br&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Bianca Regenbogen, now Uni Hohenheim&lt;/li&gt;
        &lt;li&gt;Silke Peter, UKT Tübingen&lt;/li&gt;
        &lt;li&gt;Matthias Willmann, UKT Tübingen&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;p&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/p&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Estimating time of HIV-1 infection from next-generation sequence diversity</title><link href="/puller_estimating_2017.html" rel="alternate"></link><published>2017-10-02T00:00:00+02:00</published><updated>2017-10-02T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-10-02:/puller_estimating_2017.html</id><summary type="html">&lt;p&gt;Author summary HIV-1 establishes a chronic infection, which may last for many years before the infected person is diagnosed. The resulting uncertainty in the date of infection leads to difficulties in estimating the number of infected but undiagnosed persons as well as the number of new infections, which is necessary …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Author summary HIV-1 establishes a chronic infection, which may last for many years before the infected person is diagnosed. The resulting uncertainty in the date of infection leads to difficulties in estimating the number of infected but undiagnosed persons as well as the number of new infections, which is necessary for developing appropriate public health policies and interventions. Such estimates would be much easier if the time since HIV-1 infection for newly diagnosed cases could be accurately estimated. Three types of biomarkers have been shown to contain information about the time since HIV-1 infection, but unfortunately, they only distinguish between recent and long-term infections (concentration of HIV-1-specific antibodies) or are imprecise (immune status as measured by levels of CD4+ T-lymphocytes and viral sequence diversity measured by polymorphisms in Sanger sequences). In this paper, we show that recent advances in sequencing technologies, i.e. the development of next generation sequencing, enable significantly more precise determination of the time since HIV-1 infection, even many years after the infection event. This is a significant advance which could translate into more effective HIV-1 prevention.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201709_DozentenVerein.html" rel="alternate"></link><published>2017-09-27T00:00:00+02:00</published><updated>2017-09-27T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-27:/201709_DozentenVerein.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute;top:52%; left:55%; width: 50%"&gt;
    &lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
    &lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution in different parts of the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;Typical tree&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextflu.png" height=800px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Brownian motion and Diffusion -- Solutions to problems</title><link href="/20170926_solutions.html" rel="alternate"></link><published>2017-09-26T00:00:00+02:00</published><updated>2017-09-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-26:/20170926_solutions.html</id><summary type="html">&lt;h2&gt;Problem 1&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Verify that \(P(x,n)\) solves the Master equation&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;$$P(x,n+1) = pP(x-1,n) + (1-p)P(x+1,n)$$&lt;/p&gt;
&lt;p&gt;We established in the lecture, that \(x=2k-n\) where \(l\) is binomially distributed. Now observe that \(P(x,n+1)\) is binomial with \(k=(x+n+1 …&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Problem 1&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;Verify that \(P(x,n)\) solves the Master equation&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;$$P(x,n+1) = pP(x-1,n) + (1-p)P(x+1,n)$$&lt;/p&gt;
&lt;p&gt;We established in the lecture, that \(x=2k-n\) where \(l\) is binomially distributed. Now observe that \(P(x,n+1)\) is binomial with \(k=(x+n+1)/2\), \(P(x-1,n)\) is binomial with \(k' = (x-1+n)/2 = k-1\), and \(P(x+1,n)\) is binomial with \(k''=(x+1+n)/2=k\). Hence we need to show that binomial distributions observe&lt;/p&gt;
&lt;p&gt;$$P(k,n+1) = pP(k-1,n) + (1-p)P(k,n) = p^k (1-p)^{n+1-k} n!\left[\frac{1}{(k-1)!(n-k+1)!} + \frac{1}{(k-n)!(n-k)!}\right] $$&lt;/p&gt;
&lt;p&gt;Rearranging left right hand side, we have&lt;/p&gt;
&lt;p&gt;$$P(k,n+1) = p^k (1-p)^{n+1-k} n!\left[\frac{k}{k!(n-k+1)!} + \frac{n-k+1}{(k-n)!(n-k+1)!}\right]  = \frac{(n+1)!}{k!(n-k+1)!}p^k(1-p)^{n-k+1}$$&lt;/p&gt;
&lt;p&gt;and we are done!&lt;/p&gt;
&lt;h2&gt;Problem 2&lt;/h2&gt;
&lt;p&gt;Show that&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{(x-vt)^2}{4Dt}}$$&lt;/p&gt;
&lt;p&gt;solves the diffusion equation. Of course this would be easier if \(v=0\).
If, however, we look at the solution in terms of the variable \(y=x-vt\), there is no sign of \(v\) in the solution:&lt;/p&gt;
&lt;p&gt;$$P'(y,t) = \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{y^2}{4Dt}}$$&lt;/p&gt;
&lt;p&gt;In other words, in a coordinate system that moves with velocity \(v\), our problems behaves has if velocity was zero.
But we need to tranform the diffusion equation to the new system of variables.
At constant \(y\), the derivative of \(P'\) with respect to \(t\) picks up the translation term:&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P'(t,y)}{\partial t} = \frac{d P(t,y+vt)}{d t} = \frac{\partial P(t,y+vt)}{\partial t} + v \frac{\partial P(t,y+vt)}{\partial x}$$&lt;/p&gt;
&lt;p&gt;When keeping \(t\) constant, nothing changes and \(dx = dy\). Hence in terms of \(P'(y,t)\), the diffusion equation looks like this:&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(t,x)}{\partial t} = \frac{\partial P'(t,y)}{\partial t} - v \frac{\partial P'(t,y)}{\partial y}  = \frac{\partial^2 P'(t,y)}{\partial y^2} - v \frac{\partial P'(t,y)}{\partial y}$$&lt;/p&gt;
&lt;p&gt;And we find that in the variable \(y=x-vt\), there is no advection term. Without the advection term, solving the diffusion equation is not too hard.&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(x,t)}{\partial t} = \frac{e^{-x^2/4Dt}}{\sqrt{4\pi Dt}} \left[-\frac{1}{2t} + \frac{x^2}{4Dt^2}\right] $$&lt;/p&gt;
&lt;p&gt;For the two derivatives with respect to \(x\), we get&lt;/p&gt;
&lt;p&gt;$$ \frac{\partial P(x,t)}{\partial x^2} = \frac{e^{-x^2/4Dt}}{\sqrt{4\pi Dt}} \left[\frac{x^2}{4 Dt^2} - \frac{1}{2t}\right] $$&lt;/p&gt;
&lt;p&gt;which are obviously equal.&lt;/p&gt;
&lt;h2&gt;Problem 3&lt;/h2&gt;
&lt;p&gt;The solution to the diffusion equation with absorbing boundary at \(x=0\) with an spike at \(x=x_0\) at time \(t=0\) is&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}\left[e^{-(x-x_0)^2/4Dt} - e^{-(x-x_0)^2/4Dt}] $$&lt;/p&gt;
&lt;p&gt;The flux is \(j(x,t) = -D\frac{\partial}{\partial x}P(x,t)\) and evaluates to&lt;/p&gt;
&lt;p&gt;$$j(x,t) =  \frac{D}{\sqrt{4\pi Dt}} \left[\frac{x-x_0}{2Dt}e^{-(x-x_0)^2/4Dt} - \frac{x+x_0}{2Dt}e^{-(x+x_0)^2/4Dt}\right]$$&lt;/p&gt;
&lt;p&gt;At \(x=0\), this simplified to&lt;/p&gt;
&lt;p&gt;$$j(0,t) = -\frac{e^{-x_0^2/4Dt}}{\sqrt{4\pi D}} \frac{x_0}{t^{3/2}} $$&lt;/p&gt;
&lt;p&gt;Note that this solution is governed by the time scale \(\tau = x_0^2/4D\) which determines how rapidly the particles are absorbed.
To get an idea of the time dependence of this flux, lets plot it&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;flux&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;x0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;x_0&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sqrt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;x_0&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="mf"&gt;1.5&lt;/span&gt;

&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1001&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;D&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="n"&gt;x_0&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;figure&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flux&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;x_0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;savefig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;diffusion_flux.png&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;img alt="diffusion flux" src="/teaching_images/diffusion_flux.png"&gt;&lt;/p&gt;
&lt;p&gt;Does all of the solution gets eventually absorbed? (it does, the original solution tends to zero with \(t\to\infty\)) Hence the integral of the flux over time should equal one!&lt;/p&gt;
&lt;p&gt;$$1 =  \int_0^\infty dt \frac{e^{-x_0^2/4Dt}}{\sqrt{4\pi D}} \frac{x_0}{t^{3/2}} $$&lt;/p&gt;
&lt;p&gt;To evaluate this, substitute \(y = x_0/\sqrt{2Dt}\). The derivative \(dy/dt = -x_0/\sqrt{8D} t^{-3/2} \).&lt;/p&gt;
&lt;p&gt;$$\sqrt{\frac{2}{\pi}} \int_0^\infty \frac{dt}{\sqrt{8D}t^{3/2}} e^{-x_0^2/4Dt} = \sqrt{\frac{2}{\pi}} \int_0^\infty dy e^{-y^2/2} = 1$$&lt;/p&gt;
&lt;p&gt;So yes, we explicitly confirm that the flux integrates to one and in one dimension we inevitably hit the absorbing boundary, no matter how far away we start.&lt;/p&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="solution"></category></entry><entry><title>Brownian motion and Diffusion</title><link href="/20170926_theoretical_biophysics.html" rel="alternate"></link><published>2017-09-26T00:00:00+02:00</published><updated>2017-09-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-26:/20170926_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Small object are constantly bounced around by thermal motions of surrounding molecules.
This dynamics is called &lt;a href="https://en.wikipedia.org/wiki/Brownian_motion"&gt;Brownian motion&lt;/a&gt;  in honour of the botanist Robert Brown who noticed jittering of pollen grains under a microscope.&lt;/p&gt;
&lt;div style="width:500px; margin-left:auto; margin-right:auto"&gt;
&lt;img src="https://upload.wikimedia.org/wikipedia/commons/c/c2/Brownian_motion_large.gif" width=500px&gt;
By &lt;a href="//commons.wikimedia.org/w/index.php?title=User:Lookang&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="User:Lookang (page does not exist)"&gt;Lookang&lt;/a&gt; Author of computer model: Francisco Esquembre, Fu-Kwun and lookang - &lt;span class="int-own-work" lang="en"&gt;Own work&lt;/span&gt;, &lt;a href="http://creativecommons.org/licenses/by-sa/3.0" title="Creative Commons Attribution-Share Alike 3.0"&gt;CC BY-SA 3 …&lt;/a&gt;&lt;/div&gt;</summary><content type="html">&lt;p&gt;Small object are constantly bounced around by thermal motions of surrounding molecules.
This dynamics is called &lt;a href="https://en.wikipedia.org/wiki/Brownian_motion"&gt;Brownian motion&lt;/a&gt;  in honour of the botanist Robert Brown who noticed jittering of pollen grains under a microscope.&lt;/p&gt;
&lt;div style="width:500px; margin-left:auto; margin-right:auto"&gt;
&lt;img src="https://upload.wikimedia.org/wikipedia/commons/c/c2/Brownian_motion_large.gif" width=500px&gt;
By &lt;a href="//commons.wikimedia.org/w/index.php?title=User:Lookang&amp;amp;action=edit&amp;amp;redlink=1" class="new" title="User:Lookang (page does not exist)"&gt;Lookang&lt;/a&gt; Author of computer model: Francisco Esquembre, Fu-Kwun and lookang - &lt;span class="int-own-work" lang="en"&gt;Own work&lt;/span&gt;, &lt;a href="http://creativecommons.org/licenses/by-sa/3.0" title="Creative Commons Attribution-Share Alike 3.0"&gt;CC BY-SA 3.0&lt;/a&gt;, &lt;a href="https://commons.wikimedia.org/w/index.php?curid=19140345"&gt;Link&lt;/a&gt;
&lt;/div&gt;
&lt;p&gt;Despite (because) of the randomness of the process, the laws governing Brownian motion are simple and universal.&lt;/p&gt;
&lt;h2&gt;Discrete random walks&lt;/h2&gt;
&lt;p&gt;Consider a object at position \(x\) that at every time step moves 1 unit to the right with probability \(p\) and to the left with probability \(1-p\).
Its displacement after \(n\) steps will be \(\Delta x = 2k-n\) where \(k\) is number of steps to the right.
The distribution of displacements evidently follows a binomial distribution with&lt;/p&gt;
&lt;p&gt;$$P(k,n) = \frac{n!}{k!(n-k)!}p^k(1-p)^{n-k}$$&lt;/p&gt;
&lt;p&gt;The average displacement is simply given by&lt;/p&gt;
&lt;p&gt;$$\langle \Delta x \rangle = 2\langle k \rangle - n =  2np \sum_k \frac{(n-1)!}{(k-1)!(n-k)!}p^{k-1}(1-p)^{n-k} - n = (2p-1)n$$&lt;/p&gt;
&lt;p&gt;For a symmetric random walk with \(p=0.5\), the average displacement is zero as expected for random walks.
This expression characterizes the average behavior, but the essence of Brownian motion lies in their randomness.
To quantify the randomness in displacement, one typically looks at the mean squared deviation, the is the variance of the process.&lt;/p&gt;
&lt;p&gt;$$\langle (\Delta x - \langle \Delta x\rangle)^2\rangle = \langle (2k-n - (2p-1)n)^2\rangle = 4\langle (k - p n)^2\rangle = 4\langle k^2 - p^2 n^2\rangle=4\langle k(k-1) + np - p^2 n^2\rangle$$&lt;/p&gt;
&lt;p&gt;We have hence reduced the problem of calculating the variance to calculating the second moment.
The very last step was merely a convenience transformation:&lt;/p&gt;
&lt;p&gt;$$\langle k(k-1)\rangle=  p^2 n(n-1)\sum_k \frac{(n-2)!}{(k-2)!(n-k)!}p^{k-2}(1-p)^{n-k}  = p^2 n(n-1) $$&lt;/p&gt;
&lt;p&gt;Plugging this back into the above, we get&lt;/p&gt;
&lt;p&gt;$$\langle (\Delta x - \langle \Delta x\rangle)^2\rangle = (4\langle k(k-1) + np - p^2 n^2 = 4n(p-p^2) = 4np(1-p) $$.&lt;/p&gt;
&lt;p&gt;The important observation is that the variance grows linearly with time, that is the number of steps \(n\).
Since the variance is "distance squared", the typical displacement only grows with the square root of time.
This is a universal property of diffusive processes: Due to the cancellation of random backwards and forward jitter, displacements don't grow linearly in time as they would in ballistic (directed) motion.&lt;/p&gt;
&lt;h3&gt;Master equations&lt;/h3&gt;
&lt;p&gt;Above, we have written down the probability distribution of the position of our random walker right away because we knew the answer from elementary combinatorics.
We won't always be so lucky.
So lets explore a more general way of looking at the problem.
Consider the probability \(P(x,n)\) of observing our particle at position \(x\) at time \(n\).
We can write down the following equation for the distribution at time \(n+1\):&lt;/p&gt;
&lt;p&gt;$$P(x,n+1) = pP(x-1,n) + (1-p)P(x+1,n) $$&lt;/p&gt;
&lt;p&gt;where the first term corresponds to hops towards the right, the second term to the left.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Very that the distribution from above \(P(x,n)\) solves this equation!&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Diffusion in continuous time and space&lt;/h3&gt;
&lt;p&gt;Above we assumed that our particle is moved by a fixed amount at each time interval.
That is of course not what actually happens.
In reality, every object is bombarded by many molecules every nano-second and follows a continuous trajectory.
Let make time continuous first and assume discrete left/right jumps happen with rate \(\nu\).
\(P(x,t+\Delta t)\) the obeys&lt;/p&gt;
&lt;p&gt;$$P(x,t+\Delta t) = (1-\nu\Delta t)P(x,t) + \frac{\nu\Delta t}{2} (P(x-1,t) + P(x+1,t)) $$&lt;/p&gt;
&lt;p&gt;which can be rearranged into a differential equation&lt;/p&gt;
&lt;p&gt;$$\frac{d P(x,t)}{dt} = \frac{\nu}{2} (P(x-1,t) - 2P(x,t) + P(x+1,t))$$&lt;/p&gt;
&lt;p&gt;The combination of terms on the right is a discrete approximation of a second derivative that we'll come across again below.&lt;/p&gt;
&lt;p&gt;Let's do away with the discrete steps and just assume that there is a certain function \(g(\delta x, \delta t)\) that describes the distribution of displacement \(\delta x\) after an infinitesimal time \(\delta t\).
We can write&lt;/p&gt;
&lt;p&gt;$$P(x,t+\Delta t) = \int d\delta x g(\delta x, \Delta t) P(x-\delta x, t) \approx \int d\delta x g(\delta x, \Delta t) \left[ P(x, t) - \delta x \frac{\partial P(x,t)}{\partial x} + \frac{\delta x^2}{2} \frac{\partial P(x,t)}{\partial x^2}\right]$$&lt;/p&gt;
&lt;p&gt;where we assumed that \(\delta x\) remains small during the small time interval considered and expanded the distribution around \(x\).
Rearranging yields&lt;/p&gt;
&lt;p&gt;$$\frac{dP(x,t)}{dt} =  - \frac{\langle\delta x\rangle_{\Delta t}}{\Delta t} \frac{\partial P(x,t)}{\partial x} + \frac{\langle \delta x^2\rangle_{\Delta t}}{2\Delta t}\frac{\partial P(x,t)}{\partial x^2}$$.&lt;/p&gt;
&lt;p&gt;The coefficient  \(v=\frac{\langle\delta x\rangle_{\Delta t}}{\Delta t}\) has the interpretation of a velocity: average displacement within time \(\Delta t\) divided by that time.
The other coefficient has units \([displacement^2]/[time]\).
We have seen above that mean squared displacement scales linearly in time in a simple discrete model.
This holds more generally and we can define a time independent diffusion coefficient:&lt;/p&gt;
&lt;p&gt;$$ \lim_{\Delta t \to 0} \frac{\langle \delta x^2\rangle_{\Delta t}}{2\Delta t} = D $$&lt;/p&gt;
&lt;p&gt;The diffusion equation then takes the form&lt;/p&gt;
&lt;p&gt;$$\frac{\partial P(x,t)}{\partial t} =  - v\frac{\partial P(x,t)}{\partial x} + D\frac{\partial P(x,t)}{\partial x^2}$$.&lt;/p&gt;
&lt;h3&gt;Green's function of the diffusion equation&lt;/h3&gt;
&lt;p&gt;Depending on the initial and boundary conditions, the difusion equation admits different solutions.
On important situation is the diffusion of particles that are initially localized at a point \(x=0\) and spread via diffusion.&lt;/p&gt;
&lt;p&gt;$$ P(x,t) = \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{(x-vt)^2}{4Dt}} $$&lt;/p&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_gaussian.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Verify that this is a solution!&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Fluxes and boundary conditions&lt;/h2&gt;
&lt;p&gt;Whenever the distribution \(P(x,t)\) is inhomogenous, there is a net flux of particles.
This is most readily seen by rewriting the diffusion equation as&lt;/p&gt;
&lt;p&gt;$$ \frac{\partial P(x,t)}{\partial t} = -\frac{\partial}{\partial x}\left[ v P(x,t) - D\frac{\partial P(x,t)}{\partial x} \right]  = - \frac{\partial}{\partial t} j(x,t) $$&lt;/p&gt;
&lt;p&gt;where \(j(x,t)\) is the flux of particles.
The parts of the flux have an intuitive interpretation: the term \(vP(x,t)\) describes how the density \(P(x,t)\) is moved by the advection velocity \(v\).
The term \(D\frac{\partial P(x,t)}{\partial x}\) is the result of random diffusion: Whenever \(P(x,t)\) is falling, more particles remove from left to right than vice versa, resulting in a net flux towards the low density region.
The expression for the flux is also known and &lt;a href="https://en.wikipedia.org/wiki/Fick%27s_laws_of_diffusion"&gt;Fick's law&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Fluxes are critical when we consider diffusion in a domain whose boundaries restrict fluxes.
The most common boundary conditions are (i) no-flux boundaries (for example impermeable membranes), (ii) absorbing boundary conditions (for example a sticky surface), or (iii) constant flux boundary conditions where particles are injected at constant rate (for example a fly embryo with localized translation at one end of the embryo).&lt;/p&gt;
&lt;h3&gt;No flux boundary conditions&lt;/h3&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_reflecting_bc.png"&gt;
At the boundary, the flux \(j(x,t)\) has to vanish. This is achieved if \(DP'(x,t) = vP\) (note that there is a \(P\) missing in the graph). In the particular care of \(v=0\), this corresponds to zero slope.&lt;/p&gt;
&lt;h3&gt;Absorbing boundary conditions&lt;/h3&gt;
&lt;p&gt;&lt;img alt="gaussian" src="/teaching_images/diffusion_absorbing_bc.png"&gt;
At an absorbing boundary, the density at the boundary has to equal zero (unless \(D\to 0\) at the boundary). The probability flux at the boundary is the rate of absorbtion.&lt;/p&gt;
&lt;h3&gt;The method of mirror sources&lt;/h3&gt;
&lt;p&gt;The Gaussian solution above extends to infinity.
In a bounded domain, we need a different solution!
One common strategy is to use the method of mirror sources. What this does is best appreciated in a picture:
&lt;img alt="gaussian" src="/teaching_images/diffusion_mirror_bc.png"&gt;
Consider a source at position \(x_0\) and an absorbing boundary at \(x=0\).
If we place a negative source at position \(x=-x_0\) and add those two contributions, the sum will go through zero at \(x=0\) as required.
This superposition of different solutions works because the diffusion equation is a linear equation.&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}\left[e^{-\frac{(x-x_0)^2}{4Dt}} - e^{-\frac{(x+x_0)^2}{4Dt}}\right]$$&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Calculate (evaluate) the rate at which probability is lost. What is the \(\int_0^\infty dx P(x,t)\)?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The same trick can be used for reflecting boundary conditions: The two contributions from \(x=x_0\) and \(x=-x_0\) need to be added rather than subtracted.&lt;/p&gt;
&lt;p&gt;$$P(x,t) = \frac{1}{\sqrt{4\pi Dt}}\left[e^{-\frac{(x-x_0)^2}{4Dt}} + e^{-\frac{(x+x_0)^2}{4Dt}}\right]$$&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Does this also work for \(v\neq 0\)?&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a href="/teaching_images/plot_diffusion.py"&gt;Script to plot and explore the solutions&lt;/a&gt;&lt;/h3&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Verify that \(P(x,n)\) solves the Master equation.&lt;/li&gt;
&lt;li&gt;Verify that \(P(x,t) = \frac{1}{\sqrt{4\pi Dt}}e^{-\frac{(x-vt)^2}{4Dt}}\) solves the diffusion equation.&lt;/li&gt;
&lt;li&gt;Calculate the rate at which probability is lost at an absorbing boundary at \(x=0\) if there was a unit mass at \(x=x_0\) at time 0. How much is left at time \(t\)? (numerical if necessary, make graphs of the solution.)&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- ## [Solutions](20170926_solutions.html) --&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="diffusion"></category></entry><entry><title>Kinetic Proofreading</title><link href="/20170925_computational_system_biology_hopfield.html" rel="alternate"></link><published>2017-09-25T00:00:00+02:00</published><updated>2017-09-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-25:/20170925_computational_system_biology_hopfield.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;Why be accurate?&lt;/h2&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Much of biology relies on error free synthesis of very long polymers (DNA, proteins)&lt;/li&gt;
        &lt;li&gt;If the per base/aa error rate is $\epsilon$, probability of an error free product is $e^{-\epsilon L}$&lt;/li&gt;
        &lt;li&gt;Error free replication of a bacterial chromosome ($10^7$ bases) requires error rates $\ll …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;Why be accurate?&lt;/h2&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Much of biology relies on error free synthesis of very long polymers (DNA, proteins)&lt;/li&gt;
        &lt;li&gt;If the per base/aa error rate is $\epsilon$, probability of an error free product is $e^{-\epsilon L}$&lt;/li&gt;
        &lt;li&gt;Error free replication of a bacterial chromosome ($10^7$ bases) requires error rates $\ll 10^{-7}$&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What limits accuracy?&lt;/h3&gt;
    &lt;div style="position: absolute; top:30%; left:10%"&gt;
    &lt;h4&gt;Michaelis-Menten reaction&lt;/h4&gt;
    $S + E \leftrightharpoons ES \rightarrow P + E $
    &lt;/div&gt;
    &lt;div style="position: absolute; top:20%; left:50%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Biochemical reactions typically go through intermediate states.&lt;/li&gt;
            &lt;li&gt;On rates are similar, limited by diffusion.&lt;/li&gt;
            &lt;li&gt;Discrimination is via the off-rates&lt;/li&gt;
            &lt;li&gt;Off-rates determine the life time of the intermediate.&lt;/li&gt;
            &lt;li&gt;Off-rates are determined by the free energy of the transition state&lt;/li&gt;
            &lt;li&gt;The ratio of off-rates is given by $e^{-\Delta G/kT}$. Lower limit for error rate!&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute; top:60%; left:30%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Typical energies of discrimination are low.&lt;/li&gt;
            &lt;li&gt;DNA base pairing/stacking energies $\sim 3kT$&lt;/li&gt;
            &lt;li&gt;Translation is based on mRNA/anti-codon interaction. Mismatches cost a few $kT$. &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;div style="position: absolute; left:10%; width: 500px"&gt;
    &lt;img src="https://pni.princeton.edu/sites/default/files/styles/people_directory/public/images/faculty-details/john-hopfield.jpg" width="500px"&gt;
    John Hopfield&lt;br&gt; Princeton University
    &lt;/div&gt;
    &lt;div style="position: absolute; left:60%; width: 500px"&gt;
    &lt;img src="https://i1.rgstatic.net/ii/profile.image/AS%3A278593792954375%401443433344170_l/Jacques_Ninio.png" width="500px"&gt;
    Jaques Ninio&lt;br&gt; ENS Paris
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Error rates of genome replication&lt;/h3&gt;
    &lt;img src="/talk_images/Sanjuan_mutation_rates.jpg" width="900px"&gt;
    &lt;h5&gt;Sanjuan et al. 10.1126/science.1169202&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Self/non-self antigen discrimination by T-cells&lt;/h3&gt;
    &lt;div style="position: absolute; top:30%; left:10%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;T-cells scan MHC/peptide complexes for evidence infection.&lt;/li&gt;
            &lt;li&gt;Many self-antigens, few non-self.&lt;/li&gt;
            &lt;li&gt;Interactions energies are similar.&lt;/li&gt;
            &lt;li&gt;Need for rapid but accurate discrimination.&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:20%; left:60%"&gt;
        &lt;img src="https://www.ebi.ac.uk/interpro/potm/2005_3/Page1_files/image006.gif" width=400px&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;span class="ref"&gt;T cell receptor binding to MHC-antigen complex. &lt;a href="http://users.rcn.com/jkimball.ma.ultranet/BiologyPages/"&gt;Courtesy of J. Kimball&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position: absolute; top:70%; left:20%; width:60%"&gt;
        &lt;h5&gt;T-cells are activated via a phosphorylation cascade that implements kinetic proof reading&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="teaching"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201709_GCB.html" rel="alternate"></link><published>2017-09-21T00:00:00+02:00</published><updated>2017-09-21T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-21:/201709_GCB.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;!-- &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt; --&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state at rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h2&gt;Does HIV evolve during therapy?&lt;/h2&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=180px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derrida; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:35%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=160px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=160px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=160px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=160px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=160px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=160px&gt;
            &lt;img src="/images/team_pics/vadim_puller.png" height=160px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" height=180px&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Solutions: The relevant scales of cellular biophysics</title><link href="/20170919_solutions.html" rel="alternate"></link><published>2017-09-19T00:00:00+02:00</published><updated>2017-09-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-19:/20170919_solutions.html</id><content type="html">&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;collect 10 different entities (viruses, bacteria, spores, cell types) and calculate the fraction of the cell/organelle that is DNA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How do you expect the ribosome fraction to vary with growth rate?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="scales"></category></entry><entry><title>The relevant scales of cellular biophysics</title><link href="/20170919_theoretical_biophysics.html" rel="alternate"></link><published>2017-09-19T00:00:00+02:00</published><updated>2017-09-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-19:/20170919_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;Thinking about cellular and biophysical processes is easier if one has a sense of the relevant scales. In fact, almost every statement about a quantity is only useful when compared to something else -- that is why we have units.
Our day to day units (meters, kilogram, etc) are tailored to …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Thinking about cellular and biophysical processes is easier if one has a sense of the relevant scales. In fact, almost every statement about a quantity is only useful when compared to something else -- that is why we have units.
Our day to day units (meters, kilogram, etc) are tailored to the world we live in and don't mean much at the microscopic scale.
A very useful collection of important quantities is available at &lt;a href="http://book.bionumbers.org"&gt;bionumbers.org&lt;/a&gt; by Rob Phillips and Ron Milo.
Once we have identified the relevant scales and sizes, simple reasoning and comparing different scales can already give us quite detailed and robust insight into many cell biological properties.&lt;/p&gt;
&lt;h3&gt;How small are things?&lt;/h3&gt;
&lt;p&gt;The following table has (very) rough numbers for the different sizes involved&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(3\times 10^{-10}\)m (0.3nm): height of one DNA base pair&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-9}\)m (2nm): diameter of DNA, typical protein diameter&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-8}\)m (20nm): bacteria phage&lt;/li&gt;
&lt;li&gt;\(10^{-7}\)m (0.1um): animal virus&lt;/li&gt;
&lt;li&gt;\(10^{-6}\)m (1um): bacterial cell&lt;/li&gt;
&lt;li&gt;\(2\times 10^{-6}\)m (2um): yeast cell nuclei&lt;/li&gt;
&lt;li&gt;\(10^{-5}\)m (10um): eukaryotic cell&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="length" src="http://book.bionumbers.org/wp-content/uploads/2014/07/100-f1-LengthScalesGraphic-14.png"&gt;
The range of linear dimensions relevant in a cell from &lt;a href="http://book.bionumbers.org/wp-content/uploads/2014/07/100-f1-LengthScalesGraphic-14.png"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With this huge range of linear dimensions, volume and mass vary over a much larger range still.
It is useful to remember: One liter \(10^{-3}m^3\), one milliliter is a \(cm^3\) (the size of an eppendorf tube), one femto liter is \(\mu m^3\). One gram of water is roughly one ml.
Using the length above (there is obviously a lot of variation between types).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(10^{-20}\)l: volume of a bacteria phage&lt;/li&gt;
&lt;li&gt;\(10^{-15}\)l (1fl): volume of a bacterial cell&lt;/li&gt;
&lt;li&gt;\(10^{-12}\)g (1pg): weight of a bacterial cell&lt;/li&gt;
&lt;li&gt;\(10^{-12}\)l (1pl): volume of a eukaryotic cell&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Humans weigh roughly 100kg (100l volume) and most of "human stuff" is made from cells. Given they rough weight of a cell, we estimate \(10^{14}\) human cells in the human body.
The true number is closer to \(10^{13}\), but this discrepancy is within the accuracy of our calculation.
Furthermore, we immediately see that a comparable number of bacterial cells will contribute rather little to the total weight since the individual cell is 1000-fold lighter.&lt;/p&gt;
&lt;h3&gt;Typical genome sizes&lt;/h3&gt;
&lt;p&gt;Genome sizes vary enormously among species.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(3\times 10^{2}\)bp: viriods (two tweets)&lt;/li&gt;
&lt;li&gt;\(10^{4}\)bp: typical RNA viruses and phages (one page)&lt;/li&gt;
&lt;li&gt;\(10^{5}\)bp: animal DNA viruses (10 pages)&lt;/li&gt;
&lt;li&gt;\(10^{6}-10^{7}\)bp: bacterial genome (a serious book)&lt;/li&gt;
&lt;li&gt;\(3\times 10^{9}\)bp: human genome (one tength of all of English wikipedia)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Genome size among animals and plants correlates little with perceived complexity of the organism.&lt;/p&gt;
&lt;p&gt;&lt;img alt="genomesize" src="http://book.bionumbers.org/wp-content/uploads/2014/08/502-f1-GenomeSizesRanges-1.png"&gt;
Illustration of the range of genome sizes from &lt;a href="http://bionumbers.org"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is instructive to compare cell dimensions versus the length of the DNA molecule that needs to fit inside:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;\(10^{-6}\)m (1um): length of a phage genome.&lt;/li&gt;
&lt;li&gt;\(10^{-3}\)m (1mm): length of the bacterial genome (\(3\times 10^9\) bases a 0.3nm each)&lt;/li&gt;
&lt;li&gt;\(1\)m (1m): length of the human genome (\(3\times 10^9\) bases a 0.3nm each)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We see that DNA is much longer than the containing cells.
An amusing litte calculation: if DNA from all \(10^{13}\) cells of a human body was strung together, it would cover the distance to the sun (\(1.5\times 10^{11}\)m) more than 100 fold (accounting for the diploid nature).&lt;/p&gt;
&lt;h3&gt;Concentrations and molecule counts&lt;/h3&gt;
&lt;p&gt;Concentrations are number of molecules per volume. There are typically measured as moles per liter, that is \(6\times 10^{23}\) molecules per \(10^{-3}m^{3}\).
For our purposes, it is useful to express this as number of molecules per femtoliter or \(\mu m^3\): 1M=\(6\times 10^{23}/10^{15}\mu m^3 = 6\times 10^{8}/\mu m^3\)
Hence one nM corresponds to roughly one molecule per bacterium, pM to one molecule per eukaryotic cell.
The small volume of cells and nuclei there for means than many proteins are only present in small numbers. Hence their individual behavior and the associated stochasticity can be very important.
When thinking about rare molecules, for example signaling molecules, numbers are a better guide than concentrations.
If you have a binding partner with an affinities below these numbers, it will suck up every singly molecule in the cell!&lt;/p&gt;
&lt;p&gt;&lt;img alt="conc" src="http://book.bionumbers.org/wp-content/uploads/2014/08/200-f1-ConcentrationAxis-11.png"&gt;
Illustration of the range of concentrations from &lt;a href="http://bionumbers.org"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Forces and energies&lt;/h3&gt;
&lt;p&gt;So far, we have looked at dimensions and the objects involved could have been dead or alive.
Lets now turn to the energies, power, and forces.
From our daily live, we are used to power of about 100W. This would be your standard (old fashioned) light bulb or the typical power of the human body.
Energy is stored in batteries, reservoirs, or petrol.
In cells, the energy currencies are very different.
The ultimate source of energy (free energy, really) is the sun.
It emits black body radiation at a temperature of 5800K which corresponds to an emission maximum at a wavelength of 550nm in the visible range.
A single photon with wavelength \( \lambda = 500nm\) has the following energy:&lt;/p&gt;
&lt;p&gt;$$E = \frac{hc}{\lambda}\approx \frac{1.24 eV\mu m}{\lambda}\approx 2.5eV$$&lt;/p&gt;
&lt;p&gt;Electron volt (eV) is a typical unit of energy used in physics corresponding to the energy required to move one election one Volt up in an electric potential.
Chemists like to measure energy in \(kJ/mol\) or \(kcal/mol\), but in a biological system, different energy units are often more convenient.
The most important energy scales in biological systems are the thermal energy kT and the energy released when hydrolyzing ATP to ADP.
The scale kT is important since process that operate on the scale of kT or below happen spontaneously and reversibly.
Hence it is always important consider an energy difference in relation to kT&lt;/p&gt;
&lt;p&gt;$$kT \approx 0.025eV \approx 0.6 kcal/mol \approx 2.5 kJ/mol \approx 4pN \times nm$$&lt;/p&gt;
&lt;p&gt;One visible photon is therefore about 80kT and it is plausible that individuals visible photons can drive biological processes.
The dominent energy currency of the cell is ATP which is hydrolyzed to ADP&lt;/p&gt;
&lt;p&gt;$$ATP + H_2O \rightarrow ADP + P_i \quad -30 kJ/mol \approx -12kT$$&lt;/p&gt;
&lt;p&gt;Again, one ATP hydrolysis is above the thermal energy scale, but not all that far away.
In practice, the amount of energy released in ATP hydrolysis can vary by a factor of two depending on Mg\({}^{2+}\) concentration and the concentrations of ATP and ADP.&lt;/p&gt;
&lt;p&gt;&lt;img alt="forces" src="http://book.bionumbers.org/wp-content/uploads/2014/08/300-f1-EnergyAxis-11.png"&gt;
A handy overview of energy scales from &lt;a href="http://book.bionumbers.org/"&gt;bionumbers.org&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Estimating stuff&lt;/h2&gt;
&lt;h3&gt;Molecular motors&lt;/h3&gt;
&lt;p&gt;Cells have molecular motors that they use to move things around, drive cilia and flagella, or open up the DNA double strand.
Most of these hydrolyze ATP, one molecule at a time.
Some of these motors (kinesin and dynein) move in steps along filaments.
These steps are on the order of 10nm.
Assuming the energy of one ATP hydrolysis is converted with 100% efficiency into mechanical energy, we expect a maximum force (stall force) of&lt;/p&gt;
&lt;p&gt;$$ \frac{12kT}{10nm} \approx \frac{48pN nM}{10nm} \approx 5pN $$&lt;/p&gt;
&lt;p&gt;This estimate is surprisingly accurate -- most "walking" molecular motors have &lt;a href="http://bionumbers.hms.harvard.edu/bionumber.aspx?&amp;amp;id=112209&amp;amp;ver=1&amp;amp;trm=stall%20force"&gt;stall forces in this range&lt;/a&gt;.
We will explore in the coming weeks what this implies for speed and maximal cargo size.&lt;/p&gt;
&lt;h3&gt;Genome replication&lt;/h3&gt;
&lt;p&gt;If a genome has a single origin of replication, the rate of genome replication \(\kappa\), genome size \(L\), and division time \(\tau\) are naively related by&lt;/p&gt;
&lt;p&gt;$$ \kappa = \frac{L}{\tau} = \frac{5\times 10^{6}}{2500s} \approx 2\times 10^3/s $$&lt;/p&gt;
&lt;p&gt;where we have used a typical bacterial genome size of 5Mb and a division time of 40min.
2000 bases per second is not far off, but probably a factor of 5 too high.
Furthermore, E.coli can divide in 20min rather than 40min.
The discrepancy can resolved by observing that (i) replication proceeds via two replication forks, and (ii) the next replication is started before the first one is complete.&lt;/p&gt;
&lt;p&gt;Eukaryotic replication machinery is no faster than the prokaryotic ones, but the genomes are 1000 fold larger.
To replicate their genomes in reasonable time eukaryotic genomes have 1000s of origins of replication.&lt;/p&gt;
&lt;h3&gt;The number of ribosomes&lt;/h3&gt;
&lt;p&gt;In an exponentially growing bacterial culture, biomass doubles once every division time.
About one fourth of the cell mass is protein, which comes down to&lt;/p&gt;
&lt;p&gt;$$ N_{aa} = 0.25 \times 10^{-12} g/cell \times 6\times 10^{23} \frac{Da}{g} / 100 \frac{aa}{Da} \approx 10^9 aa/cell $$&lt;/p&gt;
&lt;p&gt;amino acids per cell that need to be synthesized every 20min and incorporated in to peptides.
Peptide synthesis rate of 10aa/s, a single ribosome can process about \(10^4\) amino acids per cell cycle, suggesting the cell needs at about \(10^5\) ribosomes.
This is roughly what is measured. Again, &lt;a href="http://book.bionumbers.org/how-many-ribosomes-are-in-a-cell/"&gt;bionumbers.org&lt;/a&gt; has a very nice description of this problem.
Importantly, this quick calculation tells us that ribosomes make up a substantial fraction of the total cell proteome (they certainly dominate the RNA pool).&lt;/p&gt;
&lt;h2&gt;Assignments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;collect 10 different entities (viruses, bacteria, spores, cell types) and calculate the fraction of the cell/organelle that is DNA&lt;/li&gt;
&lt;li&gt;How do you expect the ribosome fraction to vary with growth rate?&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category><category term="scales"></category></entry><entry><title>Theoretical Biophysics &amp; mathematical methods</title><link href="/201709_theoretical_biophysics.html" rel="alternate"></link><published>2017-09-19T00:00:00+02:00</published><updated>2017-09-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-19:/201709_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;This course will cover concepts of theoretical biophysics and introduce mathematical and numerical methods to solve problems in quantitative biology. In particular, we will focus on polymer physics, membranes, diffusion, electrostatic interactions, and self-organization within cells.&lt;/p&gt;
&lt;p&gt;During the course, the students will learn techniques of quantitative reasoning such as dimensional …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This course will cover concepts of theoretical biophysics and introduce mathematical and numerical methods to solve problems in quantitative biology. In particular, we will focus on polymer physics, membranes, diffusion, electrostatic interactions, and self-organization within cells.&lt;/p&gt;
&lt;p&gt;During the course, the students will learn techniques of quantitative reasoning such as dimensional analysis and methods for approximate analytic solutions of difficult mathematical problems (dominant balance, saddle point approximations, integral transforms, iteration techniques, etc). Problems will be tackled both analytically to understand the qualitative behavior of a system and numerical to obtain quantitative predictions.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Membranes&lt;/li&gt;
&lt;li&gt;Reaction rates&lt;/li&gt;
&lt;li&gt;Pattern formation and reaction diffusion systems&lt;/li&gt;
&lt;li&gt;Liquid-liquid phase transitions in cell biology&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://microsite.garlandscience.com/pboc2/home.html"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;li&gt;&lt;a href="http://esag.harvard.edu/rice/AM201_Brenner,Michael_CourseNotes_2010.pdf"&gt;Physical Mathematics&lt;/a&gt; by Michael Brenner&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="20170919_theoretical_biophysics.html"&gt;2017-09-19 -- The relevant scales: sizes, energies, concentrations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20170926_theoretical_biophysics.html"&gt;2017-09-26 -- Brownian motion and diffusion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171003_theoretical_biophysics.html"&gt;2017-10-03 -- Diffusion constants and the Stokes-Einstein relation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;2017-10-10 (out of town)&lt;/li&gt;
&lt;li&gt;&lt;a href="20171017_theoretical_biophysics.html"&gt;2017-10-17 -- Polymers in Biology&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171024_theoretical_biophysics.html"&gt;2017-10-24 -- Finding binding sites and diffusion limited rates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171031_theoretical_biophysics.html"&gt;2017-10-31 -- Cytoskeleton&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171107_theoretical_biophysics.html"&gt;2017-11-07 -- Molecular motors&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171114_theoretical_biophysics.html"&gt;2017-11-14 -- Reaction rates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171121_theoretical_biophysics.html"&gt;2017-11-21 -- Liquid-liquid phase transitions in cell biology&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171128_theoretical_biophysics.html"&gt;2017-11-28 -- Phase transitions in membranes and sol-gel transitions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171205_theoretical_biophysics.html"&gt;2017-12-05 -- Nucleosome positioning and chromosome conformations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20171212_theoretical_biophysics.html"&gt;2017-12-12 -- Kinetic Proofreading&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;2017-12-19 (out of town)&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Theoretical Biophysics &amp; mathematical methods</title><link href="/201809_theoretical_biophysics.html" rel="alternate"></link><published>2017-09-19T00:00:00+02:00</published><updated>2017-09-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-19:/201809_theoretical_biophysics.html</id><summary type="html">&lt;p&gt;This course will cover concepts of theoretical biophysics and introduce mathematical and numerical methods to solve problems in quantitative biology. In particular, we will focus on polymer physics, membranes, diffusion, electrostatic interactions, and self-organization within cells.&lt;/p&gt;
&lt;p&gt;During the course, the students will learn techniques of quantitative reasoning such as dimensional …&lt;/p&gt;</summary><content type="html">&lt;p&gt;This course will cover concepts of theoretical biophysics and introduce mathematical and numerical methods to solve problems in quantitative biology. In particular, we will focus on polymer physics, membranes, diffusion, electrostatic interactions, and self-organization within cells.&lt;/p&gt;
&lt;p&gt;During the course, the students will learn techniques of quantitative reasoning such as dimensional analysis and methods for approximate analytic solutions of difficult mathematical problems (dominant balance, saddle point approximations, integral transforms, iteration techniques, etc). Problems will be tackled both analytically to understand the qualitative behavior of a system and numerical to obtain quantitative predictions.&lt;/p&gt;
&lt;h3&gt;Syllabus&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The relevant scales and dimensions of biophysics&lt;/li&gt;
&lt;li&gt;Diffusion and Stokes-Einstein relation&lt;/li&gt;
&lt;li&gt;Elements of polymer physics&lt;/li&gt;
&lt;li&gt;Membranes&lt;/li&gt;
&lt;li&gt;Reaction rates&lt;/li&gt;
&lt;li&gt;Pattern formation and reaction diffusion systems&lt;/li&gt;
&lt;li&gt;Liquid-liquid phase transitions in cell biology&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Literature&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://microsite.garlandscience.com/pboc2/home.html"&gt;The physical biology of the Cell&lt;/a&gt; by Rob Phillips et al&lt;/li&gt;
&lt;li&gt;&lt;a href="http://book.bionumbers.org/"&gt;Cell biology by the numbers&lt;/a&gt; by Rob Phillips and Ron Milo&lt;/li&gt;
&lt;li&gt;&lt;a href="http://esag.harvard.edu/rice/AM201_Brenner,Michael_CourseNotes_2010.pdf"&gt;Physical Mathematics&lt;/a&gt; by Michael Brenner&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Lectures&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="20180920_theoretical_biophysics.html"&gt;2018-09-20 -- The relevant scales: sizes, energies, concentrations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20180927_theoretical_biophysics.html"&gt;2018-09-27 -- Brownian motion, diffusion, and Fick's law&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181004_theoretical_biophysics.html"&gt;2018-10-04 -- Diffusion coefficients and the Stokes-Einstein relation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181011_theoretical_biophysics.html"&gt;2018-10-11 -- Elements of polymer physics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181018_theoretical_biophysics.html"&gt;2018-10-18 -- Transcription factor search problems and polymers under force&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181025_theoretical_biophysics.html"&gt;2018-10-25 -- Bacterial gene regulation and signaling&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181101_theoretical_biophysics.html"&gt;2018-11-01 -- Elements of dynamical systems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;2018-11-08 -- no lecture&lt;/li&gt;
&lt;li&gt;2018-11-12 -- Tutorial session. Biozentrum room 612. 13-15h. &lt;a href="/teaching_notes/20181112_LinearAlgebraPrimer.pdf"&gt;Hand-written notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181115_theoretical_biophysics.html"&gt;2018-11-15 -- Linear stability analysis and oscillations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181122_theoretical_biophysics.html"&gt;2018-11-22 -- Reaction rates&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181129_theoretical_biophysics.html"&gt;2018-11-29 -- Kinetic proofreading and percolation transitions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181206_theoretical_biophysics.html"&gt;2018-12-06 -- Phase transitions in cell biology&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181213_theoretical_biophysics.html"&gt;2018-12-13 -- Chromosome organization and nucleosome positioning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="20181220_theoretical_biophyics.html"&gt;2018-12-20 -- Bethedging and proportional betting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="biophysics"></category></entry><entry><title>Improving seasonal influenza vaccines by predicting virus evolution</title><link href="/201709_JapaneseDelegation.html" rel="alternate"></link><published>2017-09-15T00:00:00+02:00</published><updated>2017-09-15T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-15:/201709_JapaneseDelegation.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;div&gt;
    &lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
    &lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
    &lt;h4&gt;based on sequences and phenotype provided by the WHO CCs and NICs&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/H3N2_current.png" width=1400px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Competition between different viral variants&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75% class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:45%"&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="850px" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Tracking and predicting evolution and spread of RNA viruses</title><link href="/201709_USB_DoKo.html" rel="alternate"></link><published>2017-09-14T00:00:00+02:00</published><updated>2017-09-14T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-14:/201709_USB_DoKo.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
&lt;/div&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and rates of change&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;div&gt;
    &lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
    &lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
    &lt;h4&gt;based on sequences and phenotype provided by the WHO CCs and NICs&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/H3N2_current.png" width=1400px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Competition between different viral variants&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75% class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:45%"&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;video height="850px" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Data sharing during public health emergencies</title><link href="/201709_BaselLife.html" rel="alternate"></link><published>2017-09-11T00:00:00+02:00</published><updated>2017-09-11T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-11:/201709_BaselLife.html</id><summary type="html">&lt;section&gt;
    &lt;h2&gt;data owner &amp;harr; public interest&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;Two years later, we have a detailed understanding of the outbreak. Why did this take so long?&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sharing of Ebola virus sequences&lt;/h3&gt;
    &lt;div  style="position:absolute; top:17%; left:10%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24738640"&gt;Baize et al.:&lt;/a&gt; Samples collected in March 2014, sequences in …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
    &lt;h2&gt;data owner &amp;harr; public interest&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;2013-2015 West African Ebola virus outbreak&lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_doctors.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=36016437"&gt;By CDC Global - WHO in PPE&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:53%; left:5%; width:30%"&gt;
        &lt;img src="/talk_images/ebola_case_numbers.png"&gt;
        &lt;span class="ref"&gt;&lt;a href="https://commons.wikimedia.org/w/index.php?curid=44136561"&gt;By Chris55&lt;/a&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:35%; width:60%"&gt;
        &lt;img src="/talk_images/ebola_nextstrain_screenshot.png"&gt;
        &lt;h5&gt;Two years later, we have a detailed understanding of the outbreak. Why did this take so long?&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Sharing of Ebola virus sequences&lt;/h3&gt;
    &lt;div  style="position:absolute; top:17%; left:10%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/24738640"&gt;Baize et al.:&lt;/a&gt; Samples collected in March 2014, sequences in GenBank within a month&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://www.ncbi.nlm.nih.gov/pubmed/25214632"&gt;Gire et al.:&lt;/a&gt; released data as it was generated &lt;/li&gt;
        &lt;li&gt;Followed by a long gap...&lt;/li&gt;
        &lt;li&gt;Early insights into transmission dynamics are important&lt;/li&gt;
        &lt;li&gt;Sharing has to be immediate -- not upon publication&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div  class="fragment"  style="position:absolute; top:15%; left:60%; width:20%"&gt;
    &lt;img src="/talk_images/ebola_data_gap.jpg"&gt;
    &lt;h5&gt;&lt;a href="http://www.nature.com/news/data-sharing-make-outbreak-research-open-access-1.16966"&gt;Yozwiak et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:41%; left:10%; width:37%"&gt;
    &lt;img src="/talk_images/quick_ebola_speed.png"&gt;
    &lt;h5&gt;&lt;a href="https://www.nature.com/articles/nature16996"&gt;Quick et al&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Recurring problem&lt;/h2&gt;
    &lt;ul&gt;
        &lt;!-- &lt;li&gt;Human genome sequencing data: Bermuda Principles&lt;/li&gt; --&gt;
        &lt;!-- &lt;li&gt;Clinical trials&lt;/li&gt; --&gt;
        &lt;li&gt;2002 Severe acute respiratory syndrome (SARS)&lt;/li&gt;
        &lt;li&gt;2003 H5N1 influenza outbreak. Some countries stopped sharing any data&lt;/li&gt;
        &lt;li&gt;2013-2015 Ebola virus outbreak in West Africa&lt;/li&gt;&lt;br&gt;
        &lt;li&gt;2014-2016 Zika Virus outbreak: Controversies about attribution and reuse &lt;/li&gt;
        &lt;li&gt;2014- H7N9 influenza outbreak: Controversies about attribution and reuse &lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;div class="fragment"&gt;
    &lt;h4&gt;Different disease -- different scientists and institutions.&lt;/h5&gt;
    &lt;h5&gt;&amp;rarr;Lessons need to be relearned.&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: scientists&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Privacy of study participants&lt;/li&gt;
        &lt;li&gt;Fear of being scooped/ensure maximal return&lt;/li&gt;
        &lt;li&gt;Secondary analysis perceived as freeloading: "data parasites"&lt;/li&gt;
        &lt;li&gt;Don't want to be second guessed&lt;/li&gt;
        &lt;li&gt;Release and curation is laborious&lt;/li&gt;
        &lt;li&gt;Sloppy records&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;Also see &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Barriers to data sharing: organizations and governments&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;Economic consequences of outbreaks (tourism, agriculture)&lt;/li&gt;
        &lt;li&gt;Conflicts between high and low/middle income countries&lt;/li&gt;
        &lt;li&gt;Concerns about IP and commercial exploitation&lt;/li&gt;
        &lt;li&gt;Legislative/regulatory barriers&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also: &lt;a href="https://bmcpublichealth.biomedcentral.com/articles/10.1186/1471-2458-14-1144"&gt;van Panhius et al, BMC Public health 2014&lt;/a&gt;&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Overcoming Barriers&lt;/h3&gt;
    &lt;div  style="position:absolute; top:20%; left:10%; width:40%"&gt;
    &lt;h4&gt;Open vs restricted sharing&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Alternatives to GenBank: GenBank is "public domain", no requirement to credit data producers&lt;/li&gt;
        &lt;li&gt;GISAID/EpiFlu: sign-up and agree to terms and conditions &lt;img src="/talk_images/gisaid_logo.png" class="plain"&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://virological.org"&gt;virological.org:&lt;/a&gt; Platform for sharing and discussing molecular epidemiology&lt;/li&gt;
        &lt;li&gt;Explicit data reuse terms&lt;/li&gt;
        &lt;li&gt;Outline planned projects in white-paper&lt;/li&gt;
        &lt;li&gt;Caveat: Very difficult to enforce...&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See &lt;a href="https://www.nature.com/nature/journal/v442/n7106/full/442981a.html"&gt;Bogner et al, 2006&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:20%; left:55%; width:40%"&gt;
    &lt;h4&gt;Building Trust&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Peter Bogner coordinated Influenza data sharing&lt;/li&gt;
        &lt;li&gt;Andrew Rambaut coordinated Ebola virus data sharing&lt;/li&gt;
        &lt;li&gt;During the EBV outbreak, WHO and journals explicitly encouraged data sharing&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h5&gt;See also &lt;a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4909097/"&gt;Smith et al, F1000 2016&lt;/a&gt;&lt;/h5&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Make sharing easy and provide incentives!&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;div style="position:absolute; top:10%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/zika_grubaugh.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22400.html"&gt; Grubaugh et al, samples from Florida&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:10%; left:55%; width:41%"&gt;
&lt;img src="/talk_images/zika_metsky.png"&gt;
&lt;h5&gt;&lt;a href="https://www.nature.com/nature/journal/v546/n7658/full/nature22402.html"&gt;Metsky et al, sample from the Caribbean&lt;/a&gt;&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h1&gt;&lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;&lt;/h1&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/nextstrain_screenshot.png"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h2 class="slidetitle"&gt;nextstrain.org&lt;/h2&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Global analysis provides context for new sequences&lt;/li&gt;
            &lt;li&gt;Once nextstrain became the largest collection of Ebola/Zika sequences, everybody wanted their sequences on nextstrain&lt;/li&gt;
            &lt;li&gt;We take care to highlight the scientists contributing data&lt;/li&gt;
            &lt;li&gt;Link to original source, rather than reshare&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;img src="/talk_images/nextstrain_strain_info.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:70%; left:5%; width:40%"&gt;
    &lt;h5&gt;Open source: &lt;a href="https://github.com/nextstrain"&gt;github.com/nextstrain&lt;/a&gt;&lt;/h5&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h2&gt;The role of journals in public health crisis&lt;/h2&gt;
    &lt;ul style="width:60%"&gt;
        &lt;li&gt;Need: explicit statement that data release doesn't prejudice against publication&lt;/li&gt;
        &lt;li&gt;Better: insist that data are released and analyses are shared as preprints (e.g. biorxiv)&lt;/li&gt;
        &lt;li&gt;Issue: researchers want to publish in "luxury" journals &lt;br&gt;&amp;rarr; cycle of review-rejection-revision causes delay
        &lt;li&gt;Journals dedicated to rapid processing of papers describing outbreaks (PLOS currents, Eurosurveillance)&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h2&gt;Outlook&lt;/h2&gt;
    &lt;ul style="width:65%"&gt;
        &lt;li&gt;Response has to be fast &lt;br&gt;&amp;rarr; pre-existing trusted framework to share data&lt;/li&gt;
        &lt;li&gt;Wider acceptance of preprints should help &lt;br&gt;&amp;rarr; establishes priority and a citation hook&lt;/li&gt;
        &lt;li&gt;We need incentives for high quality data sets&lt;/li&gt;
        &lt;li&gt;We need better ways to credit data producers &lt;br&gt;&amp;rarr; data citations&lt;/li&gt;
        &lt;li&gt;Not only data: Open source code and analysis pipelines&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:20%; width:60%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Real-time analysis to track and predict pathogen spread</title><link href="/201709_USB_NGS.html" rel="alternate"></link><published>2017-09-02T00:00:00+02:00</published><updated>2017-09-02T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-02:/201709_USB_NGS.html</id><summary type="html">&lt;section&gt;
&lt;h3&gt;Outbreaks require a rapid and informed response&lt;/h3&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;influenza virus (spanish flu 1918, "swine flu" 2009, H5N1, ...)&lt;/li&gt;
    &lt;li&gt;SARS (Severe Acute Respiratory Syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;MERS (Middle East respiratory syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;Ebola (filovirus)&lt;/li&gt;
    &lt;li&gt;Zika virus (flavivirus)&lt;/li&gt;
    &lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;!-- FLU TRACKING --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Surveillance of human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;WHO CCs and …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h3&gt;Outbreaks require a rapid and informed response&lt;/h3&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;influenza virus (spanish flu 1918, "swine flu" 2009, H5N1, ...)&lt;/li&gt;
    &lt;li&gt;SARS (Severe Acute Respiratory Syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;MERS (Middle East respiratory syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;Ebola (filovirus)&lt;/li&gt;
    &lt;li&gt;Zika virus (flavivirus)&lt;/li&gt;
    &lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;!-- FLU TRACKING --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Surveillance of human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;WHO CCs and NICs sequence and phenotype 100s of viruses per month&lt;/li&gt;
        &lt;li&gt;Sequences allow us to track how the virus is spreading and changing&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Ad-hoc response to other diseases&lt;/h3&gt;
    &lt;small&gt;&lt;div&gt;&lt;ul&gt;
        &lt;li&gt;Outbreaks occur in unpredictable places&lt;/li&gt;
        &lt;li&gt;Can spread across the globe in weeks&lt;/li&gt;
        &lt;li&gt;Different pathogens require different microbiological expertise&lt;/li&gt;
        &lt;li&gt;Sequencing is a universal way to investigate early spread and source of the pathogen&lt;/li&gt;
    &lt;/ul&gt;&lt;/div&gt;&lt;/small&gt;

&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Challenges in rapid outbreak sequencing&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:47%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;sample &amp;#x2192; DNA to sequence&lt;/li&gt;
            &lt;li&gt;sequencing itself not too big a problem&lt;/li&gt;
            &lt;li&gt;combining data from different sources&lt;/li&gt;
            &lt;li&gt;convincing groups to share and pool their data&lt;/li&gt;
            &lt;li&gt;rapid analysis and dissemination of results&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:60%; width:45%"&gt;
        &lt;img src="talk_images/ebola_minion.jpg"&gt;
        &lt;span class="ref"&gt;Raymond Koundouno, image by Sophie Darrafour&lt;/span&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain" width=1024&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch" src="/talk_images/nextstrain_components.png"&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Why are bacteria harder?&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Much larger genomes&lt;/li&gt;
            &lt;li&gt;Slower evolution&lt;/li&gt;
            &lt;li&gt;horizontal transfer&lt;/li&gt;
            &lt;li&gt;The most important parts are often hardest to analyze&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome analysis of fragmented WGS assemblies&lt;/h3&gt;
    &lt;h3&gt;&lt;a href="http://pangenome.de"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;object data="/images/pangenome_logo.svg" width="300px"&gt;&lt;/object&gt;
&lt;/section&gt;

&lt;section&gt;
        &lt;img src="/talk_images/pangenome.png" class="plain" width=1024px&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Virus evolution takes place within the host&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h5&gt;Deep longitudinal sampling is necessary to monitor evolution in detail&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="786px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:50%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch" target="_blank"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sharing of HIV-1 data&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;NGS data requires extensive filtering/cleaning/processing&lt;/li&gt;
            &lt;li&gt;Raw reads in short read archive often not helpful&lt;/li&gt;
            &lt;li&gt;Especially true for structured data sets&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;nextstrain.org team and panX&lt;/h3&gt;
    &lt;p&gt;
    &lt;object data="/images/team_pics/colin-megill.jpg" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/james-hadfield.jpg" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/sidney-bell.jpg" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/pavel_sagulenko.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/wei_ding.png" height=150px&gt;&lt;/object&gt;
    &lt;/p&gt;&lt;br&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Colin Megill&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;James Hadfield&lt;/li&gt;
        &lt;li&gt;Sidney Bell&lt;/li&gt;
        &lt;li&gt;Wei Ding&lt;/li&gt;
        &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;p&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/open_science_prize_logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/p&gt;
&lt;/section&gt;</content><category term="talk_pre"></category></entry><entry><title>The evolutionary dynamics of untreated HIV and the maintenance of the latent reservoir</title><link href="/201709_SSM.html" rel="alternate"></link><published>2017-09-01T00:00:00+02:00</published><updated>2017-09-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-09-01:/201709_SSM.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Deep sequencing of plasma RNA&lt;/h3&gt;
    &lt;img src="/talk_images/sketchPrepCircle.png" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and rates of change&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h2&gt;Inference of fitness costs&lt;/h2&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width="1200px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=750px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=400px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:60%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evolution of HIV, immune escape, and latency</title><link href="/201707_KITP.html" rel="alternate"></link><published>2017-07-31T00:00:00+02:00</published><updated>2017-07-31T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-07-31:/201707_KITP.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:40%; width:60%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:40%; width:60%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="800px" class="plain"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="786px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV and the immune system&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:45%"&gt;
        &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="95%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/T_cell_HIV.gif" width=100%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="786px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:50%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch" target="_blank"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Inferred vs measured mutations rates (Abram et al)&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_experiment_comparison.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Recombination and linkage&lt;/h3&gt;
        &lt;img src="talk_images/HIV_linkage.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; Neher and Leitner, 2010&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;

&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:30%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;p&gt;&lt;small&gt;Blue: all sites; red: without amino acid change&lt;/small&gt;&lt;/p&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Costly HLA associated positions have high diversity&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_nef_associations.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip_hyper.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/HIV_reservoir_hypermutation_stats.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Eco-Evolutionary dynamics in Microbial Communities</title><link href="/201707_nanopore_basecalling.html" rel="alternate"></link><published>2017-07-24T00:00:00+02:00</published><updated>2017-07-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-07-24:/201707_nanopore_basecalling.html</id><summary type="html">&lt;h3&gt;Basecalling with albacore on the compute cluster&lt;/h3&gt;
&lt;p&gt;The albacore base caller is installed on the braid computing cluster in &lt;code&gt;/sw/qbio/bin/read_fast5_basecaller.py&lt;/code&gt;
Since base calling requires substantial computational resources, this is best done on the cluster
A suitable submit script is located in &lt;code&gt;/home/neher/submit_albacore.sh&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!/bin …&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;h3&gt;Basecalling with albacore on the compute cluster&lt;/h3&gt;
&lt;p&gt;The albacore base caller is installed on the braid computing cluster in &lt;code&gt;/sw/qbio/bin/read_fast5_basecaller.py&lt;/code&gt;
Since base calling requires substantial computational resources, this is best done on the cluster
A suitable submit script is located in &lt;code&gt;/home/neher/submit_albacore.sh&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c1"&gt;# specify number of nodes and cores per node&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -l nodes=1:ppn=8&lt;/span&gt;
&lt;span class="c1"&gt;# specify the time you expect the job to run hh:mm:ss&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -l walltime=2:00:00&lt;/span&gt;
&lt;span class="c1"&gt;#specify the amount of memory needed&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -l mem=16G&lt;/span&gt;
&lt;span class="c1"&gt;# output and error files&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -o myout.o$PBS_JOBID&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -e myout.e$PBS_JOBID&lt;/span&gt;

&lt;span class="c1"&gt;# load paths&lt;/span&gt;
&lt;span class="nb"&gt;source&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;/home/neher/.bashrc

&lt;span class="c1"&gt;# move to current working directory&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$PBS_O_WORKDIR&lt;/span&gt;

&lt;span class="c1"&gt;# call albacore&lt;/span&gt;
read_fast5_basecaller.py&lt;span class="w"&gt; &lt;/span&gt;-f&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-k&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-i&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;new_calls&lt;span class="w"&gt;  &lt;/span&gt;-t&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;8&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-o&lt;span class="w"&gt; &lt;/span&gt;fastq
&lt;span class="c1"&gt;#read_fast5_basecaller.py -f FLO-MIN107 -k SQK-RAD002 -i reads/fail/0 -s new_calls -t 8 -o fastq```&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This script can be called via &lt;code&gt;qsub&lt;/code&gt; as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qsub ../submit_albacore.sh -F &amp;quot;FLO-MIN007 SQK-RAD002 reads/pass/0&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;where the three arguments specify the flow cell (&lt;code&gt;FLO-MIN007&lt;/code&gt;), the sequencing kit (&lt;code&gt;SQK-RAD002&lt;/code&gt;) and the directory with the reads to be called.
My preliminary test indicate that the cluster can call between 3 and 10MB of fastq per minute when run on 16 cpus.&lt;/p&gt;</content><category term="teaching"></category><category term="nanopore"></category><category term="bioinformatics"></category></entry><entry><title>Eco-Evolutionary dynamics in Microbial Communities</title><link href="/201707_qbio_computational_intro.html" rel="alternate"></link><published>2017-07-24T00:00:00+02:00</published><updated>2017-07-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-07-24:/201707_qbio_computational_intro.html</id><summary type="html">&lt;h3&gt;the command line&lt;/h3&gt;
&lt;p&gt;Many program used to process and analyze sequence data are called from the command line.
These program don't usually have fancy graphical user interfaces but get the necessary input
as parameters of the command by which they are called. Working with the command line can be
much …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;the command line&lt;/h3&gt;
&lt;p&gt;Many program used to process and analyze sequence data are called from the command line.
These program don't usually have fancy graphical user interfaces but get the necessary input
as parameters of the command by which they are called. Working with the command line can be
much more efficient for many task, so its a worthwhile thing to learn. There are several good
introductary courses out there. Give them a go, ask if you get stuck&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Very basic interactive intro by &lt;a href="https://www.codecademy.com/learn/learn-the-command-line"&gt;Codeacademy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A tutorial by David Baumgold &lt;a href="https://www.davidbaumgold.com/tutorials/command-line/"&gt;covers the basics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;More serious (and laborious) tutorial &lt;a href="http://linuxcommand.org/lc3_learning_the_shell.php"&gt;LinuxCommand&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.git-tower.com/blog/command-line-cheat-sheet/"&gt;Cheat-sheets like this can come in handy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Sequencing data&lt;/h3&gt;
&lt;p&gt;Sequencing machines read some type of signal (usually light or current) from which they infer the sequence.
With nanopore, we have some window into this but most of the time you'll get a text files with base calls
in fastq format. This looks like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;@HISEQ&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;229&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;C6N64ACXX&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1101&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;7886&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2578&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;N&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="n"&gt;GTCCGC&lt;/span&gt;
&lt;span class="n"&gt;GAAACATGGTTTGCGTACGGGCGCCGGGGCCGAACTGGCCAGTAGTGCGGCCCCAACCGGGTGGACCCATGCCAGGAAGAGTAGAGCAATGAAAGTCTGGG&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;
&lt;span class="n"&gt;CCCFFFFFHHHHHJJJHIIHGGJJJJIJJHHFDDDDDDDDDDDDDFDDDDDDDDDDDDDBDBBDDDDDDDCDDDDADDDDDACDDDDDDDDCDDDCCACCC&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The different parts are:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;@read_id&lt;/span&gt;
&lt;span class="k"&gt;sequence&lt;/span&gt;
&lt;span class="o"&gt;+&lt;/span&gt;
&lt;span class="n"&gt;quality_string&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The quality string specifies &lt;code&gt;confidence&lt;/code&gt; of the base call, that a measure of the error probability of this base. Quality scores are encoded on a log-scale and represented as ASCII characters.
The most commonly used scale is Q = char(33+q) where
$$
q = -10\log_{10} p
$$
and \(p\) is the probability of miscall.
Hence a base that the sequencer thinks is 99.9% correct will have a \(q=30\) and be encoded as character &lt;code&gt;?&lt;/code&gt;.
Depending on the sequencing technology, these quality score can be fairly reliable measures of sequencing quality, or only rough indicators.&lt;/p&gt;
&lt;h3&gt;Understanding fastq files&lt;/h3&gt;
&lt;p&gt;Let's look into a fastq file. I will do this in python, but if you are more familiar with another language, that is fine too. Open &lt;code&gt;ipython&lt;/code&gt; and copy/paste&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="p"&gt;:::&lt;/span&gt;&lt;span class="n"&gt;python&lt;/span&gt;
&lt;span class="c1"&gt;# import the relevant libraries&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;Bio&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;SeqIO&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;gzip&lt;/span&gt;

&lt;span class="c1"&gt;#this specifies one particular file of gzippped reads in fastq format&lt;/span&gt;
&lt;span class="n"&gt;fname&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;/home/qbiodata/morbidostat/PA83/v02/d04/PA83v02d04_AGTCAA_L002_R1_001.fastq.gz&amp;#39;&lt;/span&gt;

&lt;span class="c1"&gt;# open the file with the reads and call a routine that knows how to interpret the file&lt;/span&gt;
&lt;span class="n"&gt;read_file&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;gzip&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fname&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;reads&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;SeqIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read_file&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;fastq&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;reads&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;next&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The variable &lt;code&gt;read&lt;/code&gt; now contains the first read in the file.
Type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;in  [] read.seq
out [] Seq(&amp;#39;AGCAGGCTCATCGCCCGCCCTCGTCGCACCTGTTCCAGCAACGCCTCGAAGGTC...TGT&amp;#39;, SingleLetterAlphabet())

in  [] read.letter_annotations[&amp;#39;phred_quality&amp;#39;]
out [] [.... long list of numbers... ]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To plot the phred scores along the read, do (you need to have logged in with &lt;code&gt;ssh -X&lt;/code&gt; to be able to open graphs)&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;# import a plotting tool box&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ion&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;letter_annotations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;phred_quality&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;A histogram of read quality&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!python&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;Bio&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;SeqIO&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;gzip&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;

&lt;span class="n"&gt;fname&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;/home/qbiodata/morbidostat/PA83/v02/d04/PA83v02d04_AGTCAA_L002_R1_001.fastq.gz&amp;#39;&lt;/span&gt;
&lt;span class="n"&gt;read_length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;101&lt;/span&gt;
&lt;span class="n"&gt;QMatrix&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;read_length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="n"&gt;ind&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read_length&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100000&lt;/span&gt;

&lt;span class="n"&gt;read_file&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;gzip&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fname&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;SeqIO&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read_file&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;fastq&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
  &lt;span class="n"&gt;QMatrix&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ind&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;letter_annotations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;phred_quality&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;ri&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;break&lt;/span&gt;

&lt;span class="n"&gt;read_file&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;close&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;imshow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;QMatrix&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;interpolation&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;nearest&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Read trimming&lt;/h3&gt;
&lt;p&gt;Sequencing reads have problems.
They often don't have high quality along the entire length and it is often a good idea to clean away the low quality part.
Illumina reads often have additional problems since there is the possibility of reading into the adapters used to attach the reads to the flow cell and start the sequencing reaction.
There are software packages to deal with this problem.
We have used &lt;code&gt;trim_galore&lt;/code&gt; in the past.
This is essentially a wrapper around &lt;code&gt;cutadapt&lt;/code&gt; and &lt;code&gt;FastQC&lt;/code&gt;.
The following will run &lt;code&gt;trim_galore&lt;/code&gt; in paired-end mode throwing out all reads that are shorter than 70 bases after trimming bases with a quality score below 30.
The input files are &lt;code&gt;read?_sample.fastq&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;trim_galore --paired --length 70 --quality 30 read1_sample.fastq read2_sample.fastq
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This is pretty drastic filtering and you might often want to relax the quality criterion.
&lt;code&gt;trim_galore&lt;/code&gt; outputs to following files:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;-rw-r--r-- 1 qbiodata qbiokitp  63K Jul 26 10:43 read1_sample.fastq
-rw-r--r-- 1 qbiodata qbiokitp 1.6K Jul 26 11:06 read1_sample.fastq_trimming_report.txt
-rw-r--r-- 1 qbiodata qbiokitp  34K Jul 26 11:06 read1_sample_val_1.fq
-rw-r--r-- 1 qbiodata qbiokitp  63K Jul 26 10:51 read2_sample.fastq
-rw-r--r-- 1 qbiodata qbiokitp 1.8K Jul 26 11:06 read2_sample.fastq_trimming_report.txt
-rw-r--r-- 1 qbiodata qbiokitp  34K Jul 26 11:06 read2_sample_val_2.fq
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;You see that the &lt;code&gt;*.val_?.fq&lt;/code&gt; are about half the size of the original files.&lt;/p&gt;
&lt;h3&gt;Mapping &amp;amp; Assembly&lt;/h3&gt;
&lt;p&gt;Most sequencers deliver only short DNA fragments and/or make mistakes.
Hence the output of the sequencer is quite far from what you'd like to have in the end and substantial post-processing is necessary.
The two main strategies to analyze these data further are (i) mapping to reference genomes or (ii) assembly of all the little reads into longer parts.
Mapping is the method of choice if a close, reliable reference sequence exists and the emphasis is on single nucleotide changes or small indels.
Assembly requires longer reads, more coverage, and more computing power but if successful give a genome where there was none before.&lt;/p&gt;
&lt;h3&gt;Mapping&lt;/h3&gt;
&lt;p&gt;In mapping, one piles up sequencing read on their homologous positions of a reference genome.
Mapping programs typically generate an index of the reference genome first and then use this index to rapidly find aligment of the reads on the reference genome.
The positions can be found in a time that logarithmic in the size of the genome and large data sets can be mapped against large genomes very rapidly.
But many-fold repeated regions can slow the mapping process and mapping doesn't allow a large number of differences between the query and the reference.
Program that can be used for mapping&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BLAST (nobody would do that, but possible)&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/lh3/bwa"&gt;bwa (Burrow-Wheeler Aligner)&lt;/a&gt;: fast, gap-aware, limited edit distance, but now has a nanopore mode.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://bowtie-bio.sourceforge.net/index.shtml"&gt;bowtie&lt;/a&gt;: fast, doesn't handle gaps&lt;/li&gt;
&lt;li&gt;&lt;a href="http://last.cbrc.jp/"&gt;LAST&lt;/a&gt;: Deals well with repeats&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aquaskyline/SOAP3-dp"&gt;SOAP&lt;/a&gt;: GPU enabled and fast&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.well.ox.ac.uk/project-stampy"&gt;stampy&lt;/a&gt;: slow, but works well with indels and high divergence&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Mapping output&lt;/h3&gt;
&lt;p&gt;Mapping program typically produce output files in &lt;code&gt;sam&lt;/code&gt; format, which is compact way to specify where and how each read aligned (mapped) to the reference.
Samfiles typically start with a header the contains the names and lengths of the different pieces (chromosomes, contigs, etc) the reference came in.
In our case, this is a bacterial genome in three contigs and a plasmid.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;@SQ&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;SN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_c1&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;LN&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;3694493&lt;/span&gt;
&lt;span class="nv"&gt;@SQ&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;SN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_c2&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;LN&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2296629&lt;/span&gt;
&lt;span class="nv"&gt;@SQ&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;SN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_c3&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;LN&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;994613&lt;/span&gt;
&lt;span class="nv"&gt;@SQ&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;SN&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_plsm&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;LN&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;39882&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The alignment of individual reads are then specified as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;HISEQ&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;229&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;C6N64ACXX&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1101&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;16569&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2194&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;83&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_c3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17249&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;66&lt;/span&gt;&lt;span class="n"&gt;M1D35M&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17014&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;337&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;TTCTGCATGGCGTGCCGCAGATTCTGATGATGGACCCAGGTTCTGCCAACACCTCGGCCATGGCCCGAACCTTTGCCGTGCGCTGCGCATCCGCGTCATCG&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;########&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="n"&gt;DCDDCDDDC&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;:&lt;/span&gt;&lt;span class="n"&gt;CCCACBCADDBC&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;DC&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;DCCDB&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;88&lt;/span&gt;&lt;span class="n"&gt;DDDADCDDDBCDEDGHGHEAJJIFJJIJIJJJJIIGHGHHFFDDF&lt;/span&gt;&lt;span class="err"&gt;@@&lt;/span&gt;&lt;span class="n"&gt;C&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;NM&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;AS&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;94&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;XS&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;94&lt;/span&gt;
&lt;span class="n"&gt;HISEQ&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;229&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;C6N64ACXX&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1101&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;16569&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2194&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;163&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;gnl&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;DSMZ&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;PA77_HGAP3_2SMC_c3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17014&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;84&lt;/span&gt;&lt;span class="n"&gt;M17S&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17249&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;337&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CTCAAGCCCGGCGCCGATGAGCACGGTAACGGCCTGCGCGTNNTGGAGCATGACCAGTTCTACAAGAACAAGCCGAAGAACGTGNNNNNNNNNNCNTCTAA&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;C&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;CFFFFFHHGHGJJJJJJIIGIJIJFHIIJIJHHHHFFD&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="err"&gt;##&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;CDDDDDDDDCDDEEDDDDDDDDDDBDDBBDDDDDBB&lt;/span&gt;&lt;span class="err"&gt;#################&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;NM&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;AS&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;XS&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This is pretty messy, so lets clean this up a bit&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;read_id&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;83&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;chr3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17249&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;66&lt;/span&gt;&lt;span class="n"&gt;M1D35M&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17014&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;337&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;TTCTGCATGGCGTGC&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="err"&gt;########&lt;/span&gt;&lt;span class="vm"&gt;?&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;NM&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;AS&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;94&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;XS&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;94&lt;/span&gt;
&lt;span class="n"&gt;read_id&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;163&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;chr3&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17014&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;84&lt;/span&gt;&lt;span class="n"&gt;M17S&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;17249&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;337&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CTCAAGCCCGGCGC&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;C&lt;/span&gt;&lt;span class="nv"&gt;@CFFFFFHHGHGJJJJJ&lt;/span&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nl"&gt;NM&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;AS&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;XS&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nl"&gt;i&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The two reads shown are actually a read pair, meaning they derive from the same DNA molecule.
The first entry is the read ID, the second is a (complicated flag), the third is the mapping position (base 17249), the fifth is the so called CIGAR code that specifies the aligment to the reference sequence. In this case, it specifies a 66 base match (66M), a one base deletion (1D), and another 35 base match (35M). The number 17014 is the location of the paired read and the -337 is the insert size, that is the length of the piece of DNA that went into this read. The remainder is the sequence and the quality score.
The full format specification can be found &lt;a href="https://samtools.github.io/hts-specs/SAMv1.pdf"&gt;here&lt;/a&gt;
Note that the samfile contains all the information from the fastq file and information on where the read mapped.&lt;/p&gt;
&lt;p&gt;We won't go into the details of how the mapping and alignment is done algorithmically.
Most programs initally generate an index of the reference genome (a structure that allows rapid look-up of the positions of kmers), find seeds in reads using the index, and do a local pairwise aligment.&lt;/p&gt;
&lt;h3&gt;Insert size distribution&lt;/h3&gt;
&lt;p&gt;The insert is the piece of DNA flanked by sequencing adapters on your flow cell.
After mapping paired end reads, we can look at the size of inserts by the distance between the start of the read1 and 2 on the reference&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!python&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pysam&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;

&lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;10000&lt;/span&gt;
&lt;span class="n"&gt;sam_fname&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;d00v00.sam&amp;quot;&lt;/span&gt;
&lt;span class="n"&gt;isizes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;pysam&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Samfile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sam_fname&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Iterate over single reads&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_read1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;isizes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isize&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;


&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;matplotlib.pyplot&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;plt&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plot&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;isizes&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;linspace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;isizes&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;700&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xlabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;insert size&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;plt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ylabel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;fraction shorter than X&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Custom pile-up&lt;/h3&gt;
&lt;p&gt;We often use a small little function to generate pile-ups in python.
This is probably not the fastest nor the most standard way of doing it, but it works and lets you inspect how often you get &lt;code&gt;ACGT-N&lt;/code&gt; at every position of the reference and how often you get small insertions.
It will also split these counts by &lt;code&gt;read1&lt;/code&gt;, &lt;code&gt;read2&lt;/code&gt;, and reads that map to the &lt;code&gt;forward&lt;/code&gt; and &lt;code&gt;reverse&lt;/code&gt; strands.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!python&lt;/span&gt;

&lt;span class="c1"&gt;# cp /home/qbio1/201707_pile_up.py .&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;sam_to_pile_up&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sam_fname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qual_min&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="o"&gt;=-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;VERBOSE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="sd"&gt;&amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
&lt;span class="sd"&gt;    calculates a pile up for a set of mapped reads&lt;/span&gt;
&lt;span class="sd"&gt;    parameters:&lt;/span&gt;
&lt;span class="sd"&gt;    sam_fname   --   sam or bam file with mapped reads&lt;/span&gt;
&lt;span class="sd"&gt;    paired      --   differentiates between read one or two if True&lt;/span&gt;
&lt;span class="sd"&gt;                     otherwise the two reads are lumped together&lt;/span&gt;
&lt;span class="sd"&gt;    qual_min    --   Ignore bases with quality less than qmin&lt;/span&gt;
&lt;span class="sd"&gt;    &amp;#39;&amp;#39;&amp;#39;&lt;/span&gt;
    &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nn"&gt;np&lt;/span&gt;
    &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;pysam&lt;/span&gt;
    &lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;

    &lt;span class="n"&gt;alpha&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;fromstring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;ACGT-N&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kp"&gt;dtype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;S1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ac_array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;dtype&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="kp"&gt;dtype&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="c1"&gt;# Note: the data structure for inserts is a nested dict with:&lt;/span&gt;
    &lt;span class="c1"&gt;# position --&amp;gt; string --&amp;gt; read type --&amp;gt; count&lt;/span&gt;
    &lt;span class="c1"&gt;#  (dict)      (dict)       (list)      (int)&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;insertion_data_structure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
        &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;zeros&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;


    &lt;span class="c1"&gt;# Open BAM or SAM file&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;pysam&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Samfile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sam_fname&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;ac&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;  &lt;span class="p"&gt;[]&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;nref&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;xrange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;nreferences&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;print&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;allocating for:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getrname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;nref&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;length:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lengths&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;nref&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="n"&gt;ac&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;append&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getrname&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;nref&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;ac_array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lengths&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;nref&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
                        &lt;span class="n"&gt;insertion_data_structure&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;

        &lt;span class="c1"&gt;# Iterate over single reads&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;samfile&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="c1"&gt;# Max number of reads&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;VERBOSE&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="nb"&gt;print&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;Max reads reached:&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_reads&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;

            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_unmapped&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;continue&lt;/span&gt;
            &lt;span class="c1"&gt;# Print output&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;VERBOSE&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="mi"&gt;10000&lt;/span&gt;&lt;span class="p"&gt;)):&lt;/span&gt;
                &lt;span class="nb"&gt;print&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

            &lt;span class="c1"&gt;# create short cuts to the nucleotide count and insertion data structures&lt;/span&gt;
            &lt;span class="n"&gt;rev&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_reverse&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;is_read2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="n"&gt;counts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ac&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rname&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                &lt;span class="n"&gt;insertion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ac&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rname&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;counts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ac&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rname&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                &lt;span class="n"&gt;insertion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ac&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rname&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

            &lt;span class="n"&gt;seq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;fromstring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;S1&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;qual&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;fromstring&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;int8&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;33&lt;/span&gt;
            &lt;span class="n"&gt;pos&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;
            &lt;span class="c1"&gt;# Iterate over blocks in the CIGAR codes&lt;/span&gt;
            &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ic&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;block_type&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cigar&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;block_type&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="c1"&gt;# softclip&lt;/span&gt;
                    &lt;span class="n"&gt;seq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
                    &lt;span class="n"&gt;qual&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
                    &lt;span class="k"&gt;continue&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;block_type&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="c1"&gt;# hard clip&lt;/span&gt;
                    &lt;span class="k"&gt;continue&lt;/span&gt;

                &lt;span class="c1"&gt;# Match&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;block_type&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="n"&gt;seqb&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                    &lt;span class="n"&gt;qualb&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                    &lt;span class="c1"&gt;# Increment counts for possible nucleotide&lt;/span&gt;
                    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
                        &lt;span class="n"&gt;posa&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;seqb&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;qualb&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;qual_min&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;nonzero&lt;/span&gt;&lt;span class="p"&gt;()[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;posa&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
                            &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;posa&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

                    &lt;span class="c1"&gt;# Chop off this block, advance reference position&lt;/span&gt;
                    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;ic&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cigar&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                        &lt;span class="n"&gt;seq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
                        &lt;span class="n"&gt;qual&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
                        &lt;span class="n"&gt;pos&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;block_len&lt;/span&gt;

                &lt;span class="c1"&gt;# Deletion&lt;/span&gt;
                &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;block_type&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="c1"&gt;# Increment gap counts&lt;/span&gt;
                    &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
                    &lt;span class="c1"&gt;# advance reference, but not read&lt;/span&gt;
                    &lt;span class="n"&gt;pos&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;block_len&lt;/span&gt;

                &lt;span class="c1"&gt;# Insertion&lt;/span&gt;
                &lt;span class="c1"&gt;# an insert @ pos 391 means that seq[:391] is BEFORE the insert,&lt;/span&gt;
                &lt;span class="c1"&gt;# THEN the insert, FINALLY comes seq[391:]&lt;/span&gt;
                &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;block_type&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="n"&gt;seqb&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                    &lt;span class="n"&gt;qualb&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;[:&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                    &lt;span class="c1"&gt;# Accept only high-quality inserts&lt;/span&gt;
                    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;qualb&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;qual_min&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;all&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
                        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                            &lt;span class="n"&gt;insertion&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;seqb&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;tostring&lt;/span&gt;&lt;span class="p"&gt;()][&lt;/span&gt;&lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
                        &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                            &lt;span class="n"&gt;insertion&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;pos&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;seqb&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="kp"&gt;tostring&lt;/span&gt;&lt;span class="p"&gt;()][&lt;/span&gt;&lt;span class="n"&gt;rev&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;

                    &lt;span class="c1"&gt;# Chop off seq, but not pos&lt;/span&gt;
                    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;ic&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cigar&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                        &lt;span class="n"&gt;seq&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;seq&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;
                        &lt;span class="n"&gt;qual&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;qual&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;block_len&lt;/span&gt;&lt;span class="p"&gt;:]&lt;/span&gt;

                &lt;span class="c1"&gt;# Other types of cigar?&lt;/span&gt;
                &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;VERBOSE&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                        &lt;span class="nb"&gt;print&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;unrecognized CIGAR type:&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cigarstring&lt;/span&gt;
                    &lt;span class="c1"&gt;#raise ValueError(&amp;#39;CIGAR type &amp;#39;+str(block_type)+&amp;#39; not recognized&amp;#39;)&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;ac&lt;/span&gt;


&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="vm"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;__main__&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;fname&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;d00v00.sam&amp;#39;&lt;/span&gt;
    &lt;span class="n"&gt;pile_up&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sam_to_pile_up&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;paired&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;qual_min&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_reads&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;Assembly&lt;/h3&gt;
&lt;p&gt;The processes of stitching together many small reads into larger contiguous sequences is called assembly.
The main algorithmic strategies to assemble genomes are de Buijn graphs (where nodes are kmers) and overlap graphs (where nodes are reads).&lt;/p&gt;
&lt;p&gt;Popular assembly programs include&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/marbl/canu"&gt;canu&lt;/a&gt;: a fork of the celera assembler for long-read only assembly&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cab.spbu.ru/software/spades/"&gt;spades&lt;/a&gt;: does hybrid assembly&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;UCSB computing enviroment&lt;/h3&gt;
&lt;p&gt;USCB generously allowed us to use their &lt;a href="http://csc.cnsi.ucsb.edu/"&gt;HPC environment&lt;/a&gt; for this course.
It uses the PBS queing system -- you can find their &lt;a href="http://csc.cnsi.ucsb.edu/sites/csc.cnsi.ucsb.edu/files/docs/csc_quickstart_0.pdf"&gt;quick start guide here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To submit a job, you typically specify a small script that specifies the resources the job needs and starts the program that does the work.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="ch"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c1"&gt;# specify number of nodes and cores per node&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -l nodes=1:ppn=1&lt;/span&gt;
&lt;span class="c1"&gt;# specify the time you expect the job to run hh:mm:ss&lt;/span&gt;
&lt;span class="c1"&gt;#PBS -l walltime=2:00:00&lt;/span&gt;

&lt;span class="c1"&gt;# you executable&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;hello world&amp;quot;&lt;/span&gt;,&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This would then be called as&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qsub submit.sh -F random_output
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;where the additional argument "random_output" will be sustituted for the "$1" in the script. Multiple arguments need to be enclosed by quotation marks.
To check the status of your jobs, type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;qstat -u username
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For the different tasks that we will run during this course, we have to generate analogous scripts that submit the appropriate jobs.&lt;/p&gt;</content><category term="teaching"></category><category term="command line"></category><category term="bioinformatics"></category></entry><entry><title>Eco-Evolutionary dynamics in Microbial Communities -- pan-genomes</title><link href="/201707_qbio_pangenome.html" rel="alternate"></link><published>2017-07-24T00:00:00+02:00</published><updated>2017-07-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-07-24:/201707_qbio_pangenome.html</id><summary type="html">&lt;p&gt;Bacterial genomes differ in gene content since parts of their genome can be duplicated, lost, or picked up from the environment.
The latter can be mediated by phages or dedicted DNA uptake mechanisms.
This type of horizontal transfer complicates the phylogenetic analysis is bacteria.
With the total number of genomes …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Bacterial genomes differ in gene content since parts of their genome can be duplicated, lost, or picked up from the environment.
The latter can be mediated by phages or dedicted DNA uptake mechanisms.
This type of horizontal transfer complicates the phylogenetic analysis is bacteria.
With the total number of genomes that are analyzed, the number of genes found in all strains (often referred to as the core genome) goes down, while the total number of distinct genes goes up (the pan-genome).&lt;/p&gt;
&lt;p&gt;We will use here the pan-genome pipeline developed by &lt;a href="team/Wei_Ding.html"&gt;Wei Ding&lt;/a&gt; in my lab.
PanX combines a pipeline based on &lt;a href="https://github.com/bbuchfink/diamond"&gt;DIAMOND&lt;/a&gt; and &lt;a href="https://micans.org/mcl/"&gt;MCL&lt;/a&gt;, phylogenetic post-processing, and a visualization tool.&lt;/p&gt;
&lt;p&gt;To install panX, type&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;    git clone https://github.com/neherlab/pan-genome-analysis.git
    cd pan-genome-analysis
    git submodule update
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;on the command line. All other dependencies should be install already.
This will now allow you to run the pipe-line, either on the test data provided or on the your own data.&lt;/p&gt;
&lt;h3&gt;Pan-genome visualization&lt;/h3&gt;
&lt;p&gt;The visualization is best installed on your own laptop. If you have &lt;code&gt;git&lt;/code&gt; install, the following series of commands should do the trick&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;    git clone https://github.com/neherlab/pan-genome-visualization.git
    git submodule update --init
    npm install
    npm start
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For this to work, you need an up-to-date version of node, which can be obtained from &lt;a href="https://nodejs.org/en/download/"&gt;nodejs.org&lt;/a&gt;.
On you local laptop, you should now be able to view the page at &lt;a href="http://localhost:8000"&gt;localhost:8000&lt;/a&gt;.&lt;/p&gt;</content><category term="teaching"></category><category term="pangenome"></category><category term="bacteria"></category></entry><entry><title>Recent progress in predictive modeling</title><link href="/201707_Crick.html" rel="alternate"></link><published>2017-07-12T00:00:00+02:00</published><updated>2017-07-12T00:00:00+02:00</updated><author><name>Richard Neher &amp; Trevor Bedford</name></author><id>tag:None,2017-07-12:/201707_Crick.html</id><summary type="html">&lt;section&gt;
&lt;h2&gt;Tools and models&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt;Tools (nextflu.org / nextstrain.org)
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Flexible display/analysis to HI/FRA data via nextflu&lt;/li&gt;
        &lt;li&gt;medium term: move to nextstrain with map&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/li&gt;
    &lt;li&gt;prediction&lt;br&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Spotting growing clades: Local branching index&lt;/li&gt;
        &lt;li&gt;Spotting growing clades: Frequency trajectories&lt;/li&gt;
        &lt;li&gt;Spotting growing clades: antigenic data&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="https://nextflu-cdc.aerobatic.io" target="_blanck"&gt;&lt;h2&gt;nextflu-cdc&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu" target="_blanck"&gt;&lt;h2&gt;nextstrain&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Useful additions?&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt;host age?&lt;/li&gt;
    &lt;li&gt;flagging of recurrent …&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h2&gt;Tools and models&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt;Tools (nextflu.org / nextstrain.org)
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Flexible display/analysis to HI/FRA data via nextflu&lt;/li&gt;
        &lt;li&gt;medium term: move to nextstrain with map&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/li&gt;
    &lt;li&gt;prediction&lt;br&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Spotting growing clades: Local branching index&lt;/li&gt;
        &lt;li&gt;Spotting growing clades: Frequency trajectories&lt;/li&gt;
        &lt;li&gt;Spotting growing clades: antigenic data&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="https://nextflu-cdc.aerobatic.io" target="_blanck"&gt;&lt;h2&gt;nextflu-cdc&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org/flu" target="_blanck"&gt;&lt;h2&gt;nextstrain&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Useful additions?&lt;/h2&gt;
    &lt;ul&gt;
    &lt;li&gt;host age?&lt;/li&gt;
    &lt;li&gt;flagging of recurrent mutations?&lt;/li&gt;
    &lt;li&gt;glycosylation&lt;/li&gt;
    &lt;li&gt;NA, other segments, ...&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Prediction: Local Branching Index&lt;/h3&gt;
&lt;img src="/talk_images/lbi_unrooted.png" width="70%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;Single time point&lt;/li&gt;
        &lt;li&gt;agnostic/ignorant of biology&lt;/li&gt;
        &lt;li&gt;Similar to Luksza/Laessig's phylogenetic component&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Prediction: Frequencies&lt;/h3&gt;
&lt;small&gt;&lt;ul&gt;
    &lt;li&gt;With time resolved data, more accurate extrapolation should be possible&lt;/li&gt;
    &lt;li&gt;Nextflu estimates smoothed frequency trajectories&lt;/li&gt;
    &lt;li&gt;Region specific frequencies could use all available data&lt;/li&gt;
    &lt;li&gt;Concerns regarding oversampling of certains regions/cities&lt;/li&gt;
&lt;/ul&gt;&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Prediction: antigenic data&lt;/h3&gt;
&lt;img src="/talk_images/HI_vs_success.png" width="50%"&gt;&lt;br&gt;
&lt;small&gt;&lt;ul&gt;
    &lt;li&gt;Antigenic advance is associated with success&lt;/li&gt;
    &lt;li&gt;Small advanced clades nevertheless die out&lt;/li&gt;
&lt;/ul&gt;&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Challenges&lt;/h2&gt;
&lt;ul&gt;
    &lt;li&gt;Combining different signals requires parameters&lt;/li&gt;
    &lt;li&gt;We have only about 20y to train models on&lt;/li&gt;
    &lt;li&gt;Overfitting is a serious concern&lt;/li&gt;
    &lt;li&gt;Generate more data: Sequence 200 viruses per year from 1970 - 1995??&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/H3N2_count.png" width="70%"&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Population genetics of rapid adaptation and the predictability of evolution</title><link href="/201706_facmtg.html" rel="alternate"></link><published>2017-06-20T00:00:00+02:00</published><updated>2017-06-20T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-06-20:/201706_facmtg.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Evolution of HIV&lt;/li&gt;
        &lt;li&gt;Theory of evolution&lt;/li&gt;
        &lt;li&gt;Tracking and prediction of RNA virus evolution&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med …&lt;/span&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section&gt;
    &lt;ul&gt;
        &lt;li&gt;Evolution of HIV&lt;/li&gt;
        &lt;li&gt;Theory of evolution&lt;/li&gt;
        &lt;li&gt;Tracking and prediction of RNA virus evolution&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Rapid evolution before therapy, no evolution on therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics models&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h5 style="text-align: left"&gt;Neutral models&lt;/h5&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png"&gt;
    &lt;small &gt;
    &lt;/small&gt;
    &lt;/div&gt;

    &lt;span class="ref"&gt;RN, Annual Reviews, 2013&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;!-- &lt;img src="talk_images/BSC_explain0.png"&gt; --&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;a href="http://nextflu.org" target="_blank"&gt;&lt;h2&gt;nextflu.org&lt;/h2&gt;&lt;/a&gt;
    &lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/boris_shraiman.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin_russell.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
&lt;!--            &lt;object data="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;&lt;/object&gt;
 --&gt;        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:40%; left:15%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;!-- &lt;li&gt;Oskar Hallatschek&lt;/li&gt; --&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Rapid and consistent evolution of colistin resistance in XDR Pseudomonas aeruginosa during morbidostat culture</title><link href="/regenbogen_rapid_2017.html" rel="alternate"></link><published>2017-06-19T00:00:00+02:00</published><updated>2017-06-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-06-19:/regenbogen_rapid_2017.html</id><summary type="html">&lt;p&gt;Colistin is a last resort antibiotic commonly used against multidrug-resistant strains of Pseudomonas aeruginosa. To investigate the potential for in-situ evolution of resistance against colistin and to map the molecular targets of colistin resistance, we exposed two P. aeruginosa isolates to colistin using a continuous culture device known as morbidostat …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Colistin is a last resort antibiotic commonly used against multidrug-resistant strains of Pseudomonas aeruginosa. To investigate the potential for in-situ evolution of resistance against colistin and to map the molecular targets of colistin resistance, we exposed two P. aeruginosa isolates to colistin using a continuous culture device known as morbidostat. As a result, colistin resistance reproducibly increased 10-fold within ten days, and 100-fold within 20 days, along with highly stereotypic, yet strain specific mutation patterns. The majority of mutations hit the pmrAB two component signaling system and genes involved in lipopolysaccharide (LPS) synthesis, including lpxC, pmrE, and migA. We tracked the frequencies of all arising mutations by whole genome deep sequencing every 3-4 days to provide a detailed picture of the dynamics of resistance evolution, including competition and displacement among multiple resistant sub-populations. In seven out of 18 cultures, we observed mutations in mutS along with a mutator phenotype that seemed to facilitate resistance evolution.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Real-time tracking of seasonal influenza, Ebola, and Zika viruses</title><link href="/201706_RKI.html" rel="alternate"></link><published>2017-06-14T00:00:00+02:00</published><updated>2017-06-14T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-06-14:/201706_RKI.html</id><summary type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Evolution of RNA viruses&lt;/h3&gt;

&lt;div style="position: absolute;top:20%; left:10%; width: 20%"&gt;
    &lt;img src="/talk_images/HI-virion-structure.svg" width=100% class="plain"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;HI virus, source wikipedia&lt;/span&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:35%; width: 50%"&gt;
&lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Constant struggle to adapt to changing environments and host immunity&lt;/li&gt;
        &lt;li&gt;Mutation rates of about 0.00001/site and replication&lt;/li&gt;
        &lt;li&gt;Large viral populations explore every single mutation every day&lt;/li&gt;
        &lt;li&gt;Most mutations are detrimental, but some persist&lt;/li&gt;
        &lt;li&gt;Mutations can act like an approximate clock&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_notree.svg" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:42%; left:35%; width: 50%"&gt;
&lt;h5&gt;Phylogenetic analysis&lt;/h5&gt;
&lt;img src="/talk_images/toy_alignment_tree.svg" width=70% class="plain"&gt;
&lt;/div&gt;

&lt;div class="fragment" style="position: absolute;bottom:7%; left:15%; width: 70%"&gt;
&lt;h5&gt;Can we use sequences to track an ongoing outbreak?&lt;/h5&gt;
&lt;h5&gt;Can we predict future evolution of influenza viruses?&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Sequences record the spread of pathogens&lt;/h3&gt;
&lt;div  style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:15%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:20%; width: 60%"&gt;
&lt;h5&gt;The resolution is limited by the number of mutations!&lt;/h5&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!-- &lt;h3 class="slidetitle"&gt;Genomes of RNA viruses&lt;/h3&gt;
 --&gt;&lt;div style="position: absolute;top:5%; left:15%; width: 70%"&gt;
&lt;h4&gt;Influenza virus genome - 8 segments&lt;/h4&gt;
&lt;img src="/talk_images/flu_genome.png" width=70% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:52%; left:10%; width: 80%"&gt;
&lt;h4&gt;Zika virus genome $\sim 10000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/zika_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:68%; left:10%; width: 80%"&gt;
&lt;h4&gt;Ebola virus genome $\sim 20000$ bases&lt;/h4&gt;
&lt;img src="/talk_images/ebola_genome.png" width=100% class="plain"&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;bottom:10%; left:10%; width: 80%"&gt;
&lt;h5&gt;Many RNA viruses pick up one mutation every 2-4 weeks!&lt;/h5&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Frequent mutations imply...&lt;/h3&gt;
&lt;ul&gt;
    &lt;li&gt;most viruses in an outbreak differ from each other&lt;/li&gt;
    &lt;li&gt;transmission chains are visible&lt;/li&gt;
    &lt;li&gt;transmission can be ruled out!&lt;/li&gt;
    &lt;li&gt;geographic spread can be reconstructed&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:15%; width:70%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h4&gt;Status quo: every few years a big research group publishes a comprehensive analysis.&lt;/h4&gt;
&lt;div class="hugespacer"&gt;&lt;/div&gt;
&lt;h4&gt;Can we complement this with automatic always up-to-date analysis?&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Surveillance of human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;WHO CCs and NICs sequence and phenotype 100s of viruses per month&lt;/li&gt;
        &lt;li&gt;Sequences allow us to track how the virus is spreading and changing&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:33%; left:5%; width: 90%"&gt;
    &lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
    &lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
&lt;div&gt;
    &lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
    &lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
    &lt;h4&gt;based on sequences and phenotype provided by the WHO CCs and NICs&lt;/h4&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextflu - summary&lt;/h2&gt;
&lt;div&gt;
    &lt;ul&gt;
        &lt;li&gt;relies on data generated in a big coordinated effort by dozens of institutions&lt;/li&gt;
        &lt;li&gt;integrates genotypic, phenotypic, and spatial/temporal information&lt;/li&gt;
        &lt;li&gt;is always up to date &amp;#x2190; possible as data are shared early&lt;/li&gt;
        &lt;li&gt;allows interactive exploration of big data sets&lt;/li&gt;
        &lt;li&gt;estimates growth of clades &amp;#x2192; prioritize phenotypic characterization&lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;
&lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;div class="fragment"&gt;
    &lt;h2 style="color:#5097BA"&gt;Can this work during outbreaks?&lt;/h2&gt;
&lt;/div&gt;
 --&gt;&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Real-time molecular epidemiology during outbreaks?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Ebola virus outbreak in West Africa -- Dudas et al, Nature 2017&lt;/h3&gt;
&lt;video height="80%" data-autoplay src="talk_images/dudas_ebola_animation.mp4"&gt;&lt;/object&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;How do we avoid the long delay?&lt;/h2&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!--    &lt;div style="position:absolute; top:15%; left:5%; width:38%; justify-content:left"&gt;
    &lt;h4&gt;Sequencing&lt;/h4&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;fast (Ion Torrent/nanopore)&lt;/li&gt;
            &lt;li&gt;portable (nanopore)&lt;/li&gt;
            &lt;li&gt;cheap (Illumina)&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;div style="position:absolute; top:25%; left:5%; width:38%"&gt;
    &lt;h3&gt;Bottlenecks:&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;sample &amp;#x2192; DNA to sequence&lt;/li&gt;
            &lt;li&gt;sequencing itself not too big a problem&lt;/li&gt;
            &lt;li&gt;combining data from different sources&lt;/li&gt;
            &lt;li&gt;convincing groups to share and pool their data&lt;/li&gt;
            &lt;li&gt;rapid analysis and dissemination of results&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:40%; width:55%"&gt;
        &lt;img src="talk_images/ebola_minion.jpg"&gt;
    &lt;/div&gt;
&lt;span class="ref"&gt;Raymond Koundouno, image by Sophie Darrafour&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;nextstrain.org&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;integrate data from many different sources&lt;/li&gt;
        &lt;li&gt;analyze those data in near real time&lt;/li&gt;
        &lt;li&gt;disseminate results in an intuitive yet informative way&lt;/li&gt;
        &lt;li&gt;provide actionable insights&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;h3&gt;Ian Goodfellow, Matt Cotton, and colleagues sequencing EBOV in West Africa&lt;/h3&gt;
    &lt;img src="talk_images/matt_cotton_sequencing_tent.jpeg"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Beyond tracking: can we predict?&lt;/h2&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="/talk_images/H3N2_current.png" width=1400px&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Competition between different viral variants&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=75% class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;!--    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
 --&gt;    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:45%"&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;



&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="850px" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Challenges and future directions - Routine surveillance&lt;/h3&gt;
&lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Nextstrain for every pathogen with surveillance data?&lt;/li&gt;
        &lt;li&gt;Automated analysis as a cost-effective way to maximize return&lt;/li&gt;
        &lt;li&gt;Animal reservoirs (e.g.~influenza viruses)&lt;/li&gt;
        &lt;li&gt;Extension to bacterial pathogens&lt;/li&gt;
        &lt;li&gt;Integration with geo-spatial and clinical information&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:20%; left:50%; width:50%"&gt;
&lt;img src="/talk_images/nextstrain_ebola_screenshot.png"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Challenges and future directions - Outbreaks&lt;/h3&gt;
&lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Coordination of data sharing&lt;/li&gt;
        &lt;li&gt;Alignment of incentives of different stake holders&lt;/li&gt;
        &lt;li&gt;Communication of actionable insights to people on the ground&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:50%; left:5%; width:40%"&gt;
&lt;img src="/talk_images/ebola_minion.jpg"&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:20%; left:50%; width:40%"&gt;
&lt;img src="/talk_images/matt_cotton_sequencing_tent.jpeg"&gt;
&lt;/div&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Challenges and future directions&lt;/h3&gt;
&lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
&lt;h4&gt;Outbreaks&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Provide infrastructure for data sharing&lt;/li&gt;
        &lt;li&gt;Incentivize immediate data sharing while and ensureing that credit is given to data producers&lt;/li&gt;
        &lt;li&gt;Extension to bacteria: food-bourne outbreaks, hospital outbreaks&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
&lt;/div&gt;
&lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
&lt;h4&gt;Routine surveillance&lt;/h4&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Automated analysis to maximize the benefits of surveillance&lt;/li&gt;
        &lt;li&gt;Example: extension to animal influenza viruses&lt;/li&gt;
        &lt;li&gt;Example: Norovirus&lt;/li&gt;
        &lt;li&gt;"structured auto-updated analysis of all pathogen genomes in genbank"&lt;/li&gt;
        &lt;li&gt;integration of contextual information with genomes&lt;/li&gt;
    &lt;/ul&gt;
&lt;/small&gt;
&lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201706_IGC_Lisbon.html" rel="alternate"></link><published>2017-06-09T00:00:00+02:00</published><updated>2017-06-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-06-09:/201706_IGC_Lisbon.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV replication cycle&lt;/h3&gt;
    &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="800px" class="plain"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:45%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:45%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and mutation rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=65% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by change)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:5%; width:50%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state at rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:60%; width:40%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="talk_images/nextflu.png" width=90%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/diversity_to_fitness_distribution.png" width="100%"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
    &lt;img src="talk_images/prediction_math.png" width=60%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;



&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Drug resistance evolution in &lt;it&gt;P. aeruginosa&lt;/it&gt; &lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:10%; width:50%"&gt;
    &lt;img src="talk_images/morbidostat_setup.png" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:60%; width:40%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;~3 week culture&lt;/li&gt;
        &lt;li&gt;OD measurement every 30 seconds&lt;/li&gt;
        &lt;li&gt;deep sequencing every 2 days&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:10%; width:40%"&gt;
    &lt;img src="talk_images/PA83_snps_in_vial_v03.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:50%; width:40%"&gt;
    &lt;img src="talk_images/PA77_colistin_concentration.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Regenbogen et al, biorxiv, 2016&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/boris_shraiman.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin_russell.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
&lt;!--            &lt;object data="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;&lt;/object&gt;
 --&gt;        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:40%; left:15%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;!-- &lt;li&gt;Oskar Hallatschek&lt;/li&gt; --&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img class="plain" src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img class="plain" src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;img class="plain" src="talk_images/unibas_logo.png" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;My lab will move to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h4&gt;We will have post-doc openings!&lt;/h4&gt;
    &lt;h5&gt;get in touch!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;</content><category term="talk"></category></entry><entry><title>How hot are Mitochondria?</title><link href="/201706_mito_heat.html" rel="alternate"></link><published>2017-05-29T00:00:00+02:00</published><updated>2017-05-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-05-29:/201706_mito_heat.html</id><summary type="html">&lt;p&gt;In a recent &lt;a href="https://doi.org/10.1101/133223"&gt;preprint&lt;/a&gt;, Chretien et al suggest that mitochondria are 10 degrees warmer than the surrounding cytosol.
Ten degrees across the membrane of a small organelle struck me as an unreasonably large gradient and I had difficulties imagining how such a gradient could be maintained.
And indeed, the quick …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In a recent &lt;a href="https://doi.org/10.1101/133223"&gt;preprint&lt;/a&gt;, Chretien et al suggest that mitochondria are 10 degrees warmer than the surrounding cytosol.
Ten degrees across the membrane of a small organelle struck me as an unreasonably large gradient and I had difficulties imagining how such a gradient could be maintained.
And indeed, the quick calculation below shows that such a gradient can't possibly be real.&lt;/p&gt;
&lt;p&gt;To get a rough idea of the heating power required to maintain a gradient, lets assume a steady state scenario and ignore the fact that mitochondria are curved (which would add constant of order one here and there but doesn't affect the huge discrepancy we will find below).
The steady state power \(P\) is then approximately
$$
P = \kappa \frac{\Delta T}{w}A
$$
where \(\kappa\) is the heat conductance, \(\Delta T = 10^{\circ}K\) is the temperature difference, \(w = 100nm\) is the distance over which temperature changes, and \(A=1 \mu m^2\) is the approximate area of a mitochondrion.
A more difficult number to estimate is the heat conductance of the mitochondrial membrane.
This &lt;a href="http://dx.doi.org/10.1063/1.4807471"&gt;paper by Park et al&lt;/a&gt; estimates the whole cell cytosolic heat conductance to be \(\kappa = 0.5 W/m/K\).
&lt;a href="http://onlinelibrary.wiley.com/doi/10.1002/qua.22785/full"&gt;Müller and Müller-Plathe&lt;/a&gt; report a roughly similar number for lipid bilayers.
Overall, watery environments tend to have a heat conductance of around \(1W/K/m\).
Plugging these numbers into the above equation, we find
$$
P = \frac{0.5 W}{mK}\frac{10K}{10^{-7}m} 10^{-12}m = 0.5\times 10^{-4}W
$$
That is a lot of power for a single cell.
Previous studies estimate the typical &lt;a href="http://www.sciencedirect.com/science/article/pii/0306456582900365"&gt;power consumption of a cell&lt;/a&gt; to be around \(10^{-11} - 10^{-10}\)W, i.e., we are off by a factor of at least a million (and hence no need to worry factors of \(2\pi\)).&lt;/p&gt;
&lt;p&gt;Let's extrapolate this to the entire body:
We have about \(10^{13}\) cells in our body each of which contains dozens of mitochondria.
This would correspond to a total power of \(10^{10}\)W or roughly the power of 10 nuclear power stations.
Of course only a small fraction of cells operate at full throttle, but nevertheless the gradients reported by &lt;a href="https://doi.org/10.1101/133223"&gt;Chretien et al&lt;/a&gt; are implausible.
The authors don't discuss the physical requirements and constraints (no mention of heat conductance in the article).&lt;/p&gt;
&lt;p&gt;This rough order of magnitude calculation echoes an earlier critique by &lt;a href="https://doi.org/10.1038/nmeth.3073"&gt;Baffou et al&lt;/a&gt; who have argued much more generally that intra-cellular temperature differences can't exceed \(10^{-5}K\) and that many reports of large intra-cellular temperature gradients are probably artefacts. Thanks a lot to Anthonie Muller for pointing me to these references in the comment section on the preprint.&lt;/p&gt;</content><category term="post"></category><category term="biophysics"></category></entry><entry><title>Estimating the in-vivo fitness landscape of HIV-1</title><link href="/201705_HIV_dyn.html" rel="alternate"></link><published>2017-05-25T00:00:00+02:00</published><updated>2017-05-25T00:00:00+02:00</updated><author><name>Fabio Zanini, Vadim Puller, Jan Albert, and Richard Neher</name></author><id>tag:None,2017-05-25:/201705_HIV_dyn.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch" target="_blank"&gt;hiv.biozentrum …&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.biozentrum.unibas.ch" target="_blank"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;Dynamics of single nucleotide variants&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;the &lt;b&gt;average&lt;/b&gt; frequency of neutral variants grows as $\mu t$&lt;/li&gt;
        &lt;li&gt;individual trajectories of SNVs are very noisy&lt;/li&gt;
        &lt;li&gt;many sites $\Rightarrow$ average mutation rates&lt;/li&gt;
        &lt;li&gt;ASSUMPTION: synonymous and globally variable $\Rightarrow$ approximately neutral&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Inferred vs measured mutations rates (Abram et al)&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_experiment_comparison.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state at rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_saturation.png" class="plain"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3  class="slidetitle"&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;div style="position:absolute; top:26%; left:10%; width:40%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Frequencies of costly mutations decorrelate fast $\frac{d x}{dt} = \mu -s x $ &lt;/li&gt;
            &lt;li&gt;$\Rightarrow$ average many samples to obtain accurate estimates
            &lt;/li&gt;
            &lt;li&gt;Assumption: The global consensus is the preferred state&lt;/li&gt;
            &lt;li&gt;Only use sites that initially agree with consensus&lt;/li&gt;
            &lt;li&gt;Only use sites that don't chance majority nucleotide&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:30%; left:50%; width:50%"&gt;
    &lt;img src="/talk_images/HIV_fitness_sample_average.svg" class="plain"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=1000px&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=1400px&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=1200px&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width="1300px"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Costly HLA associated positions have high diversity&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_nef_associations.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=240px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=240px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=240px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=240px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Deep sequencing of plasma RNA&lt;/h3&gt;
    &lt;img src="/talk_images/sketchPrepCircle.png" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Temporal dynamics of gene expression and histone marks at the Arabidopsis shoot meristem during flowering</title><link href="/you_temporal_2017.html" rel="alternate"></link><published>2017-05-17T00:00:00+02:00</published><updated>2017-05-17T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-05-17:/you_temporal_2017.html</id><summary type="html">&lt;p&gt;Plants can produce organs throughout their entire life from pluripotent stem cells located at their growing tip, the shoot apical meristem (SAM). At the time of flowering, the SAM of Arabidopsis thaliana switches fate and starts producing flowers instead of leaves. Correct timing of flowering in part determines reproductive success …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Plants can produce organs throughout their entire life from pluripotent stem cells located at their growing tip, the shoot apical meristem (SAM). At the time of flowering, the SAM of Arabidopsis thaliana switches fate and starts producing flowers instead of leaves. Correct timing of flowering in part determines reproductive success, and is therefore under environmental and endogenous control. How epigenetic regulation contributes to the floral transition has eluded analysis so far, mostly because of the poor accessibility of the SAM. Here we report the temporal dynamics of the chromatin modifications H3K4me3 and H3K27me3 and their correlation with transcriptional changes at the SAM in response to photoperiod-induced flowering. Emphasizing the importance of tissue-specific epigenomic analyses we detect enrichments of chromatin states in the SAM that were not apparent in whole seedlings. Furthermore, our results suggest that regulation of translation might be involved in adjusting meristem function during the induction of flowering.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201705_Bethe.html" rel="alternate"></link><published>2017-05-04T00:00:00+02:00</published><updated>2017-05-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-05-04:/201705_Bethe.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution across the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:60%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- REVERSION --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;!-- &lt;section&gt;
    &lt;h2&gt;Does HIV evolve during therapy?&lt;/h2&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="100%"&gt;&lt;/img&gt;
    &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago? &lt;br&gt;
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
            &lt;li&gt;
                All other merger rates are also consistent with the Bolthausen-Sznitman coalescent:&lt;br&gt; $\quad\lambda_{b,k} = \frac{(k-2)!(b-k)!}{T_c (b-1)!}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; height: 80%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" height=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201707_LMU_alumni.html" rel="alternate"></link><published>2017-05-04T00:00:00+02:00</published><updated>2017-05-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-05-04:/201707_LMU_alumni.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV …&lt;/h3&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1768 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:17%; left:10%; width:50%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;


 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
 --&gt;
&lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
&lt;!--    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- MUTATION TRACKING --&gt;&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=80%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution across the genome&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:20%; width:60%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- REVERSION --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;!-- &lt;section&gt;
    &lt;h2&gt;Does HIV evolve during therapy?&lt;/h2&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetic models of rapid evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_small_mutations.png" width=85%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:3%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:3%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:3%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:3%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:3%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Traveling waves and the Bolthausen-Snitman coalescent&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:15%; width:60%"&gt;
        &lt;img src="talk_images/BSC_branching_process.png" width="100%"&gt;&lt;/img&gt;
    &lt;small&gt;
        &lt;ul&gt;
        &lt;li&gt;Branching process approximation: $P(n_i, t|x_i)$&lt;/li&gt;
            &lt;li&gt;
                Does a sample (blue dots) have a common ancestor $\tau$ generations ago? &lt;br&gt;
$\quad Q_b = \langle \sum_i \left(\frac{n_i}{\sum_j n_j}\right)^b\rangle \approx \frac{\tau-T_c}{T_c(b-1)} $
        &lt;/li&gt;
            &lt;li&gt;
                All other merger rates are also consistent with the Bolthausen-Sznitman coalescent:&lt;br&gt; $\quad\lambda_{b,k} = \frac{(k-2)!(b-k)!}{T_c (b-1)!}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; height: 80%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" height=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1024px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=900px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:10%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:50%; left:10%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;
&lt;!--
&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Within-host evolution of HIV</title><link href="/201705_Cologne.html" rel="alternate"></link><published>2017-05-03T00:00:00+02:00</published><updated>2017-05-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-05-03:/201705_Cologne.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="800px" class="plain"&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="786px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:50%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Recombination and linkage&lt;/h3&gt;
        &lt;img src="talk_images/HIV_linkage.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Costly HLA associated positions have high diversity&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_nef_associations.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip_hyper.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/HIV_reservoir_hypermutation_stats.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Tracking and predicting evolution and spread of RNA viruses</title><link href="/201704_EAWAG_UMIK.html" rel="alternate"></link><published>2017-04-25T00:00:00+02:00</published><updated>2017-04-25T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-04-25:/201704_EAWAG_UMIK.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:45%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:45%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:45%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and mutation rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by change)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="talk_images/nextflu.png" width=90%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/diversity_to_fitness_distribution.png" width="100%"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
    &lt;img src="talk_images/prediction_math.png" width=60%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;



&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Drug resistance evolution in &lt;it&gt;P. aeruginosa&lt;/it&gt; &lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:10%; width:50%"&gt;
    &lt;img src="talk_images/morbidostat_setup.png" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:60%; width:40%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;~3 week culture&lt;/li&gt;
        &lt;li&gt;OD measurement every 30 seconds&lt;/li&gt;
        &lt;li&gt;deep sequencing every 2 days&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:10%; width:40%"&gt;
    &lt;img src="talk_images/PA83_snps_in_vial_v03.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:50%; width:40%"&gt;
    &lt;img src="talk_images/PA77_colistin_concentration.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Regenbogen et al, biorxiv, 2016&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/boris_shraiman.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin_russell.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
&lt;!--            &lt;object data="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;&lt;/object&gt;
 --&gt;        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:40%; left:15%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;!-- &lt;li&gt;Oskar Hallatschek&lt;/li&gt; --&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/wei_ding.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Wei Ding&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;My lab will move to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h4&gt;We will have post-doc openings!&lt;/h4&gt;
    &lt;h5&gt;get in touch!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201704_Simons.html" rel="alternate"></link><published>2017-04-12T00:00:00+02:00</published><updated>2017-04-12T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-04-12:/201704_Simons.html</id><summary type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Viruses&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/tobacco_mosaic_virus.png" width="100%"&gt;
        &lt;span style="font-size: 18px"&gt;tobacco mosaic virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (Thomas Splettstoesser, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:5%; width:30%"&gt;
        &lt;img src="talk_images/bacteria_phage.png" width="40%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;bacteria phage&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; (adenosine, wikipedia)&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/influenza_virus.png" width="70%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;influenza virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:32%; width:30%"&gt;
        &lt;img src="talk_images/HI-virion-structure.svg" width="45%"&gt;&lt;br&gt;
        &lt;span style="font-size: 18px"&gt;human immunodeficiency virus&lt;/span&gt;
        &lt;span style="font-size: 12px"&gt; wikipedia&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:25%; left:60%; width:32%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;rely on host to replicate&lt;/li&gt;
        &lt;li&gt;little more than genome + capsid&lt;/li&gt;
        &lt;li&gt;genomes typically 5-200k bases (+exceptions)&lt;/li&gt;
        &lt;li&gt;many infectious diseases are caused by viruses&lt;/li&gt;
        &lt;li&gt;very important function in microbial eco-systems&lt;/li&gt;
        &lt;li&gt;most abundant organisms on earth $\sim 10^{31}$&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;

&lt;/section&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:5%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:70%; width:30%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission around 1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;~100 million infected people since&lt;/li&gt;
            &lt;li&gt;subtypes differ at 10-20% of their genome&lt;/li&gt;
            &lt;li&gt;HIV-1 evolves ~0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV infection&lt;/h3&gt;
    &lt;div style="position: absolute; left:5%; top:20%; width: 45%"&gt;
        &lt;img src="talk_images/HIV_infection_sketch.png" width="100%" class="plain"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:50%; top:15%; width: 50%"&gt;
        &lt;img src="talk_images/HIV-replication-cycle_simplified.svg" width="100%" class="plain fragment"&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; left:5%; bottom:15%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cells as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV-1 evolution within one individual&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:40%"&gt;
        &lt;img class="plain" src="talk_images/HIV_quasispecies.svg"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:40%"&gt;
        &lt;img class="fragment plain"  src="/talk_images/sketchPrepCircle.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:7%; left:10%; width:40%"&gt;
        &lt;img class="fragment plain" src="talk_images/pile_up.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;silouhette: clipartfest.com, Zanini at al, 2015. Collaboration with Jan Albert and his group&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:10%; width:80%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; height:84%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object class="fragment" data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
        &lt;!-- &lt;div class="bigspacer"&gt;&lt;/div&gt; --&gt;
    &lt;div style="position:absolute; bottom:10%; left:8%;"&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost whole genome coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif" width=60%&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;
&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity at neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=50% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent reversion of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:38%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:40%; width: 15%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:25%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg" width=70%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h2&gt;Does HIV evolve during therapy?&lt;/h2&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=80%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg" width=1000px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Theoretical framework for virus evolution -- population genetics&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:20%; width: 80%" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h3 style="text-align: left"&gt;Neutral models&lt;/h3&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;But: neutral models not suitable for RNA viruses!&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png" width=75%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Annual Reviews, 2013; Desai &amp; Fisher; Brunet &amp; Derride; Kessler &amp; Levine&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Neutral/Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:38%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:50%; width:38%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:10%; width:38%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:10%; left:10%; width:38%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:60%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:55%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:27%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png" width=70%&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1600px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png" width=1100px&gt;
        &lt;div style="position:absolute; top:3%; left:44%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:19%; width:27%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment current-visible" style="position:absolute; top:60%; left:16%; width:40%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
&lt;!--        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
 --&gt;    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:33%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:33%"&gt;
    &lt;small&gt;
        &lt;h3 style="text-align:left; width:100%"&gt;Given the branching pattern:&lt;/h3&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:20%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:12%; left:55%; width:35%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:75%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:8%; width:34%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:16%; left:54%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;section&gt;
    &lt;video height="100%" data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="70%"&gt;&lt;/object&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;no influenza specific input&lt;/li&gt;
        &lt;li&gt;how can the model be improved? (see model by Luksza &amp; Laessig)&lt;/li&gt;
        &lt;li&gt;what other context might this apply?&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;&lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;&lt;/section&gt;

&lt;section&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
    &lt;ul&gt;
        &lt;li&gt;RNA virus evolution can be observed directly&lt;/li&gt;
        &lt;li&gt;Extensive reversion to preferred amino acid sequence&lt;/li&gt;
        &lt;li&gt;Rapidly adapting population require new population genetic models&lt;/li&gt;
        &lt;li&gt;Those model can be used to infer fit clades&lt;/li&gt;
        &lt;li&gt;Future influenza population can be anticipated&lt;/li&gt;
        &lt;li&gt;Automated real-time analysis can help fight the spread of disease&lt;/li&gt;
    &lt;/ul&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin-megill.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/pavel_sagulenko.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/sidney-bell.jpg" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/james-hadfield.jpg" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Pavel Sagulenko&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_outreach"></category></entry><entry><title>Advanced Methods in Computational Sciences</title><link href="/201704_advanced_methods.html" rel="alternate"></link><published>2017-04-04T00:00:00+02:00</published><updated>2017-04-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-04-04:/201704_advanced_methods.html</id><summary type="html">&lt;h3&gt;Probabilistic inference in population genetics&lt;/h3&gt;
&lt;p&gt;The many sequenced genomes that are now available allow inference of past population processes from genetic diversity.
Population processes of interest include selection of novel variants that helped population to adapt to new enviroment, severe reductions in population size (so called population bottlenecks), and migration …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;Probabilistic inference in population genetics&lt;/h3&gt;
&lt;p&gt;The many sequenced genomes that are now available allow inference of past population processes from genetic diversity.
Population processes of interest include selection of novel variants that helped population to adapt to new enviroment, severe reductions in population size (so called population bottlenecks), and migration.
The objectives of this lecture are to&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;introduce basic concepts of population genetic inference&lt;/li&gt;
&lt;li&gt;set up probabilistic models of variant frequencies&lt;/li&gt;
&lt;li&gt;solve branching processes using generating functions and the method of characteristics&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Evidently, all of this will have to remain quite superficial but I am hoping to give you some flavor of what population genetics is about and what kind of questions can be addressed with sequence data.&lt;/p&gt;
&lt;h4&gt;Population genetics&lt;/h4&gt;
&lt;p&gt;As genomes are passed on from parents to children, they are reshuffled by recombination and altered by mutation, and the composition of the gene pool changes since some variants are more successful than others -- either by chance or because of their intrinisic properties.
Understanding these processes is essential to use genetic data for inference.
Genetic data typically comes in the form of sequences of whole genomes or a particular gene from different individuals and these sequences differ at a few positions.
These differences originate from mutations that happened at some point the past on the tree by which these sequences are related:&lt;/p&gt;
&lt;p&gt;&lt;img alt="coalescence" src="/talk_images/popgen_all.svg"&gt;&lt;/p&gt;
&lt;p&gt;Population genetics is concerned with understanding the link mutation, selection, etc and genetic diversity in the population.
This link is essential for inference.&lt;/p&gt;
&lt;h4&gt;The neutral background model&lt;/h4&gt;
&lt;p&gt;In absence of any systematic differences between different variants, their relative frequencies will nevertheless change by chance.
The stochastic element stems from the randomness in the number of offspring each individual has.
This process is typically modeled in two complementary but equivalent ways -- either via a "forward in time" diffusion process of variants or a "backward in time" genealogical process called the coalescent.
It is instructive to consider them both.&lt;/p&gt;
&lt;h5&gt;Coalescent models&lt;/h5&gt;
&lt;p&gt;The coalescent starts from a sample of individuals and asks "What is the probability that a given pair are siblings, i.e., have the same parent?".
In a population of constant size (average number of offspring \(m=1\)), it is easy to show that this probability is \(\frac{\sigma^2}{N}\).
This result makes intuitive sense: In a large population, the probability of sharing a parent by change is small. Furthermore, this probability is larger if there are a few large families, that is the offspring number distribution has large variance.
If there are \(k\) individuals in the sample, there are \(k(k-1)/2\) possible pairs.
Tracing now these \(k\) lineages backward in time, the first merger between a random pair will happen at rate
$$
\lambda_k = \frac{k(k-1)\sigma^2}{2N}
$$
After the first merger event, the number of lineages decreases from \(k\to k-1\) until eventually only one lineage is left, see the sketch of a tree above.
This lineage is the most recent common ancestor (MRCA) of the sample and the expected time to get there is simply the sum of the expectation of the different merger events.
$$
\langle T_{MRCA}\rangle = \frac{2N}{\sigma^2}\sum_{k=2}^{n} \frac{1}{k(k-1)} = \frac{2N}{\sigma^2}\left[\frac{1}{2} + \frac{1}{6}+\cdots\right] = \frac{2N(n-1)}{\sigma^2 n}
$$
(easy to show by induction -- try it!).&lt;/p&gt;
&lt;p&gt;The mutations observed in the sample have accumulated on the tree since the MRCA and genetic diversity is informative about population processes in the past.
The averge pairwise difference between sequences, for example, is equal to \(N\mu\) where \(\mu\) is the per site mutation rate.
Furthermore, time dependence of the population size can be inferred by fitting a trajectory \(N(t)\) that maximizes the likelihood of the sequence data.&lt;/p&gt;
&lt;p&gt;Coalescent processes in population genetics were first introduced by &lt;a href="https://doi.org/10.1016/0304-4149(82)90011-4"&gt;Kingman&lt;/a&gt; in 1982.&lt;/p&gt;
&lt;h5&gt;Diffusion models&lt;/h5&gt;
&lt;p&gt;A completely equivalent approach to describe genetic diversity in the population is via a forward-in-time diffusion process.
If the size of the population is approximately constant, the average number of offspring is evidently \(m=1\) , while variance \(\sigma^2\) depends on the mode of reproduction.
Given mean and variance of the offspring number distribution, we can calculate the distribution of the frequency of a variant in the subsequent generation.
In a population of size \(N\), the this frequency is going to be centered around its value \(p\) in the previous generation with a variance \(\frac{\sigma^2 p(1-p)}{N}\).
In the continuous time lime, the distribution \(P(p,t)\) obeys the diffusion equation
$$\frac{\partial}{\partial t} P(p,t) = \frac{\sigma^2}{2N}\frac{\partial^2}{\partial p^2}p(1-p)P(p,t)$$&lt;/p&gt;
&lt;p&gt;It is easy to see that this can be solved by separation of variables \(P(p,t) = a(p)b(t)\) which results in&lt;/p&gt;
&lt;p&gt;$$\frac{1}{b(t)}\frac{\partial}{\partial t} b(t) = -\lambda = \frac{1}{a(p)}\frac{\sigma^2}{2N}\frac{\partial^2}{\partial p^2}p(1-p)a(p)$$&lt;/p&gt;
&lt;p&gt;suggesting that mode decay is exponential with \(b(t) = e^{-\lambda t}\). The equation for \(a(p)\) is related to the hypergeometric equation and its solution can be expressed in terms of Gegenbauer polynomials. Finite solution at \(p=0\) and \(p=1\) requires a discrete spectrum with such that admissable solutions are
$$
a_k(p) = \frac{k(k+1)\sigma^2}{N}T_{k}(p)
$$
Each of these solutions corresponds to an eigenmode that decays with rate \(\frac{k(k+1)\sigma^2}{N}\) and the general solution is
$$
P(p,t) = \frac{\sigma^2}{N}\sum_{k=0} c_k k(k+1) T_{k}(p) e^{-\frac{k(k+1)\sigma^2}{N}}
$$
This description of the frequencies of genetic variants in the population was developed by Motoo Kimura and is summarized in &lt;a href="http://www.jstor.org/stable/3211856"&gt;Kimuara, 1964&lt;/a&gt;.
Note that the decay rates of the eigenmodes are the same as the rates at which the tree goes from \(k\) to \(k-1\) lineages.&lt;/p&gt;
&lt;h4&gt;Branching processes and the spread of beneficial mutations&lt;/h4&gt;
&lt;p&gt;The models introduced above assume that all individuals in the population are completely equivalent, meaning that there are no heritable traits that affect the offspring distribution.
Beneficial mutations, i.e., mutations that increase the change of survival, are of particular interest.
These mutations typically arise in a single individual and are then passed on in a stochastic manner.
It is hence quite uncertain if a beneficial mutation is going to survive.
For sake of arguments, lets assume the offspring number distribution is Poisson.
Individuals with a new good mutation have a mean number of offspring of \(m = 1+s\), those without the mutation simply 1.
The probabibility of loss of the mutation obeys
$$
P_0 = \sum_{i=0} p_i P_0^i = e^{-1-s}\sum_{i=0} \frac{((1+s)P_0)^i}{i!} = e^{-(1+s)(1-P_0)}
$$
For small \(s\), \(P_0\) is close to 1 and we can expand in \(P_{fix} = 1-P_0\)
$$
1 - P_{fix} = 1 - (1+s)P_{fix} + (1+2s+s^2)P_{fix}^2/2 \Rightarrow sP_{fix}\approx P_{fix}^2/2
$$
and hence \(P_{fix}\approx 2s\).
This illustrates that a mutation that confers an advantage of 10% is still lost in 80% of all cases -- evolution is very stochastic!&lt;/p&gt;
&lt;p&gt;More generally, stochastic population processes can be modeled with branching processes and it is instructive to solve explicitly for the solution of a branching process.
The goal is to solve for the probability distribution of the number of copies of a genetic variant \(P(n,t)\) at time \(t\) after the mutation arose.
This quantity obeys a simple difference equation
$$
P(n, t+dt) = (1-dt(b+d)n)P(n, t) + dt\left[ (n-1)b P(n-1,t) + (n+1)dP(n+1,t)\right]
$$
where the first term corresponds to the case when nothing is happening in the time interval \(dt\), the second corresponds to division/birth with rate \(d\) and the third to the death of one individual with rate \(d\).
Taking the limit \(dt\to 0\), we immediately get
$$
\partial_t P(n, t) = -(b+d)nP(n, t) + (n-1)bP(n-1,t) + (n+1)dP(n+1,t)
$$
To solve this equation, we define the generating function \(\phi(z,t) = \sum_n z^n P(n,t)\), multiply the equation by \(z^n\) and sum:
$$
\partial_t \phi(z, t) = -(b+d) z \partial_z \sum_{n=0} z^{n} P(n, t) + z^2 b \partial_z \sum_{n=0} z^{n-1}P(n-1,t) + \partial_z \sum_{n=1} n z^{n+1}P(n+1,t) = \left[-(b+d)z + bz^2 + d\right]\partial_z \phi(z,t)
$$
We will consider here the case where \(P(n,0)=\delta_{n0}\), i.e., there is exactly one individual at time \(t=0\), and \(\phi(z,t) = z\)
To solve this partial differential equation, we can use the methods of characteristics.
The method of characteristics determines families of curves in the space of \((z,t)\) along which the function is constant.
Parameterizing the characteristic with \(t\), we have \(\phi(z(t),t)\) and consequently.
$$
0 = \frac{d\phi(z(t), t)}{dt} = \partial_z \phi(z,t) \frac{dz}{dt} + \partial_t \phi(z,t) = \partial_z \phi(z,t) \left[\frac{dz}{dt} -(b+d)z + b z^2 + d  \right]
$$
Substituting \(z(t) = 1- \chi(t)\), this equation simplifies to
$$
\frac{d \chi(t)}{dt} =  - s \chi(t) + b\chi(t)^2
$$
with \(s=b-d\).
The solution then is
$$
\chi(t) = \frac{e^{-st}}{C-b\int_0^t e^{-st'}  dt'} = \frac{e^{-st}}{C+\frac{b}{s}(e^{-st}-1)}
$$
with initial condition \(\chi(0) = C^{-1}\).
By construction, the generating function \(\phi(z,t)\) is constant along the characteristic curve such that \(\phi(z(t),t) = \phi(z(0),0)) = z(0) = 1-C^{-1}\).
The problem is hence reduced to finding the integration constant \(C\) such that the characteristic passes through the point \((z,t)\).
Solving
$$
z = 1 - \frac{e^{-st}}{C(z,t)+\frac{b}{s}(e^{-st}-1)}
$$
for \(C(z,t)\) yields
$$
%(1 - z)(C(z,t)+\frac{b}{s}(e^{-st}-1)) = e^{-st}
%(1 - z)C(z,t) = e^{-st} - (1-z)\frac{b}{s}(e^{-st}-1)
%\frac{1}{C(z,t)} = \frac{(1 - z)}{e^{-st} - (1-z)\frac{b}{s}(e^{-st}-1)}
\phi(z,t) = 1 - \frac{1}{C(z,t)} = 1-\frac{(1 - z)e^{st}}{1 - (1-z)\frac{b}{s}(1 - e^{st})}
$$
As a sanity check, we can evaluate the first few moments
$$
1 = \sum_n P(n,t) = \phi(1,t) = 1
$$
$$
\langle n\rangle = \sum_n n P(n,t) = \partial_z \phi(z,t)|_{z=1} = e^{st}
$$
and the survival probability
$$
1-P(0,t) = 1-\phi(0,t) = \frac{e^{st}}{1+\frac{(1+s)}{s}(e^{st}-1)} \to
\cases{
\frac{s}{1+s} &amp;amp; s&amp;gt;0\cr
\frac{1}{1+t} &amp;amp; s=0\cr
se^{st} &amp;amp; s&amp;lt;0
}
$$
The figure below illustrates the behavior of the fixation probability for different growth rates \(s\).
For times \(t&amp;lt;s\), all curves behave roughly neutrally.
Only at longer times do systematic differences in growth rate matter and beneficial mutations fix for good and deleterious mutations are lost.&lt;/p&gt;
&lt;p&gt;&lt;img alt="fixation" src="talk_images/fixation_probability.svg"&gt;&lt;/p&gt;
&lt;p&gt;The full probability distribution \(P(n,t)\) can be readily obtained by expanding \(\phi(z,t)\) into a geometric series.&lt;/p&gt;
&lt;h4&gt;&lt;a href="/teaching_notes/201704_advanced_methods_notes.pdf"&gt;Handwritten notes&lt;/a&gt;&lt;/h4&gt;
&lt;h4&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://jhupbooks.press.jhu.edu/content/population-genetics"&gt;Population Genetics: A concise guide&lt;/a&gt;, John Gillespie, John Hopkins University Press, 2004&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jstor.org/stable/3211856"&gt;Diffusion Models in Population Genetics&lt;/a&gt;,  Motoo Kimura, Journal of Applied Probability, Vol. 1, No. 2 (Dec., 1964), pp. 177-232&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.1016/0304-4149(82)90011-4"&gt;The coalescent&lt;/a&gt;, John Kingman, Stochastic Processes and their Applications
Volume 13, Issue 3, September 1982, Pages 235-248&lt;/li&gt;
&lt;/ul&gt;</content><category term="teaching"></category><category term="coalescent"></category><category term="diffusion theory"></category><category term="branching process"></category></entry><entry><title>PoissonNMF and multispectral imaging</title><link href="/poisson_nmf_overview.html" rel="alternate"></link><published>2017-04-04T00:00:00+02:00</published><updated>2017-04-04T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-04-04:/poisson_nmf_overview.html</id><summary type="html">&lt;h3&gt;ImageJ plugins&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; is a versatile, open, and extendable image processing program. We developed a number of plug-ins for ImageJ to accomplish common task in fluoresence microscopy.&lt;/p&gt;
&lt;h4&gt;Blind decomposition of spectrally resolved data - single excitation&lt;/h4&gt;
&lt;p&gt;Plug-in and documentation available here: &lt;a href="poisson_nmf_documentation_overview.html"&gt;PoissonNMF&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Blind decomposition of spectrally resolved data - multiple excitation&lt;/h4&gt;
&lt;p&gt;Plug-in …&lt;/p&gt;</summary><content type="html">&lt;h3&gt;ImageJ plugins&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://rsbweb.nih.gov/ij/"&gt;ImageJ&lt;/a&gt; is a versatile, open, and extendable image processing program. We developed a number of plug-ins for ImageJ to accomplish common task in fluoresence microscopy.&lt;/p&gt;
&lt;h4&gt;Blind decomposition of spectrally resolved data - single excitation&lt;/h4&gt;
&lt;p&gt;Plug-in and documentation available here: &lt;a href="poisson_nmf_documentation_overview.html"&gt;PoissonNMF&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Blind decomposition of spectrally resolved data - multiple excitation&lt;/h4&gt;
&lt;p&gt;Plug-in and documentation available here: &lt;a href="poisson_ntf_overview.html"&gt;PoissonNTF&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;Optimize your choice of excitation wavelength and spectra channel&lt;/h4&gt;
&lt;p&gt;Plug-in and documentation available here: &lt;a href="optimize_acquisition_settings.html"&gt;Optimize Channels&lt;/a&gt;)&lt;/p&gt;
&lt;h4&gt;Library of spectra&lt;/h4&gt;
&lt;p&gt;All our plug-ins use a libray of spectra. To get started, a sample library can be download &lt;a href="/static/SpectraLibrary.zip"&gt;here&lt;/a&gt;. Unzip the file and move the folder into the ImageJ plugins folder.&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/RGBoverlay.png"&gt;&lt;/p&gt;</content><category term="software"></category><category term="image analysis"></category></entry><entry><title>Population genetics of rapid adaptation and the predictability of evolution</title><link href="/201704_UBasel_Zoology.html" rel="alternate"></link><published>2017-04-03T00:00:00+02:00</published><updated>2017-04-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-04-03:/201704_UBasel_Zoology.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics models&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h5 style="text-align: left"&gt;Neutral models&lt;/h5&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png"&gt;
    &lt;small &gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;extensive work on speed of adaptation, but this speed is not observable&lt;/li&gt;
        &lt;li&gt;genetic diversity is what we observe&lt;/li&gt;
        &lt;li&gt;depends on the properties of trees&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;

    &lt;span class="ref"&gt;RN, Annual Reviews, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:70%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:50%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png"&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;a href="http://nextflu.org" target="_blank"&gt;&lt;h2&gt;nextflu.org&lt;/h2&gt;&lt;/a&gt;
    &lt;a href="http://nextstrain.org" target="_blank"&gt;&lt;h2&gt;nextstrain.org&lt;/h2&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Virus evolution and the predictability of next year's flu</title><link href="/201703_Paris.html" rel="alternate"></link><published>2017-03-29T00:00:00+02:00</published><updated>2017-03-29T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-03-29:/201703_Paris.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics models&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h5 style="text-align: left"&gt;Neutral models&lt;/h5&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png"&gt;
    &lt;small &gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;extensive work on speed of adaptation, but this speed is not observable&lt;/li&gt;
        &lt;li&gt;genetic diversity is what we observe&lt;/li&gt;
        &lt;li&gt;depends on the properties of trees&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;

    &lt;span class="ref"&gt;RN, Annual Reviews, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:70%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:50%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png"&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;We recently moved to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h5&gt;get in touch if you are curious about working with us!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>The evolutionary dynamics of untreated HIV and the maintenance of the latent reservoir</title><link href="/201703_UZurich.html" rel="alternate"></link><published>2017-03-17T00:00:00+01:00</published><updated>2017-03-17T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-03-17:/201703_UZurich.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$ cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016.&lt;/a&gt;
                      Collaboration with the group of Jan Albert&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Deep sequencing of plasma RNA&lt;/h3&gt;
    &lt;img src="/talk_images/sketchPrepCircle.png" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Accuracy of minor variant frequencies&lt;/h3&gt;
    &lt;img src="/talk_images/overlap_illustration.svg" width=50% class="plain"&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:5%; width:90%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="70%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and mutation rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes slowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Mutation rates and diversity and neutral sites&lt;/h3&gt;
        &lt;img src="talk_images/HIV_mutation_rate_matrix.svg" width=60% class=plain&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by chance)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Inference of fitness costs&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;mutation away from preferred state with rate $\mu$&lt;/li&gt;
            &lt;li&gt;selection against non-preferred state with strength $s$&lt;/li&gt;
            &lt;li&gt;variant frequency dynamics: $\frac{d x}{dt} = \mu -s x $&lt;/li&gt;
            &lt;li&gt;equilibrium frequency:  $\bar{x} = \mu/s $&lt;/li&gt;
            &lt;li&gt;fitness cost:  $s = \mu/\bar{x}$&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness costs&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Fitness - diversity correlation&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_entropy_correlation.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Costly HLA associated positions have high diversity&lt;/h3&gt;
    &lt;object data="talk_images/HIV_fitness_nef_associations.svg" width=80%&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR  --&gt;
&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip_hyper.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Hypermutation&lt;/h3&gt;
    &lt;img src="talk_images/HIV_reservoir_hypermutation_stats.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;the group&lt;/h3&gt;
    &lt;img src="images/team_pics/group_2015.jpg" width="70%"&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Intra-patient evolution of HIV-1</title><link href="/201703_bern.html" rel="alternate"></link><published>2017-03-08T00:00:00+01:00</published><updated>2017-03-08T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-03-08:/201703_bern.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by change)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR
 --&gt;

&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>In vivo mutation rates and the landscape of fitness costs of HIV-1</title><link href="/zanini_in-vivo_2017.html" rel="alternate"></link><published>2017-03-02T00:00:00+01:00</published><updated>2017-03-02T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-03-02:/zanini_in-vivo_2017.html</id><summary type="html">&lt;p&gt;Mutation rates and fitness costs of deleterious mutations are difficult to measure in vivo but essential for a quantitative understanding of evolution. Using whole genome deep sequencing data from longitudinal samples during untreated HIV-1 infection, we estimated mutation rates and fitness costs in HIV-1 from the dynamics of genetic variation …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Mutation rates and fitness costs of deleterious mutations are difficult to measure in vivo but essential for a quantitative understanding of evolution. Using whole genome deep sequencing data from longitudinal samples during untreated HIV-1 infection, we estimated mutation rates and fitness costs in HIV-1 from the dynamics of genetic variation. At approximately neutral sites, mutations accumulate with a rate of \(1.2\times 10^{−5}\) per site per day, in agreement with the rate measured in cell cultures. We estimated the rate from G to A to be the largest, followed by the other transitions C to T, T to C, and A to G, while transversions are less frequent. At other sites, mutations tend to reduce virus replication. We estimated the fitness cost of mutations at every site in the HIV-1 genome using a model of mutation selection balance. About half of all non-synonymous mutations have large fitness costs (&amp;gt;10%), while most synonymous mutations have costs &amp;lt;1%. The cost of synonymous mutations is especially low in most of pol where we could not detect measurable costs for the majority of synonymous mutations. In contrast, we find high costs for synonymous mutations in important RNA structures and regulatory regions. The intra-patient fitness cost estimates are consistent across multiple patients, indicating that the deleterious part of the fitness landscape is universal and explains a large fraction of global HIV-1 group M diversity. &lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Tracking and predicting the evolution RNA viruses</title><link href="/201702_compare.html" rel="alternate"></link><published>2017-02-28T00:00:00+01:00</published><updated>2017-02-28T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-02-28:/201702_compare.html</id><summary type="html">&lt;section&gt;
&lt;h3&gt;RNA viruses are primary pandemic threats&lt;/h3&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;influenza virus (spanish flu 1918, "swine flu" 2009, H5N1, ...)&lt;/li&gt;
    &lt;li&gt;SARS (Severe Acute Respiratory Syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;MERS (Middle East respiratory syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;Ebola (filovirus)&lt;/li&gt;
    &lt;li&gt;Zika virus (flavivirus)&lt;/li&gt;
    &lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;!-- FLU TRACKING --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Surveillance of human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;WHO CCs and NICs …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;h3&gt;RNA viruses are primary pandemic threats&lt;/h3&gt;
&lt;small&gt;
&lt;ul&gt;
    &lt;li&gt;influenza virus (spanish flu 1918, "swine flu" 2009, H5N1, ...)&lt;/li&gt;
    &lt;li&gt;SARS (Severe Acute Respiratory Syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;MERS (Middle East respiratory syndrome, coronavirus)&lt;/li&gt;
    &lt;li&gt;Ebola (filovirus)&lt;/li&gt;
    &lt;li&gt;Zika virus (flavivirus)&lt;/li&gt;
    &lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
&lt;/small&gt;
&lt;/section&gt;

&lt;!-- FLU TRACKING --&gt;
&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Surveillance of human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;WHO CCs and NICs sequence and phenotype 100s of viruses per month&lt;/li&gt;
        &lt;li&gt;Sequences allow us to track how the virus is spreading and changing&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_1.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_2.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_3b.png" width=100%&gt;
&lt;/div&gt;
&lt;div class="fragment" style="position: absolute;top:35%; left:20%; width: 60%"&gt;
    &lt;img src="/talk_images/infection_tree_4b.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;images by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextflu.org"  target="_blank"&gt;&lt;h1 style="color:#5097BA"&gt;nextflu.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch" src="/talk_images/nextstrain_components.png"&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Modeling and predicting influenza evolution&lt;/h3&gt;
    &lt;img src="talk_images/diversity_to_fitness_distribution.png" width="100%"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
    &lt;img src="talk_images/prediction_math.png" width=60%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;



&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Drug resistance evolution in &lt;it&gt;P. aeruginosa&lt;/it&gt; &lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:10%; width:50%"&gt;
    &lt;img src="talk_images/morbidostat_setup.png" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:60%; width:40%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;~3 week culture&lt;/li&gt;
        &lt;li&gt;OD measurement every 30 seconds&lt;/li&gt;
        &lt;li&gt;deep sequencing every 2 days&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:10%; width:40%"&gt;
    &lt;img src="talk_images/PA83_snps_in_vial_v03.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:50%; width:40%"&gt;
    &lt;img src="talk_images/PA77_colistin_concentration.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Regenbogen et al, biorxiv, 2016&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Virus evolution takes place within the host&lt;/h3&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h5&gt;Deep longitudinal sampling is necessary to monitor evolution in detail&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;$10^8$  cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and mutation rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by change)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- HIV RESERVOIR
 --&gt;

&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Sharing of viral NGS data is challenging!&lt;/h3&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;Short reads need to be filtered, mapped, assembled, ...&lt;/li&gt;
            &lt;li&gt;Metadata is critical (template input, CD4 counts, etc)&lt;/li&gt;
            &lt;li&gt;Processed data much more useful than raw reads&lt;/li&gt;
        &lt;/ul&gt;&lt;br&gt;
        &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;&lt;object data="/images/HIVEVO_logo.png" width="30%"&gt;&lt;/object&gt;&lt;/a&gt;
        &lt;a href="http://hiv.tuebingen.mpg.de" target="_blank"&gt;&lt;h4&gt;hiv.tuebingen.mpg.de&lt;/h4&gt;&lt;/a&gt;
    &lt;/small&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Horizontal transfer, pangenomes, and bacterial diversity &lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:35%; width:50%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;bacterial phylogenetics is more complicated!&lt;/li&gt;
        &lt;li&gt;much bigger data sets&lt;/li&gt;
        &lt;li&gt;horizontal transfer&lt;/li&gt;
        &lt;li&gt;messy assemblies&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:20%"&gt;
    &lt;object data="/images/pangenome_logo.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:55%; left:20%; width:60%"&gt;
    &lt;a href="http://pangenome.ch"  target="_blank"&gt;&lt;h3&gt;panX at pangenome.ch&lt;/h3&gt;&lt;/a&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:60%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/boris_shraiman.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin_russell.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
&lt;!--            &lt;object data="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;&lt;/object&gt;
 --&gt;        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:40%; left:15%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;!-- &lt;li&gt;Oskar Hallatschek&lt;/li&gt; --&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;nextstrain.org team&lt;/h3&gt;
    &lt;p&gt;
    &lt;object data="/images/team_pics/colin-megill.jpg" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/james-hadfield.jpg" height=150px&gt;&lt;/object&gt;
    &lt;object data="/images/team_pics/sidney-bell.jpg" height=150px&gt;&lt;/object&gt;
    &lt;/p&gt;&lt;br&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Colin Megill&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;James Hadfield&lt;/li&gt;
        &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;the group&lt;/h3&gt;
    &lt;img src="images/team_pics/group_2015.jpg" width="70%"&gt;
    &lt;h4&gt;We are recruiting!&lt;/h4&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;My lab will move to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h4&gt;We will have post-doc openings!&lt;/h4&gt;
    &lt;h5&gt;get in touch!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;</content><category term="talk"></category></entry><entry><title>nextstrain wins the OpenSciencePrize!</title><link href="/OpenSciencePrize.html" rel="alternate"></link><published>2017-02-28T00:00:00+01:00</published><updated>2017-02-28T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-02-28:/OpenSciencePrize.html</id><summary type="html">&lt;p&gt;We are thrilled and humbled that &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; was selected as the winner of the &lt;a href="http://openscienceprize.org"&gt;OpenSciencePrize&lt;/a&gt;.
The OpenSciencePrize is an initiative from the National Institutes of Health (US), the Wellcome Trust (UK), and the Howard Hughes Medical Institute. The prize was awarded in a three state competition.
In the first …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We are thrilled and humbled that &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; was selected as the winner of the &lt;a href="http://openscienceprize.org"&gt;OpenSciencePrize&lt;/a&gt;.
The OpenSciencePrize is an initiative from the National Institutes of Health (US), the Wellcome Trust (UK), and the Howard Hughes Medical Institute. The prize was awarded in a three state competition.
In the first stage, six out of about 100 teams were selected to develop a prototype and present their results in Washington DC in December 2016.
All of these teams presented exciting contributions -- I personally liked &lt;a href="http://openaq.org"&gt;OpenAQ&lt;/a&gt; or &lt;a href="http://mygene2.org"&gt;MyGene2&lt;/a&gt; a lot.
The public got to select three out of these six finalists and an expert panel chose &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; among those three.&lt;/p&gt;
&lt;p&gt;NextStrain would not be possible without open sharing of sequence data and we are indebted to all data producers -- in particular &lt;a href="http://lab.loman.net/"&gt;Nick Loman&lt;/a&gt;, &lt;a href="http://www.sabetilab.org/"&gt;Paris Sabeti&lt;/a&gt;, &lt;a href="http://andersen-lab.com/"&gt;Kristian Andersen&lt;/a&gt;, &lt;a href="http://tree.bio.ed.ac.uk/"&gt;Andrew Rambaut&lt;/a&gt;, the Sanger Center and many others for early sharing and being forceful advocates of open data.
We hope that &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; will help fighting viral diseases more effective, advance our understanding of how viral pathogens evolve, and provide incentives to openly share viral sequence data.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; grew out of &lt;a href="http://bedford.io/team/trevor-bedford/"&gt;Trevor's&lt;/a&gt; and my efforts to track and predict the evolution of influenza viruses at &lt;a href="http://nextflu.org"&gt;nextflu.org&lt;/a&gt;.
The code base of nextflu has grown organically and has become pretty messy as we kept adding new features.
About a year ago, we decided to do a complete rewrite and consult outside expertise.
Having been selected as winners of the OpenSciencePrize has pushed us to release nextstrain 2.0 along with the announcement of the prize.
&lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; now features a multipanel layout including a map and multiple different tree views.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nextstrain.org" src="/images/nextstrain2.0.png"&gt;&lt;/p&gt;
&lt;p&gt;While nextflu and nextstrain 1.0 was cobbled together by &lt;a href="http://bedford.io/team/trevor-bedford/"&gt;Trevor&lt;/a&gt; and me, nextstrain 2.0 was a true team effort to which many people contributed: &lt;a href="https://twitter.com/colinmegill"&gt;Colin Megill&lt;/a&gt; put together much of the front-end and taught as react.js, &lt;a href="http://neherlab.org/pavel-sagulenko.html"&gt;Pavel Sagulenko&lt;/a&gt; developed &lt;a href="https://github.com/neherlab/treetime"&gt;treetime&lt;/a&gt; which we use to rapidly calculate time trees, &lt;a href="http://bedford.io/team/charlton-callender/"&gt;Charlton Callender&lt;/a&gt; has developed a data base to manage the sequence and meta data, and &lt;a href="http://bedford.io/team/james-hadfield/"&gt;James Hadfield&lt;/a&gt; joint us recently but has already put in a huge amount of work to make the front-end work.&lt;/p&gt;
&lt;p&gt;The most significant innovation compared to version v1 is a map which now shows where on the globe cases have been along with plausible path along which the viruses have traveled.
But also the phylogenetic tree viewer got a bunch of new features.
The tree can be zoomed and panned and informative tooltips provide meta data and context.
You can toggle between a timetree and a regular divergence tree and choose between different tree layouts.
The rectangular, radial, unrooted, and "clock" layout are shown below.
The "clock" layout plots the sampling time vs sequence divergence and is useful to assess the rate of evolution of a virus.&lt;/p&gt;
&lt;p&gt;&lt;img alt="nextstrain.org" src="/images/nextstrain_trees.png"&gt;&lt;/p&gt;
&lt;p&gt;Please play around at &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt; and let us know if you have any comments, suggestions, or questions.
We still have a number of things that we want to accomplish soon, for example a tighter integration of the map with the tree, extension to more viruses, etc.&lt;/p&gt;</content><category term="post"></category><category term="influenza"></category><category term="zika"></category><category term="ebola"></category></entry><entry><title>On the post-glacial spread of human commensal Arabidopsis thaliana</title><link href="/lee2017post.html" rel="alternate"></link><published>2017-02-09T00:00:00+01:00</published><updated>2017-02-09T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-02-09:/lee2017post.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Post-Doc position in pathogen genomics</title><link href="/201702_BZ_postdoc.html" rel="alternate"></link><published>2017-01-20T00:00:00+01:00</published><updated>2017-01-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-20:/201702_BZ_postdoc.html</id><summary type="html">&lt;p&gt;A postdoctoral position (full time) is available in the newly established &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on genomics of pathogenic viruses and bacteria with a focus on intra-patient HIV evolution and prediction of seasonal influenza virus evolution. Research in …&lt;/p&gt;</summary><content type="html">&lt;p&gt;A postdoctoral position (full time) is available in the newly established &lt;a href="http://neherlab.org"&gt;research group&lt;/a&gt; of Richard Neher at the &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum of the University of Basel&lt;/a&gt;. Our group works on genomics of pathogenic viruses and bacteria with a focus on intra-patient HIV evolution and prediction of seasonal influenza virus evolution. Research in our group combines mathematical modeling, bioinformatics, next-generation sequencing, and methods from statistical physics to understand the complex dynamics of host-pathogen interactions. Our group is a co-developer of the real-time virus tracking tools &lt;a href="http://nextflu.org"&gt;nextflu.org&lt;/a&gt; and &lt;a href="http://nextstrain.org"&gt;nextstrain.org&lt;/a&gt;. We have recently started to extend our real-time tracking efforts to bacterial populations.&lt;/p&gt;
&lt;p&gt;Possible projects include (i) extension of our recent results on influenza virus evolution to use all genomic segments, (ii) genome evolution of bacteria or (iii) real-time tracking applications for bacteria. The exact scope of the projects is flexible and can be tailored to the applicants interest and skills.&lt;/p&gt;
&lt;h4&gt;We are looking for&lt;/h4&gt;
&lt;p&gt;a creative and collaborative person with a genuine interest in evolution and with
  * either:
     - PhD in physics, applied math, bioinformatics, computer science and strong interest in biology
     - a life science degree and strong quantitative skills
  * scientific computing and programming experience (ideally in python and C/C++)
  * firm background in probability theory and statistical methods&lt;/p&gt;
&lt;p&gt;In addition, the following skills are desirable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;experience with next-generation sequencing data&lt;/li&gt;
&lt;li&gt;population genetic models/phylogenetic inference&lt;/li&gt;
&lt;li&gt;data visualization and experience with javascript/d3&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Application&lt;/h4&gt;
&lt;p&gt;Please send your cover letter, statement of research interests (max one page), CV, publication list, and contact information of three references as one pdf file to &lt;a href="mailto:richard.neher@unibas.ch"&gt;Richard Neher&lt;/a&gt;. Please state clearly in your cover letter what you want to do and why this fits with our research. For informal inquiries, contact Richard Neher.&lt;/p&gt;
&lt;h4&gt;Environment&lt;/h4&gt;
&lt;p&gt;The &lt;a href="http://biozentrum.unibas.ch"&gt;Biozentrum&lt;/a&gt; of the &lt;a href="http://www.unibas.ch"&gt;University of Basel&lt;/a&gt; is one of the leading institutes worldwide for molecular and biomedical basic research and teaching. It is home to more than 30 research groups with scientists from over 40 countries. Research at the Biozentrum focuses on the areas of Cell Growth &amp;amp; Development, Infection Biology, Neurobiology, Structural Biology &amp;amp; Biophysics and Computational &amp;amp; Systems Biology. With its more than 500 employees, the Biozentrum is the largest department at the University of Basel’s Faculty of Science.&lt;/p&gt;
&lt;p&gt;Basel is a very international city and a center of life science research, with many life science research companies in the area, including Novartis and Roche. Several other academic institutions are also in the city, including the &lt;a href="http://www.fmi.ch"&gt;Friedrich Miescher Institute&lt;/a&gt;, the &lt;a href="https://www.bsse.ethz.ch/"&gt;ETH Zurich Biosystems Science and Engineering Department&lt;/a&gt;, and the &lt;a href="http://www.swisstph.ch/"&gt;Swiss Tropical Institute&lt;/a&gt;. The city is less than 5km from both France and Germany and an hour and a half from the Swiss Alps.&lt;/p&gt;</content><category term="job_old"></category></entry><entry><title>Evolution of HIV and influenza viruses</title><link href="/201701_Biozentrum.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/201701_Biozentrum.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;10^8 cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV infection&lt;/h3&gt;
    &lt;img src="talk_images/HIV_infection_sketch.png"&gt;
    &lt;small&gt;chronic infection:
    &lt;ul&gt;
        &lt;li&gt;10^8 cells are infected every day&lt;/li&gt;
        &lt;li&gt;the virus repeatedly escapes immune recognition&lt;/li&gt;
        &lt;li&gt;integrates into T-cell as &lt;it&gt;latent provirus&lt;/it&gt;&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;span class="ref"&gt;&lt;a href="https://en.wikipedia.org/wiki/HIV/AIDS#/media/File:Hiv-timecourse.png"&gt;image: wikipedia&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;;
                      &lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and mutation rates&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:65%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
 --&gt;
&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;!-- &lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- REVERSION --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="zanini_population_2015.html"&gt;Zanini et al, eLife, 2015&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;
 --&gt;&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;compensation or reversion?&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:37%; width: 20%"&gt;
    &lt;object data="talk_images/reversion_illustration_timeline.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:64%; width:30%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; top:40%; left:70%; width:23%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
 --&gt;
&lt;!--    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions (~5% expected by change)&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
 --&gt;    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- &lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, Virus Evolution, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;
&lt;!-- HIV RESERVOIR
 --&gt;

&lt;section&gt;
    &lt;h3&gt;Does HIV evolve during therapy?&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;div style="position: absolute;top:15%; left:10%; width: 80%"&gt;
    &lt;img src="talk_images/reservoir_tree_example.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; bottom:15%; left:20%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;HIV-1 RNA from plasma before treatment started&lt;/li&gt;
        &lt;li&gt;HIV-1 DNA gag-p17 from PBMCs after many years of treatment&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;div style="position: absolute;top:12%; left:5%; width: 45%"&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=600px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:12%; left:50%; width: 40%"&gt;
    &lt;img src="talk_images/reservoir_p1_tree_small.png" height=300px&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute;top:55%; left:55%; width: 45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;latent HIV &amp;rarr; barcode of a T-cell lineage&lt;/li&gt;
        &lt;li&gt;all latent integrated virus derives from late infection&lt;/li&gt;
        &lt;li&gt;untreated: T-cell lineages are short lived&lt;/li&gt;
        &lt;li&gt;on therapy: T-cell clones live decades&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;&lt;a href="/brodin_establishment_2016.html"&gt;Brodin et al, eLife, 2016&lt;/a&gt;&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
&lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
&lt;h3 class="slidetitle"&gt;Human seasonal influenza viruses&lt;/h3&gt;
&lt;div style="position: absolute;top:13%; left:5%; width: 90%"&gt;
&lt;img src="/talk_images/flu_pandemics.png" width=100%&gt;
&lt;/div&gt;
&lt;span class="ref"&gt;slide by Trevor Bedford&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
&lt;img src="talk_images/nextflu.png" width=90%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/diversity_to_fitness_distribution.png" width="100%"&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
    &lt;img src="talk_images/prediction_math.png" width=60%&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;



&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

 --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Drug resistance evolution in &lt;it&gt;P. aeruginosa&lt;/it&gt; &lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:10%; width:50%"&gt;
    &lt;img src="talk_images/morbidostat_setup.png" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:13%; left:60%; width:40%"&gt;
    &lt;small&gt;&lt;ul&gt;
        &lt;li&gt;~3 week culture&lt;/li&gt;
        &lt;li&gt;OD measurement every 30 seconds&lt;/li&gt;
        &lt;li&gt;deep sequencing every 2 days&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:10%; width:40%"&gt;
    &lt;img src="talk_images/PA83_snps_in_vial_v03.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:48%; left:50%; width:40%"&gt;
    &lt;img src="talk_images/PA77_colistin_concentration.svg" width="100%""&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Regenbogen et al, biorxiv, 2016&lt;/span&gt;
&lt;/section&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Horizontal transfer, pangenomes, and bacterial diversity &lt;/h3&gt;
    &lt;div style="position:absolute; top:13%; left:10%; width:50%"&gt;
    &lt;/div&gt;
&lt;/section&gt;
 --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/fabio_zanini.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/jan_albert.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/johanna_brodin.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/christa_lanz.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/goran_bratt.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/lina_thebo.png" height=120px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/vadim_puller.png" height=120px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
        &lt;li&gt;Vadim Puller&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;object data="/images/team_pics/boris_shraiman.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/colin_russell.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/trevor_bedford.png" height=150px&gt;&lt;/object&gt;
            &lt;object data="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;&lt;/object&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;
&lt;section&gt;
    &lt;h3&gt;the group&lt;/h3&gt;
    &lt;img src="images/team_pics/group_2015.jpg" width="70%"&gt;&lt;/div&gt;
&lt;/section&gt;

&lt;!--
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;My lab will move to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h4&gt;We will have post-doc openings!&lt;/h4&gt;
    &lt;h5&gt;get in touch!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

 --&gt;</content><category term="talk"></category></entry><entry><title>Population genetics of rapid adaptation and the predictability of evolution</title><link href="/201701_vienna.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/201701_vienna.html</id><summary type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;!--HIV INTRAPATIENT EVOLUTION --&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Evolution of HIV&lt;/h3&gt;
    &lt;div style="position:absolute; top:15%; left:18%; width:64%"&gt;
        &lt;img src="talk_images/sharp_hahn_HIV_origins.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:8%; left:15%; width:70%"&gt;
    &lt;small&gt;
        &lt;ul class="fragment"&gt;
            &lt;li&gt;Chimp &amp;rarr; human transmission ~1900 gave rise to HIV-1 group M&lt;/li&gt;
            &lt;li&gt;Diversified into subtypes that are ~20% different&lt;/li&gt;
            &lt;li&gt;evolves at a rate of about 0.1% per year&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;image: Sharp and Hahn, CSH Persp. Med.&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIVEVO_HIV_overview0.png"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img class="fragment" src="talk_images/HIVEVO_HIV_overview.png"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- MUTATION TRACKING --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population sequencing to track all mutations above 1%&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:3%; width:94%"&gt;
        &lt;div style="width:100%"&gt;
            &lt;object data="talk_images/zanini_2015_frequency_trajectories.svg" type="image/svg+xml" width="50%"&gt;&lt;/object&gt;
            &lt;object data="talk_images/richman_2003_antibody_titers.svg" type="image/svg+xml" width="48%"&gt;&lt;/object&gt;
        &lt;/div&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;diverge at 0.1-1% per year&lt;/li&gt;
            &lt;li&gt;almost full genomes coverage in 10 patients&lt;/li&gt;
            &lt;li&gt;full data set at &lt;a href="http://hiv.tuebingen.mpg.de"&gt;hiv.tuebingen.mpg.de&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015; antibody data from Richman et al, 2003&lt;/span&gt;
&lt;/section&gt;

&lt;!-- BOOK OF TREES - MOVIE ALONG THE GENOME --&gt;
&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;img src="talk_images/HIV_book_of_trees.gif"&gt;&lt;br&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- DIVERGENCE AND DIVERSITY --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Diversity and hitchhiking&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:55%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv.svg" width=100%&gt;&lt;/object&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;small class="fragment"&gt;
            &lt;ul&gt;
                &lt;li&gt;envelope changes fastest, enzymes lowest&lt;/li&gt;
                &lt;li&gt;identical rate of synonymous evolution&lt;/li&gt;
                &lt;li&gt;diversity saturates where evolution is fast&lt;/li&gt;
                &lt;li&gt;synonymous mutations stay at low frequency&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:19%; left:67%; width:27%"&gt;
        &lt;object data="talk_images/zanini_2015_divdiv_corr.svg" width=100%&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:57%; left:69%; width:27%"&gt;
    &lt;object data="talk_images/zanini_2015_sfs.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- REVERSION --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Frequent version of previously beneficial mutations&lt;/h3&gt;
    &lt;div style="position:absolute;top:15%;left:5%;width:45%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;HIV escapes immune systems&lt;/li&gt;
    &lt;li&gt;most mutations are costly&lt;/li&gt;
    &lt;li&gt;humans selects for different mutations&lt;/li&gt;
    &lt;li&gt;are there costs compensated or reverted&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment fade-out" data-fragment-index=1 src="talk_images/reversion_illustration0.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute;top:15%;left:50%;width:48%"&gt;
    &lt;img class="fragment" data-fragment-index=1 src="talk_images/reversion_illustration.png" width=100%&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:5%; width:27%"&gt;
    &lt;img src="talk_images/klenerman_HIV_tree.png" width="100%"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:35%; width:27%"&gt;
    &lt;object data="talk_images/reversion1.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:40%; left:67%; width:27%"&gt;
    &lt;object data="talk_images/reversion2.svg" width="100%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; bottom:9%; left:5%; width:90%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
    &lt;li&gt;Almost one third of all mutations are reversions vs expected: 5%&lt;/li&gt;
    &lt;li&gt;Strong evolutionary attractor&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FITNESS LANDSCAPES --&gt;
&lt;section&gt;
    &lt;h3&gt;Fitness landscape of HIV-1&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, biorxiv, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Selection on RNA structures and regulatory sites&lt;/h3&gt;
    &lt;object data="talk_images/zanini_2017_fitness_RNA.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, biorxiv, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;The distribution of fitness effects&lt;/h3&gt;
    &lt;object data="talk_images/fitness_effect_distributions.svg"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Zanini et al, biorxiv, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;!-- HIV RESERVOIR
&lt;section&gt;
    &lt;h3&gt;HIV-1 sequencing before and after therapy&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_study_design.png" width=100%&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Brodin et al, eLife, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_tree_example.png"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Brodin et al, eLife, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;No evidence of ongoing replication&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_root_to_tip.svg"&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Brodin et al, eLife, 2017&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;T-cell turnover is fast in untreated infection&lt;/h3&gt;
    &lt;img src="talk_images/reservoir_T_cell_turnover.svg" height=650px&gt;&lt;/img&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;Brodin et al, eLife, 2017&lt;/span&gt;
&lt;/section&gt;
 --&gt;

&lt;!-- THEORY
 --&gt;

&lt;!-- &lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics&lt;/h3&gt;
    &lt;img src="talk_images/alignment.png" style="height:400px; position:absolute; top:15%; left:10%;"&gt;
&lt;/section&gt;
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Population genetics models&lt;/h3&gt;
    &lt;object data="talk_images/popgen0.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment current-visible" data="talk_images/popgen2.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;object class="fragment fade-in" data="talk_images/popgen3.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;h5 class="fragment fade-in" style="position:absolute; bottom:15%;left:10%; width:80%; text-align: center;"&gt;evolutionary processes &amp;harr; trees &amp;harr; genetic diversity&lt;/h5&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Neutral models and beyond&lt;/h3&gt;
    &lt;object data="talk_images/popgen1.svg" style="position:absolute; top:25%; left:10%;" type="image/svg+xml"&gt;&lt;/object&gt;
    &lt;div style="position:absolute; top:25%; left:30%;"&gt;
    &lt;small&gt;
    &lt;h5 style="text-align: left"&gt;Neutral models&lt;/h5&gt;
    &lt;ul&gt;
        &lt;li&gt;all individuals are identical &amp;rarr; same offspring distribution&lt;/li&gt;
        &lt;li class="fragment"&gt;Kingman coalesence and diffusion theory are dual descriptions&lt;/li&gt;
        &lt;li class="fragment"&gt;everything is easy to calculate&lt;/li&gt;
        &lt;li class="fragment"&gt;perturbations like background selection can be included&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;!-- THEORETICAL POPGEN AND BSC
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Clonal interference and traveling waves&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; width:100%"&gt;
        &lt;img src="talk_images/arees_big_small_mutations.png"&gt;
    &lt;small &gt;
    &lt;ul class="fragment"&gt;
        &lt;li&gt;extensive work on speed of adaptation, but this speed is not observable&lt;/li&gt;
        &lt;li&gt;genetic diversity is what we observe&lt;/li&gt;
        &lt;li&gt;depends on the properties of trees&lt;/li&gt;
    &lt;/ul&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;h3 class="fragment" style="text-align: left"&gt;What if selection is everywhere?&lt;/h3&gt;
    &lt;/small&gt;
    &lt;/div&gt;

    &lt;span class="ref"&gt;RN, Annual Reviews, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-out" data-fragment-index=1&gt;Kingman coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:50%; width:45%"&gt;
        &lt;h4&gt;strong selection&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_Kingman.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:50%; width:45%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png"&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:5%; left:5%; width:45%"&gt;
        &lt;h4 class="fragment fade-in" data-fragment-index=1&gt;Bolthausen-Sznitman Coalescent&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=1 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain0.png"&gt;
    &lt;/div&gt;
    &lt;div class="fragment" data-fragment-index=2 style="position:absolute; bottom:15%; left:5%; width:45%"&gt;
        &lt;img src="talk_images/BSC_explain1.png"&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013; see also Brunet and Derrida, PRE, 2007&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Universality of the Bolthausen-Sznitman Coalescent (BSC)&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:0%; width:100%"&gt;
    &lt;img src="talk_images/adaptive_vs_deleterious_wave.png" width="70%"&gt;&lt;br&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;many small effect mutations &amp;rarr; coalescence is BSC like&lt;/li&gt;
            &lt;li&gt;fitness diversity $\sigma$, not population size determines $T_{MRCA}$&lt;/li&gt;
            &lt;li&gt;the time scale of coalescence is always $T_c \sim \sigma^{-1}\sqrt{\log N}$ &lt;/li&gt;
            &lt;li&gt;frequency dynamics is not diffusive, but has Levy-flight properties&lt;/li&gt;
            &lt;li&gt;Can be extended to sexual populations&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="spacer"&gt;&lt;/div&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;Kosheleva, Desai; Desai, Walczak, Fisher, Genetics, 2013; RN, Hallatschek, PNAS, 2013, RN, Kessinger, Shraiman PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;U-shaped polarized site frequency spectra&lt;/h3&gt;
    &lt;div style="position:absolute; bottom:15%; left:27%; width:70%"&gt;
        &lt;img src="talk_images/BSC_SFS.png" width="100%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:50%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/toy_alignment.svg" width="70%" type="image/svg+xml"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:15%; left:0%; width:30%"&gt;
        &lt;img src="talk_images/example_tree_BSC.png" width="70%"&gt;&lt;br&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Hallatschek, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/kingman_BSC_crossover.png"&gt;
    &lt;span class="ref"&gt;RN, Kessinger, Shraiman, PNAS, 2013&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="talk_images/HIV_SFS.png"&gt;
    &lt;span class="ref"&gt;Zanini et al, eLife, 2015&lt;/span&gt;
&lt;/section&gt;

&lt;!-- FLU PREDICTION --&gt;
&lt;section&gt;
    &lt;h3&gt;Bursts in a tree &amp;harr; high fitness genotypes&lt;/h3&gt;
    &lt;h3 class="fragment"&gt;Can we read fitness of a tree?&lt;/h3&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute;width:1020px;"&gt;
        &lt;img src="talk_images/H3N2_35y_phylogeny.png"&gt;&lt;br&gt;
        &lt;div style="position:absolute; top:3%; left:34%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_35y_legend.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:3%; left:6%; width:30%"&gt;
            &lt;img src="talk_images/H3N2_HA_structure.png"&gt;&lt;br&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; top:50%; left:6%; width:55%"&gt;
        &lt;small&gt;
            &lt;ul&gt;
                &lt;li&gt;Influenza virus evolves to avoid human immunity&lt;/li&gt;
                &lt;li&gt;Vaccines need frequent updates&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/small&gt;
        &lt;/div&gt;
        &lt;div class="fragment" style="position:absolute; bottom:3%; left:10%; width:80%"&gt;
            &lt;img src="talk_images/H3N2_189_trajectory.png"&gt;&lt;br&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Predicting evolution&lt;/h3&gt;
    &lt;div style="position:absolute; top:18%; left:5%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:38%; left:50%; width:43%"&gt;
    &lt;small&gt;
        &lt;span style="text-align:left; width:100%"&gt;Given the branching pattern,&lt;/span&gt;
        &lt;ul&gt;
            &lt;li&gt;can we predict fitness?&lt;/li&gt;
            &lt;li&gt;pick the closest relative of the future?&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Fitness inference from trees&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:90%"&gt;
    &lt;object data="talk_images/neher_2014_algorithm.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:60%; left:5%; width:90%"&gt;
        &lt;small&gt;$$P(\mathbf{x}|T) = \frac{1}{Z(T)} p_0(x_0) \prod_{i=0}^{n_{int}} g(x_{i_1}, t_{i_1}| x_i, t_i)g(x_{i_2}, t_{i_2}| x_i, t_i)$$&lt;/small&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validate on simulation data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:5%; width:43%"&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;simulate evolution&lt;/li&gt;
            &lt;li&gt;sample sequences&lt;/li&gt;
            &lt;li&gt;reconstruct trees&lt;/li&gt;
            &lt;li&gt;infer fitness&lt;/li&gt;
            &lt;li&gt;predict ancestor of future&lt;/li&gt;
            &lt;li&gt;compare to truth&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:18%; left:55%; width:43%"&gt;
        &lt;img src="talk_images/fitness_prediction_two_sample.png" width="90%"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:8%; width:84%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_AB.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Validation on simulated data&lt;/h3&gt;
    &lt;div style="position:absolute; top:25%; left:10%; width:40%"&gt;
    &lt;object data="talk_images/neher_2014_toy_prediction_C.svg" width="90%"&gt;&lt;/object&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment fade-out"  data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_pred.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=1 src="talk_images/fitness_prediction_two_sample_avg.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:25%; left:55%; width:30%"&gt;
    &lt;img class="fragment current-visible" data-fragment-index=2 src="talk_images/fitness_prediction_two_sample_opt.png"&gt;&lt;/img&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;div style="position:absolute; top:15%; left:0%; width:100%"&gt;
        &lt;video data-autoplay src="talk_images/flu_prediction.webm" type="video/webm"&gt;&lt;/video&gt;
    &lt;/div&gt;
    &lt;span class="ref"&gt;nextflu.org&lt;/span&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Prediction of the dominating H3N2 influenza strain &lt;/h3&gt;
    &lt;object data="talk_images/neher_2014_H3N2_prediction.svg" width="90%"&gt;&lt;/object&gt;
    &lt;div class="hugespacer"&gt;&lt;/div&gt;
    &lt;span class="ref"&gt;RN, Russell, Shraiman, eLife, 2014&lt;/span&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;HIV acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/fabio_zanini.png" height=120px&gt;
            &lt;img src="/images/team_pics/jan_albert.png" height=120px&gt;
            &lt;img src="/images/team_pics/johanna_brodin.png" height=120px&gt;
            &lt;img src="/images/team_pics/christa_lanz.png" height=120px&gt;
            &lt;img src="/images/team_pics/goran_bratt.png" height=120px&gt;
            &lt;img src="/images/team_pics/lina_thebo.png" height=120px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Fabio Zanini&lt;/li&gt;
        &lt;li&gt;Jan Albert&lt;/li&gt;
        &lt;li&gt;Johanna Brodin&lt;/li&gt;
        &lt;li&gt;Christa Lanz&lt;/li&gt;
        &lt;li&gt;Göran Bratt&lt;/li&gt;
        &lt;li&gt;Lina Thebo&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;Influenza and Theory acknowledgments&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/boris_shraiman.png" height=150px&gt;
            &lt;img src="/images/team_pics/colin_russell.png" height=150px&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" height=150px&gt;
            &lt;img src="/images/team_pics/oskar_hallatscheck.png" height=150px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:30%"&gt;
    &lt;small&gt;
    &lt;ul&gt;
        &lt;li&gt;Boris Shraiman&lt;/li&gt;
        &lt;li&gt;Colin Russell&lt;/li&gt;
        &lt;li&gt;Trevor Bedford&lt;/li&gt;
        &lt;li&gt;Oskar Hallatschek&lt;/li&gt;
    &lt;/ul&gt;&lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/max-planck-logo.png" height=120px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" height=120px style="margin-left: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1024px" height="768px"&gt;&lt;rect width="1024" height="768" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;My lab will move to the Biozentrum Basel&lt;/h3&gt;
    &lt;div style="position: absolute; top:20%; left:10%"&gt;
    &lt;img src="talk_images/bz_bau_cam.jpg" height=500px&gt;
    &lt;/div&gt;
    &lt;div style="position: absolute; top:35%; left:50%"&gt;
    &lt;h4&gt;We will have post-doc openings!&lt;/h4&gt;
    &lt;h5&gt;get in touch!&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk"></category></entry><entry><title>Evolution of bacteria</title><link href="/bacteria.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/bacteria.html</id><summary type="html">&lt;p&gt;Bacteria are incredibly diverse and inhabit almost every accessible place on this planet. They are essential symbionts of plants and animals, but also formidable pathogens. Most of our work so far has been theoretical or on evolution of viruses and we only recently got into bacterial evolution.
In one project …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Bacteria are incredibly diverse and inhabit almost every accessible place on this planet. They are essential symbionts of plants and animals, but also formidable pathogens. Most of our work so far has been theoretical or on evolution of viruses and we only recently got into bacterial evolution.
In one project, we have performed experimental evolution to study the emergence of drug resistance. In another project, we are developing &lt;a href="http://pangenome.ch"&gt;tools&lt;/a&gt; to analyze and visualize bacterial pan-genomes.&lt;/p&gt;
&lt;h2&gt;Drug resistance evolution in a morbidostat&lt;/h2&gt;
&lt;p&gt;Pathogenic bacteria are increasingly resistant against many antibiotics we use to treat infections and resistance is developing into a serious complication of modern medicine.
Matthias Willmann and Silke Peter from the Tübingen medical school and our group teamed up to study evolution of colistin resistance in clinical isolates of Pseudomonas aeruginosa using a morbidostat. This computer controlled continuous culture device was designed by Erdal Toprak and colleagues in Roy Kishony's lab. The morbidostat adjust drug concentrations such that the bugs struggle but grow. Over days and weeks, the bacteria become resistant while we can take samples and sequence the population to track the changes in their genomes.
Over 2-3 weeks, all replicate cultures became resistant via mutational pathways that are reproducible, but strain dependent (&lt;a href="http://dx.doi.org/10.1128/AAC.00043-17"&gt;Regenbogen et al, AAC, 2017&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;img alt="morb" src="/talk_images/morbidostat_setup.png"&gt;
Our morbidostat set-up in Tübingen&lt;/p&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h2&gt;Analysis of bacterial pan-genomes&lt;/h2&gt;
&lt;p&gt;In addition to vertical inheritance, bacteria exchange plasmids and genomic DNA horizontally.
This mix of inheritance patterns make the analysis of bacterial evolution challenging and interesting.
To come to grips the complexity of bacterial genomes, &lt;a href="/wei-ding.html"&gt;Wei Ding&lt;/a&gt; has developed a pipe line to reconstruct and visualize bacterial pan-genomes.
The output of this tool is available for exploration at &lt;a href="http://pangenome.ch"&gt;pangenome.ch&lt;/a&gt;.
We are currently exploring different ways to construct, visualize, and comprehend the evolutionary laws governing bacterial diversity.&lt;/p&gt;
&lt;div class="bigspacer"&gt;&lt;/div&gt;
&lt;h2&gt;Long-read sequencing and structural variation in bacterial genomes&lt;/h2&gt;
&lt;p&gt;Long-read sequencing technologies now allow cost-effective and large scale assembly of bacterial genomes.
We are using Oxford Nanopore sequencing technology to characterize structural diversity in multi-drug resistant gram negative bacteria.
&lt;a href="/nicholas-noll.html"&gt;Nicholas Noll&lt;/a&gt; has a first &lt;a href="/noll_resolving_2018.html"&gt;preprint&lt;/a&gt; on this work up on biorxiv.
We developed a number of high-throughput criteria to assess the quality of fully assembled genomes for which curated references do not exist.
Using this diverse collection of closed genomes and plasmids, we demonstrate rapid movement of carbapenemase between genomic neighborhoods, sequence types, and across species boundaries with distinct patterns for different carbapenemases.
Ultimately, we hope to find new ways to track the spread of bacterial resistance determinants and thereby learn about the evolutionary dynamics of adaptation through horizontal transfer.&lt;/p&gt;</content><category term="research_area"></category><category term="horizontal transfer"></category><category term="pangenomes"></category><category term="drug resistance evolution"></category><category term="long-read sequencing"></category></entry><entry><title>HIV evolution</title><link href="/hiv_evolution.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/hiv_evolution.html</id><summary type="html">&lt;p&gt;HIV has a high mutation rate, a generation time of about two days, and
different viruses within a patient recombine their genetic material
frequently. This combination of factors allows HIV to evolve very
rapidly and evade the human immune system to establish a persistent
infection. If treated with antiviral drugs …&lt;/p&gt;</summary><content type="html">&lt;p&gt;HIV has a high mutation rate, a generation time of about two days, and
different viruses within a patient recombine their genetic material
frequently. This combination of factors allows HIV to evolve very
rapidly and evade the human immune system to establish a persistent
infection. If treated with antiviral drugs, resistance can emerge
rapidly unless a combination therapy is used.
The genetic diversity of the viral population within a single patient
reaches a few percent in certain parts of the HIV genome, which exceeds
the divergence between human and chimp. Understanding the evolution of
the virus is central to developing vaccines and to minimize drug
resistance. In addition, HIV provides an ideal model system in which
fundamental questions of evolution can be addressed. In contrast to most
other model systems of evolution, time series data is available for HIV
evolution which is much more informative about the evolutionary process
than the snap shot typical of less rapidly evolving populations.&lt;/p&gt;
&lt;h3&gt;Whole-genome deep sequencing of HIV-1&lt;/h3&gt;
&lt;p&gt;We performed whole-genome deep sequencing of HIV-1 populations in 9
untreated patients, with 6-12 longitudinal samples per patient spanning
5-8 years of infection. This work was led by
&lt;a href="http://orcid.org/0000-0001-7097-8539"&gt;Fabio&lt;/a&gt; and is the product of a
fantastic collaboration with the group of &lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert at the Karolinska
Institute in Stockholm.&lt;/a&gt;
We show that one third of common mutations are reversions towards the
ancestral HIV-1 sequence which occur throughout infection with a rate
that increases with conservation. Patterns of minor diversity are
reproducible between patients and mirror global HIV-1 diversity,
suggesting a universal landscape of fitness costs that control
diversity. Frequent recombination limits linkage disequilibrium to about
100bp. However, hitch-hiking due to the remaining short range linkage
causes levels of synonymous diversity to be inversely related to the
speed of evolution.&lt;/p&gt;
&lt;p&gt;All data we generated as part of this project are available at
&lt;a href="http://hiv.biozentrum.unibas.ch"&gt;hiv.biozentrum.unibas.ch&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Mutation rates and fitness landscapes&lt;/h3&gt;
&lt;p&gt;In total, we sequenced almost 100 viral population at great depth.
From those data, we can determine how rare mutations accumulate over time
within infected individuals. We used this mutation accumulation
to estimate the mutation rate of HIV in vivo: We estimate that the
rate at which nucleotides mutate is about $10^{-5}$ per site and day.
If mutations are detrimental to virus replication, the frequency of these
variants will stay low despite a constant influx of new mutations.
We have used this balance between mutation and selection to estimate the
selection coefficient at each site in the genome.&lt;/p&gt;
&lt;h3&gt;Latent reservoir&lt;/h3&gt;
&lt;p&gt;HIV not only evolves fast, but also integrates into the genome of human T-cells
as latent provirus. Latent virus is the principal barrier to cure because latent
virus reseeds an active HIV infection is therapy is stopped.
It is therefore critical to understand how this latent reservoir is maintained.
In particular, whether the virus constantly replicates in parts of the body
with insufficient drug penetration or whether the virus survives in long-lived
T-cell lineages is hotly debated.&lt;/p&gt;
&lt;p&gt;We studied the evolution of HIV before and after therapy in great detail and
find no evidence of consistent viral evolution after the start of therapy.
To the contrary, virus isolated from the genome of human cells is an almost
perfect snapshot of the virus that circulated right before therapy was initiated.
The graph below shows that evolutionary distance the virus population diverged over
time before and after therapy. Once therapy is started, there is no evidence of
further evolution.
&lt;img alt="root-to-tip distance" src="/talk_images/reservoir_root_to_tip.svg"&gt;
Latently integrated HIV remains very similar to virus circulating before start of treatment.&lt;/p&gt;</content><category term="research_area"></category><category term="intra-patient evolution"></category><category term="mutation and recombination"></category><category term="fitness landscapes"></category><category term="latent reservoir"></category></entry><entry><title>Molecular epidemiology</title><link href="/influenza_evolution.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/influenza_evolution.html</id><summary type="html">&lt;p&gt;Human immunity is the main driving force of evolution of seasonal influenza
viruses. Only when changing their antigenic properties, influenza
viruses are able to re-infect previously infected humans. Mutation that
prevent immune recognition often rapidly spread across the globe. For
this reason, seasonal influenza vaccines need to be updated frequently …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Human immunity is the main driving force of evolution of seasonal influenza
viruses. Only when changing their antigenic properties, influenza
viruses are able to re-infect previously infected humans. Mutation that
prevent immune recognition often rapidly spread across the globe. For
this reason, seasonal influenza vaccines need to be updated frequently.
Vaccine strains are chosen among sampled virus strains, and the more
closely this strain matches the future influenza virus population, the
better the vaccine is going to be. Hence tracking influenza viruses is
essential to maintain vaccine efficiency and accurate predictions of the
composition of future populations could improve vaccines substantially.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://nextflu.org"&gt;Real-time tracking of influenza virus evolution&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Together with &lt;a href="http://bedford.io"&gt;Trevor Bedford&lt;/a&gt;, we have been working
on an interactive tool to explore influenza evolution. It is up and
running at &lt;a href="http://nextflu.org"&gt;nextflu.org&lt;/a&gt;. In addition to a tree of
the most recent influenza strains, users can explore the frequencies of
mutations and clades of the tree. To facilitate data sharing and
exploration during the recent ebola and MERS outbreaks, we have adapted
nextflu and set up &lt;a href="http://ebola.nextflu.org"&gt;ebola.nextflu.org&lt;/a&gt; and
&lt;a href="http://mers.nextflu.org"&gt;mers.nextflu.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bioinformatics.oxfordjournals.org/content/early/2015/07/03/bioinformatics.btv381.short"&gt;nextflu: Real-time tracking of seasonal influenza virus evolution in
humans.&lt;/a&gt;
Richard A. Neher, Trevor Bedford. Bioinformatics, btv381&lt;/p&gt;
&lt;h3&gt;Predicting influenza evolution&lt;/h3&gt;
&lt;p&gt;In collaboration with Colin Russell and Boris Shraiman — we have shown
that it is possible to predict which individual from a population is
most closely related to future populations. The method uses the
branching pattern of genealogical trees to estimate which part of the
tree contains the “fittest” sequences. When applied to historical
influenza data, the method makes informative predictions in about 80% of
the time.&lt;/p&gt;
&lt;h3&gt;&lt;a href="http://nextstrain.org/enterovirus"&gt;Enterovirus D-68&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Worldwide outbreaks of enterovirus D68 (EV-D68) in 2014 and 2016 have caused widespread serious respiratory and neurological disease.
In collaboration with Jan Albert and Robert Dyrdak in Stockholm, &lt;a href="/emma-hodcroft.html"&gt;Emma Hodcroft&lt;/a&gt; is investigating the spread and diversity of this virus using &lt;a href="http://localhost:8000/dyrdak_comprehensive_2018.html"&gt;whole genome deep sequencing&lt;/a&gt;.
Phylogenetic trees reconstructed from the sequences suggest that EV-D68 was introduced into Stockholm several times during the 2016 outbreak and then spread locally.
Putative neutralization targets in the BC- and DE-loops of the VP1 protein are slightly more diverse within-host and tend to undergo more frequent substitution than other genomic regions.
The new data along with publicly available EV-D68 sequences are included in an interactive phylodynamic analysis on &lt;a href="nextstrain.org/enterovirus/d68"&gt;nextstrain&lt;/a&gt; to facilitate timely EV-D68 tracking in the future.&lt;/p&gt;</content><category term="research_area"></category><category term="real-time tracking"></category><category term="prediction"></category><category term="antigenic evolution"></category><category term="SARS-CoV-2"></category><category term="influenza"></category><category term="enterovirus"></category></entry><entry><title>Theory</title><link href="/theory_algorithms.html" rel="alternate"></link><published>2017-01-10T00:00:00+01:00</published><updated>2017-01-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-10:/theory_algorithms.html</id><summary type="html">&lt;p&gt;Most of evolutionary theory considers neutral models of evolution, or
selection acting on one, two, or maybe a few sites at a time. Most
populations, however, are polymorphic at a large number of sites and a
fraction of these sites is under selection. Furthermore, fitness might
depend on particular combinations …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Most of evolutionary theory considers neutral models of evolution, or
selection acting on one, two, or maybe a few sites at a time. Most
populations, however, are polymorphic at a large number of sites and a
fraction of these sites is under selection. Furthermore, fitness might
depend on particular combinations of alleles, i.e. alleles might
interact and their effect is dependent on the genetic background. The
large number of possible genotypes and the constant reshuffling of
alleles make multi-locus evolution a challenging subject. Statistical
physics, however, provides many examples how complex systems with many
degrees of freedom give rise to simple macroscopic behavior. We want to
explore how methods from statistical physics can help to develop a
general understanding of multi-locus evolution.
Our purely theoretical work on properties of rapidly adapting populations
has turned out to have surprisingly direct applications: We have used
our models and insights to develop methods to &lt;a href="/201406_is-evolution-predictable.html"&gt;predict the evolution of
influenza viruses&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Coalescence and genetic diversity in populations under selection&lt;/h3&gt;
&lt;p&gt;The genetic diversity of a species is shaped by its recent evolutionary
history and can be used to infer demographic events or selective sweeps.
Most inference methods are based on the null hypothesis that natural
selection is a weak evolutionary force. However, many species,
particularly pathogens, are under continuous pressure to adapt in
response to changing environments. A statistical framework for inference
from diversity data of such populations is currently lacking. Toward
this goal, we explore the properties of genealogies that emerge from
models of continual adaptation. We show that lineages trace back to a
small pool of highly fit ancestors, in which simultaneous coalescence of
more than two lineages frequently occurs. While such multiple mergers
are unlikely under the neutral coalescent, they
create a unique genetic footprint in adapting populations. The site
frequency spectrum (SFS) of derived neutral alleles, for example, is
non-monotonic and has a peak at high frequencies, whereas Tajima's \(D\)
becomes more and more negative with increasing sample size. The asymptotics
of the SFS can be worked out explicitly. For low frequencies \(x\),
we find that the SFS diverges as
$$f(x)\sim x^{-2}$$
At high frequency, the SFS increases again and diverges as
$$f(x)\sim \frac{1}{(x-1)\log(1-x)}$$
This non-monotonicity is a characteristic feature of multiple merger coalescents.&lt;/p&gt;
&lt;p&gt;&lt;img alt="fitness_sketch" src="/images/fitness_sketch.png"&gt;&lt;/p&gt;
&lt;p&gt;Since multiple merger coalescents emerge in various evolutionary scenarios
characterized by sustained selection pressures, we argue that they
should be considered as null-models for adapting populations. Remarkably
rather simple scaling arguments map coalescence in sexual populations to
results in asexual populations with good accuracy.&lt;/p&gt;
&lt;h3&gt;Rapid inference of time stamped phylogenies&lt;/h3&gt;
&lt;p&gt;Mutations that accumulate in the genome of replicating biological organisms can be used to infer their evolutionary history. In case of measurably evolving organisms genomes often reveal their detailed spatio-temporal spread. Such phylodynamic analyses are particularly useful to understand the epidemiology of rapidly evolving viral pathogens. The volume of genome sequences available for different pathogens, however, have increased dramatically over the last couple of years and traditional methods for phylodynamic analysis scale poorly with growing data sets. We have developed TreeTime, a python based framework for phylodynamic analysis using an approximate Maximum Likelihood approach. TreeTime can estimate ancestral states, infer evolution models, reroot trees to maximize temporal signals, estimate molecular clock phylogenies and population size histories. The run time of TreeTime scales linearly with data set size.
TreeTime is available as open source package on &lt;a href="https//github.com/neherlab/treetime"&gt;github&lt;/a&gt; and as a web server at &lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;.&lt;/p&gt;</content><category term="research_area"></category><category term="population genetics"></category><category term="rapid adaptation"></category><category term="phylogenetics"></category><category term="timetree inference"></category></entry><entry><title>Bianca Doesselmann</title><link href="/bianca-regenbogen.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/bianca-regenbogen.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Emmanuel Benard</title><link href="/emmanuel-benard.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/emmanuel-benard.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Fabio Zanini</title><link href="/fabio-zanini.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/fabio-zanini.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Pavel Sagulenko</title><link href="/pavel-sagulenko.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/pavel-sagulenko.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Richard Neher</title><link href="/richard-neher.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/richard-neher.html</id><summary type="html">&lt;h2&gt;CV&lt;/h2&gt;
&lt;h3&gt;Education&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;2007: PhD in Physics, LMU Munich. Advisor Prof. Ulrich Gerland&lt;/li&gt;
&lt;li&gt;2004: Diploma in Physics, LMU Munich&lt;/li&gt;
&lt;li&gt;2000: Vordiplom Physics, University of Göttingen&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Positions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;since 2017: Associate Professor at the &lt;a href="http://biozentrum.org"&gt;Biozentrum&lt;/a&gt;, University of Basel&lt;/li&gt;
&lt;li&gt;2010 - 2017: Independent Max-Planck Research Group Leader, MPI for Developmental Biology, Tübingen&lt;/li&gt;
&lt;li&gt;2007 - 2010: Postdoctoral …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;h2&gt;CV&lt;/h2&gt;
&lt;h3&gt;Education&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;2007: PhD in Physics, LMU Munich. Advisor Prof. Ulrich Gerland&lt;/li&gt;
&lt;li&gt;2004: Diploma in Physics, LMU Munich&lt;/li&gt;
&lt;li&gt;2000: Vordiplom Physics, University of Göttingen&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Positions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;since 2017: Associate Professor at the &lt;a href="http://biozentrum.org"&gt;Biozentrum&lt;/a&gt;, University of Basel&lt;/li&gt;
&lt;li&gt;2010 - 2017: Independent Max-Planck Research Group Leader, MPI for Developmental Biology, Tübingen&lt;/li&gt;
&lt;li&gt;2007 - 2010: Postdoctoral Fellow at KITP, UC Santa Barbara.&lt;/li&gt;
&lt;/ul&gt;</content><category term="team"></category></entry><entry><title>Taylor Kessinger</title><link href="/taylor-kessinger.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/taylor-kessinger.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Vadim Puller</title><link href="/vadim-puller.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/vadim-puller.html</id><content type="html"></content><category term="team"></category></entry><entry><title>Wei Ding</title><link href="/wei-ding.html" rel="alternate"></link><published>2017-01-07T00:00:00+01:00</published><updated>2017-01-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-07:/wei-ding.html</id><content type="html"></content><category term="team"></category></entry><entry><title>De la variabilit\'e des s\'equences à la pr\'ediction structurale et fonctionnelle : mod\'elisation de familles de prot\'eines homologues</title><link href="/BioAuj2017.html" rel="alternate"></link><published>2017-01-01T00:00:00+01:00</published><updated>2017-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2017-01-01:/BioAuj2017.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Error rates, PCR recombination, and sampling depth in HIV-1 Whole Genome Deep Sequencing.</title><link href="/zanini_error_2016.html" rel="alternate"></link><published>2016-12-27T00:00:00+01:00</published><updated>2016-12-27T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-12-27:/zanini_error_2016.html</id><summary type="html">&lt;p&gt;Deep sequencing is a powerful and cost-effective tool to characterize the genetic diversity and evolution of virus populations. While modern sequencing instruments readily cover viral genomes many thousand fold and very rare variants can in principle be detected, sequencing errors, amplification biases, and other artifacts can limit sensitivity and complicate …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Deep sequencing is a powerful and cost-effective tool to characterize the genetic diversity and evolution of virus populations. While modern sequencing instruments readily cover viral genomes many thousand fold and very rare variants can in principle be detected, sequencing errors, amplification biases, and other artifacts can limit sensitivity and complicate data interpretation. For this reason, the number of studies using whole genome deep sequencing to characterize  viral quasi-species in clinical samples is still limited. We have previously undertaken a large scale whole genome deep sequencing study of HIV-1 populations. Here we discuss the challenges, error profiles, control experiments, and computational test we developed to quantify the accuracy of variant frequency estimation.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Establishment and dynamics of the latent HIV-1 reservoir</title><link href="/HIV_reservoir.html" rel="alternate"></link><published>2016-12-01T00:00:00+01:00</published><updated>2016-12-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-12-01:/HIV_reservoir.html</id><summary type="html">&lt;p&gt;&lt;a href="http://dx.doi.org/10.7554/eLife.18889"&gt;Our new study&lt;/a&gt; (work with the group of &lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert&lt;/a&gt;) on HIV-1 evolution and turnover during suppressive anti-retroviral therapy has just come out in eLife. In this paper, we combined our previous data on HIV-1 evolution in plasma prior to therapy &lt;a href="http://hiv.tuebingen.mpg.de/"&gt;Zanini et al, 2015&lt;/a&gt; with HIV-1 DNA sequences from …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="http://dx.doi.org/10.7554/eLife.18889"&gt;Our new study&lt;/a&gt; (work with the group of &lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert&lt;/a&gt;) on HIV-1 evolution and turnover during suppressive anti-retroviral therapy has just come out in eLife. In this paper, we combined our previous data on HIV-1 evolution in plasma prior to therapy &lt;a href="http://hiv.tuebingen.mpg.de/"&gt;Zanini et al, 2015&lt;/a&gt; with HIV-1 DNA sequences from peripheral blood cells (PBMC) after many years of therapy. This combination of pre-therapy and on-therapy data from the same individuals allowed us to investigate the origin of integrated HIV-1 DNA and determine whether viral DNA in cells change during therapy:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We find no evidence of replication/evolution during suppressive therapy&lt;/li&gt;
&lt;li&gt;Even after 18y of therapy HIV-1 DNA looks very similar to the HIV-1 RNA from samples right before treatment&lt;/li&gt;
&lt;li&gt;The HIV reservoir is turning over fast in absence of therapy. This turnover is dramatically slowed by therapy, suggesting that HIV-1 infection is a major contributor to T-cell death.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Our results are at odds with a recent study by &lt;a href="http://www.nature.com/nature/journal/v530/n7588/full/nature16933.html"&gt;Lorenzo-Redondo et al 2016&lt;/a&gt;. Using sequence data from HIV RNA at treatment initiation and HIV DNA 3 and 6 month into therapy, Lorenzo-Redondo et al estimated a very high rate of sequence evolution. The evolution of the root-to-tip distance predicted on the basis of their rate estimate is included in the graph below as shaded area - clearly incompatible with our results. In fact, the rate estimated by Lorenzo-Redondo et al is faster than the pre-therapy rate in the individuals we investigated.&lt;/p&gt;
&lt;p&gt;Lorenzo-Redondo et al studied sequences from blood and lymph tissue, while we had only access to blood samples. This, however, is unlikely to explain this discrepancy: Lorenzo-Redondo et al estimate similar rates in PBMCs and lymp tissue. Furthermore, several studies, including Lorenzo-Redondo et al, estimate that HIV sequences from lymph and PBMCs mix on a time scale of a few month such that PBMCs should be an accurate reporter. The rapid evolution inferred by Lorenzo-Redondo might be explained in part by the following factors:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The samples come from a six month interval, which is much shorter than the coalescence time scale of HIV. With sequences from such small time intervals, rooting of the phylogenetic tree to maximize the correlation between root-to-tip distance and sampling date can generate an exaggerated temporal signal.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;With increasing time since start of therapy, the HIV-1 DNA positive pool of cells will become dominated by long-lived cells which sample deeper into the history of the HIV infection prior to therapy. This could generate a signal of spurious signal "backward" evolution.
The graph below illustrates the latter. If HIV positive cells are a mix of short-lived (blue) and long-lived (red) cells, a sample taken at treatment start will be dominated by short-lived cells and virus that was replicating very recently. A few month into treatment, short-lived cells will be mostly HIV negative while HIV positive cells tend to be long-lived cells that sample deeper into the history of the infection. This shift can generate a spurious signal of evolution.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While we cannot rule out that HIV does replicate in compartments that are missed by our sequencing of HIV from PBMCs, ongoing replication is not the dominant mechanism by which HIV DNA is maintained in circulating cells.&lt;/p&gt;</content><category term="post"></category><category term="HIV"></category><category term="latent reservoir"></category></entry><entry><title>A Direct Comparison of Two Densely Sampled HIV Epidemics: The UK and Switzerland.</title><link href="/ragonnet-cronin_direct_2016.html" rel="alternate"></link><published>2016-11-20T00:00:00+01:00</published><updated>2016-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-11-20:/ragonnet-cronin_direct_2016.html</id><summary type="html">&lt;p&gt;Phylogenetic clustering approaches can elucidate HIV transmission dynamics. Comparisons across countries are essential for evaluating public health policies. Here, we used a standardised approach to compare the UK HIV Drug Resistance Database and the Swiss HIV Cohort Study while maintaining data-protection requirements. Clusters were identified in subtype A1, B and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Phylogenetic clustering approaches can elucidate HIV transmission dynamics. Comparisons across countries are essential for evaluating public health policies. Here, we used a standardised approach to compare the UK HIV Drug Resistance Database and the Swiss HIV Cohort Study while maintaining data-protection requirements. Clusters were identified in subtype A1, B and C pol phylogenies. We generated degree distributions for each risk group and compared distributions between countries using Kolmogorov-Smirnov (KS) tests, Degree Distribution Quantification and Comparison (DDQC) and bootstrapping. We used logistic regression to predict cluster membership based on country, sampling date, risk group, ethnicity and sex. We analysed {\textgreater}8,000 Swiss and {\textgreater}30,000 UK subtype B sequences. At 4.5\% genetic distance, the UK was more clustered and MSM and heterosexual degree distributions differed significantly by the KS test. The KS test is sensitive to variation in network scale, and jackknifing the UK MSM dataset to the size of the Swiss dataset removed the difference. Only heterosexuals varied based on the DDQC, due to UK male heterosexuals who clustered exclusively with MSM. Their removal eliminated this difference. In conclusion, the UK and Swiss HIV epidemics have similar underlying dynamics and observed differences in clustering are mainly due to different population sizes.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Transmission of Non-B HIV Subtypes in the United Kingdom Is Increasingly Driven by Large Non-Heterosexual Transmission Clusters.</title><link href="/ragonnet-cronin_transmission_2016.html" rel="alternate"></link><published>2016-11-20T00:00:00+01:00</published><updated>2016-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-11-20:/ragonnet-cronin_transmission_2016.html</id><summary type="html">&lt;p&gt;BACKGROUND: The United Kingdom human immunodeficiency virus (HIV) epidemic was historically dominated by HIV subtype B transmission among men who have sex with  men (MSM). Now 50\% of diagnoses and prevalent infections are among heterosexual individuals and mainly involve non-B subtypes. Between 2002 and 2010, the prevalence of non-B diagnoses …&lt;/p&gt;</summary><content type="html">&lt;p&gt;BACKGROUND: The United Kingdom human immunodeficiency virus (HIV) epidemic was historically dominated by HIV subtype B transmission among men who have sex with  men (MSM). Now 50\% of diagnoses and prevalent infections are among heterosexual individuals and mainly involve non-B subtypes. Between 2002 and 2010, the prevalence of non-B diagnoses among MSM increased from 5.4\% to 17\%, and this study focused on the drivers of this change. METHODS: Growth between 2007 and 2009 in transmission clusters among 14 000 subtype A1, C, D, and G sequences from the United Kingdom HIV Drug Resistance Database was analysed by risk group. RESULTS: Of 1148 clusters containing at least 2 sequences in 2007, {\textgreater}75\% were pairs and {\textgreater}90\% were heterosexual. Most clusters (71.4\%) did not grow during the study period. Growth was significantly lower for small clusters and higher for clusters of {\textgreater}/=7 sequences, with the highest growth observed for clusters comprising sequences from MSM and people who inject drugs (PWID). Risk group (P{\textless}  .0001), cluster size (P{\textless} .0001), and subtype (P{\textless} .01) were predictive of growth in a generalized linear model. DISCUSSION: Despite the increase in non-B subtypes associated with heterosexual transmission, MSM and PWID are at risk for non-B infections. Crossover of subtype C from heterosexuals to MSM has led to the expansion of this subtype within the United Kingdom.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Using nearly full-genome HIV sequence data improves phylogeny reconstruction in a simulated epidemic.</title><link href="/yebra_using_2016.html" rel="alternate"></link><published>2016-11-20T00:00:00+01:00</published><updated>2016-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-11-20:/yebra_using_2016.html</id><summary type="html">&lt;p&gt;HIV molecular epidemiology studies analyse viral pol gene sequences due to their  availability, but whole genome sequencing allows to use other genes. We aimed to  determine what gene(s) provide(s) the best approximation to the real phylogeny by analysing a simulated epidemic (created as part of the PANGEA_HIV project …&lt;/p&gt;</summary><content type="html">&lt;p&gt;HIV molecular epidemiology studies analyse viral pol gene sequences due to their  availability, but whole genome sequencing allows to use other genes. We aimed to  determine what gene(s) provide(s) the best approximation to the real phylogeny by analysing a simulated epidemic (created as part of the PANGEA_HIV project) with a known transmission tree. We sub-sampled a simulated dataset of 4662 sequences into different combinations of genes (gag-pol-env, gag-pol, gag, pol, env and partial pol) and sampling depths (100\%, 60\%, 20\% and 5\%), generating 100 replicates for each case. We built maximum-likelihood trees for each combination  using RAxML (GTR + Gamma), and compared their topologies to the corresponding true tree's using CompareTree. The accuracy of the trees was significantly proportional to the length of the sequences used, with the gag-pol-env datasets showing the best performance and gag and partial pol sequences showing the worst. The lowest sampling depths (20\% and 5\%) greatly reduced the accuracy of tree reconstruction and showed high variability among replicates, especially when using the shortest gene datasets. In conclusion, using longer sequences derived from nearly whole genomes will improve the reliability of phylogenetic reconstruction. With low sample coverage, results can be highly variable, particularly when based on short sequences.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Establishment and stability of the latent HIV-1 DNA reservoir.</title><link href="/brodin_establishment_2016.html" rel="alternate"></link><published>2016-11-15T00:00:00+01:00</published><updated>2016-11-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-11-15:/brodin_establishment_2016.html</id><summary type="html">&lt;p&gt;HIV-1 infection cannot be cured because the virus persists as integrated proviral DNA in long-lived cells despite years of suppressive antiretroviral therapy (ART). In a previous paper (Zanini et al, 2015) we documented HIV-1 evolution in  10 untreated patients. Here we characterize establishment, turnover, and evolution of viral DNA reservoirs …&lt;/p&gt;</summary><content type="html">&lt;p&gt;HIV-1 infection cannot be cured because the virus persists as integrated proviral DNA in long-lived cells despite years of suppressive antiretroviral therapy (ART). In a previous paper (Zanini et al, 2015) we documented HIV-1 evolution in  10 untreated patients. Here we characterize establishment, turnover, and evolution of viral DNA reservoirs in the same patients after 3-18 years of suppressive ART. A median of 14\% (range 0-42\%) of the DNA sequences were defective due to G-to-A hypermutation. Remaining DNA sequences showed no evidence of evolution over years of suppressive ART. Most sequences from the DNA reservoirs were very similar to viruses actively replicating in plasma (RNA sequences) shortly before start of ART. The results do not support persistent&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Colistin resistance evolution</title><link href="/colistin-resistance-evolution.html" rel="alternate"></link><published>2016-10-17T22:34:00+02:00</published><updated>2016-10-17T22:34:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2016-10-17:/colistin-resistance-evolution.html</id><summary type="html">&lt;p&gt;The wide spread use of antibiotic has lead to evolution and spread of
bacteria resistant to drugs. Multi-resistant strains tend to circulate
in hospitals with a high density of people on antibiotic therapy.
Treatment options are running out for some of the most resistant
strains. To limit the spread and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The wide spread use of antibiotic has lead to evolution and spread of
bacteria resistant to drugs. Multi-resistant strains tend to circulate
in hospitals with a high density of people on antibiotic therapy.
Treatment options are running out for some of the most resistant
strains. To limit the spread and emergence of such variants, we need to
understand the conditions under which resistance evolves, and how we can
avoid or delay it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.medizin.uni-tuebingen.de/en/Research/Institutes/Medical+Microbiology+and+Hygiene/Research/Clinical+Microbiology+Team.html"&gt;Matthias Willmann and Silke
Peter&lt;/a&gt;
from the Tübingen medical school and my group teamed up to study
evolution of colistin resistance in clinical isolates of &lt;em&gt;Pseudomonas
aeruginosa&lt;/em&gt; using a morbidostat. This computer controlled continuous
culture device was designed by Erdal Toprak and colleagues in Roy
Kishony's lab. The morbidostat adjust drug concentrations such that the
bugs struggle but grow. Over days and weeks, the bacteria become
resistant while we can take samples and sequence the population to track
the changes in their genomes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dx.doi.org/10.1101/080960"&gt;The preprint we just posted&lt;/a&gt;
describes results by &lt;strong&gt;Bianca Regenbogen&lt;/strong&gt; who took on the ambitious
task of i) finalizing our morbidostat set-up, (ii) establishing the
experimental procedures, (iii) running the experiments for two strains
(PA77 and PA83), (iv) sequencing the sample, and (v) analysing the data.
Every part of this would have been impressive for a six month thesis -
she did all five.&lt;/p&gt;
&lt;h4&gt;The morbidostat&lt;/h4&gt;
&lt;p&gt;&lt;img alt="morb" src="/talk_images/morbidostat_setup.png"&gt;&lt;/p&gt;
&lt;p&gt;The left part of the picture shows the laptop controlling the experiment
and a large array of small pumps that deliver drug and growth medium
into the culture vials. The culture vials sit inside an incubator (right
picture). All the tubing connecting pumps to the vials and for waste
removal run through a hole that our workshop drilled into the back of
incubator (yes, they did ask whether we were serious about this).&lt;/p&gt;
&lt;h4&gt;The experiments&lt;/h4&gt;
&lt;p&gt;&lt;img alt="colistin" src="/images/colistin.png"&gt;&lt;/p&gt;
&lt;p&gt;The experiments typically ran for 3 weeks, while we recorded optical
density every 30s, adjusted medium and drug every 10min, and took
samples three times per week. The plot on the left shows the colistin
concentration over these three weeks - we have a total of 18 such
traces, each corresponding to one culture. The colistin concentrations
tolerated by the bacteria increased 10fold after 7-12 days, and then
steadily increased further to a total of a 100fold increase. The colored
bars above the graph indicated the trajectories of commonly observed
mutations: more below.&lt;/p&gt;
&lt;h4&gt;The mutations&lt;/h4&gt;
&lt;p&gt;We wanted to know what happened as these populations became resistant.
Which genes mutated? Always the same genes? Same mutations? .... We
sequenced the seven samples for each culture (\~100 samples) with high
coverage. In one vial, the dynamics of mutations looked like this:
&lt;img alt="pa77_v01_snps" src="/images/pa77_v01_snps.png"&gt;&lt;/p&gt;
&lt;p&gt;The left panel shows the trajectories of mutations that we didn't see in
initial sample, the right panel are the preexisting mutations. The plot
only shows mutations observed at &amp;gt;20% at least once.&lt;/p&gt;
&lt;p&gt;All PA77 cultures mutated &lt;em&gt;pmrE&lt;/em&gt; and &lt;em&gt;pmrB&lt;/em&gt;. All mutations in &lt;em&gt;pmrE&lt;/em&gt;
were at position 28, either to Y-&amp;gt;C or Y-&amp;gt;N. In contrast,
mutations in &lt;em&gt;pmrB&lt;/em&gt; were all over the place. In the case shown above,
two &lt;em&gt;pmrB&lt;/em&gt; mutations came up, but only L17Q together with Y28N in &lt;em&gt;pmrE&lt;/em&gt;
was successful. Curiously, PA77 is an outlier at position 28 of &lt;em&gt;pmrE:&lt;/em&gt;
The majority of &lt;em&gt;P. aeruginosa&lt;/em&gt; strains in GenBank have a C at this
position.&lt;/p&gt;
&lt;p&gt;PA83 evolved colistin resistance via much more varied patterns of
mutations. While we didn't find any mutations in &lt;em&gt;pmrE&lt;/em&gt;, all strains
mutated &lt;em&gt;lpxC&lt;/em&gt;, &lt;em&gt;pmrB&lt;/em&gt;, 7/9 mutated &lt;em&gt;migA&lt;/em&gt; (+2 other poorly annotated
genes), 6/9 &lt;em&gt;lpxO2&lt;/em&gt;, 5/9 &lt;em&gt;pmrA&lt;/em&gt;. In total more than 20 different genes
mutated in more than 2 cultures.&lt;/p&gt;
&lt;p&gt;The above mutation seem to be directly related to colistin resistance
and most mutated genes are involved in some part of the synthesis of
lipopolysaccharides in the outer membrane. In addition to those directly
relevant mutations, 6/9 and 1/9 cultures of PA83 and PA77, respectively,
carried mutations in &lt;em&gt;mutS&lt;/em&gt;. These populations had a 100fold elevated
mutation rate and developed many other unique mutations (\~50 in 3
weeks).&lt;/p&gt;
&lt;h4&gt;What did we learn?&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;a rich culture of 20ml (100M cells) develops resistance in 10 days&lt;/li&gt;
&lt;li&gt;the pathways differ between strains:
   &lt;em&gt;LpxC&lt;/em&gt;, &lt;em&gt;migA&lt;/em&gt;,.. mutations were common in PA83, not observed in
    PA77
   &lt;em&gt;PmrE&lt;/em&gt; reverted to wildtype in PA77, PA83 has &lt;em&gt;pmrE&lt;/em&gt; 28C&lt;/li&gt;
&lt;li&gt;despite different pathways, phenotypes evolve in a similar fashion&lt;/li&gt;
&lt;li&gt;mutator phenotype arise frequently, but are not essential for
    resistance evolution&lt;/li&gt;
&lt;li&gt;the mutation target for colistin is large and clones with similar
    mutations compete.&lt;/li&gt;
&lt;li&gt;MICs measurements in liquid culture differ from those of ETests.&lt;/li&gt;
&lt;/ul&gt;</content><category term="post"></category><category term="antibiotic resistance"></category><category term="experimental evolution"></category></entry><entry><title>1,135 genomes reveal the global pattern of polymorphism in Arabidopsis thaliana</title><link href="/alonso20161.html" rel="alternate"></link><published>2016-07-14T00:00:00+02:00</published><updated>2016-07-14T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-07-14:/alonso20161.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Optimizing culture conditions for free-living stages of the nematode parasite Strongyloides ratti</title><link href="/dulovic_optimizing_2016.html" rel="alternate"></link><published>2016-06-19T00:00:00+02:00</published><updated>2016-06-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-06-19:/dulovic_optimizing_2016.html</id><summary type="html">&lt;p&gt;The rat parasitic nematode Strongyloides ratti (S. ratti) has recently emerged as a model system for various aspects of parasite biology and evolution. In addition to parasitic parthenogenetic females, this species can also form facultative free-living generations of sexually reproducing adults. These free-living worms are bacteriovorous and grow very well …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The rat parasitic nematode Strongyloides ratti (S. ratti) has recently emerged as a model system for various aspects of parasite biology and evolution. In addition to parasitic parthenogenetic females, this species can also form facultative free-living generations of sexually reproducing adults. These free-living worms are bacteriovorous and grow very well when cultured in the feces of their host. However, in fecal cultures the worms are rather difficult to find for observation and experimental manipulation. Therefore, it has also been attempted to raise S. ratti on Nematode Growth Media (NGM) plates with Escherichia coli OP50 as food, exactly as described for the model nematode Caenorhabditis elegans. Whilst worms did grow on these plates, their longevity and reproductive output compared to fecal cultures were dramatically reduced. In order to improve the culture success we tested other plates occasionally used for C. elegans and, starting from the best performing one, systematically varied the plate composition, the temperature and the food in order to further optimize the conditions. Here we present a plate culturing protocol for free-living stages of S. ratti with strongly improved reproductive success and longevity.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Does HIV evolve during therapy?</title><link href="/201605_does-hiv-evolve-under-suppressive-therapy.html" rel="alternate"></link><published>2016-05-18T20:02:00+02:00</published><updated>2016-05-18T20:02:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2016-05-18:/201605_does-hiv-evolve-under-suppressive-therapy.html</id><summary type="html">&lt;p&gt;Even though modern HIV therapy reduces HIV replication to undetectable
levels, the virus almost always rebounds when therapy is stopped. The
rebound comes from a &lt;em&gt;reservoir&lt;/em&gt; of virus integrated into the genome of
T-cells, which can start to produce virus even decades after the virus
integrated.  How this reservoir is …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Even though modern HIV therapy reduces HIV replication to undetectable
levels, the virus almost always rebounds when therapy is stopped. The
rebound comes from a &lt;em&gt;reservoir&lt;/em&gt; of virus integrated into the genome of
T-cells, which can start to produce virus even decades after the virus
integrated.  How this reservoir is maintained has been the subject of
intensive research. Most studies point towards long &lt;a href="http://www.pnas.org/content/110/51/E4987.abstract"&gt;lived T-cell
lineages&lt;/a&gt; that carry
integrated virus, while &lt;a href="http://www.nature.com/nature/journal/v530/n7588/full/nature16933.html"&gt;other
studies&lt;/a&gt;
claim that low level replication of HIV maintains and reseed the
reservoir. Together with the group of &lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan
Albert&lt;/a&gt; at the Karolinska
Institute, &lt;a href="http://biorxiv.org/content/early/2016/05/23/053983"&gt;we now
show&lt;/a&gt; that the long
term dynamics of the HIV DNA reservoir is perfectly compatible with long
lived T-cell lineages, while we find no evidence of ongoing replication.&lt;/p&gt;
&lt;h5&gt;What is unique about our study?&lt;/h5&gt;
&lt;p&gt;We obtained sequences of HIV integrated into host cell genomes from 10
patients 3-18 years after they started successful therapy. These samples
came from the same patients that participated in our &lt;a href="http://hiv.tuebingen.mpg.de"&gt;earlier
longitudinal study of intra-patient
evolution&lt;/a&gt;. In this study we performed
whole genome deep sequencing of several samples from early infection up
until start of therapy. We hence know exactly what variants were
circulating in these patients before they started fully suppressive ART.
This enables us to determine the most likely ancestors of the sequences
found in the reservoir, date their establishment, and determine whether
sequences changed since start of therapy.&lt;/p&gt;
&lt;p&gt;&lt;img alt="RNA_DNA" src="/talk_images/reservoir_tree_example.png"&gt;
 Circles: RNA from replicating virus. Squares/triangles: DNA reservoir&lt;/p&gt;
&lt;p&gt;Overwhelmingly, we find that sequences from the DNA reservoir are very
similar to sequences of replicating viruses observed in RNA samples
right before the onset of therapy, sometimes up to 18 years earlier. The
DNA sequences from the reservoir contain much of the diversity virus
population before treatment, as evidenced by the joint phylogenetic
trees of RNA and DNA samples.&lt;/p&gt;
&lt;h5&gt;No evidence of evolution in the reservoir&lt;/h5&gt;
&lt;p&gt;A quantitative analysis of virus sequences before and after start of
therapy shows very clearly that sequences obtained from the HIV DNA
reservoir have not undergone any significant replication or evolution.
The figure below shows genetic distances of samples relative to the
sequences observed right before start of treatment:
&lt;img alt="RNA_DNA_root_to_tip" src="/images/rna_dna_root_to_tip2.png"&gt;&lt;/p&gt;
&lt;p&gt;While evolution is fast and steady before treatment, no consistent
change is observed after start of treatment.&lt;/p&gt;
&lt;h5&gt;Why do others see evolution in the HIV-1 DNA reservoir?&lt;/h5&gt;
&lt;p&gt;They probably don't. Data by &lt;a href="http://www.nature.com/nature/journal/v530/n7588/full/nature16933.html"&gt;Lorenzo-Redondo et
al&lt;/a&gt;
come from a 6 month period following start of treatment (the checkered
area in the figure above). During this brief time window, they claim to
observe evolution at a rate of 1% per year -- about 5 fold faster than
without treatment. Lorenzo-Redondo et al have samples from lymphoid
tissue in addition to PMBCs (white blood cells, our samples are also
PBMCs). However, they find rapid migration between these tissues such
that the restriction of our study to PBMCs is unlikely to explain the
discordant findings.&lt;/p&gt;
&lt;p&gt;One possible explanation (besides noise and artefacts do to
hypermutation screening and 454 sequencing), could be the changing age
distribution of cells latently carrying HIV genomes. Right after start
of therapy, these cells will be dominated by short lived cells that got
recently infected. After 3 and 6 month (the time points of their
samples), the reservoir might get dominated by older cells that contain
viral genomes from further back in the past. Without a dense history of
the replicating HIV population prior to therapy, the effect of sampling
deeper into the past cannot be distinguished from forward evolution.
That said, we don't see a strong effect in this direction and the DNA
reservoir is dominated by RNA sequences that circulated right before the
start of treatment, even 15 years later.&lt;/p&gt;
&lt;h5&gt;Do our findings rule out replication?&lt;/h5&gt;
&lt;p&gt;No. We show that HIV sequences obtained from PBMCs derive from virus
populations before start of treatment. We can't rule out that (i) a tiny
minority does change but is so rare that we don't observe it, or (ii)
that replication happens in compartments that don't contribute to the
DNA reservoir accessible through PBMCs. To our knowledge to credible
evidence exists in favor of replication, but we can't rule it out.&lt;/p&gt;</content><category term="post"></category><category term="HIV"></category><category term="latent reservoir"></category></entry><entry><title>Mutation rates and fitness costs of HIV-1</title><link href="/zanini_mutation_rates_2016.html" rel="alternate"></link><published>2016-03-26T21:46:00+01:00</published><updated>2016-03-26T21:46:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-03-26:/zanini_mutation_rates_2016.html</id><summary type="html">&lt;p&gt;The rates at which mutations arise and the effects these mutations have
on phenotypes and replications are key determinants of how populations
change and adapt - but measuring them is often hard. While mutation
rates in animals or plants can be obtained quite easily by sequencing
parents and children, fitness effects …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The rates at which mutations arise and the effects these mutations have
on phenotypes and replications are key determinants of how populations
change and adapt - but measuring them is often hard. While mutation
rates in animals or plants can be obtained quite easily by sequencing
parents and children, fitness effects are much more difficult to
ascertain: Only the most dramatic mutations have a big enough effects
that can be measured over a few generations or leave strong signals in
genetic diversity.&lt;/p&gt;
&lt;p&gt;In viruses like HIV-1, mutation rates and effects of mutations are more
readily accessible since their generation times are short and their
genomes are compact. However, these measurements cannot be done in the
natural environment - the infected host - but typically in cell culture
systems. In &lt;a href="http://dx.doi.org/10.1101/045039"&gt;our new preprint&lt;/a&gt;, Fabio,
Vadim, myself and our colleagues Johanna and
&lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan&lt;/a&gt; from Sweden present
estimates of mutation rates and fitness costs in-vivo.&lt;/p&gt;
&lt;h3&gt;How did we do it?&lt;/h3&gt;
&lt;p&gt;We have previously presented longitudinal whole genome deep sequencing
data from multiple patients (&lt;a href="http://hiv.tuebingen.mpg.de"&gt;Zanini et al,
2016&lt;/a&gt;). At each position of the genome, we
can observe the frequency of different mutations at different times
during the course of infection.&lt;/p&gt;
&lt;p&gt;A subset of positions don't seem to matter
much for virus replication. We found that at those sites, mutations
accumulate almost linearly. The &lt;strong&gt;rate of accumulation is the in vivo
mutation rate.&lt;/strong&gt; The estimates so obtained agree very well with cell
culture estimates. The figure below summarizes these findings:
The thickness of the arrows indicate the relative rates - the overall
rate is 0.000012 mutations per site and day.&lt;/p&gt;
&lt;p&gt;&lt;img alt="mut_matrix" src="/images/mut_matrix.png"&gt;&lt;/p&gt;
&lt;p&gt;At these approximately neutral sites, mutation accumulation is linear
(at least over the few years we looked at it). At other sites, mutations
arise very much the same way, but they reduce the rate of virus
replication and are hence weeded out. As a result, mutation frequencies
don't accumulate linearly but saturate. The time its takes to saturate
and the level at which the frequencies saturate depend on the selection
coefficient. We use this dependence to estimate the landscape of fitness
costs at almost every site of the HIV-1 genome.&lt;/p&gt;
&lt;p&gt;[&lt;img alt="fitness_cost" src="/images/fitness_cost.png"&gt;
This graph shows a slightly smoothed landscape of fitness costs in units of
&lt;em&gt;1/day&lt;/em&gt; separately for non-synonymous mutations (solid) and synonymous
mutations (dashed) for the major genes of HIV-1 (colors). As expected,
fitness costs of non-synonymous mutations are a lot larger than those of
synonymous mutations (about 50% of nonsyn mutations have costs of 10% or
more). But subsets of synonymous mutations are also very costly, in
particular in RNA secondary structure rich regions at the 5' end or in
envelope.&lt;/p&gt;
&lt;h3&gt;Challenges&lt;/h3&gt;
&lt;p&gt;Estimating fitness costs requires accurate estimates of mutation
frequencies. The accuracy of the latter is limited by small numbers of
HIV genomes that enter the sequencing library, amplification biases
during PCR, and possibly through hitch-hiking effects that bring
deleterious alleles to high frequencies. To nevertheless get reasonable
estimates of fitness costs at individual sites, we used weighted
averages of all sequenced samples that we had available. This is
sensible, since the frequencies of deleterious mutations decorrelate
rapidly such that different samples from the same patient are
approximately independent. By combining multiple samples with weights
proportional to the number of genomes contributing to the sample, we
generate a &lt;em&gt;meta sample&lt;/em&gt; that represents a much larger population.The
individual samples are sequenced with an error rate below 0.002 per site
and the pooled sample then allows us to estimate frequencies far below
this threshold.&lt;/p&gt;
&lt;h3&gt;Why do we care?&lt;/h3&gt;
&lt;p&gt;We have previously shown that reversion to the consensus is a dominant
force in HIV-1 evolution. These reversion mutations are driven by the
fitness costs of these mutations. The landscape we determined will allow
to look more closely at the driving forces of reversion. Furthermore,
the landscape can pin-point regions of vulnerability and target
particular regions with unexpected conservation patterns for follow-up
analysis.&lt;/p&gt;
&lt;p&gt;On a more general note, fitness landscapes and the distribution of
effect sizes of mutations are the most important parameters we need to
know in order to decide what kind of model of the population genetics is
appropriate. We have very little knowledge how these distributions look
like for any organism. Our work is one of the first examples where such
a landscape has been determined in-vivo on a genome wide scale.&lt;/p&gt;</content><category term="post"></category><category term="HIV evolution"></category><category term="fitness landscape"></category></entry><entry><title>HIV Cell-to-Cell Spread Results in Earlier Onset of Viral Gene Expression by Multiple Infections per Cell.</title><link href="/boulle_hiv_2016.html" rel="alternate"></link><published>2016-03-15T00:00:00+01:00</published><updated>2016-03-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-03-15:/boulle_hiv_2016.html</id><summary type="html">&lt;p&gt;Cell-to-cell spread of HIV, a directed mode of viral transmission, has been observed to be more rapid than cell-free infection. However, a mechanism for earlier onset of viral gene expression in cell-to-cell spread was previously uncharacterized. Here we used time-lapse microscopy combined with automated image analysis to quantify the timing …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Cell-to-cell spread of HIV, a directed mode of viral transmission, has been observed to be more rapid than cell-free infection. However, a mechanism for earlier onset of viral gene expression in cell-to-cell spread was previously uncharacterized. Here we used time-lapse microscopy combined with automated image analysis to quantify the timing of the onset of HIV gene expression in a fluorescent reporter cell line, as well as single cell staining for infection over time in primary cells. We compared cell-to-cell spread of HIV to cell-free infection, and limited both types of transmission to a two-hour window to minimize differences due to virus transit time to the cell. The mean time to detectable onset of viral gene expression in cell-to-cell spread was accelerated  by 19\% in the reporter cell line and by 35\% in peripheral blood mononuclear cells relative to cell-free HIV infection. Neither factors secreted by infected cells,  nor contact with infected cells in the absence of transmission, detectably changed onset. We recapitulated the earlier onset by infecting with multiple cell-free viruses per cell. Surprisingly, the acceleration in onset of viral gene expression was not explained by cooperativity between infecting virions. Instead, more rapid onset was consistent with a model where the fastest expressing virus out of the infecting virus pool sets the time for infection independently of the  other co-infecting viruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Prediction of antigenic phenotypes of influenza viruses</title><link href="/neher_HIprediction_2016.html" rel="alternate"></link><published>2016-03-11T22:27:00+01:00</published><updated>2016-03-11T22:27:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-03-11:/neher_HIprediction_2016.html</id><summary type="html">&lt;p&gt;Influenza viruses evolve rapidly, in part to evade recognition by human
antibodies generated during previous infections. Mutations that change
antigenic properties are common and rapidly spread through the virus
population, making frequent updates of the &lt;a href="http://www.who.int/influenza/vaccines/virus/en/"&gt;seasonal influenza
vaccine&lt;/a&gt; necessary. A
close match between the vaccine and the circulating viruses is …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Influenza viruses evolve rapidly, in part to evade recognition by human
antibodies generated during previous infections. Mutations that change
antigenic properties are common and rapidly spread through the virus
population, making frequent updates of the &lt;a href="http://www.who.int/influenza/vaccines/virus/en/"&gt;seasonal influenza
vaccine&lt;/a&gt; necessary. A
close match between the vaccine and the circulating viruses is necessary
to ensure vaccine efficiency&lt;/p&gt;
&lt;p&gt;Antigenic change can be detected in &lt;a href="http://www.virology.ws/2009/05/27/influenza-hemagglutination-inhibition-assay/"&gt;HI
assays&lt;/a&gt;
with anti-sera raised against reference and vaccine viruses. Low titers
indicate that a virus is antigenically different from the virus used to
produce the serum (a reference virus). Members of the &lt;em&gt;WHO Global
Influenza Surveillance and Response System&lt;/em&gt; perform many HI assays every
year to monitor antigenic dynamics of influenza. The results are
reported in tables like the one below from John McCauley and colleagues
at the &lt;a href="https://www.crick.ac.uk/research/worldwide-influenza-centre"&gt;Crick
Institute&lt;/a&gt;.
&lt;img alt="HI_table" src="/images/hi_table.png"&gt;&lt;/p&gt;
&lt;p&gt;Each column corresponds to one anti-serum, each row to one virus. Large
numbers indicated strong binding. The red values on the diagonal in the
upper half highlight &lt;em&gt;homologous&lt;/em&gt; titers, that is titers of serum
against the virus it was raised against.&lt;/p&gt;
&lt;p&gt;To explore and visualize such data, Derek Smith and colleagues have
developed &lt;a href="http://www.antigenic-cartography.org/"&gt;antigenic
cartography&lt;/a&gt;, a variant of
multi-dimensional scaling that maps titers to difference in two or more
euclidean dimensions. Unfortunately, these 2D projections are difficult
to combine with the genome sequences of the corresponding influenza
viruses - a type of data that is becoming ever more abundant.&lt;/p&gt;
&lt;h3&gt;Integration of HI data with sequence data&lt;/h3&gt;
&lt;p&gt;Together with &lt;a href="https://www.kitp.ucsb.edu/shraiman/"&gt;Boris Shraiman&lt;/a&gt;,
&lt;a href="http://bedford.io"&gt;Trevor Bedford&lt;/a&gt;, &lt;a href="http://www.infectiousdisease.cam.ac.uk/directory/car44@cam.ac.uk"&gt;Colin
Russell&lt;/a&gt;
and &lt;a href="https://www.crick.ac.uk/research/worldwide-influenza-centre/"&gt;Rod
Daniels&lt;/a&gt;,
we have developed models and visualizations to directly integrate HI
titer data with influenza virus sequences and phylogenies. This work was
&lt;a href="http://dx.doi.org/10.1073/pnas.1525578113"&gt;published in PNAS this
week&lt;/a&gt;. Our models infer
antigenic distance as additive contributions of branches in the tree or
similarly as illustrated below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="HI_model" src="/images/hi_model.png"&gt;&lt;/p&gt;
&lt;p&gt;The titer distance is modelled either as a sum of terms on the path
between virus a and b (used to raise the serum), or as a sum of
contributions associated with amino acid difference between the
sequences. Both models are similar and describe the data well, for
details have a look at the
&lt;a href="http://dx.doi.org/10.1073/pnas.1525578113"&gt;paper&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Visualization of antigenic data on the tree&lt;/h3&gt;
&lt;p&gt;We used the models learned from the HI titer data to allow interactive
exploration and visualization of measured and predicted titers within
&lt;a href="http://nextflu.org"&gt;nextflu&lt;/a&gt;. nextflu.org will continue to be updated,
while &lt;a href="http://hi.nextflu.org"&gt;HI.nextflu.org&lt;/a&gt; will display the full data
set available last summer.&lt;/p&gt;
&lt;p&gt;&lt;img alt="HI_trees" src="/images/hi_trees.png"&gt;&lt;/p&gt;
&lt;p&gt;Color indicates antigenic distance from the focal reference virus
A/Victoria/361/2011 marked by the red cross-hair. The model on the right
interpolates and smooths the data. The focal reference virus can be
changed by clicking with the mouse on any other sera marked by grey
boxes, upon which the tree coloring will be updated.&lt;/p&gt;
&lt;h3&gt;Predicting successful viruses&lt;/h3&gt;
&lt;p&gt;The ultimate goal of this project is to improve predictions of the
composition of future influenza virus populations to optimize the
vaccine match. &lt;a href="http://dx.doi.org/10.7554/eLife.03568"&gt;We&lt;/a&gt; and
&lt;a href="http://www.nature.com/nature/journal/v507/n7490/full/nature13087.html"&gt;others&lt;/a&gt;
have developed methods to make such predictions solely based on sequence
information. Here, we showed that successful strains tend to be
antigenically advanced, but that blindly picking the most antigenically
advanced strain often fails. To improve predictions, we need to find was
to integrate antigenic information with other predictors of successful
clades and carefully account for competition between clades.&lt;/p&gt;</content><category term="post"></category><category term="antigenic evolution"></category><category term="influenza"></category></entry><entry><title>Prediction, dynamics, and visualization of antigenic phenotypes of seasonal influenza viruses.</title><link href="/neher_prediction_2016.html" rel="alternate"></link><published>2016-03-07T00:00:00+01:00</published><updated>2016-03-07T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-03-07:/neher_prediction_2016.html</id><summary type="html">&lt;p&gt;Human seasonal influenza viruses evolve rapidly, enabling the virus population to evade immunity and reinfect previously infected individuals. Antigenic properties are largely determined by the surface glycoprotein hemagglutinin (HA), and amino  acid substitutions at exposed epitope sites in HA mediate loss of recognition by  antibodies. Here, we show that antigenic …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Human seasonal influenza viruses evolve rapidly, enabling the virus population to evade immunity and reinfect previously infected individuals. Antigenic properties are largely determined by the surface glycoprotein hemagglutinin (HA), and amino  acid substitutions at exposed epitope sites in HA mediate loss of recognition by  antibodies. Here, we show that antigenic differences measured through serological assay data are well described by a sum of antigenic changes along the path connecting viruses in a phylogenetic tree. This mapping onto the tree allows prediction of antigenicity from HA sequence data alone. The mapping can further be used to make predictions about the makeup of the future A(H3N2) seasonal influenza virus population, and we compare predictions between models with serological and sequence data. To make timely model output readily available, we  developed a web browser-based application that visualizes antigenic data on a continuously updated phylogeny.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Revisiting adult neurogenesis and the role of erythropoietin for neuronal and oligodendroglial differentiation in the hippocampus.</title><link href="/hassouna_revisiting_2016.html" rel="alternate"></link><published>2016-01-26T00:00:00+01:00</published><updated>2016-01-26T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-01-26:/hassouna_revisiting_2016.html</id><summary type="html">&lt;p&gt;Recombinant human erythropoietin (EPO) improves cognitive performance in neuropsychiatric diseases ranging from schizophrenia and multiple sclerosis to major depression and bipolar disease. This consistent EPO effect on cognition is  independent of its role in hematopoiesis. The cellular mechanisms of action in brain, however, have remained unclear. Here we studied healthy …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Recombinant human erythropoietin (EPO) improves cognitive performance in neuropsychiatric diseases ranging from schizophrenia and multiple sclerosis to major depression and bipolar disease. This consistent EPO effect on cognition is  independent of its role in hematopoiesis. The cellular mechanisms of action in brain, however, have remained unclear. Here we studied healthy young mice and observed that 3-week EPO administration was associated with an increased number of pyramidal neurons and oligodendrocytes in the hippocampus of {\textasciitilde}20\%. Under constant cognitive challenge, neuron numbers remained elevated until {\textgreater}6 months of age. Surprisingly, this increase occurred in absence of altered cell proliferation or apoptosis. After feeding a 15N-leucine diet, we used nanoscopic  secondary ion mass spectrometry, and found that in EPO-treated mice, an equivalent number of neurons was defined by elevated 15N-leucine incorporation. In EPO-treated NG2-Cre-ERT2 mice, we confirmed enhanced differentiation of preexisting oligodendrocyte precursors in the absence of elevated DNA synthesis.  A corresponding analysis of the neuronal lineage awaits the identification of suitable neuronal markers. In cultured neurospheres, EPO reduced Sox9 and stimulated miR124, associated with advanced neuronal differentiation. We are discussing a resulting working model in which EPO drives the differentiation of non-dividing precursors in both (NG2+) oligodendroglial and neuronal lineages. As endogenous EPO expression is induced by brain injury, such a mechanism of adult neurogenesis may be relevant for central nervous system regeneration.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Improving landscape inference by integrating heterogeneous data in the inverse Ising problem</title><link href="/IntegrativeSciRep2016.html" rel="alternate"></link><published>2016-01-01T00:00:00+01:00</published><updated>2016-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-01-01:/IntegrativeSciRep2016.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Methods for adaptive optimization of enhanced oil recovery performance under uncertainty</title><link href="/chugunov2016methods.html" rel="alternate"></link><published>2016-01-01T00:00:00+01:00</published><updated>2016-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2016-01-01:/chugunov2016methods.html</id><content type="html"></content><category term="nonlab_publication"></category></entry><entry><title>Population genomics of intrapatient HIV-1 evolution.</title><link href="/zanini_population_2015.html" rel="alternate"></link><published>2015-12-15T00:00:00+01:00</published><updated>2015-12-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2015-12-15:/zanini_population_2015.html</id><summary type="html">&lt;p&gt;Many microbial populations rapidly adapt to changing environments with multiple variants competing for survival. To quantify such complex evolutionary dynamics in vivo, time resolved and genome wide data including rare variants are essential. We performed whole-genome deep sequencing of HIV-1 populations in 9 untreated patients, with 6-12 longitudinal samples per …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Many microbial populations rapidly adapt to changing environments with multiple variants competing for survival. To quantify such complex evolutionary dynamics in vivo, time resolved and genome wide data including rare variants are essential. We performed whole-genome deep sequencing of HIV-1 populations in 9 untreated patients, with 6-12 longitudinal samples per patient spanning 5-8 years of infection. The data can be accessed and explored via an interactive web application. We show that patterns of minor diversity are reproducible between patients and mirror global HIV-1 diversity, suggesting a universal landscape of fitness costs that control diversity. Reversions towards the ancestral HIV-1 sequence are observed throughout infection and account for almost one third of all sequence changes. Reversion rates depend strongly on conservation. Frequent recombination limits linkage disequilibrium to about 100 bp in most of the genome, but strong hitch-hiking due to short range linkage limits diversity.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Many aspects of intrapatient HIV-1 evolution are predictable</title><link href="/201512_many-aspects-of-intrapatient-hiv-1-evolution-are-predictable.html" rel="alternate"></link><published>2015-12-14T14:52:00+01:00</published><updated>2015-12-14T14:52:00+01:00</updated><author><name>richardneher</name></author><id>tag:None,2015-12-14:/201512_many-aspects-of-intrapatient-hiv-1-evolution-are-predictable.html</id><summary type="html">&lt;p&gt;Within HIV infected individuals, the human immune system tries to
prevent virus replication while HIV continuously changes to avoid
recognition by the immune system. The resulting evolution of the virus
population has become a paradigmatic example of rapidly adapting
populations. We just published a &lt;a href="http://elifesciences.org/content/early/2015/12/11/eLife.11282"&gt;paper that provides unprecendented
insight into …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;Within HIV infected individuals, the human immune system tries to
prevent virus replication while HIV continuously changes to avoid
recognition by the immune system. The resulting evolution of the virus
population has become a paradigmatic example of rapidly adapting
populations. We just published a &lt;a href="http://elifesciences.org/content/early/2015/12/11/eLife.11282"&gt;paper that provides unprecendented
insight into intrapatient HIV
evolution&lt;/a&gt;.
This work is the product of an extremely enjoyable collaboration
involving Fabio Zanini from our group here in Tuebingen and the group of
&lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert&lt;/a&gt; at the Karolinska
Institute in Stockholm.&lt;/p&gt;
&lt;h3&gt;Whole genome deep sequencing&lt;/h3&gt;
&lt;p&gt;Our aim in this study was to provide a comprehensive assessment of the
evolutionary dynamics unfolding within the body of
HIV infected people. We developed a strategy to sequence the entire
virus genome such that even rare mutations are accurately represented in
our data set. The impressive sample collections in Sweden and the
generous participation of patients in this study allowed us to follow
HIV evolution densely in multiple patients. We developed an &lt;a href="http://hiv.tuebingen.mpg.de"&gt;interactive
web application&lt;/a&gt; that allows users to
explore HIV evolutionary dynamics and access the data in a convenient
way.&lt;/p&gt;
&lt;h3&gt;What did we find?&lt;/h3&gt;
&lt;p&gt;Mutations occur at random and while selection for replication weeds out
harmful mutation and amplifies useful ones. The common conception is
that mutation rates are low and/or useful mutations are rare.
Furthermore, biological reality is complicated and predicting what might
be a useful mutations seems hopeless. In HIV, however, we find a high
degree of reproducibility and predictability, indicating that "finding
the right mutation" is not a rare, fortunate event for HIV but rather a
fast and reliable mechanism of survival.&lt;/p&gt;
&lt;p&gt;The predictability extends to single positions in the genome. More then
20% of sites that are globally unconserved (such as sites at which
mutations are synonymous) are measurably diverse after a few years
within each patient. This diversity is growing continuously with little
signs of loss of diversity through genetic drift or hitch-hiking with
beneficial mutations. This implies a large population that
systematically explores sequence space. In contrast, at conserved sites,
we observe next to no diversity indicating efficient selection against
deleterious variants.&lt;/p&gt;
&lt;p&gt;We can not only predict where mutations accumulate because they are
tolerated, but also where they spread because they help the virus. By
looking specifically at sites where the virus population was initially
different from the majority of HIV sequences known, we found
that the virus has a strong tendency to come back to the global consensus
state.
&lt;img alt="toaway_cropped" src="/images/toaway_cropped.png"&gt;&lt;/p&gt;
&lt;p&gt;30% of all substitutions occur at the 5% of sites were the
initial virus differed from this consensus and represent &lt;strong&gt;reversions&lt;/strong&gt;.
The tendency to revert to this global attractor is stronger at sites
that are globally more conserved.  Within the diversity of HIV-1, this
attractor seems universal. The picture on the right shows the rate of
evolution (divergence after 6 years) separately sites that can revert
and sites already in the consensus state. At the most globally most
conserved sites, about 50% of all non-consensus positions revert to
consensus after 5 years -- a roughly 1000 fold excess over evolution
away from consensus. We also found that reversions are happening not
only soon after infection, but rather all along, for many years.&lt;/p&gt;
&lt;h3&gt;What does this mean?&lt;/h3&gt;
&lt;p&gt;Our data are consistent with HIV as a large population that
systematically explores a mostly universal fitness landscape and returns
to favoured state when possible. The reproducible patterns of evolution
are only possible since HIV recombines extensively within patients --
without recombination it would be much more difficult for the virus
population to simultaneously revert and escape in different regions of
the genome as these mutations would interfere with each other as they
spread. Sweeping of adaptive mutations would wipe out diversity and the
reproducible patterns of mutation accumulation. The reproducibility of
minor variation further suggests that the fitness costs of individual
mutations are similar among unrelated viruses and explains why
&lt;a href="http://www.sciencedirect.com/science/article/pii/S1074761313001076"&gt;inference of fitness landscapes of
HIV&lt;/a&gt;
from cross-sectional data is possible.&lt;/p&gt;</content><category term="post"></category><category term="HIV evolution"></category></entry><entry><title>HI.nextflu.org visualizes antigenic evolution of influenza viruses</title><link href="/hi-nextflu-org-visualizes-antigenic-evolution-of-influenza-viruses.html" rel="alternate"></link><published>2015-10-06T09:08:00+02:00</published><updated>2015-10-06T09:08:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2015-10-06:/hi-nextflu-org-visualizes-antigenic-evolution-of-influenza-viruses.html</id><summary type="html">&lt;p&gt;In a &lt;a href="http://arxiv.org/abs/1510.01195"&gt;new preprint&lt;/a&gt; by &lt;a href="http://bedford.io/"&gt;Trevor
Bedford&lt;/a&gt;, &lt;a href="http://www.crick.ac.uk/research/worldwide-influenza-centre/"&gt;Rodney
Daniels&lt;/a&gt;,
&lt;a href="http://www.vet.cam.ac.uk/directory/russell"&gt;Colin Russell&lt;/a&gt;, &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris
Shraiman&lt;/a&gt;, and myself, we show how
antigenic evolution can be integrated with the phylogenetic tree of HA
sequences.
Human immunity is the main driving force of the seasonal influenza
viruses. Only when changing their antigenic properties, influenza
viruses …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In a &lt;a href="http://arxiv.org/abs/1510.01195"&gt;new preprint&lt;/a&gt; by &lt;a href="http://bedford.io/"&gt;Trevor
Bedford&lt;/a&gt;, &lt;a href="http://www.crick.ac.uk/research/worldwide-influenza-centre/"&gt;Rodney
Daniels&lt;/a&gt;,
&lt;a href="http://www.vet.cam.ac.uk/directory/russell"&gt;Colin Russell&lt;/a&gt;, &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris
Shraiman&lt;/a&gt;, and myself, we show how
antigenic evolution can be integrated with the phylogenetic tree of HA
sequences.
Human immunity is the main driving force of the seasonal influenza
viruses. Only when changing their antigenic properties, influenza
viruses are able to re-infect previously infected humans. Mutation that
prevent immune recognition often rapidly spread across the globe. Human
antibodies typically recognize the tip of the HA trimer on the surface
of the influenza virus and the amino acids at those positions change
very often through time.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Mutations with antigenic effects highlighted on a HA structure" src="/images/ha_structure.png"&gt;&lt;/p&gt;
&lt;p&gt;Mutations with antigenic effects highlighted on a HA
structure&lt;/p&gt;
&lt;p&gt;The antigenic properties of circulating influenza viruses are constantly
monitored by the national influenza centres and the WHO collaborating
centres for influenza using &lt;a href="http://microbeonline.com/hemagglutination-inhibition-test-hai-principle-procedure-result-interpretations/"&gt;hemagglutination inhibition
assays&lt;/a&gt;.
These assays basically record how much an antiserum (obtained from a
ferret) can be diluted and still recognise a virus -- if the virus has
changed antigenically relative to the serum, even high serum
concentrations don't inhibit the virus.&lt;/p&gt;
&lt;p&gt;Results from such assays come in large tables of numbers quite removed
from the molecular evolution of the HA protein. In &lt;a href="http://arxiv.org/abs/1510.01195"&gt;the
preprint&lt;/a&gt;, we show that antigenic
distances behave similarly to sequence distances on the tree and can be
explained as a sum of contributions associated with amino acid
substitutions or contributions on branches of the tree.&lt;/p&gt;
&lt;p&gt;To visualize antigenic evolution, we integrated HI titer data (mostly
from the &lt;a href="http://www.crick.ac.uk/research/worldwide-influenza-centre"&gt;Worldwide Influenza
Centre&lt;/a&gt;; in
London and was generated by John McCauley, Rodney Daniels, and
colleages) into &lt;a href="HI.nextflu.org"&gt;nextflu&lt;/a&gt;. The site allows to selected a
particular reference virus or vaccine strain and will color all viruses
on the tree according to their measured or predicted antigenic
similarity to the reference virus, see screen shot below. This
integration makes it easy to associate antigenic changes with genotypic changes and the
dynamics of the corresponding clades.&lt;/p&gt;
&lt;p&gt;&lt;img alt="screenshot" src="/images/screenshot.png"&gt;&lt;/p&gt;
&lt;p&gt;In the manuscript, we further investigate to what extent antigenic
changes are predictive of the composition of future influenza
populations. Successful clades tend to be antigenically advanced, but a
substantial fraction of antigenic advances fail to spread. The appeal of
HI data in the context of prediction is the early detection of a novel
variant that is suboptimally recognized by the vaccine. However, many
such "hopefuls" often go extinct and reliable prediction using HI data
has find ways to differentiate antigenic changes that are likely to be
successful from those that compromise virus functionality.&lt;/p&gt;</content><category term="post"></category><category term="influenza"></category><category term="prediction"></category></entry><entry><title>Recombination in HIV-1 and the "book" of genealogical trees</title><link href="/201509_recombination-in-hiv-1-and-the-book-of-genealogical-trees.html" rel="alternate"></link><published>2015-09-14T11:34:00+02:00</published><updated>2015-09-14T11:34:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2015-09-14:/201509_recombination-in-hiv-1-and-the-book-of-genealogical-trees.html</id><summary type="html">&lt;p&gt;In our new &lt;a href="http://arxiv.org/abs/1509.02483"&gt;preprint&lt;/a&gt;, we report whole
genome deep sequencing of longitudinally sampled HIV-1 populations from
multiple patients -- effectively a movie of evolution at about 6 month
resolution. This work was led by
&lt;a href="http://orcid.org/0000-0001-7097-8539"&gt;Fabio&lt;/a&gt; and is the product of a
fantastic collaboration with the group of&lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert at the …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;In our new &lt;a href="http://arxiv.org/abs/1509.02483"&gt;preprint&lt;/a&gt;, we report whole
genome deep sequencing of longitudinally sampled HIV-1 populations from
multiple patients -- effectively a movie of evolution at about 6 month
resolution. This work was led by
&lt;a href="http://orcid.org/0000-0001-7097-8539"&gt;Fabio&lt;/a&gt; and is the product of a
fantastic collaboration with the group of&lt;a href="http://ki.se/en/mtc/jan-albert-group"&gt;Jan Albert at the Karolinska
Institute in Stockholm.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Among the many things we can study in detail using this data set, we
looked at linkage and recombination. We find that linkage disequilibrium
in chronic infection is typically limited to about 100bps. Consistent
with this lack of long range linkage, the shapes of trees reconstructed
from 400bp reads varies greatly in different regions of the genome.
400bp are often too short to construct well supported phylogenetic
trees. Nevertheless, the trees are instructive to illustrate diversity
in the population. The figure below animates trees when moving through
genome from 5' to 3' end.&lt;/p&gt;
&lt;p&gt;Every position in genome has a unique genealogical tree, but through
recombination genealogical trees of two sites diverge as the distance
between the sites increases. One way to picture this process is to think
of a book in which each page show the genealogy corresponding to a
particular nucleotide. Skimming through the book results in a movie of
gradually changing trees. We need diversity to resolve trees and can't
reconstruct a tree for an individual site, but the trees obtained from
sliding 400bp windows approximate this process.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Trees of longitudinally sampled sequences in various parts of the
HIV-1" src="/talk_images/HIV_book_of_trees.gif?w=660"&gt;
Trees of longitudinally sampled sequences in various parts of the HIV-1
genome. Big circles correspond to common variants, small circles to rare
variants. Early samples are shown in blue, followed by green, yellow and
red.[/caption]&lt;/p&gt;
&lt;p&gt;Trees in different parts of the genome vary widely in shape and depth.
This is consistent with extensive recombination. The scale of linkage --
about 100bp -- is compatible with earlier estimates of the intrapatient
recombination rate by us and &lt;a href="http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1000660"&gt;Thomas
Leitner&lt;/a&gt;
or &lt;a href="http://www.pnas.org/content/108/14/5661.short"&gt;Batorsky and
colleagues&lt;/a&gt;.&lt;/p&gt;</content><category term="post"></category><category term="HIV evolution"></category><category term="population genetics"></category></entry><entry><title>nextflu: real-time tracking of seasonal influenza virus evolution in humans.</title><link href="/neher_nextflu:_2015.html" rel="alternate"></link><published>2015-06-26T00:00:00+02:00</published><updated>2015-06-26T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2015-06-26:/neher_nextflu:_2015.html</id><summary type="html">&lt;p&gt;Seasonal influenza viruses evolve rapidly, allowing them to evade immunity in their human hosts and reinfect previously infected individuals. Similarly, vaccines against seasonal influenza need to be updated frequently to protect against an evolving virus population. We have thus developed a processing pipeline and browser-based visualization that allows convenient exploration …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Seasonal influenza viruses evolve rapidly, allowing them to evade immunity in their human hosts and reinfect previously infected individuals. Similarly, vaccines against seasonal influenza need to be updated frequently to protect against an evolving virus population. We have thus developed a processing pipeline and browser-based visualization that allows convenient exploration and analysis of the most recent influenza virus sequence data. This web-application displays a phylogenetic tree that can be decorated with additional information such as the viral genotype at specific sites, sampling location and derived statistics that have been shown to be predictive of future virus dynamics. In addition, mutation, genotype and clade frequency trajectories are calculated and  displayed. AVAILABILITY AND IMPLEMENTATION: Python and Javascript source code is  freely available from https://github.com/blab/nextflu, while the web-application  is live at http://nextflu.org. CONTACT: tbedford@fredhutch.org.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Challenges with using primer IDs to improve accuracy of next generation sequencing.</title><link href="/brodin_challenges_2015.html" rel="alternate"></link><published>2015-03-15T00:00:00+01:00</published><updated>2015-03-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2015-03-15:/brodin_challenges_2015.html</id><summary type="html">&lt;p&gt;Next generation sequencing technologies, like ultra-deep pyrosequencing (UDPS), allows detailed investigation of complex populations, like RNA viruses, but its utility is limited by errors introduced during sample preparation and sequencing. By tagging each individual cDNA molecule with barcodes, referred to as Primer IDs, before PCR and sequencing these errors could …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Next generation sequencing technologies, like ultra-deep pyrosequencing (UDPS), allows detailed investigation of complex populations, like RNA viruses, but its utility is limited by errors introduced during sample preparation and sequencing. By tagging each individual cDNA molecule with barcodes, referred to as Primer IDs, before PCR and sequencing these errors could theoretically be removed. Here  we evaluated the Primer ID methodology on 257,846 UDPS reads generated from a HIV-1 SG3env plasmid clone and plasma samples from three HIV-infected patients. The Primer ID consisted of 11 randomized nucleotides, 4,194,304 combinations, in the primer for cDNA synthesis that introduced a unique sequence tag into each cDNA molecule. Consensus template sequences were constructed for reads with Primer IDs that were observed three or more times. Despite high numbers of input template molecules, the number of consensus template sequences was low. With 10,000 input molecules for the clone as few as 97 consensus template sequences were obtained due to highly skewed frequency of resampling. Furthermore, the number of sequenced templates was overestimated due to PCR errors in the Primer IDs. Finally, some consensus template sequences were erroneous due to hotspots for UDPS errors. The Primer ID methodology has the potential to provide highly accurate deep sequencing. However, it is important to be aware that there are remaining challenges with the methodology. In particular it is important to find ways to obtain a more even frequency of resampling of template molecules as well as to identify and remove artefactual consensus template sequences that have been generated by PCR errors in the Primer IDs.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>The contribution of viral genotype to plasma viral set-point in HIV infection.</title><link href="/hodcroft_contribution_2014.html" rel="alternate"></link><published>2014-11-20T00:00:00+01:00</published><updated>2014-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2014-11-20:/hodcroft_contribution_2014.html</id><summary type="html">&lt;p&gt;Disease progression in HIV-infected individuals varies greatly, and while the environmental and host factors influencing this variation have been widely investigated, the viral contribution to variation in set-point viral load, a predictor of disease progression, is less clear. Previous studies, using transmission-pairs and analysis of phylogenetic signal in small numbers …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Disease progression in HIV-infected individuals varies greatly, and while the environmental and host factors influencing this variation have been widely investigated, the viral contribution to variation in set-point viral load, a predictor of disease progression, is less clear. Previous studies, using transmission-pairs and analysis of phylogenetic signal in small numbers of individuals, have produced a wide range of viral genetic effect estimates. Here we present a novel application of a population-scale method based in quantitative genetics to estimate the viral genetic effect on set-point viral load in the UK subtype B HIV-1 epidemic, based on a very large data set. Analyzing the initial viral load and associated pol sequence, both taken before anti-retroviral therapy, of 8,483 patients, we estimate the proportion of variance in viral load  explained by viral genetic effects to be 5.7\% (CI 2.8-8.6\%). We also estimated the change in viral load over time due to selection on the virus and environmental effects to be a decline of 0.05 log10 copies/mL/year, in contrast to recent studies which suggested a reported small increase in viral load over the last 20 years might be due to evolutionary changes in the virus. Our results  suggest that in the UK epidemic, subtype B has a small but significant viral genetic effect on viral load. By allowing the analysis of large sample sizes, we  expect our approach to be applicable to the estimation of the genetic contribution to traits in many organisms.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Now out in eLife: Predicting evolution</title><link href="/201411_now-out-in-elife-predicting-evolution.html" rel="alternate"></link><published>2014-11-11T09:07:00+01:00</published><updated>2014-11-11T09:07:00+01:00</updated><author><name>richardneher</name></author><id>tag:None,2014-11-11:/201411_now-out-in-elife-predicting-evolution.html</id><summary type="html">&lt;p&gt;&lt;a href="http://dx.doi.org/10.7554/eLife.03568"&gt;Our paper&lt;/a&gt; (with &lt;a href="http://www.infectiousdisease.cam.ac.uk/directory/car44@cam.ac.uk"&gt;Colin
Russell&lt;/a&gt;
and &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris Shraiman&lt;/a&gt;) on predicting
evolution (&lt;a href="/201406_is-evolution-predictable.html"&gt;see also this earlier
post&lt;/a&gt;
now appeared in eLife. The method we developed predicts fitness of
individuals, which in turn allows to predict likely progenitor sequences
of future populations. Our method calculates a posterior distribution of
fitness for each …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="http://dx.doi.org/10.7554/eLife.03568"&gt;Our paper&lt;/a&gt; (with &lt;a href="http://www.infectiousdisease.cam.ac.uk/directory/car44@cam.ac.uk"&gt;Colin
Russell&lt;/a&gt;
and &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris Shraiman&lt;/a&gt;) on predicting
evolution (&lt;a href="/201406_is-evolution-predictable.html"&gt;see also this earlier
post&lt;/a&gt;
now appeared in eLife. The method we developed predicts fitness of
individuals, which in turn allows to predict likely progenitor sequences
of future populations. Our method calculates a posterior distribution of
fitness for each individual. The resulting ranking reliably predicts the
ancestors of future populations of seasonal influenza. Since my
&lt;a href="/201406_is-evolution-predictable.html"&gt;previous
post&lt;/a&gt;
on this topic, we have developed a simple and robust approximation to
the probabilistic model. This approximation is motivated by the
intuitive insight that a very fit individual can develop into a growing
clone.  Such an expanding subpopulation results in rapid branching in
the tree. From this approximation, we developed a simple measure -- the
local branching index (LBI) -- that it predicts future success almost as
well as the full fitness inference algorithm. The LBI measures tree
length in the neighborhood of each node in the tree, where neighborhood
is defined via a weighing function that decreases exponentially with
distance from the focal node. This is illustrated in the figure below.
The only parameter of the LBI is the size of the relevant neighborhood,
i.e., the radius of the shaded region in the illustration.&lt;/p&gt;
&lt;p&gt;&lt;img alt="lbi" src="/images/lbi.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;How the Local Branching Index (LBI) works:&lt;/em&gt; Consider the rooted tree on the
left and the corresponding unrooted tree (the root is indicated by the
black dot). The LBI of the node connecting the orange and red clade is
the length of the tree in the shaded area. The more rapidly the tree is
branching close to this node, the larger is the LBI.&lt;/p&gt;
&lt;h2&gt;Why does the LBI predict fitness?&lt;/h2&gt;
&lt;p&gt;The full fitness inference algorithm multiplies the propagators for each
branch to obtain posterior distribution of fitness. The propagator of
each additional downstream branch pushes the posterior towards higher
fitness. The amount of this additional polarization increases with the
length of the subtree of the branch. This polarizing effect of tree
length is, however, forgotten over long times. The fitness propagators
account for this loss of memory through equilibration to the stationary
distribution of ancestral fitness. In a similar fashion, the LBI
focusses on local tree length explicitly by exponential weighing with
distance.&lt;/p&gt;
&lt;h2&gt;Connection to multiple-merger coalescents&lt;/h2&gt;
&lt;p&gt;Together with &lt;a href="http://physics.berkeley.edu/people/faculty/oskar-hallatschek"&gt;Oskar
Hallatschek&lt;/a&gt;,
we have shown earlier that the &lt;a href="http://www.pnas.org/content/110/2/437.short"&gt;genealogical trees of rapidly adapting
populations&lt;/a&gt; contain
approximate multiple mergers and that the genealogies are asymptotically
described by the Bolthausen-Sznitman Coalescent process. Brunet et al
have linked these approximate multiple mergers to rare events when one
individual happens to be substantially fitter than all others. It then
generates a burst if offspring, which looks like a multiple merger in a
reconstructed tree. The LBI measures the "burstiness" of the branching
at a node. For a given number of offspring, the LBI is maximal for a
star-like tree (i.e., a multiple merger), and minimal for a binary
merger with no other branching happening for a long time.&lt;/p&gt;</content><category term="post"></category><category term="influenza"></category><category term="prediction"></category><category term="theory"></category></entry><entry><title>Predicting evolution from the shape of genealogical trees.</title><link href="/neher_predicting_2014.html" rel="alternate"></link><published>2014-11-11T00:00:00+01:00</published><updated>2014-11-11T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2014-11-11:/neher_predicting_2014.html</id><summary type="html">&lt;p&gt;Given a sample of genome sequences from an asexual population, can one predict its evolutionary future? Here we demonstrate that the branching patterns of reconstructed genealogical trees contains information about the relative fitness  of the sampled sequences and that this information can be used to predict successful strains. Our approach …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Given a sample of genome sequences from an asexual population, can one predict its evolutionary future? Here we demonstrate that the branching patterns of reconstructed genealogical trees contains information about the relative fitness  of the sampled sequences and that this information can be used to predict successful strains. Our approach is based on the assumption that evolution proceeds by accumulation of small effect mutations, does not require species specific input and can be applied to any asexual population under persistent selection pressure. We demonstrate its performance using historical data on seasonal influenza A/H3N2 virus. We predict the progenitor lineage of the upcoming influenza season with near optimal performance in 30\% of cases and make  informative predictions in 16 out of 19 years. Beyond providing a tool for prediction, our ability to make informative predictions implies persistent fitness variation among circulating influenza A/H3N2 viruses.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Is evolution predictable?</title><link href="/201406_is-evolution-predictable.html" rel="alternate"></link><published>2014-06-05T17:54:00+02:00</published><updated>2014-06-05T17:54:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2014-06-05:/201406_is-evolution-predictable.html</id><summary type="html">&lt;p&gt;In &lt;a href="http://arxiv.org/abs/1406.0789"&gt;this preprint&lt;/a&gt; -- a collaboration
with &lt;a href="http://www.infectiousdisease.cam.ac.uk/directory/car44@cam.ac.uk"&gt;Colin
Russell&lt;/a&gt;
and &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris Shraiman&lt;/a&gt; -- we show that
it is possible to predict which individual from a population is most
closely related to future populations. To this end, we have developed a
method that uses the branching pattern of genealogical trees to estimate
which …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In &lt;a href="http://arxiv.org/abs/1406.0789"&gt;this preprint&lt;/a&gt; -- a collaboration
with &lt;a href="http://www.infectiousdisease.cam.ac.uk/directory/car44@cam.ac.uk"&gt;Colin
Russell&lt;/a&gt;
and &lt;a href="http://www.kitp.ucsb.edu/shraiman/"&gt;Boris Shraiman&lt;/a&gt; -- we show that
it is possible to predict which individual from a population is most
closely related to future populations. To this end, we have developed a
method that uses the branching pattern of genealogical trees to estimate
which part of the tree contains the "fittest" sequences, where fit means
rapidly multiplying. Those that multiply rapidly, are most likely to
take over the population. We demonstrate the power of our method by
predicting the evolution of seasonal influenza viruses.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How does it work?&lt;/strong&gt;
Individuals adapt to a changing environment by accumulating beneficial
mutations, while avoiding deleterious mutations. We model this process
assuming that there are many such mutations which change fitness in
small increments. Using this model, we calculate the probability that an
individual that lived in the past at time &lt;em&gt;t&lt;/em&gt; leaves &lt;em&gt;n&lt;/em&gt; descendants in
the present. This distributions depends critically on the fitness of the
ancestral individual. We then extend this calculation to the probability
of observing a certain branch in a genealogical tree reconstructed from
a sample of sequences. A branch in a tree connects an individual A that
lived at time \(t_A\) and had fitness \(x_A\) and with an individual B
that lived at a later time \(t_B\) with fitness \(x_B\) as illustrated in
the figure. B has descendants in the sample, otherwise the branch would
not be part of the tree. Furthermore, all sampled descendants of A are
also descendants of B, otherwise the connection between A and B would
have branched between \(t_A\) and \(t_B\). We call the mathematical object
describing fitness evolution between A and B "branch propagator" and denote it by
\(g(x_B, ,t_B |x_A,t_A)\).&lt;/p&gt;
&lt;p&gt;&lt;img alt="propagator" src="/images/propagator.png"&gt;&lt;/p&gt;
&lt;p&gt;The joint probability distribution of
fitness values of all nodes of the tree is given by a product of branch
propagators. We then calculate the expected fitness of each node and use
it to rank the sampled sequences. The top ranked sequence is our
prediction for the sequence of the progenitor of the future population.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why do we care?&lt;/strong&gt;
 Being able to
predict evolution could have immediate applications. The best example is
the seasonal influenza vaccine, that needs to be updated frequently to
keep up with the evolving virus. Vaccine strains are chosen among
sampled virus strains, and the more closely this strain matches the
future influenza virus population, the better the vaccine is going to
be. Hence by predicting a likely progenitor of the future, our method
could help to improve influenza vaccines. One of our predictions is
shown in the figure, with the top ranked sequence marked by a black
arrow.&lt;/p&gt;
&lt;p&gt;&lt;img alt="flu_tree" src="/images/flu_tree.png"&gt;&lt;/p&gt;
&lt;p&gt;Influenza is not the only possible application. Since the
algorithm only requires a reconstructed tree as input, it can be applied
to other rapidly evolving pathogens or cancer cell populations. In
addition, to being useful, the ability to predict also implies that the
model captures an essential aspect of evolutionary dynamics: influenza
evolution is to a substantial degree -- enough to enable prediction --
dependent on the accumulation of small effect mutations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Comparison to other approaches&lt;/strong&gt;
Given the importance of good influenza vaccines, there has been a number
of previous efforts to anticipate influenza virus evolution, typically
based on using patterns of molecular evolution from historical data.
Along these lines, &lt;a href="http://www.nature.com/nature/journal/v507/n7490/abs/nature13087.html"&gt;Luksza and
Lässig&lt;/a&gt; have
recently presented an explicit fitness model for influenza virus
evolution that rewards mutations at positions known to convey antigenic
novelty and penalizes likely deleterious mutations (+a few other
things). By using molecular influenza specific signatures, this model is
complementary to ours that uses only the tree reconstructed from
nucleotide sequences. Interestingly, the two models do more or less
equally well and combining different methods of prediction should result
in more reliable results.&lt;/p&gt;</content><category term="post"></category><category term="influenza evolution"></category><category term="theory"></category></entry><entry><title>Characterization of genetic diversity in the nematode Pristionchus pacificus from population-scale resequencing data.</title><link href="/rodelsperger_characterization_2014.html" rel="alternate"></link><published>2014-04-01T00:00:00+02:00</published><updated>2014-04-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2014-04-01:/rodelsperger_characterization_2014.html</id><summary type="html">&lt;p&gt;The hermaphroditic nematode Pristionchus pacificus is an established model system for comparative studies with Caenorhabditis elegans in developmental biology, ecology, and population genetics. In this study, we present whole-genome sequencing data of 104 P. pacificus strains and the draft assembly of the obligate outcrossing sister species P. exspectatus. We characterize …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The hermaphroditic nematode Pristionchus pacificus is an established model system for comparative studies with Caenorhabditis elegans in developmental biology, ecology, and population genetics. In this study, we present whole-genome sequencing data of 104 P. pacificus strains and the draft assembly of the obligate outcrossing sister species P. exspectatus. We characterize genetic diversity within P. pacificus and investigate the population genetic processes shaping this diversity. P. pacificus is 10 times more diverse than C. elegans and exhibits substantial population structure that allows us to probe its evolution on multiple timescales. Consistent with reduced effective recombination in this self-fertilizing species, we find haplotype blocks that span several megabases. Using the P. exspectatus genome as an outgroup, we polarized variation in P. pacificus and found a site frequency spectrum (SFS) that decays more rapidly than expected in neutral models. The SFS at putatively neutral sites is U shaped, which is a characteristic feature of pervasive linked selection. Based on the additional findings (i) that the majority of nonsynonymous variation is eliminated over timescales on the order of the separation between clades, (ii) that diversity is reduced in gene-rich regions, and (iii) that highly differentiated clades show very similar patterns of diversity, we conclude that purifying selection on many mutations with weak effects is a major force shaping  genetic diversity in P. pacificus.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Genetic diversity in the interference selection limit.</title><link href="/good_genetic_2014.html" rel="alternate"></link><published>2014-03-15T00:00:00+01:00</published><updated>2014-03-15T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2014-03-15:/good_genetic_2014.html</id><summary type="html">&lt;p&gt;Pervasive natural selection can strongly influence observed patterns of genetic variation, but these effects remain poorly understood when multiple selected variants segregate in nearby regions of the genome. Classical population genetics fails to account for interference between linked mutations, which grows increasingly severe as the density of selected polymorphisms increases …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Pervasive natural selection can strongly influence observed patterns of genetic variation, but these effects remain poorly understood when multiple selected variants segregate in nearby regions of the genome. Classical population genetics fails to account for interference between linked mutations, which grows increasingly severe as the density of selected polymorphisms increases. Here, we  describe a simple limit that emerges when interference is common, in which the fitness effects of individual mutations play a relatively minor role. Instead, similar to models of quantitative genetics, molecular evolution is determined by  the variance in fitness within the population, defined over an effectively asexual segment of the genome (a "linkage block"). We exploit this insensitivity  in a new "coarse-grained" coalescent framework, which approximates the effects of many weakly selected mutations with a smaller number of strongly selected mutations that create the same variance in fitness. This approximation generates  accurate and efficient predictions for silent site variability when interference  is common. However, these results suggest that there is reduced power to resolve  individual selection pressures when interference is sufficiently widespread, since a broad range of parameters possess nearly identical patterns of silent site variability.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Abundant non-neutral variation in the nematode P. pacificus</title><link href="/201401_abundant-non-neutral-variation-in-the-nematode-p-pacificus.html" rel="alternate"></link><published>2014-01-23T12:21:00+01:00</published><updated>2014-01-23T12:21:00+01:00</updated><author><name>richardneher</name></author><id>tag:None,2014-01-23:/201401_abundant-non-neutral-variation-in-the-nematode-p-pacificus.html</id><summary type="html">&lt;p&gt;In a collaboration with the &lt;a href="http://www.eb.tuebingen.mpg.de/research/departments/evolutionary-biology.html"&gt;Sommer
lab&lt;/a&gt;,
we have a &lt;a href="http://www.genetics.org/content/early/2014/01/15/genetics.113.159855.abstract"&gt;new paper out in
Genetics&lt;/a&gt;.
We report whole genome resequencing of 104 globally sampled strains of
Pristionchus pacificus and the draft genome of a close outgroup P.
expectatus. The strains have been collected and sequenced by the group
of Ralf …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In a collaboration with the &lt;a href="http://www.eb.tuebingen.mpg.de/research/departments/evolutionary-biology.html"&gt;Sommer
lab&lt;/a&gt;,
we have a &lt;a href="http://www.genetics.org/content/early/2014/01/15/genetics.113.159855.abstract"&gt;new paper out in
Genetics&lt;/a&gt;.
We report whole genome resequencing of 104 globally sampled strains of
Pristionchus pacificus and the draft genome of a close outgroup P.
expectatus. The strains have been collected and sequenced by the group
of Ralf Sommer here at the MPI in Tuebingen. This represents one of the
largest data sets to analyze population genetic processes in a natural
population.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Evolution and population genetics on multiple time scales&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The population is diverse and highly structured, which allows us to
study evolution at various time scales.  Intra-clade diversity is about
0.3% and inter-clade diversity about 1%, while the outgroup is roughly
10% diverged. Strong population structure indicates that there is little
shared variation across clades, but the chromosomal diversity profiles
(see figure) are strongly correlated across clades suggesting that
similar, but independent, 
&lt;img alt="pi_pacificus" src="/images/pi_pacificus.png"&gt;{.wp-image-264
.alignleft width="240"
height="138"}
processes shape genetic diversity. Together with the observation that an
increasing amount of non-synonymous variation is lost with increasing
separation and a negative correlation of local gene density and
diversity suggests purifying selection as dominant force shaping
diversity. LD, however, extends over many megabases and the dynamics of
most polymorphisms is predominantly determined by its genetic background
rather than its own effect on fitness. The latter only manifests itself
on time scales comparable to the separation of clades.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Site frequency spectra are shaped by drift and draft&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Linked selection acting on many loci -- whether deleterious or
beneficial does not matter -- results in distortions of genealogies with
characteristic effects on the site frequency spectrum (SFS). In
particular, one expects a U-shaped spectrum with an excess of rare and
high frequency derived alleles. After careful polarization, this is
exactly what we
see.
&lt;img alt="sfs_pacificus" src="/images/sfs_pacificus.png"&gt;{.wp-image-263
.alignright width="208"
height="240"}
Up to around frequencies of 10%, the SFS is compatible with neutral models
(1/k decay), but at intermediate frequencies it resembles the SFS
expected in presence of linked selection. This is plausible, as there is
ample opportunity for linked selection: most non-synonymous
polymorphisms are selected against and LD extends over several
megabases. While individual effects might be weak, the collective
aggregation of long linked haplotypes can exert strong selection.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why do we care?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Neutral models have long been used to interpret genetic diversity data
-- but they rarely fit well, at least when there is enough data. Rather
than forcing the data into a particular model framework, we have
attempted to find informative observables. The U-shaped SFS, for
example, clearly show the inadequacies of neutral neutral models. The
SFS suggest that drift-like effects are important on short time scales,
but that genetic diversity is shaped by different processes on longer
time scales. Those processes probably have little to do with the
population size and caution is warranted when using inference methods
based on neutral null models. While linked selection on predominantly
deleterious variation is a plausible cause for these non-drift like
features, further research is necessary to tell to what extent
ecological processes are shaping genetic diversity in this species.&lt;/p&gt;
&lt;p&gt;Christian Rodelsperger and Richard Neher&lt;/p&gt;</content><category term="post"></category><category term="nematodes"></category><category term="population genetics"></category></entry><entry><title>Automated analysis of phylogenetic clusters.</title><link href="/ragonnet-cronin_automated_2013.html" rel="alternate"></link><published>2013-11-20T00:00:00+01:00</published><updated>2013-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-11-20:/ragonnet-cronin_automated_2013.html</id><summary type="html">&lt;p&gt;BACKGROUND: As sequence data sets used for the investigation of pathogen transmission patterns increase in size, automated tools and standardized methods  for cluster analysis have become necessary. We have developed an automated Cluster Picker which identifies monophyletic clades meeting user-input criteria for bootstrap support and maximum genetic distance within large …&lt;/p&gt;</summary><content type="html">&lt;p&gt;BACKGROUND: As sequence data sets used for the investigation of pathogen transmission patterns increase in size, automated tools and standardized methods  for cluster analysis have become necessary. We have developed an automated Cluster Picker which identifies monophyletic clades meeting user-input criteria for bootstrap support and maximum genetic distance within large phylogenetic trees. A second tool, the Cluster Matcher, automates the process of linking genetic data to epidemiological or clinical data, and matches clusters between runs of the Cluster Picker. RESULTS: We explore the effect of different bootstrap and genetic distance thresholds on clusters identified in a data set of publicly  available HIV sequences, and compare these results to those of a previously published tool for cluster identification. To demonstrate their utility, we then  use the Cluster Picker and Cluster Matcher together to investigate how clusters in the data set changed over time. We find that clusters containing sequences from more than one UK location at the first time point (multiple origin) were significantly more likely to grow than those representing only a single location. CONCLUSIONS: The Cluster Picker and Cluster Matcher can rapidly process phylogenetic trees containing tens of thousands of sequences. Together these tools will facilitate comparisons of pathogen transmission dynamics between studies and countries.&lt;/p&gt;</content><category term="nonlab_publication"></category></entry><entry><title>Population genetics of rapid adaptation</title><link href="/201311_population-genetics-of-rapid-adaptation.html" rel="alternate"></link><published>2013-11-05T20:44:00+01:00</published><updated>2013-11-05T20:44:00+01:00</updated><author><name>richardneher</name></author><id>tag:None,2013-11-05:/201311_population-genetics-of-rapid-adaptation.html</id><summary type="html">&lt;p&gt;My review on &lt;a href="http://www.annualreviews.org/doi/abs/10.1146/annurev-ecolsys-110512-135920"&gt;"Genetic draft, selective interference, and population
genetics of rapid
adaptation"&lt;/a&gt;
in Annual Reviews of Ecology, Evolution, and Systematics is finally out
(not exactly final yet, some notational issues will be corrected). Sally
Otto had asked me to write an accessible summary of the work published
over the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;My review on &lt;a href="http://www.annualreviews.org/doi/abs/10.1146/annurev-ecolsys-110512-135920"&gt;"Genetic draft, selective interference, and population
genetics of rapid
adaptation"&lt;/a&gt;
in Annual Reviews of Ecology, Evolution, and Systematics is finally out
(not exactly final yet, some notational issues will be corrected). Sally
Otto had asked me to write an accessible summary of the work published
over the last 10-15 years on adaptation and selective interference. 
Some of this work was done by scientists with backgrounds in physics
like myself. Owing to differences in notation and mathematical
approaches, population geneticists sometimes struggled with these
papers. Coming from physics and having worked in population genetics for
6 years, I have tried to synthesize this work in a streamlined and
accessible fashion -- let me know if it worked. To illustrate some of
the ideas, I have put together a website with some python scripts that
simulate different scenarios discussed in the paper:
&lt;a href="http://webdav.tuebingen.mpg.de/interference/"&gt;http://webdav.tuebingen.mpg.de/interference/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Drift vs Draft&lt;/strong&gt;
Classical population genetics emphazises the competition between
stochastic effects in reproduction (genetic drift) and deterministic
forces such as selection. In idealized models, genetic drift stems from
non-heritable randomness in offspring number. The width of this
offspring number distribution is assumed (very) small compared to the
population size and the law of large numbers garantees that many similar
models converge to the same diffusion limit where the strength of drift
is inversely proportional to the population size. However, a different
source of randomness is often much more important: random associations
to genetic backgrounds of different fitness result in background
selection, Hill-Robertson effects, and selective interference.
&lt;img alt="wave" src="/images/wave.png"&gt;{.wp-image-172
.alignright width="400"
height="166"}
While the effect of background fitness on allele frequencies might be weak in
a single generation, associations to genetic backgrounds are (partly)
heritable and the effects amplify over many generations. This
amplification is multiplicative and the resulting differences in
offspring number after several generations can be comparable to the
population size. In other words, the effective offspring distributions
after several generations are very skewed with long power-law tails. In
fact, these distributions can be so broad that the variance diverges
with the population size. In this case, no diffusion limit is possible
and the statistical properties of drift and and linked selection are
fundamentally different.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Asexual vs sexual&lt;/strong&gt;
The effects of draft are strongest in asexual organisms where the entire
chromosome stays linked forever. However, linked selection can also be
substantial in facultatively species such as plants, worms, yeasts or
viruses (think influenza). As soon as there is the potential for the
rapid expansion of a particular line (be it because of an intrinsic
fitness advantage or favorable environmental conditions in a particular
spot), the effective "many-generation" offspring distribution can become
very broad and draft dominates over drift. In obligatly sexual species,
the effects of draft are confined to the chromosomal neighborhood, but
linkage to alleles at different distances still gives rise to stochastic
forces very different from the classical genetic drift (rare tight
linkage to a beneficial allele essentially sweeps one haplotype to
fixation, loosely linked sweeps only bounce it around a little).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Recent Developments: Genealogical methods for rapid adaptation
&lt;/strong&gt;Many successful population genetic methods have used the duality
between Kimura's diffusion models and the Kingman coalescent. This
duality allows the efficient computation of statistics by considering
the backward process of observed alleles, rather than the forward
process of the entire population. Recent developments suggest that a
similar duality exists for models dominated by draft: Genealogies in
these models share statistical properties with a particular coalescent
process known as Bolthausen-Sznitman coalescent that allows for multiple
mergers. This coalescent process can predict a number of observable
features in sequence data such as the site frequency spectra, the time
to the most recent common ancestor, etc.  I briefly discuss these very
recent results in the review.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why should we care?&lt;/strong&gt;
You might say "Let's just define an effective population size and
pretend all linked selection is some sort of drift". But many population
genetic methods detect outliers above a random background. To detect
outliers reliably, we need to understand the null distribution. The
background has very different statistical properties when the dominant
source of randomness is draft rather than drift and using the wrong null
model will reduce the power of the test and produce false positives. In
other applications, one estimates values of parameters of simple models
and these models better capture the relevant population genetic
processes. It is for example popular to estimate the history of the
effective population size from the rate of coalescence in the past. In
many cases, in particular for large populations under selection, this
effective population size has very little to do with the actual
population size. Instead, one estimates the rate of coalescence which
depends on the relative success of different lineages, which in turn
depends on fitness, environmental fluctuations, and luck.&lt;/p&gt;</content><category term="post"></category><category term="population genetics"></category><category term="review"></category><category term="theory"></category></entry><entry><title>Genetic Draft, Selective Interference, and Population Genetics of Rapid Adaptation</title><link href="/neher_genetic_2013.html" rel="alternate"></link><published>2013-10-09T00:00:00+02:00</published><updated>2013-10-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-10-09:/neher_genetic_2013.html</id><summary type="html">&lt;p&gt;To learn about the past from a sample of genomic sequences, one needs to understand how evolutionary processes shape genetic diversity. Most population genetics inferences are based on frameworks assuming that adaptive evolution is rare. But if positive selection operates on many loci simultaneously, as has recently been suggested for …&lt;/p&gt;</summary><content type="html">&lt;p&gt;To learn about the past from a sample of genomic sequences, one needs to understand how evolutionary processes shape genetic diversity. Most population genetics inferences are based on frameworks assuming that adaptive evolution is rare. But if positive selection operates on many loci simultaneously, as has recently been suggested for many species, including animals such as flies, then a different approach is necessary. In this review, I discuss recent progress in characterizing and understanding evolution in rapidly adapting populations, in which random associations of mutations with genetic backgrounds of different fitness, i.e., genetic draft, dominate over genetic drift. As a result, neutral genetic diversity depends weakly on population size but strongly on the rate of adaptation or more generally the variance in fitness. Coalescent processes with multiple mergers, rather than Kingman's coalescent, are appropriate genealogical models for rapidly adapting populations, with important implications for population genetics inference.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Deleterious effects of synonymous mutations in HIV</title><link href="/201309_deleterious-effects-of-synonymous-mutations-in-hiv.html" rel="alternate"></link><published>2013-09-09T17:12:00+02:00</published><updated>2013-09-09T17:12:00+02:00</updated><author><name>iosonofabio</name></author><id>tag:None,2013-09-09:/201309_deleterious-effects-of-synonymous-mutations-in-hiv.html</id><summary type="html">&lt;p&gt;Fabio and Richard just published &lt;a href="http://jvi.asm.org/content/early/2013/08/22/JVI.01529-13.short"&gt;a paper in Journal of
Virology&lt;/a&gt;
about whether or not synonymous mutations in HIV are neutral. We know of
course that many synonymous sites in HIV have important roles in
regulation and RNA structure, but what about those sites at which we see
high-frequency synonymous …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Fabio and Richard just published &lt;a href="http://jvi.asm.org/content/early/2013/08/22/JVI.01529-13.short"&gt;a paper in Journal of
Virology&lt;/a&gt;
about whether or not synonymous mutations in HIV are neutral. We know of
course that many synonymous sites in HIV have important roles in
regulation and RNA structure, but what about those sites at which we see
high-frequency synonymous polymorphisms without known function? We focus
on the &lt;em&gt;env&lt;/em&gt; gene and in particular on the region containing the V loops
that are under antibody attack by the immune system and hence change
rapidly (V stands for variable). We investigate the dynamics of
synonymous mutations in serial sequence data and show that most
synonymous mutations in that region come with a fitness cost of the
order of 0.002 / day. Nevertheless, they seem to hitch-hike to high
frequency on linked adaptive variants.  These synonymous mutations
interfere with &lt;a href="http://www.nature.com/nature/journal/v460/n7256/abs/nature08237.html"&gt;folding of the HIV RNA
molecule&lt;/a&gt;,
reducing its replication efficiency.&lt;/p&gt;
&lt;h2&gt;Why is this important?&lt;/h2&gt;
&lt;p&gt;In studies of molecular evolution, synonymous mutations are often used
as neutral control used to infer selection operating on the proteins.
Our results add to the growing body of evidence that selection on
synonymous sites needs to be accounted for when doing such analysis.
This not only holds for viruses, but has recently been &lt;a href="http://www.plosgenetics.org/article/info%3Adoi%2F10.1371%2Fjournal.pgen.1003527"&gt;demonstrated in
the fruit
fly&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;More importantly, we shed light on the functional relevance and
evolutionary dynamics of RNA structures in the genome. A &lt;a href="http://www.plospathogens.org/article/info%3Adoi%2F10.1371%2Fjournal.ppat.1003294"&gt;recent
study&lt;/a&gt;
compared RNA structures of diverged strains of HIV and found that the
overall pattern of folding is conserved, while the exact base pairs are
not. Our results can explain this observation: most RNA structures seem
to be important to the virus, but not crucial (disrupting mutations have
a small fitness effect). This results in occasional fixation of a
disrupting mutation which is slowly restored by compensatory mutations
or rearrangements. This way the molecular architecture of the RNA
structure can change leaving the overall pattern in place.&lt;/p&gt;
&lt;h2&gt;How did we do it?&lt;/h2&gt;
&lt;p&gt;In longitudinal HIV sequence datasets, we observe new synonymous alleles
rising in frequency in our sample up to 50% and higher (see sketch), but
almost all of them disappear from our sample after one to two years
(i.e., the ancestral allele is found again in all sequences). This
suggests that these mutations are deleterious. We quantify this effect
by measuring how long it takes for these mutations to disappear and how
often they do not disappear.
&lt;img alt="Shankarappa_allele_freqs_trajectories_syn_p10_sparse" src="/images/shankarappa_allele_freqs_trajectories_syn_p10_sparse.png"&gt;&lt;/p&gt;
&lt;p&gt;Comparing these observations to extensive computer simulations, we conclude that
the majority of synonymous mutations are deleterious with small fitness
effects (0.002 / day). Then, building on published &lt;a href="http://www.nature.com/nature/journal/v460/n7256/full/nature08237.html"&gt;RNA pairing
data&lt;/a&gt;,
we ask whether or not a mutation that destroys a base pair is pruned
more often than any other mutation; that seems to be the case indeed.&lt;/p&gt;</content><category term="post"></category><category term="HIV evolution"></category><category term="RNA structure"></category><category term="synonymous mutations"></category></entry><entry><title>Inferring HIV Escape Rates from Multi-Locus Genotype Data.</title><link href="/kessinger_inferring_2013.html" rel="alternate"></link><published>2013-09-09T00:00:00+02:00</published><updated>2013-09-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-09-09:/kessinger_inferring_2013.html</id><summary type="html">&lt;p&gt;Cytotoxic T-lymphocytes (CTLs) recognize viral protein fragments displayed by major histocompatibility complex molecules on the surface of virally infected cells and generate an anti-viral response that can kill the infected cells. Virus variants whose protein fragments are not efficiently presented on infected cells  or whose fragments are presented but not …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Cytotoxic T-lymphocytes (CTLs) recognize viral protein fragments displayed by major histocompatibility complex molecules on the surface of virally infected cells and generate an anti-viral response that can kill the infected cells. Virus variants whose protein fragments are not efficiently presented on infected cells  or whose fragments are presented but not recognized by CTLs therefore have a competitive advantage and spread rapidly through the population. We present a method that allows a more robust estimation of these escape rates from serially sampled sequence data. The proposed method accounts for competition between multiple escapes by explicitly modeling the accumulation of escape mutations and  the stochastic effects of rare multiple mutants. Applying our method to serially  sampled HIV sequence data, we estimate rates of HIV escape that are substantially larger than those previously reported. The method can be extended to complex escapes that require compensatory mutations. We expect our method to be applicable in other contexts such as cancer evolution where time series data is also available.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Coalescence and genetic diversity in sexual populations under selection.</title><link href="/neher_coalescence_2013.html" rel="alternate"></link><published>2013-09-03T00:00:00+02:00</published><updated>2013-09-03T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-09-03:/neher_coalescence_2013.html</id><summary type="html">&lt;p&gt;In sexual populations, selection operates neither on the whole genome, which is repeatedly taken apart and reassembled by recombination, nor on individual alleles that are tightly linked to the chromosomal neighborhood. The resulting interference between linked alleles reduces the efficiency of selection and distorts patterns of genetic diversity. Inference of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In sexual populations, selection operates neither on the whole genome, which is repeatedly taken apart and reassembled by recombination, nor on individual alleles that are tightly linked to the chromosomal neighborhood. The resulting interference between linked alleles reduces the efficiency of selection and distorts patterns of genetic diversity. Inference of evolutionary history from diversity shaped by linked selection requires an understanding of these patterns. Here, we present a simple but powerful scaling analysis identifying the unit of selection as the genomic "linkage block" with a characteristic length, , determined in a self-consistent manner by the condition that the rate of recombination within the block is comparable to the fitness differences between different alleles of the block. We find that an asexual model with the strength of selection tuned to that of the linkage block provides an excellent description of genetic diversity and the site frequency spectra compared with computer simulations. This linkage block approximation is accurate for the entire spectrum of strength of selection and is particularly powerful in scenarios with many weakly selected loci. The latter limit allows us to characterize coalescence, genetic diversity, and the speed of adaptation in the infinitesimal model of quantitative genetics.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Quantifying selection against synonymous mutations in HIV-1 env evolution.</title><link href="/zanini_quantifying_2013.html" rel="alternate"></link><published>2013-08-28T00:00:00+02:00</published><updated>2013-08-28T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-08-28:/zanini_quantifying_2013.html</id><summary type="html">&lt;p&gt;Intrapatient evolution of human immunodeficiency virus type 1 (HIV-1) is driven by the adaptive immune system resulting in rapid change of HIV-1 proteins. When cytotoxic CD8(+) T cells or neutralizing antibodies target a new epitope, the virus often escapes via nonsynonymous mutations that impair recognition. Synonymous mutations do not affect …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Intrapatient evolution of human immunodeficiency virus type 1 (HIV-1) is driven by the adaptive immune system resulting in rapid change of HIV-1 proteins. When cytotoxic CD8(+) T cells or neutralizing antibodies target a new epitope, the virus often escapes via nonsynonymous mutations that impair recognition. Synonymous mutations do not affect this interplay and are often assumed to be neutral. We test this assumption by tracking synonymous mutations in longitudinal intrapatient data from the C2-V5 part of the env gene. We find that most synonymous variants are lost even though they often reach high frequencies in the viral population, suggesting a cost to the virus. Using published data from SHAPE (selective 2'-hydroxyl acylation analyzed by primer extension) assays, we find that synonymous mutations that disrupt base pairs in RNA stems flanking the variable loops of gp120 are more likely to be lost than other synonymous changes: these RNA hairpins might be important for HIV-1. Computational modeling indicates that, to be consistent with the data, a large fraction of synonymous mutations in this genomic region need to be deleterious with a cost on the order of 0.002 per  day. This weak selection against synonymous substitutions does not result in a strong pattern of conservation in cross-sectional data but slows down the rate of evolution considerably. Our findings are consistent with the notion that large-scale patterns of RNA structure are functionally relevant, whereas the precise base pairing pattern is not.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Quantifying the range of a lipid phosphate signal in vivo.</title><link href="/mukherjee_quantifying_2013.html" rel="alternate"></link><published>2013-08-19T00:00:00+02:00</published><updated>2013-08-19T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-08-19:/mukherjee_quantifying_2013.html</id><summary type="html">&lt;p&gt;Quantitative information about the range of influence of extracellular signaling  molecules is critical for understanding their effects, but is difficult to determine in the complex and dynamic three-dimensional environment of a living embryo. Drosophila germ cells migrate during embryogenesis and use spatial information provided by expression of lipid phosphate phosphatases …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Quantitative information about the range of influence of extracellular signaling  molecules is critical for understanding their effects, but is difficult to determine in the complex and dynamic three-dimensional environment of a living embryo. Drosophila germ cells migrate during embryogenesis and use spatial information provided by expression of lipid phosphate phosphatases called Wunens  to reach the somatic gonad. However, whether guidance requires cell contact or involves a diffusible signal is not known. We ectopically expressed Wunens in various segmentally repeated ectodermal and parasegmental patterns in embryos otherwise null for Wunens and used germ cell behavior to show that the signal is  diffusible and to define its range. We correlated this back to the wild-type scenario and found that the germ cell migratory path can be primarily accounted for by Wunen expression. This approach provides the first quantitative information of the effective range of a lipid phosphate in vivo and has implications for the migration of other cell types that respond to lipid phosphates.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Inferring HIV escape rates</title><link href="/201308_inferring-hiv-escape-rates.html" rel="alternate"></link><published>2013-08-07T18:15:00+02:00</published><updated>2013-08-07T18:15:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2013-08-07:/201308_inferring-hiv-escape-rates.html</id><summary type="html">&lt;p&gt;We have a new &lt;a href="http://arxiv.org/abs/1308.1319"&gt;preprint on the arXiv&lt;/a&gt; 
(&lt;a href="http://haldanessieve.org/2013/08/07/inferring-hiv-escape-rates-from-multi-locus-genotype-data/"&gt;here on Haldane's
sieve&lt;/a&gt;).
This work is the result of a collaboration between us and &lt;a href="http://www.t6.lanl.gov/asp/"&gt;Alan
Perelson&lt;/a&gt;, LANL, and explores methods to
estimate parameters of the HIV-immune system interaction from time
resolved sequence data. The focus of this paper is on early …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We have a new &lt;a href="http://arxiv.org/abs/1308.1319"&gt;preprint on the arXiv&lt;/a&gt; 
(&lt;a href="http://haldanessieve.org/2013/08/07/inferring-hiv-escape-rates-from-multi-locus-genotype-data/"&gt;here on Haldane's
sieve&lt;/a&gt;).
This work is the result of a collaboration between us and &lt;a href="http://www.t6.lanl.gov/asp/"&gt;Alan
Perelson&lt;/a&gt;, LANL, and explores methods to
estimate parameters of the HIV-immune system interaction from time
resolved sequence data. The focus of this paper is on early
infection
&lt;a href="/images/ctlfitting.png"&gt;&lt;img alt="Image" src="/images/ctlfitting.png"&gt;{.alignright width="281"
height="204"}&lt;/a&gt;
dominated by a few rapid substitutions that fix because they prevent or
reduce recognition of infected cells by the immune system via cytotoxic
T-lymphocytes (CTL).  CTL escape is one of the fastest instances of
evolution I have come across. 4-6 mutations spread within a few weeks.
It happens in most HIV infections and is partly predictable based on the
HLA genotype of the infected person. These substitutions are so rapid
that clonal interference has to be modeled. Our method fits a reduced
model of clonal interference to the typically very sparse data and
thereby estimates the selection coefficients, aka escape rates.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why do we want to know these numbers?&lt;/strong&gt;
The number of viruses in the blood of an infected person peaks 2-3 weeks
after infection and thereafter drops by 2-3 order of magnitude. This
drop is partly due to a response by the adaptive immune system. However,
it has proved difficult to attribute this drop to specific parts of the
immune response. The rates at which different mutations sweep through
the population gives us information about the pressure exerted by the
T-cell clones that target the epitope containing this mutation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How do we do it?&lt;/strong&gt;
Early in infection, the viral population is large and selection is
strong. In these conditions, recombination is of minor importance since
most double/triple... mutants are more efficiently produced by recurrent
mutation than recombination. This implies that mutations accumulate
sequentially always on a background one which already all previous
mutations are present. The time at which a novel mutation happens in
tightly constrained by the trajectory of preceding genotype. These
constraints regularize the fitting problem to some degree and the
multi-locus fitting is more robust than single locus fitting.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What do we learn about evolution in general?&lt;/strong&gt;
In addition to the intrinsic interest in the HIV/CTL interaction, CTL
escape is an ideal setting to study rapidly evolving populations. This
evolution happens in its "natural" habitat and the selective pressure as
well as the functional consequences of the observed molecular changes
can be quantified via immunological data, protein structure, and
replication assays. In addition, we have ample cross-sectional data (HIV
sequences from many different patients) that allows us to look at
prevalence of the escape mutations and potential compensatory mutations.
None of this is done in this paper, but studying HIV/immune-system
coevolution is a fascinating show case of rapid evolution.&lt;/p&gt;</content><category term="post"></category><category term="HIV evolution"></category><category term="CTL escape"></category></entry><entry><title>Coalescence in sexual populations under selection</title><link href="/201308_coalescence_sexual.html" rel="alternate"></link><published>2013-08-01T19:39:00+02:00</published><updated>2013-08-01T19:39:00+02:00</updated><author><name>richardneher</name></author><id>tag:None,2013-08-01:/201308_coalescence_sexual.html</id><summary type="html">&lt;h2&gt;Update: the &lt;a href="http://www.pnas.org/content/early/2013/09/04/1309697110.abstract"&gt;paper is now published.&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A few days ago, I uploaded a revision of &lt;a href="http://arxiv.org/abs/1306.1206"&gt;our recent
manuscript&lt;/a&gt; (with Taylor Kessinger and
Boris Shraiman) on genetic diversity in sexual populations under
selection. I would like to elaborate a little bit on what I think is
remarkable about our results.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why …&lt;/strong&gt;&lt;/p&gt;</summary><content type="html">&lt;h2&gt;Update: the &lt;a href="http://www.pnas.org/content/early/2013/09/04/1309697110.abstract"&gt;paper is now published.&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A few days ago, I uploaded a revision of &lt;a href="http://arxiv.org/abs/1306.1206"&gt;our recent
manuscript&lt;/a&gt; (with Taylor Kessinger and
Boris Shraiman) on genetic diversity in sexual populations under
selection. I would like to elaborate a little bit on what I think is
remarkable about our results.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why is it important?&lt;/strong&gt;
It is common these days to sequence multiple individuals from a
population and analyze the genetic diversity in the sample to learn
something about demographic and evolutionary past. To infer the past
from diversity data, we need to know how diversity depends on the
parameters and processes we are interested in. This link typically comes
from the analysis of simple models. The predominant framework used for
this purpose is the neutral coalescent, which is often used as a null
model to detect selection. This strategy -- looking for outliers in a
mostly neutral genome -- seemed like a good strategy at the time when it
was thought that the great majority of polymorphims are neutral. If,
however, the majority of polymorphisms is under some form of selection,
we need a new null model to detect adaptations of particular interest
that stand out from all the rest that, while not neutral, has weak or
fluctuating effects. Our manuscript aims at delivering such a null. In
contrast to previous analysis that focussed on mutations with strong
effects (background selection or hitch-hiking), we analyze a model where
a large number of weakly selected polymorphisms generate fitness
diversity in a sexual population. We find that the properties of neutral
diversity smoothly interpolate between the neutral limit (drift
dominated) and the limit of strong selection (draft dominated). The
crossover between the two regimes happens when fitness difference
between haplotypes are comparable to the inverse population size. The
length of haplotypes (LD) and the diversity are self-consistently
determined and depend on the fitness variance per maplength, but only
weakly on the population size. To determine where a population sits on
this continuum between neutral or draft dominated regime, it is
informative to analyze the site frequency spectrum, which changes
qualitatively between the regimes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How did we address it?&lt;/strong&gt;
In sexual populations, crossing over reshuffles alleles, which results
in linkage equilibrium and independent histories of loci at large
distances. The histories of tightly linked loci, however, remain
correlated and very close loci behave as if they were asexual. These
different degrees of linkage interact with selection in complicated
ways. Our approach to this problem was to identify the length of blocks
that behave more or less asexually over the time to the most recent
common ancestor at the locus, calculate the fitness variation within
those blocks that, and map the problem to results for coalescence with
selection in asexual populations.
&lt;a href="/images/trees_on_chromosomes.png"&gt;&lt;img alt="Image" src="/images/trees_on_chromosomes.png?w=617"&gt;{
.wp-image .alignleft width="370"
height="195"}&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The latter problem has been
&lt;a href="http://www.pnas.org/content/110/2/437.full"&gt;addressed&lt;/a&gt; by Oskar
Hallatschek and myself. We showed that in asexual populations with
substantial selected diversity, coalescence and genetic diversity are
not described by the Kingman (standard neutral) coalescent, but resemble
the Bolthausen-Sznitman coalscent (BSC) -- at least in the limit of
large populations. Michael Desai, Aleksandra Walczak and Daniel Fisher
published similar conclusions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What's next?&lt;/strong&gt;
It is common to define an "effective population size", Ne, via the
distance between pairs of haplotypes and hope that a neutral model with
this Ne explains other features of genetic diversity. This rarely works.
Furthermore, Ne depends strongly on crossover rates, functional density
(purifying selection), etc. The one quantity Ne is only weakly
correlated with is the census population size. Our results link genetic
diversity (I refuse to call it Ne) to parameters such as mutation rates,
crossover rates, and effect distributions of mutations. The predictions
should be applicable whenever there are many polymorphisms within a
linkage block, which is likely the case in facultative outcrossers or
low recombination regions of obligate outcrossers.&lt;/p&gt;
&lt;p&gt;When analyzing resequencing data, it should be possible to use the
polarized site frequency spectrum to determine whether diversity is
dominated by drift or draft. In the draft regime, heterozygosity should
be proportional to the square root of of rho/mu s\^2, where rho is the
crossover rates, mu is the mutation rate, and s\^2 is the average
squared effect of mutations.&lt;/p&gt;</content><category term="post"></category><category term="theory"></category></entry><entry><title>Technical meeting regarding nextstrain in Switzerland</title><link href="/201803_SSPAN.html" rel="alternate"></link><published>2013-03-03T00:00:00+01:00</published><updated>2013-03-03T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-03-03:/201803_SSPAN.html</id><summary type="html">&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc …&lt;/li&gt;&lt;/ul&gt;&lt;/small&gt;&lt;/div&gt;&lt;/section&gt;</summary><content type="html">&lt;section&gt;
&lt;a href="http://nextstrain.org"  target="_blank"&gt;&lt;h1 style="color:#E04929"&gt;nextstrain.org&lt;/h1&gt;&lt;/a&gt;
&lt;a href="http://bedford.io"  target="_blank"&gt;&lt;h3&gt;joint work with Trevor Bedford &amp; his lab&lt;/h3&gt;&lt;/a&gt;
&lt;a href="http://github.com/nextstrain"  target="_blank"&gt;&lt;h4&gt;code at github.com/nextstrain&lt;/h4&gt;&lt;/a&gt;&lt;!-- &lt;img src="talk_images/nextflu.png" width=90%&gt;
 --&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/nextstrain_screenshot.png" class="plain"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;NextStrain architecture&lt;/h2&gt;
    &lt;img class="stretch plain" src="/talk_images/nextstrain_components.png"&gt;
    &lt;div class="bigspacer"&gt;&lt;/div&gt;
    &lt;h4&gt;Using &lt;a href="http://github.com/neherlab/treetime" target="_blank"&gt;treetime&lt;/a&gt; to rapidly compute timetrees&lt;/h4&gt;
&lt;/section&gt;

&lt;!-- TREETIME
 --&gt;
&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: maximum likelihood phylodynamic analysis&lt;/h3&gt;
    &lt;div style="position:absolute; top:16%; left:8%; width:40%; text-align:left"&gt;
    &lt;h5&gt;Phylogenetic trees record history:&lt;/h5&gt;
    &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;transmission&lt;/li&gt;
            &lt;li&gt;divergence times&lt;/li&gt;
            &lt;li&gt;population dynamics&lt;/li&gt;
            &lt;li&gt;ancestral geographic distribution/migrations&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:42%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;Typical approach: Bayesian parameter estimation&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;flexible&lt;/li&gt;
            &lt;li&gt;probabilistic &amp;rarr; confidence intervals etc&lt;/li&gt;
            &lt;li&gt;but: computationally expensive&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:64%; left:8%; width:45%; text-align:left"&gt;
        &lt;h5&gt;TreeTime by Pavel Sagulenko&lt;/h5&gt;
        &lt;small&gt;
        &lt;ul&gt;
            &lt;li&gt;probabilistic treatment of divergence times&lt;/li&gt;
            &lt;li&gt;dates trees with thousand sequences in a few minutes&lt;/li&gt;
            &lt;li&gt;linear time complexity&lt;/li&gt;
            &lt;li&gt;fixed tree topology&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;/small&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:14%; left:55%; width:37%"&gt;
        &lt;img src="/talk_images/treetime_ebola_example.png"&gt;
        &lt;h5&gt;West African Ebola virus outbreak&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime: nuts and bolts&lt;/h3&gt;
    &lt;div class="fragment fade-out" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_setup.png" width=1100px&gt;
        &lt;h5&gt;Attach sequences and dates&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" data-fragment-index="1" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;div class="bigspacer"&gt;&lt;/div&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_anc.png" width=1100px&gt;
        &lt;h5&gt;Reconstruct ancestral sequences&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_forward.png" width=1100px&gt;
        &lt;h5&gt;Propagate temporal constraints via convolutions&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_backward.png" width=1100px&gt;
        &lt;h5&gt;Integrate up-stream and down-stream constraints&lt;/h5&gt;
    &lt;/div&gt;
    &lt;div class="fragment current-visible" style="position:absolute; top:15%; left:8%; width:85%"&gt;
        &lt;img class="plain" src="/talk_images/treetime_illustration_phylodyn.png" width=1100px&gt;
        &lt;h5&gt;Fit phylodynamic model &amp;rarr; iterate&lt;/h5&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;img src="/talk_images/h3n2_6y_timetree.png" height=750px&gt;
    &lt;h4&gt;Molecular clock phylogenies of ~2000 A/H3N2 HA sequences -- a few minutes&lt;/h4&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;What about bacteria?&lt;/h3&gt;
    &lt;div style="position:absolute; top:22%; left:8%; width:45%; text-align:left"&gt;
            &lt;font size=6&gt;
            &lt;ul&gt;
            &lt;li&gt;vertical and horizontal transmission&lt;/li&gt;
            &lt;li&gt;genome rearrangements&lt;/li&gt;
            &lt;li&gt;much larger genomes&lt;/li&gt;
            &lt;li&gt;variation of divergence along the genome&lt;/li&gt;
            &lt;li&gt;NGS genomes tend to be fragmented&lt;/li&gt;
            &lt;li&gt;annotations of variable quality&lt;/li&gt;
            &lt;/ul&gt;
            &lt;/font&gt;
    &lt;/div&gt;
    &lt;div class="fragment" style="position:absolute; top:10%; left:52%; width:40%; text-align:left"&gt;
        &lt;img src="/images/team_pics/wei_ding.png" class="plain" width="40%"&gt;
        &lt;img src="/talk_images/panX_logo.svg" class="plain" width="50%"&gt;
        &lt;h5&gt;&lt;a href="http://pangenome.de" target="_blank"&gt;panX by Wei Ding&lt;/a&gt;&lt;/h5&gt;
        &lt;font size=5&gt;
        &lt;ul&gt;
            &lt;li&gt;pan-genome identification pipeline&lt;/li&gt;
            &lt;li&gt;phylogenetic analysis of each orthologous cluster&lt;/li&gt;
            &lt;li&gt;detect associations with phenotypes&lt;/li&gt;
            &lt;li&gt;fast: analyze hundreds of genomes in a few hours&lt;/li&gt;
            &lt;li&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/font&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h2&gt;panX @ &lt;a href="http://pangenome.tuebingen.mpg.de/S_pneumoniae616" target="_blank"&gt;pangenome.de&lt;/a&gt;&lt;/h2&gt;
    &lt;h4&gt;S. pneumoniae data set by Croucher et al.&lt;/h4&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Pan-genome statistics and filters&lt;/h3&gt;
    &lt;img src="/talk_images/panX_stats_tools.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_pbp2x_association.png"&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Links between species trees and gene trees&lt;/h3&gt;
    &lt;img src="/talk_images/panX_ermB.png" width=80%&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;&lt;a href="https://github.com/nextstrain/augur"&gt;Processing for nextstrain&lt;/a&gt;&lt;/h3&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Python 2.7, raxml/iqtree/fasttree, MAFFT, TreeTime&lt;/li&gt;
        &lt;li&gt;run time of approx one hour, 1-4CPUs, limited by tree building&lt;/li&gt;
        &lt;li&gt;Sequences: for viruses we use fasta, for bacteria vcf&lt;/li&gt;
        &lt;li&gt;Metadata: best as tsv or json&lt;/li&gt;
        &lt;li&gt;Ideally we would want some hybrid between nextstrain and panX for bacteria&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;&lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt; Processing for panX&lt;/a&gt;&lt;/h3&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;Python 2.7, raxml/fasttree, DIAMOND, MCL, MAFFT, TreeTime&lt;/li&gt;
        &lt;li&gt;run time of approx six hours, 64CPUs, limited by all-against-all comparison and tree building for every gene&lt;/li&gt;
        &lt;li&gt;Sequences: genbank files with annotation, gff could be used as well&lt;/li&gt;
        &lt;li&gt;Metadata: best as tsv&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section&gt;
    &lt;h3&gt;Visualization: nextstrain&lt;/h3&gt;
&lt;font size=5&gt;
    &lt;ul&gt;
        &lt;li&gt;&lt;a href="https://github.com/nextstrain/auspice/blob/master/server.js"&gt;runs a node server, but basically a static site&lt;/a&gt; &lt;/li&gt;
        &lt;li&gt;based on react and a custom tree viz (&lt;a href="https://github.com/nextstrain/auspice/tree/master/src/components/tree/phyloTree"&gt;phylotree&lt;/a&gt;)&lt;/li&gt;
        &lt;li&gt;we will need authentification&lt;/li&gt;
        &lt;li&gt;&lt;a href="https://github.com/nextstrain/auspice/blob/master/src/components/map/map.js#L71"&gt; currently uses mapbox/leaflet maps (would need an API key)&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;/li&gt;
    &lt;/ul&gt;
&lt;/font&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;nextstrain.org&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:10%; width:30%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/trevor_bedford.png" class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/colin-megill.jpg"   class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/sidney-bell.jpg"    class="plain" height=180px&gt;
            &lt;img src="/images/team_pics/james-hadfield.jpg" class="plain" height=180px&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:45%; width:50%"&gt;
    &lt;font size=6&gt;
    &lt;ul&gt;
    &lt;li&gt;Trevor Bedford&lt;/li&gt;
    &lt;li&gt;Colin Megill&lt;/li&gt;
    &lt;li&gt;Sidney Bell&lt;/li&gt;
    &lt;li&gt;James Hadfield&lt;/li&gt;&lt;br&gt;
    &lt;li&gt;All the scientist that share virus sequence data&lt;/li&gt;
    &lt;/ul&gt;&lt;/font&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:60%; width:40%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;

&lt;section class="fullslide"&gt;
    &lt;svg width="1600px" height="900px"&gt;&lt;rect width="1600" height="900" stroke="#CCC" stroke-width=1 fill=none&gt;&lt;/rect&gt;&lt;/svg&gt;
    &lt;h3 class="slidetitle"&gt;TreeTime &amp; panX&lt;/h3&gt;
    &lt;div style="position:absolute; top:20%; left:5%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/pavel_sagulenko.png" class="plain" height=250px&gt;
            &lt;h4&gt;TreeTime: Pavel Sagulenko&lt;/h4&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/treetime"&gt;github.com/neherlab/treetime&lt;/a&gt;&lt;br&gt;
            webserver at &lt;a href="http://treetime.ch"&gt;treetime.ch&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/153494"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; top:20%; left:55%; width:40%"&gt;
        &lt;div style="display:inline"&gt;
            &lt;img src="/images/team_pics/wei_ding.png" height=250px&gt;
            &lt;h5&gt;panX: Wei Ding&lt;/h5&gt;
            &lt;small&gt;
            &lt;a href="https://github.com/neherlab/pan-genome-analysis"&gt;github.com/neherlab/pan-genome-analysis&lt;/a&gt;&lt;br&gt;
            live site at &lt;a href="http://pangenome.de"&gt;pangenome.de&lt;/a&gt;&lt;br&gt;
            manuscript &lt;a href="http://dx.doi.org/10.1101/072082"&gt;on bioRxiv&lt;/a&gt;
            &lt;/small&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="position:absolute; bottom:10%; left:30%; width:70%"&gt;
    &lt;img src="talk_images/osp.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/max-planck-logo.png" class="plain" height=100px style="margin-right: 10px"&gt;
    &lt;img src="talk_images/erc-logo.jpg" class="plain" height=100px style="margin-left: 10px"&gt;
    &lt;img src="talk_images/unibas_logo.png" class="plain" height=80px style="margin-right: 10px"&gt;
    &lt;/div&gt;
&lt;/section&gt;</content><category term="talk_internal"></category></entry><entry><title>Mathematical modeling of escape of HIV from cytotoxic T lymphocyte responses.</title><link href="/ganusov_mathematical_2013.html" rel="alternate"></link><published>2013-01-16T00:00:00+01:00</published><updated>2013-01-16T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-01-16:/ganusov_mathematical_2013.html</id><summary type="html">&lt;p&gt;Human immunodeficiency virus (HIV-1 or simply HIV) induces a persistent infection, which in the absence of treatment leads to AIDS and death in almost all infected individuals. HIV infection elicits a vigorous immune response starting about 2-3 weeks post infection that can lower the amount of virus in the body …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Human immunodeficiency virus (HIV-1 or simply HIV) induces a persistent infection, which in the absence of treatment leads to AIDS and death in almost all infected individuals. HIV infection elicits a vigorous immune response starting about 2-3 weeks post infection that can lower the amount of virus in the body, but which cannot eradicate the virus. How HIV establishes a chronic infection in the face of a strong immune response remains poorly understood. It has been shown that HIV is able to rapidly change its proteins via mutation to evade recognition by virus-specific cytotoxic T lymphocytes (CTLs). Typically, an&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Emergence of clones in sexual populations</title><link href="/neher_emergence_2013.html" rel="alternate"></link><published>2013-01-16T00:00:00+01:00</published><updated>2013-01-16T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-01-16:/neher_emergence_2013.html</id><summary type="html">&lt;p&gt;In sexual population, recombination reshuffles genetic variation and produces novel combinations of existing alleles, while selection amplifies the fittest genotypes in the population. If recombination is more rapid than selection, populations consist of a diverse mixture of many genotypes, as is observed in many populations. In the opposite regime, which …&lt;/p&gt;</summary><content type="html">&lt;p&gt;In sexual population, recombination reshuffles genetic variation and produces novel combinations of existing alleles, while selection amplifies the fittest genotypes in the population. If recombination is more rapid than selection, populations consist of a diverse mixture of many genotypes, as is observed in many populations. In the opposite regime, which is realized for example in the facultatively sexual populations that outcross in only a fraction of reproductive cycles, selection can amplify individual genotypes into large clones. Such clones emerge when the fitness advantage of some of the genotypes is large enough that they grow to a significant fraction of the population despite being broken down by recombination. The occurrence of this ‘clonal condensation’ depends, in addition to the outcrossing rate, on the heritability of fitness. Clonal condensation leads to a strong genetic heterogeneity of the population which is not adequately described by traditional population genetics measures, such as linkage disequilibrium. Here we point out the similarity between clonal condensation and the freezing transition in the random energy model of spin glasses. Guided by this analogy we explicitly calculate the probability, Y , that two individuals are genetically identical as a function of the key parameters of the model. While Y is the analog of the spin-glass order parameter, it is also closely related to rate of coalescence in population genetics: two individuals that are part of the same clone have a recent common ancestor.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Genealogies of rapidly adapting populations.</title><link href="/neher_genealogies_2013.html" rel="alternate"></link><published>2013-01-01T00:00:00+01:00</published><updated>2013-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2013-01-01:/neher_genealogies_2013.html</id><summary type="html">&lt;p&gt;The genetic diversity of a species is shaped by its recent evolutionary history and can be used to infer demographic events or selective sweeps. Most inference methods are based on the null hypothesis that natural selection is a weak or infrequent evolutionary force. However, many species, particularly pathogens, are under …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The genetic diversity of a species is shaped by its recent evolutionary history and can be used to infer demographic events or selective sweeps. Most inference methods are based on the null hypothesis that natural selection is a weak or infrequent evolutionary force. However, many species, particularly pathogens, are under continuous pressure to adapt in response to changing environments. A statistical framework for inference from diversity data of such populations is currently lacking. Towards this goal, we explore the properties of genealogies in a model of continual adaptation in asexual populations. We show that lineages trace back to a small pool of highly fit ancestors, in which almost simultaneous  coalescence of more than two lineages frequently occurs. Whereas such multiple mergers are unlikely under the neutral coalescent, they create a unique genetic footprint in adapting populations. The site frequency spectrum of derived neutral alleles, for example, is nonmonotonic and has a peak at high frequencies, whereas Tajima's D becomes more and more negative with increasing sample size. Because multiple merger coalescents emerge in many models of rapid adaptation, we argue that they should be considered as a null model for adapting populations.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Dynamic mutation-selection balance as an evolutionary attractor.</title><link href="/goyal_dynamic_2012.html" rel="alternate"></link><published>2012-11-20T00:00:00+01:00</published><updated>2012-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2012-11-20:/goyal_dynamic_2012.html</id><summary type="html">&lt;p&gt;The vast majority of mutations are deleterious and are eliminated by purifying selection. Yet in finite asexual populations, purifying selection cannot completely prevent the accumulation of deleterious mutations due to Muller's ratchet: once lost by stochastic drift, the most-fit class of genotypes is lost forever. If deleterious mutations are weakly …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The vast majority of mutations are deleterious and are eliminated by purifying selection. Yet in finite asexual populations, purifying selection cannot completely prevent the accumulation of deleterious mutations due to Muller's ratchet: once lost by stochastic drift, the most-fit class of genotypes is lost forever. If deleterious mutations are weakly selected, Muller's ratchet can lead  to a rapid degradation of population fitness. Evidently, the long-term stability  of an asexual population requires an influx of beneficial mutations that continuously compensate for the accumulation of the weakly deleterious ones. Hence any stable evolutionary state of a population in a static environment must  involve a dynamic mutation-selection balance, where accumulation of deleterious mutations is on average offset by the influx of beneficial mutations. We argue that such a state can exist for any population size N and mutation rate U and calculate the fraction of beneficial mutations, epsilon, that maintains the balanced state. We find that a surprisingly low epsilon suffices to achieve stability, even in small populations in the face of high mutation rates and weak  selection, maintaining a well-adapted population in spite of Muller's ratchet. This may explain the maintenance of mitochondria and other asexual genomes.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Estimating the strength of selective sweeps from deep population diversity data.</title><link href="/messer_estimating_2012.html" rel="alternate"></link><published>2012-11-20T00:00:00+01:00</published><updated>2012-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2012-11-20:/messer_estimating_2012.html</id><summary type="html">&lt;p&gt;Selective sweeps are typically associated with a local reduction of genetic diversity around the adaptive site. However, selective sweeps can also quickly carry neutral mutations to observable population frequencies if they arise early  in a sweep and hitchhike with the adaptive allele. We show that the interplay between mutation and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Selective sweeps are typically associated with a local reduction of genetic diversity around the adaptive site. However, selective sweeps can also quickly carry neutral mutations to observable population frequencies if they arise early  in a sweep and hitchhike with the adaptive allele. We show that the interplay between mutation and exponential amplification through hitchhiking results in a characteristic frequency spectrum of the resulting novel haplotype variation that depends only on the ratio of the mutation rate and the selection coefficient of the sweep. On the basis of this result, we develop an estimator for the selection coefficient driving a sweep. Since this estimator utilizes the novel variation arising from mutations during a sweep, it does not rely on preexisting variation  and can also be applied to loci that lack recombination. Compared with standard approaches that infer selection coefficients from the size of dips in genetic diversity around the adaptive site, our estimator requires much shorter sequences but sampled at high population depth to capture low-frequency variants; given such data, it consistently outperforms standard approaches. We investigate analytically and numerically how the accuracy of our estimator is affected by the decay of the sweep pattern over time as a consequence of random genetic drift and discuss potential effects of recombination, soft sweeps, and demography. As an example for its use, we apply our estimator to deep sequencing data from human immunodeficiency virus populations.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>FFPopSim: an efficient forward simulation package for the evolution of large populations.</title><link href="/zanini_ffpopsim:_2012.html" rel="alternate"></link><published>2012-10-24T00:00:00+02:00</published><updated>2012-10-24T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2012-10-24:/zanini_ffpopsim:_2012.html</id><summary type="html">&lt;p&gt;MOTIVATION: The analysis of the evolutionary dynamics of a population with many polymorphic loci is challenging, as a large number of possible genotypes needs to be tracked. In the absence of analytical solutions, forward computer simulations  are an important tool in multi-locus population genetics. The run time of standard algorithms …&lt;/p&gt;</summary><content type="html">&lt;p&gt;MOTIVATION: The analysis of the evolutionary dynamics of a population with many polymorphic loci is challenging, as a large number of possible genotypes needs to be tracked. In the absence of analytical solutions, forward computer simulations  are an important tool in multi-locus population genetics. The run time of standard algorithms to simulate sexual populations increases as 8(L) with the number of loci L, or with the square of the population size N. RESULTS: We have developed algorithms to simulate large populations with arbitrary genetic maps, including multiple crossovers, with a run time that scales as 3(L). If the number of crossovers is restricted to at most one, the run time is reduced to L2(L). The algorithm is based on an analogue of the Fast Fourier Transform (FFT) and allows  for arbitrary fitness functions (i.e. any epistasis). In addition, we include a streamlined individual-based framework. The library is implemented as a collection of C++ classes and a Python interface.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Target search on a dynamic DNA molecule.</title><link href="/schotz_target_2011.html" rel="alternate"></link><published>2011-11-17T00:00:00+01:00</published><updated>2011-11-17T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2011-11-17:/schotz_target_2011.html</id><summary type="html">&lt;p&gt;We study a protein-DNA target search model with explicit DNA dynamics applicable  to in vitro experiments. We show that the DNA dynamics plays a crucial role for the effectiveness of protein "jumps" between sites distant along the DNA contour  but close in three-dimensional space. A strongly binding protein that searches …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We study a protein-DNA target search model with explicit DNA dynamics applicable  to in vitro experiments. We show that the DNA dynamics plays a crucial role for the effectiveness of protein "jumps" between sites distant along the DNA contour  but close in three-dimensional space. A strongly binding protein that searches by one-dimensional sliding and jumping alone explores the search space less redundantly when the DNA dynamics is fast on the time scale of protein jumps than in the opposite "frozen DNA" limit. We characterize the crossover between these limits using simulations and scaling theory. We also rationalize the slow exploration in the frozen limit as a subtle interplay between long jumps and long trapping times of the protein in "islands" within random DNA configurations in solution.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Statistical genetics and evolution of quantitative traits</title><link href="/neher_statistical_2011.html" rel="alternate"></link><published>2011-11-10T00:00:00+01:00</published><updated>2011-11-10T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2011-11-10:/neher_statistical_2011.html</id><summary type="html">&lt;p&gt;The distribution and heritability of many traits depends on numerous loci in the genome. In general, the astronomical number of possible genotypes makes the system with large numbers of loci difficult to describe. Multilocus evolution, however, greatly simplifies in the limit of weak selection and frequent recombination. In this limit …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The distribution and heritability of many traits depends on numerous loci in the genome. In general, the astronomical number of possible genotypes makes the system with large numbers of loci difficult to describe. Multilocus evolution, however, greatly simplifies in the limit of weak selection and frequent recombination. In this limit, populations rapidly reach quasilinkage equilibrium (QLE) in which the dynamics of the full genotype distribution, including correlations between alleles at different loci, can be parametrized by the allele frequencies. This review provides a simplified exposition of the concept and mathematics of QLE which is central to the statistical description of genotypes in sexual populations. Key results of quantitative genetics such as the generalized Fisher’s “fundamental theorem,” along with Wright’s adaptive landscape, are shown to emerge within QLE from the dynamics of the genotype distribution. This is followed by a discussion under what circumstances QLE is applicable, and what the breakdown of QLE implies for the population structure and the dynamics of selection. Understanding the fundamental aspects of multilocus evolution obtained through simplified models may be helpful in providing conceptual and computational tools to address the challenges arising in the studies of complex quantitative phenotypes of practical interest.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Genetic draft and quasi-neutrality in large facultatively sexual populations.</title><link href="/neher_genetic_2011.html" rel="alternate"></link><published>2011-08-01T00:00:00+02:00</published><updated>2011-08-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2011-08-01:/neher_genetic_2011.html</id><summary type="html">&lt;p&gt;Large populations may contain numerous simultaneously segregating polymorphisms subject to natural selection. Since selection acts on individuals whose fitness depends on many loci, different loci affect each other's dynamics. This leads to  stochastic fluctuations of allele frequencies above and beyond genetic drift-an effect known as genetic draft. Since recombination disrupts …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Large populations may contain numerous simultaneously segregating polymorphisms subject to natural selection. Since selection acts on individuals whose fitness depends on many loci, different loci affect each other's dynamics. This leads to  stochastic fluctuations of allele frequencies above and beyond genetic drift-an effect known as genetic draft. Since recombination disrupts associations between  alleles, draft is strong when recombination is rare. Here, we study a facultatively outcrossing population in a regime where the frequency of outcrossing and recombination, r, is small compared to the characteristic scale of fitness differences sigma. In this regime, fit genotypes expand clonally, leading to large fluctuations in the number of recombinant offspring genotypes. The power law tail in the distribution of the latter makes it impossible to capture the dynamics of draft by an effective neutral model. Instead, we find that the fixation time of a neutral allele increases only slowly with the population size but depends sensitively on the ratio r/sigma. The efficacy of selection is reduced dramatically and alleles behave "quasi-neutrally" even for Ns{\textgreater}{\textgreater}1, provided that {\textbar}s{\textbar} {\textless} s(c), where s(c) depends strongly on r/sigma, but only weakly on population size N. In addition, the anomalous fluctuations due to draft change the spectrum of (quasi)-neutral alleles from f(nu) approximately nu(-1), corresponding to drift, to approximately nu(-2). Finally, draft accelerates the rate of two-step adaptations through deleterious intermediates.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Correlated evolution of nearby residues in Drosophilid proteins.</title><link href="/callahan_correlated_2011.html" rel="alternate"></link><published>2011-02-24T00:00:00+01:00</published><updated>2011-02-24T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2011-02-24:/callahan_correlated_2011.html</id><summary type="html">&lt;p&gt;Here we investigate the correlations between coding sequence substitutions as a function of their separation along the protein sequence. We consider both substitutions between the reference genomes of several Drosophilids as well as polymorphisms in a population sample of Zimbabwean Drosophila melanogaster. We find that amino acid substitutions are "clustered …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Here we investigate the correlations between coding sequence substitutions as a function of their separation along the protein sequence. We consider both substitutions between the reference genomes of several Drosophilids as well as polymorphisms in a population sample of Zimbabwean Drosophila melanogaster. We find that amino acid substitutions are "clustered" along the protein sequence, that is, the frequency of additional substitutions is strongly enhanced within approximately 10 residues of a first such substitution. No such clustering is observed for synonymous substitutions, supporting a "correlation length" associated with selection on proteins as the causative mechanism. Clustering is stronger between substitutions that arose in the same lineage than it is between  substitutions that arose in different lineages. We consider several possible origins of clustering, concluding that epistasis (interactions between amino acids within a protein that affect function) and positional heterogeneity in the  strength of purifying selection are primarily responsible. The role of epistasis  is directly supported by the tendency of nearby substitutions that arose on the same lineage to preserve the total charge of the residues within the correlation  length and by the preferential cosegregation of neighboring derived alleles in our population sample. We interpret the observed length scale of clustering as a  statistical reflection of the functional locality (or modularity) of proteins: amino acids that are near each other on the protein backbone are more likely to contribute to, and collaborate toward, a common subfunction.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Rate of adaptation in large sexual populations.</title><link href="/neher_rate_2010.html" rel="alternate"></link><published>2010-02-01T00:00:00+01:00</published><updated>2010-02-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2010-02-01:/neher_rate_2010.html</id><summary type="html">&lt;p&gt;Adaptation often involves the acquisition of a large number of genomic changes that arise as mutations in single individuals. In asexual populations, combinations of mutations can fix only when they arise in the same lineage, but for populations in which genetic information is exchanged, beneficial mutations can arise in different …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Adaptation often involves the acquisition of a large number of genomic changes that arise as mutations in single individuals. In asexual populations, combinations of mutations can fix only when they arise in the same lineage, but for populations in which genetic information is exchanged, beneficial mutations can arise in different individuals and be combined later. In large populations, when the product of the population size N and the total beneficial mutation rate  U(b) is large, many new beneficial alleles can be segregating in the population simultaneously. We calculate the rate of adaptation, v, in several models of such sexual populations and show that v is linear in NU(b) only in sufficiently small  populations. In large populations, v increases much more slowly as log NU(b). The prefactor of this logarithm, however, increases as the square of the recombination rate. This acceleration of adaptation by recombination implies a strong evolutionary advantage of sex.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Recombination rate and selection strength in HIV intra-patient evolution.</title><link href="/neher_recombination_2010.html" rel="alternate"></link><published>2010-01-29T00:00:00+01:00</published><updated>2010-01-29T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2010-01-29:/neher_recombination_2010.html</id><summary type="html">&lt;p&gt;The evolutionary dynamics of HIV during the chronic phase of infection is driven  by the host immune response and by selective pressures exerted through drug treatment. To understand and model the evolution of HIV quantitatively, the parameters governing genetic diversification and the strength of selection need to be known. While …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The evolutionary dynamics of HIV during the chronic phase of infection is driven  by the host immune response and by selective pressures exerted through drug treatment. To understand and model the evolution of HIV quantitatively, the parameters governing genetic diversification and the strength of selection need to be known. While mutation rates can be measured in single replication cycles, the relevant effective recombination rate depends on the probability of coinfection of a cell with more than one virus and can only be inferred from population data. However, most population genetic estimators for recombination rates assume absence of selection and are hence of limited applicability to HIV,  since positive and purifying selection are important in HIV evolution. Yet, little is known about the distribution of selection differentials between individual viruses and the impact of single polymorphisms on viral fitness. Here, we estimate the rate of recombination and the distribution of selection coefficients from time series sequence data tracking the evolution of HIV within  single patients. By examining temporal changes in the genetic composition of the  population, we estimate the effective recombination to be rho = 1.4+/-0.6 x 10(-5) recombinations per site and generation. Furthermore, we provide evidence that the selection coefficients of at least 15\% of the observed non-synonymous polymorphisms exceed 0.8\% per generation. These results provide a basis for a more detailed understanding of the evolution of HIV. A particularly interesting case is evolution in response to drug treatment, where recombination can facilitate the rapid acquisition of multiple resistance mutations. With the methods developed here, more precise and more detailed studies will be possible as soon as data with higher time resolution and greater sample sizes are available.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Blind source separation techniques for the decomposition of multiply labeled fluorescence images.</title><link href="/neher_blind_2009.html" rel="alternate"></link><published>2009-05-06T00:00:00+02:00</published><updated>2009-05-06T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2009-05-06:/neher_blind_2009.html</id><summary type="html">&lt;p&gt;Methods of blind source separation are used in many contexts to separate composite data sets according to their sources. Multiply labeled fluorescence microscopy images represent such sets, in which the sources are the individual labels. Their distributions are the quantities of interest and have to be extracted from the images …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Methods of blind source separation are used in many contexts to separate composite data sets according to their sources. Multiply labeled fluorescence microscopy images represent such sets, in which the sources are the individual labels. Their distributions are the quantities of interest and have to be extracted from the images. This is often challenging, since the recorded emission spectra of fluorescent dyes are environment- and instrument-specific. We have developed a nonnegative matrix factorization (NMF) algorithm to detect and separate spectrally distinct components of multiply labeled fluorescence images.  It operates on spectrally resolved images and delivers both the emission spectra  of the identified components and images of their abundance. We tested the proposed method using biological samples labeled with up to four spectrally overlapping fluorescent labels. In most cases, NMF accurately decomposed the images into contributions of individual dyes. However, the solutions are not unique when spectra overlap strongly or when images are diffuse in their structure. To arrive at satisfactory results in such cases, we extended NMF to incorporate preexisting qualitative knowledge about spectra and label distributions. We show how data acquired through excitations at two or three different wavelengths can be integrated and that multiple excitations greatly facilitate the decomposition. By allowing reliable decomposition in cases where the spectra of the individual labels are not known or are known only inaccurately, the proposed algorithms greatly extend the range of questions that  can be addressed with quantitative microscopy.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Competition between recombination and epistasis can cause a transition from allele to genotype selection.</title><link href="/neher_competition_2009.html" rel="alternate"></link><published>2009-04-09T00:00:00+02:00</published><updated>2009-04-09T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2009-04-09:/neher_competition_2009.html</id><summary type="html">&lt;p&gt;Biochemical and regulatory interactions central to biological networks are expected to cause extensive genetic interactions or epistasis affecting the heritability of complex traits and the distribution of genotypes in populations.  However, the inference of epistasis from the observed phenotype-genotype correlation is impeded by statistical difficulties, while the theoretical understanding of …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Biochemical and regulatory interactions central to biological networks are expected to cause extensive genetic interactions or epistasis affecting the heritability of complex traits and the distribution of genotypes in populations.  However, the inference of epistasis from the observed phenotype-genotype correlation is impeded by statistical difficulties, while the theoretical understanding of the effects of epistasis remains limited, in turn limiting our ability to interpret data. Of particular interest is the biologically relevant situation of numerous interacting genetic loci with small individual contributions to fitness. Here, we present a computational model of selection dynamics involving many epistatic loci in a recombining population. We demonstrate that a large number of polymorphic interacting loci can, despite frequent recombination, exhibit cooperative behavior that locks alleles into favorable genotypes leading to a population consisting of a set of competing clones. When the recombination rate exceeds a certain critical value that depends on the strength of epistasis, this "genotype selection" regime disappears in an abrupt transition, giving way to "allele selection"--the regime where different loci are only weakly correlated as expected in sexually reproducing populations.  We show that large populations attain highest fitness at a recombination rate just below critical. Clustering of interacting sets of genes on a chromosome leads to the emergence of an intermediate regime, where blocks of cooperating alleles lock into genetic modules. These haplotype blocks disappear in a second transition to pure allele selection. Our results demonstrate that the collective  effect of many weak epistatic interactions can have dramatic effects on the population structure.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Force-induced DNA slippage.</title><link href="/kuhner_force-induced_2007.html" rel="alternate"></link><published>2007-11-20T00:00:00+01:00</published><updated>2007-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2007-11-20:/kuhner_force-induced_2007.html</id><summary type="html">&lt;p&gt;DNA containing repetitive sequences displays richer dynamics than heterogeneous sequences. In the genome the number of repeat units of repetitive sequences, known as microsatellites, may vary during replication by DNA slippage and their expansion gives rise to serious disorders. We studied the mechanical properties of repetitive DNA using dynamic force …&lt;/p&gt;</summary><content type="html">&lt;p&gt;DNA containing repetitive sequences displays richer dynamics than heterogeneous sequences. In the genome the number of repeat units of repetitive sequences, known as microsatellites, may vary during replication by DNA slippage and their expansion gives rise to serious disorders. We studied the mechanical properties of repetitive DNA using dynamic force spectroscopy and found striking differences compared with ordinary heterogeneous sequences. Repetitive sequences dissociate at lower forces and elongate above a certain threshold force. This yield force was found to be rate dependent. Following the rapid stretching of the DNA duplex, the applied force relaxes by stepwise elongation of this duplex. Conversely, contraction of the DNA duplex can be observed at low forces. The stepwise elongation and shortening is initiated by single slippage events, and single-molecule experiments might help to explain the molecular mechanisms of microsatellites formation. In addition to the biological importance, the remarkable properties of repetitive DNA can be useful for different nanomechanical applications.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Optimal flexibility for conformational transitions in macromolecules.</title><link href="/neher_optimal_2007.html" rel="alternate"></link><published>2007-11-20T00:00:00+01:00</published><updated>2007-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2007-11-20:/neher_optimal_2007.html</id><summary type="html">&lt;p&gt;Conformational transitions in macromolecular complexes often involve the reorientation of leverlike structures. Using a simple theoretical model, we show  that the rate of such transitions is drastically enhanced if the lever is bendable, e.g., at a localized hinge. Surprisingly, the transition is fastest with an intermediate flexibility of the …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Conformational transitions in macromolecular complexes often involve the reorientation of leverlike structures. Using a simple theoretical model, we show  that the rate of such transitions is drastically enhanced if the lever is bendable, e.g., at a localized hinge. Surprisingly, the transition is fastest with an intermediate flexibility of the hinge. In this intermediate regime, the transition rate is also least sensitive to the amount of "cargo" attached to the  lever arm, which could be exploited by molecular motors. To explain this effect,  we generalize the Kramers-Langer theory for multidimensional barrier crossing to  configuration-dependent mobility matrices.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Kinetic accessibility of buried DNA sites in nucleosomes.</title><link href="/mobius_kinetic_2006.html" rel="alternate"></link><published>2006-11-20T00:00:00+01:00</published><updated>2006-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2006-11-20:/mobius_kinetic_2006.html</id><summary type="html">&lt;p&gt;Using a theoretical model for spontaneous partial DNA unwrapping from histones, we study the transient exposure of protein-binding DNA sites within nucleosomes.  We focus on the functional dependence of the rates for site exposure and reburial on the site position, which is measurable experimentally and pertinent to gene regulation. We …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Using a theoretical model for spontaneous partial DNA unwrapping from histones, we study the transient exposure of protein-binding DNA sites within nucleosomes.  We focus on the functional dependence of the rates for site exposure and reburial on the site position, which is measurable experimentally and pertinent to gene regulation. We find the dependence to be roughly described by a random walker model. Close inspection reveals a surprising physical effect of flexibility-assisted barrier crossing, which we characterize within a toy model,  the "semiflexible Brownian rotor."&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Intermediate phase in DNA melting.</title><link href="/neher_intermediate_2006.html" rel="alternate"></link><published>2006-11-20T00:00:00+01:00</published><updated>2006-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2006-11-20:/neher_intermediate_2006.html</id><summary type="html">&lt;p&gt;We predict a temperature-driven phase transition of DNA below the melting transition. The additional, intermediate phase exists for repetitive sequences, when the two strands have different lengths. In this phase, the excess bases of the longer strand are completely absorbed as bulge loops inside the helical region. When the temperature …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We predict a temperature-driven phase transition of DNA below the melting transition. The additional, intermediate phase exists for repetitive sequences, when the two strands have different lengths. In this phase, the excess bases of the longer strand are completely absorbed as bulge loops inside the helical region. When the temperature is lowered, the excess bases desorb into overhanging ends, resulting in a contour length change. This continuous transition is in many aspects analogous to Bose-Einstein condensation. When the sequence is weakly disordered, the contour length changes discontinuously with temperature.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>DNA as a programmable viscoelastic nanoelement.</title><link href="/neher_dna_2005.html" rel="alternate"></link><published>2005-11-20T00:00:00+01:00</published><updated>2005-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2005-11-20:/neher_dna_2005.html</id><summary type="html">&lt;p&gt;The two strands of a DNA molecule with a repetitive sequence can pair into many different basepairing patterns. For perfectly periodic sequences, early bulk experiments of Porschke indicate the existence of a sliding process, permitting the rapid transition between different relative strand positions. Here, we use a  detailed theoretical model …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The two strands of a DNA molecule with a repetitive sequence can pair into many different basepairing patterns. For perfectly periodic sequences, early bulk experiments of Porschke indicate the existence of a sliding process, permitting the rapid transition between different relative strand positions. Here, we use a  detailed theoretical model to study the basepairing dynamics of periodic and nearly periodic DNA. As suggested by Porschke, DNA sliding is mediated by basepairing defects (bulge loops), which can diffuse along the DNA. Moreover, a shear force f on opposite ends of the two strands yields a characteristic dynamic response: An outward average sliding velocity v approximately 1/N is induced in a double strand of length N, provided f is larger than a threshold fc. Conversely,  if the strands are initially misaligned, they realign even against an external force f {\textless} fc. These dynamics effectively result in a viscoelastic behavior of DNA under shear forces, with properties that are programmable through the choice of the DNA sequence. We find that a small number of mutations in periodic sequences  does not prevent DNA sliding, but introduces a time delay in the dynamic response. We clarify the mechanism for the time delay and describe it quantitatively within a phenomenological model. Based on our findings, we suggest new dynamical roles for DNA in artificial nanoscale devices. The basepairing dynamics described here is also relevant for the extension of repetitive sequences inside genomic DNA.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Dynamics of force-induced DNA slippage.</title><link href="/neher_dynamics_2004.html" rel="alternate"></link><published>2004-11-20T00:00:00+01:00</published><updated>2004-11-20T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2004-11-20:/neher_dynamics_2004.html</id><summary type="html">&lt;p&gt;We study the base pairing dynamics of DNA with repetitive sequences where local strand slippage can create, annihilate, and move bulge loops. Using an explicit theoretical model, we find a rich dynamical behavior as a function of an applied  shear force f: reptationlike dynamics at f=f(c) with a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;We study the base pairing dynamics of DNA with repetitive sequences where local strand slippage can create, annihilate, and move bulge loops. Using an explicit theoretical model, we find a rich dynamical behavior as a function of an applied  shear force f: reptationlike dynamics at f=f(c) with a rupture time tau scaling as N3 with its length N, drift-diffusion dynamics for f(c){\textless}f{\textless}f(&lt;em&gt;), and a dynamical transition to an unraveling mode of strand separation at f=f(&lt;/em&gt;). We predict a viscoelastic behavior for periodic DNA with time and force scales that  can be programmed into its sequence.&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Applying spectral fingerprinting to the analysis of FRET images.</title><link href="/neher_applying_2004.html" rel="alternate"></link><published>2004-06-01T00:00:00+02:00</published><updated>2004-06-01T00:00:00+02:00</updated><author><name>Richard Neher</name></author><id>tag:None,2004-06-01:/neher_applying_2004.html</id><summary type="html">&lt;p&gt;Forster resonance energy transfer (FRET) allows one to study interactions between two fluorescently labeled molecules (donors and acceptors) at distances on the order of 5 nm. Many studies have described methods of how to measure the efficiency of FRET. However, few have addressed the question of how fluorescence  from unpaired …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Forster resonance energy transfer (FRET) allows one to study interactions between two fluorescently labeled molecules (donors and acceptors) at distances on the order of 5 nm. Many studies have described methods of how to measure the efficiency of FRET. However, few have addressed the question of how fluorescence  from unpaired donors and acceptors can be determined in addition to that from&lt;/p&gt;</content><category term="publication"></category></entry><entry><title>Optimizing imaging parameters for the separation of multiple labels in a fluorescence image</title><link href="/neher_optimizing_2004.html" rel="alternate"></link><published>2004-01-01T00:00:00+01:00</published><updated>2004-01-01T00:00:00+01:00</updated><author><name>Richard Neher</name></author><id>tag:None,2004-01-01:/neher_optimizing_2004.html</id><summary type="html">&lt;p&gt;A theoretical analysis is presented on how to separate the contributions from individual, simultaneously present fluorophores in a spectrally resolved image. Equations are derived that allow the calculation of the signal-to-noise ratio of the estimates for such contributions, given the spectral information on the individual fluorophores, the excitation wavelengths and …&lt;/p&gt;</summary><content type="html">&lt;p&gt;A theoretical analysis is presented on how to separate the contributions from individual, simultaneously present fluorophores in a spectrally resolved image. Equations are derived that allow the calculation of the signal-to-noise ratio of the estimates for such contributions, given the spectral information on the individual fluorophores, the excitation wavelengths and intensities, and the number and widths of the spectral detection channels. We then ask how such imaging parameters have to be chosen for optimal fluorophore separation. We optimize the signal-to-noise ratio or optimize a newly defined ‘figure of merit’, which is a measure of efficiency in the use of emitted photons. The influence of photobleaching on the resolution and on the choice of imaging parameters is discussed, as well as the additional resolution gained by including fluorescence lifetime information. A surprisingly small number of spectral channels are required for an almost optimal resolution, if the borders of these channels are optimally selected. The detailed consideration of photobleaching is found to be essential, whenever there is significant bleaching. Consideration of fluorescence lifetime information (in addition to spectral information) improves results, particularly when lifetimes differ by more than a factor of two.&lt;/p&gt;</content><category term="publication"></category></entry></feed>