MBE, 16(6): 7616–7658. DOI: 10.3934/mbe.2019382 Received: 28 March 2019 Accepted: 11 August 2019 http://www.aimspress.com/journal/MBE Published: 20 August 2019

Research article Mathematical investigation of HBeAg seroclearance

Sarah Kadelka and Stanca M Ciupe∗

Department of Mathematics, Virginia Polytechnic Institute and State University, Blacksburg, VA 24061, USA

* Correspondence: Email: [email protected]; Tel: +15402313190.

Abstract: Spontaneous or drug-induced loss of B e antigen is considered a beneficial event in the disease progression of chronic virus infections. Mathematical models of within-host interactions are proposed; which provide insight into hepatitis B e formation, its influence on hepatitis B e antigen seroclearance, and reversion of anergic cytotoxic immune responses. They predict that antibody expansion causes immune activation and hepatitis B e antigen seroclearance. Quantification of the time between antibody expansion and hepatitis B e antigen seroclearance in the presence and absence of treatment shows that potent short-term treatment speeds up the time between antibody expansion and hepatitis B e antigen seroclearance. The monthly hepatocyte turnover during this time can be increased or decreased by treatment depending on the amount of core promoter or precore mutated virus produced. The results can inform human interventions.

Keywords: hepatitis B; HBeAg; HBeAb; seroclearance; mathematical modeling

1. Introduction

Hepatitis B virus (HBV) infection is a major public health burden with high endemic areas in South East Asia, China, and sub-Saharan Africa [1]; and approximately 240 million chronically infected people worldwide [2]. HBV infects a subset of liver cells (i.e. hepatocytes) [3] and can lead to either acute or chronic disease. About 90% of perinatally and 20-30% of childhood acquired HBV infections become chronic [4], while healthy adults clear the infection in 95% of the cases [3]. Severe complications, such as liver cirrhosis and hepatocellular carcinoma (HCC), follow chronic infections [3]. Chronic HBV spans five distinct disease stages which are built around the dynamics of a serological marker called hepatitis B e antigen (HBeAg), a secretory protein that is not required for or hepatocyte infection [5] and has been described as a downregulator of the cellular immune response, therefore acting as an immune tolerogen [6]. The stages are not clearly separated 7617 or sequential [2]. The first four are distinguished by the presence/absence of HBeAg and by disease (hepatitis), as described below [2]. The first phase, called HBeAg-positive infection (formerly known as the immune tolerant phase), lasts between 10–30 years [2, 4]. Viral DNA levels are high and HBeAg is detectable, while alanine aminotransferase (ALT) (a marker of liver disease) is normal, indicating lack of liver cell damage [4, 7]. The second stage, called HBeAg-positive hepatitis (formerly known as immune clearance or immune active phase), is characterized by high and fluctuating viral DNA levels, the presence of HBeAg, elevated ALT and moderate to severe liver damage [2, 4]. The third phase, called HBeAg-negative infection phase (formerly the inactive carrier phase), is marked by HBeAg seroconversion, i.e. hepatitis B e-antibody (HBeAb) production and subsequent HBeAg loss, low viral DNA levels, normal ALT and no liver disease [2, 8]. The fourth phase, called HBeAg-negative hepatitis, is characterized by undetectable HBeAg, detectable HBeAb, moderate to high viral DNA levels, elevated ALT and liver disease [2]. The fifth phase, which is no longer determined by HBeAg, is called hepatitis B surface antigen (HBsAg) negative phase. It is marked by normal ALT levels and usually undetectable viral DNA levels [2]. Reaching this phase before the onset of cirrhosis significantly reduces the risk of liver damage (either by cirrhosis or HCC) [2]. For chronically infected HBV patients two main groups of HBV drugs are available: interferon-α (IFNα) or its pegylated form PegIFNα, and five nucles(t)ide analogues (NAs): lamivudine, telbivudine, adefovir, entecavir, and tenofovir [9]. IFNs have both immunoregulatory and antiviral effects [9]. NAs have only antiviral effects, such as inhibition of HBV replication [9, 10]. The goal of HBV treatment is to reduce the risk of disease progression and HCC development [2]. The optimal treatment endpoint is seroclearance of HBsAg, associated with a very low risk of viral relapse and progression to HCC [2, 11]. The severe side effects associated with IFNα and PegIFNα limit the amount of time when they can be administrated: usually 48 weeks, but in certain cases up to 96 weeks [2, 12]. Therefore, the more widely used treatment options are NAs. Older NAs caused viral resistance, but this risk was significantly reduced by the newest generation of NAs: entecavir and tenofovir, which allow for long- term (indefinite) treatment [2,13–15]. In spite of these advances in NAs therapy, HBsAg seroclearance is reached in only 1% of treated patients [13]. Hence HBeAg seroconversion, in addition to viral remission to an undetectable viral DNA level, is often considered a more realistic treatment endpoint [11, 16]. In particular, for HBeAg-positive patients that undergo HBeAg seroconversion and viral remission during treatment, stopping therapy after some consolidation phase is recommended [2]. A systematic review of NA treatment studies has reported that after initial seroconversion about 95 (92, 88)% of patients stay HBeAg-negative for 6 (12, 24) months post treatment cessation, and that about 73 (62, 53 51)% of initially HBeAg-positive patients remain in viral remission 6 (12, 24, 36) months after the end of therapy. [13]. The role of HBeAg seroconversion has been investigated in several clinical studies. It has been reported that patients that undergo HBeAg seroconversion have a better prognosis than those that are consistently seropositive, such as slower disease progression and regression of the fibrosis [17, 18]. Other studies have shown that persistently HBeAg-positive patients have a higher risk of developing HCC [19], and liver cirrhosis [20–22]. Additionally prolonged HBeAg-positive hepatitis or higher age at HBeAg seroconversion was associated with a higher risk for liver cirrhosis [21, 23–25]. Drug therapy was correlated with faster HBeAg seroconversion. A meta-analysis reported increased

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7618

HBeAg seroconversion rates after one year of NA treatment regardless of NAs efficacy [26]. Another meta-analysis reported that the rates of HBeAg seroconversion after one year of treatment are greatest for tenofovir [27] and telbivudine [28]. However, for longer treatment periods (of 3,4,5 years) the rate of HBeAg seroconversion is reduced compared to spontaneous seroconversion obtained without treatment [28, 29], indicating that a prolonged duration of treatment with, in particular the highly efficient NAs entecavir and tenofovir, is deleterious in achieving HBeAg seroconversion. Given the importance of HBeAg in HBV pathogenesis and the contradictory reports regarding spontaneous and drug-induced HBeAg seroconversion, we propose a mathematical modeling approach for studying the dynamics of HBeAg loss under various hypotheses. The developed models will investigate the role of antibody formation, their role in the disease transition from HBeAg-positive to HBeAg-negative infections, and the trade-off between virus loss during therapy and HBeAg seroclearance. Over the past decades, mathematical models have been developed to study the dynamics of acute, chronic, and occult HBV infections [30–32], drug therapy [33–41], cell-to-cell transmission [42], intracellular interactions [42–44], cellular immune responses [31, 34, 45–47], antibody-mediated immune responses [44, 48, 49], HBeAg [44, 50], and HBeAb [44]. We build on the previous modeling work and consider the interaction between HBeAg, cellular immune responses, HBeAb levels and drug efficacy. We hypothesize that B cells mature into HBeAb-producing plasma cells during the HBeAg-positive stages of HBV infection, investigate various modulation mechanisms for HBeAb dynamics, and use the models to predict the differences in seroconversion times under treatment and in the absence of treatment. This paper is structured as follows. In Section 2, we develop an in-host model of hepatitis B infection in the absence of therapy which focuses on the function of HBeAg in disease progression. In Section 3, we investigate the model analytically and numerically and predict the interplay between cellular and antibody responses on HBeAg seroclearance. In Section 4, we investigate the role of NAs treatment on HBeAg seroclearance. We conclude with a discussion.

2. Model development

We model the interactions between uninfected hepatocytes, T; infected hepatocytes, I; , V; effector cytotoxic T lymphocytes (CTLs), E; HBeAg, e; HBeAb, A; and HBeAg-HBeAb immune complexes, X. To incorporate the ability of the liver to regenerate after cell loss [51], we assume that uninfected hepatocytes follow a logistic growth with maximum proliferation rate r and carrying capacity Tm. They become infected with HBV at rate β. Infected hepatocytes are killed by effector cells at rate µ, and produce virus and HBeAg at rates p and π, respectively. Furthermore, we assume that infected cells proliferate with maximum proliferation r [32, 37, 45]. Since there is evidence, at least in acute HBV infections [32,45,52], that covalently closed circular DNA can be lost during cell proliferation, we assume that an infected cell produces one uninfected and one infected offspring. HBV is cleared at rate c.Effector cells are recruited at constant rate sE and, after interaction with infected cells, expand at maximum rate α and carrying capacity Em [46]. It has been reported that HBeAg suppresses the cellular immune responses [6, 53]. We model this by decreasing the effector cell recruitment at rate σ.Effector cells die at rate dE. We only model the cytolytic effect of the effector cells and ignore their non-cytolytic function [31]. HBeAgs decay at per capita rate δe and bind HBeAb to form complexes at rate kp. Complexes dissociate at rate km and decay at per capita rate

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7619 cX = δe + dX, where δe is the decay rate of HBeAg and dX is increased removal due to phagocytosis. Previous papers [54] have presented detailed models of B lymphocyte proliferation and differentiation into plasmablast, antibody producing plasma cells and memory cells after they encounter antigen. For simplicity, we ignore the details of B-lymphocyte dynamics and differentiation into antibody producing cells and assume that free HBeAb, A, is produced at rate s proportional to the HBeAg. Moreover HBeAb is maintained after HBeAg clearance through antigen-independent homeostatic proliferation of memory B cells and long-lived plasma cells, which we model through a logistic term with maximum proliferation rate sA and carrying capacity Am [49]. The corresponding system of equations is given by system (2.1) and a schematic representation is shown in Figure 1. ! dT T + I = r(T + I) 1 − − βTV, dt Tm dI = βTV − µIE, dt dV = pI − cV, dt de = πI − δee − kpAe + kmX, (2.1) dt ! dE sE E + αIE E = 1 − − dE E, dt 1 + σe Em ! dA A = (sAA + seA) 1 − − kpAe + kmX, dt Am dX = k Ae − k X − (δ + d )X. dt p m e X All parameters in this model are positive. Moreover the initial conditions are

T(0) = T0, I(0) = I0, V(0) = V0, e(0) = e0, E(0) = E0, A(0) = A0, X(0) = X0.

Figure 1. Model schematic including interactions given in system (2.1). Solid lines describe up-regulation or production and dashed lines describe inhibition.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7620

3. Results

3.1. Analytical results

System (2.1) has four virus clearance equilibria. Equilibrium S 2 = (Tm, 0, 0, 0, 0, 0, 0) where  Em(sE −dE )  clearance happens in the absence of immune responses, equilibrium S 4 = Tm, 0, 0, 0, , 0, 0 sE where clearance is achieved due to CTL responses, and equilibrium S 8 = (Tm, 0, 0, 0, 0, Am, 0) where HBeAb responses are maximal and CTL responses are absent are unstable. Lastly, equilibrium  Em(sE −dE )  S 10 = Tm, 0, 0, 0, , Am, 0 where CTL responses are present and HBeAb responses are sE maximal is locally asymptotically stable when (TmβpsE)/(Emµc(sE − dE)) < 1 and sE > dE. This means that when virus and infected cells are cleared faster than produced, while CTLs are produced faster than cleared, infection dies out.

Similarly, positive virus equilibria can be obtained in the absence of any immune responses (S 5), in the presence of anergic CTL responses (S 6), under positive but inefficient antibody responses (S 11), and in the presence of both anergic CTLs and inefficient antibody responses (S 12). The exact description of these equilibria, other equilibria that are not mentioned here, and their stability can be found in the supplementary material (Appendix 1).

3.2. Numerical results

3.2.1. Parameter values

The parameter values used in the simulations are given in Table 1. Liver makes up one fiftieth of a persons weight [55]. Each gram of liver contains 14 × 107 hepatocytes [56]. Therefore, an average 70 kg person has about 2 × 1011 hepatocytes. As in [45], distributing this throughout 15L of extracellular 6 fluid results in a liver capacity of Tm = 13.6 × 10 hepatocytes/mL. Liver cells have the potential to regenerate fast. We account for it by setting the hepatocyte proliferation rate to r = 1/day, as in [31, 49]. The estimates for the infected hepatocytes’ half-lives 3 range between 10–100 days [30]. Given that we assume a maximum effector cells’ level of Em = 10 cells/mL, and an infected hepatocytes’ half-life of 11 days, the infected cells clearance rate becomes −5 µ = ln 2/(11 × Em) = 6 × 10 mL/(cells×day). The estimates for virus’ half-life is at most 4.4 hours [57]. We assume a half-life of 4 hours, corresponding to a decay rate of c = 4.2/day. The viral infectivity rate during acute HBV infection was estimated to range between 10−10 − 1.8 × 10−9 mL/(virus×day) [49] and the virus production rate ranges between 200–1000/day [58]. Since virus levels are lower during chronic disease, we consider a one-fold reduction in the infectivity rate β = 4 × 10−11 mL/(virus×day) and keep the viral production levels as in acute cases, p = 400/day. Similar results can be obtained for high (acute level) infectivity and reduced production rates (not shown). As in [50], we assume that HBeAg is degraded at rate δe = 0.3/day. The half-life of effector cells is short, therefore we assume a decay rate of dE = 0.5/day [47, 50, 59].

The dissociation rate of HBsAg-HBsAb immune complexes is km = 10/day [49]. We assume the same is true for HBeAg-HBeAb dissociation rate. Furthermore, we assume that HBeAb is mostly IgG and that the avidity for HBeAg-HBeAb binding is similar to that for HBsAg-HBsAb binding, which is set at K = 107M−1 as in [60]. For an IgG molecular weight of 150kDa = 150 × 103g/mol [49], and a

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7621 conversion of 1 IgG in mg/mL = 13.43 IgG in IU/mL [61], we obtain a binding rate

1 108L 108L 1000mL mol k = k × K = 108 = = × × p m M × d mol × d mol × d L 150 × 103g 108 mL 105 1 mL 105 mL = × = × × = × (3.1) 150 d × 103mg 150 d mg 150 × 13.43 IU × d mL ≈ 50 × . IU × d The remaining parameters are chosen as follows. We assume that infected cells produce HBeAg at rate π = 10−4 IU/(cells×day), and activate effector cells at rate α = 2.1/(cells×day). Further, effector cells are activated in an infected cell independent manner at rate sE = 0.1/day and their production is inhibited by HBeAg at rate σ = 104 mL/IU. HBeAb is produced in an HBeAg-independent manner −10 at rate sA = 10 /day and has a carrying capacity of Am = 10 IU/mL. HBeAg-dependent HBeAb production rate s will be varied throughout our investigations. Lastly, the HBeAg-HBeAb immune complex removal rate is cX = 1.2/day, four times higher than the clearance of free HBeAg [62].

3.2.2. Initial conditions While free HBeAb is not detected by assays during most chronic HBeAg-positive HBV infections, it is reasonable to believe that antibody specific for HBeAg are present in immune complexes before the free antibody can be detected. This has been shown in HIV infections where immune complexes have been detected three weeks prior to free antibody detection [63]. However, since the number of immune complexes is small, we model this by assuming HBeAb is initially negligible, i.e. A = 0, and X = 0. Under this assumption HBeAb does not influence the dynamics of the remaining variables and system (2.1) reduces to ! dT T + I = r(T + I) 1 − − βTV, dt Tm dI = βTV − µIE, dt dV = pI − cV, (3.2) dt de = πI − δ e, dt e ! dE sE E + αIE E = 1 − − dE E. dt 1 + σe Em

Furthermore, during HBeAg-positive infection, the CTL immune responses are suppressed. We model this by assuming an immune tolerant equilibrium, in which the CTL responses are non-existent or reduced. Asymptotic analysis of model (3.2) (see supplementary material, Appendix 1) shows that there are at most five equilibria in which virus population is non-zero: a no CTL state in which the entire liver is infected ! noA = Tm p Tmπ S 5 0, Tm, , , 0 (3.3) c δe

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7622 and at most four CTL-inefficient infectious states ! p π noA = ¯ ¯ ¯ ¯ ¯ ¯ ¯ S 6 T(I), I, I, I, E(I) , (3.4) c δe where ((αδ − πσd )I¯ + δ (s − d ))E cµ T¯(I¯) = e E e E E m , δeβp(αI¯ + sE) ((αδ − πσd )I¯ + δ (s − d ))E E¯(I¯) = e E e E E m , δe(αI¯ + sE) and I¯ is a root of the fourth degree polynomial

4 3 2 C4I¯ + C3I¯ + C2I¯ + C1I¯ + C0. (3.5)

The coefficients C0, C1, C2, C3, and C4 are defined in Appendix 1. noA noA ffi Equilibrium S 5 represents completely absent CTL responses, while S 6 represents ine cient (exhausted) CTL responses. Studies have shown that during chronic HBeAg-positive infections, cellular immune responses are anergic rather than completely absent [64]. We therefore assume that noA the equilibrium in the absence of HBeAb is given by S 6 , where the CTL responses are non-zero but inefficient. Numerically we find that this is the only stable equilibrium of system (3.2) for the parameter values given in Table 1. Our goal is to investigate how the emergence of affects HBeAg dynamics and how much this event contributes to the reverting of T cell exhaustion. To address this, we investigate the dynamics of system (2.1) under initial conditions given by the T cell −6 exhaustion state (3.4), together with a small initial free HBeAb concentration A0 = 10 IU/mL. This = noAb means that at time t 0 we perturb system (2.1) from its unstable equilibrium (S 6 , 0, 0) by introducing a small number of free HBeAb. These initial conditions are summarized in Table 2.

Table 1. Parameter values.

Parameter Description Value Unit References r proliferation rate of hepatocytes 1 d−1 [31,49] 6 Tm hepatocyte carrying capacity 13.6 × 10 cells/mL [45,55,56] p virus production rate 400 mL/(virus×d) [58] c virus clearance rate 4.2 d−1 [57] −1 δe HBeAg degradation rate 0.3 d [50] −1 dE immune cell death rate 0.5 d [47,50,59] −1 dX complex removal rate due to phagocytosis 3 × δe d kp HBeAb binding rate 50 mL/(IU×d) see text −1 km HBeAb dissociation rate 10 d see text β viral infectivity rate 4 × 10−11 mL/(virus×d) [49], see text µ effector induced infected cells clearance rate 6 × 10−5 mL/(cells×d) [30], see text π e-antigen production rate 10−4 IU/(cells×d) α infected cell dependent immune cell activation rate 2.1 1/(cells×d) −1 sE infected cell independent immune cell activation rate 0.1 d σ strength of e-antigen inhibition 104 mL/IU 3 Em effector cells carrying capacity 10 cells/mL s HBeAg dependent HBeAb production rate varied mL/(IU×d) −10 −1 sA HBeAg independent HBeAb production rate 10 d Am HBeAb carrying capacity 10 IU/mL

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7623

Table 2. Initial conditions with T¯, I¯, V¯ , e¯, E¯ as defined in (3.4).

Initial condition Description Value Unit

T0 target cells T¯ cells/mL I0 infected cells I¯ cells/mL V0 virus V¯ virus/mL e0 HBeAg e¯ IU/mL E0 effector cells E¯ cells/mL  −6 10 , (HBeAb expansion) A0 HBeAb IU/mL 0, (negligent HBeAb)

X0 HBeAg-HBeAb immune complexes 0 IU/mL

3.2.3. The dynamics of HBeAg and CTL populations For the parameter values in Table 1, and HBeAg-dependent HBeAb production rate s = 6 mL/(IU×d), the system’s dynamics are shown in Figure 2. The solid and dashed curves show the dynamics in the presence and absence of HBeAbs. If the effects of the HBeAb are negligible, then the HBeAg levels do not change and the CTL responses are not strong enough to cause viral remission (see Figure 2, dashed curves). Contrarily, spontaneous HBeAb production leads to virus suppression below the threshold level of HBeAg-negative infections, corresponding to 104 cp/mL [11], which for the remainder of our study will be called low level virus concentration. The HBeAg population drops below 0.1 IU/mL, corresponding to the lower limit for HBeAg quantification assays, which for the remainder of our study will be called HBeAg seroclearance level (see Figure 2, solid curves). We investigated which immune factors are responsible for HBeAg seroclearance, as well as for the infected cells’ decay. Both HBeAg and infected cells decrease in biphasic manner (see Figure 3). The first slope decay is steeper for HBeAg than for infected cells, while the second slope decays are the same (see Figure 3, grey versus black lines). The additional removal of free HBeAg during the first phase decay is due to antibody binding, and the formation and removal of immune-complexes by phagocytes. Following the initial antibody responses, a decrease in HBeAg levels leads to a decrease in their tolerogenic pressure on CTLs, which get activated and kill infected cells. As a result, infected cells do get removed by potent cellular immune responses, but HBeAg production slows down as well. During the second phase decay, CTL responses outweigh the antibody responses, hence, the slopes for both HBeAg and infected cells’ decay are identical. Together, this analysis leads to the prediction that a combination of antibody and cellular responses is needed to drive the system into a state of low level virus concentration and undetectable HBeAg. Antibody responses act first, by reducing the immune tolerant effects of HBeAg, while cellular responses control the later stages of the infection. As shown in Figure 2, under HBeAb responses which grow in an HBeAg-dependent manner at rate s = 6 mL/(IU×d), HBeAg is cleared in 2.8 years. We quantified the time of HBeAg seroclearance, τ(s), as a function of the HBeAb production rate s for 5.51 ≤ s ≤ 50 mL/(IU×d) (see Figure 4). For s < 5.51 mL/(IU×d), HBeAg seroclearance is never reached. The time to HBeAg seroclearance

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7624

(below 0.1 IU/mL) decreases from 41.9 years for small s = 5.51 mL/(IU×d) to 1.2 years for s > 50 mL/(IU×d) (see Figure 4). As expected, higher antibody expansion rates lead to shorter times to HBeAg serocleareance. The time to HBeAg seroclearance is dependent on the initial HBeAb level, with faster HBeAg clearance for high initial HBeAb levels (see Figure S1). In our simulations we −6 fixed A0 = 10 IU/mL to avoid any numerical problems.

8 10 10 10 10 10

7 5 5 10 10 10 I (cells/ml) T (cells/ml) V (virus/ml)

6 0 0 10 10 10 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9

0 2.9 10 3 10 10 e (IU/ml) 0 A (IU/ml) 10 E (cells/ml) 2.4 10 −20 10 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9

10 10

A =10−6 0 0 10 A =0 0 X (IU/ml)

−10 10 0 1 2 3 4 5 6 7 8 9 t (years)

−6 Figure 2. The dynamics of the system (2.1) when A0 = 10 IU/mL (solid lines) and A0 = 0 IU/mL (dashed lines). Here, s = 6 mL/(IU×d) and all other parameters are given in Table 1.

5 10 Slope 2 Slope 1 = −0.0025 = −0.018

, I (cells/ml) 0 10 e (IU/ml) Slope 1 Slope 2 −5 = −0.7 10 = −0.0025 0 3 6 t (years)

Figure 3. Dynamics of the infected cells (black) and HBeAg (grey) as given by (2.1), −6 together with the estimated slopes of decay. Here A0 = 10 IU/mL, s = 6 mL/(IU×d), and all other parameters are given in Table 1.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7625

−6 Figure 4. HBeAg seroclearance time versus HBeAb production rate s when A0 = 10 IU/mL.

3.3. Core and precore mutations

Host-virus predictors for HBeAg seroconversion are limited, especially in chronic infections with high virus loads [65]. Two positive events that lead to HBeAg loss are virus mutations in the core promoter [66] and precore region [67], which prevent the coding of HBeAg and lead to loss of HBeAg- positive virus. Clinical studies have found that at least one core/precore mutation can be found in 89% of HBeAg-negative patients and 56% of HBeAg-positive patients [68]. Another study [69] has reported even higher numbers of HBeAg-positive patients with core/precore mutations. We, therefore, assume that core/precore mutations precede the HBeAg seroclearance. However, the quantitative relationship between mutation rates and time to HBeAg seroconversion is not known. Core/precore mutations in our investigations can be seen as a proxy for any event leading to an infected cell’s loss of HBeAg production. Here, we investigate the role of mutations in HBeAg clearance as follows. We modify system (2.1) to include both wildtype HBeAg-positive virus Vw, and mutant HBeAg-negative virus Vm. Cells are either infected by wiltdtype or mutant viruses, Iw and Im. At time t1, a fraction Φ of the viruses produced by Iw are HBeAg-negative and the rest 1 − Φ are HBeAg-positive. We ignore back mutations based on the observation that HBeAg-negative virus is mostly inactive. By contrast, all viruses produced by Im are HBeAg-negative. Wildtype and mutant viruses replicate at rates pw and pm, and are cleared at rates cw and cm. Furthermore, hepatocytes get infected by wildtype and mutant viruses at rates βw and βm and are killed by CTLs at rates µw and µm. We assume that during division an infected hepatocyte of either wild or mutant-type (Iw or Im) produces one uninfected and one infected offspring of the same hepatocyte type. The system describing these interactions is

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7626

! dT T + Iw + Im = r(T + Iw + Im) 1 − − βwTVw − βmTVm, dt Tm dI w = β TV − µ I E, dt w w w w dI m = β TV − µ I E, dt m m m m dV w = p (1 − Φ(t))I − c V , dt w w w w dVm = pmIm + pwΦ(t)Iw − cmVm, (3.6) dt de = πI − δ e − k Ae + k X, dt w e p m ! dE sE E + α(Iw + Im)E E = 1 − − dE E, dt 1 + σe Em ! dA A = (sAA + seA) 1 − − kpAe + kmX, dt Am dX = k Ae − k X − c X, dt p m X   , t < t Φ =  0 if 1 where (t)  .  Φ, if t ≥ t1 All parameters in this model are positive. Moreover the initial conditions are T(0) = T0, Iw(0) = I0, Im(0) = 0, Vw(0) = V0, Vm(0) = 0, e(0) = e0, E(0) = E0, A(0) = A0, X(0) = X0, where T0, I0, V0, e0, E0, A0, X0 are defined as in the case of system (2.1).

3.3.1. Analytical results We assume that the wildtype and mutant viruses are identical in everything but their ability to produce HBeAg, i.e. βw = βm = β, µw = µm = µ, pw = pm = p, cw = cm = c, and analyze the long-term behavior of the system. System (3.6) has the following non-infectious equilibria: viral mut = clearance in the absence of antibody responses, S 2 (Tm, 0, 0, 0, 0, 0, 0, 0, 0), viral clearance due mut  Em(sE −dE )  to CTL responses, S = Tm, 0, 0, 0, 0, 0, , 0, 0 , virus clearance under maximal antibody 4 sE mut = responses, S 6 (Tm, 0, 0, 0, 0, 0, 0, Am, 0) which are all unstable; and viral clearance in the presence mut  Em(sE −dE )  of CTL and maximal antibody responses, S = Tm, 0, 0, 0, 0, 0, , Am, 0 , which is locally 8 sE TmβpsE asymptotically stable if and only if sE > dE and < 1. Emµc(sE −dE ) The model has two equilibria in which only the mutant virus persists and the wildtype virus goes mut extinct: mutant persistence in the presence of anergic CTL responses S 11 , which is unstable; and mut mutant persistence due to a combination of CTL and maximal antibody responses, S 12 . Furthermore, the system has two hyperplanes of equilibria, where HBeAg can take on any value, and in which mut mutant and wildtype virus coexist: coexistence in the absence of any immune responses, S 9 , which mut is biologically relevant if e < Tmπ/δe; and coexistence under antibody responses, S 10 . Coexistence of mut mut mut wildtype and mutant virus results results in infection of the entire liver. For S 9 , S 10 , and S 12 we did not perform stability analysis (see supplementary material, Appendix 2 for details).

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7627

3.3.2. Numerical results We are interested in the relationship between the time of HBeAg seroclearance and the time of precore/core mutations. First, we want to see how the timing of HBeAg seroclearance under mutation (with and without concomitant free HBeAb expansion) compares with the timing of HBeAg seroclearance in the absence of mutations and presence of antibodies. We plot the dynamics of the total virus in the presence of antibody as given by the system without mutations (2.1) for −6 s = 6 mL/(IU×d) and A0 = 10 IU/mL (see Figure 5, solid curves) and the dynamics of the wildtype virus given by the system with mutations (3.6) for Φ = 0.12 and A0 = 0 IU/mL (see Figure 5, dashed curves). In both scenarios, HBeAg clearance takes 2.8 years (see Figure 5, HBeAg (e) panel, solid −6 versus dashed curves). Furthermore, if A0 = 10 IU/mL at the time of core/precore mutations in system (3.6), HBeAg clearance takes 1.4 years, twice as fast as in either of the single event scenarios (see Figure 5, dotted curves). Additionally, model (3.6) predicts the asymptotic loss of wildtype virus, cells infected with the wildtype virus, HBeAg, and HBeAg-HBeAb immune complexes. The total virus population is reduced from V¯ total = 863.5 cp/mL in model (2.1) to V¯ total = V¯ n = 161.6 cp/mL in model (3.6). This is independent of antibody help (see Figure 6). Clinical studies predicted that initial core/precore mutations are followed by the appearance of antibodies against the HBeAg [70]. We test the effect that the two sequential events, mutations followed by HBeAb expansion, have on HBeAg loss as follows. Let τ1(t0, Φ) and τ2(t0, Φ) be the times between spontaneous HBeAb expansion and HBeAg seroclearance when mutations with frequency Φ occur −6 at t = 0 and t = t0 > 0. In both cases A0 = 10 IU/mL antibodies are introduced at time t = t0 (see Figure 7). In other words, τ1 measures the time between HBeAb expansion (at time t0) and HBeAg seroclearance when core/precore mutations start t0 days before HBeAb expansion (i.e. at time 0), while τ2 measures the time between HBeAb expansion (at time t0) and HBeAg seroclearance when core/precore mutations and HBeAb expansion start concomitantly at time t0. Since the system is at equilibrium in the absence of mutations (i.e. in the context of τ2 from time 0 to t0), τ2(0, Φ) = τ2(t0, Φ) = τ1(0, Φ) for all t0. The difference between the two seroclearance times, τ1(t0, Φ) − τ2(t0, Φ), are shown in Figure 8.

We only consider ranges of t0 and Φ where τ1(t0, Φ) is positive, based on the assumption that HBeAb expansion happens before HBeAg seroclearance. For any fraction of mutations Φ, we have τ1(0, Φ) = τ2(0, Φ), i.e. τ1(0, Φ) − τ2(0, Φ) = 0. The model predicts that for Φ > 0.1, as t0 increases, τ1(t0, Φ) and consequently τ1(t0, Φ) − τ2(t0, Φ) decrease for small and large t0, and increase for intermediate t0 values (see Figure 8, right panel, for τ1(0, 0.5) − τ2(0, 0.5) = 0). Very large t0 values result in HBeAg seroclearance that is exclusively driven by mutations (see Figure 8, white region). For fixed Φ < 0.1, τ1(t0, Φ) − τ2(t0, Φ) decreases as t0 increases leading to τ1 ∼ τ2 for small Φ and all t0 within 0 ≤ t0 < 40 months. Hepatocyte turnover. Changes in HBeAg are associated with the activation of adaptive immune responses, fluctuations in HBV DNA and ALT levels, and minimal to high liver damage. Events such as spontaneous HBeAg seroconversion and emergence of core/precore mutations, which are considered positive events in the natural course of infection of 70–80% of chronically infected patients [71], can precede or follow the HBV DNA and ALT dynamics. Spontaneous HBeAg seroclearance followed by the recovery of HBV-specific T-cell functions, however, may result in hepatitis and liver disease [72], through T lymphocyte cytotoxic function [73], cytokine production, such as IL-6, IL-12 and TNF- α [74], and natural killer-induced INF-γ production [72].

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7628

8 10 6 6 10 10 3 3 7 10 10 10 0 0 10 10 (cells/ml) (cells/ml) w 6 −3 m −3 T (cells/ml) I 10 10 I 10 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4

3 6 6 10 10 10 3 3 10 10 1 0 0 10 (virus/ml) (virus/ml) 10 10 e (IU/ml) w −3 m −3 −1 V 10 V 10 10 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4

20

2.9 0 10 10 10 0 10 2.4 A (IU/ml) −10 X (IU/ml) −20

E (cells/ml) 10 10 10 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 t (years) t (years) t (years)

Φ = 0, A = 10−6 0

Φ ≠ 0, A = 0 0 Φ ≠ 0, A = 10−6 0

−6 Figure 5. Dynamics of system (3.6) for A0 = 10 IU/mL and Φ = 0 (solid curves); A0 = 0 −6 IU/mL and Φ = 0.12 (dashed curves); A0 = 10 IU/mL and Φ = 0.12 (dotted curves). Here, s = 6 mL/(IU×d), and all other parameters are given in Table 1.

8 10 10 10

6 8 10 10

4 6

10 (virus/ml) 10 (cells/ml) m m + I 2 + V 4 w w I 10 10 V

0 2 10 10 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 t (years) t (years)

Φ = 0, A = 10−6 0

Φ ≠ 0, A = 0 0 Φ ≠ 0, A = 10−6 0

Figure 6. Dynamics of the total infected cell and virus populations, Iw + Im and Vw + Vm for −6 A0 = 10 IU/mL and Φ = 0 (solid curves); A0 = 0 IU/mL and Φ = 0.12 (dashed curves); −6 A0 = 10 IU/mL and Φ = 0.12 (dotted curves). Here, s = 6 mL/(IU×d) , and all other parameters are given in Table 1.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7629

Figure 7. Cartoon of HBeAg seroclearance times τ1(t0, Φ) (left) and τ2(t0, Φ) (right).

0

−2

−4 ,0.5) (months) 0 (t

2 −6 τ

−8 ,0.5) − 0 (t 1

τ −10

−12 0 10 20 30 40 t (months) 0

Figure 8. (Left) Heat map of τ1(t0, Φ) − τ2(t0, Φ), the time between HBeAb formation and HBeAg seroclearance when mutations emerge at t = 0 and antibody emerges at time t = t0, and when mutations and antibody emerge at t = t0, versus time t0 and fraction of core/precore mutations Φ. (Right) τ1(t0, Φ) − τ2(t0, Φ) for fixed Φ = 0.5. Parameters for wildtype and mutant populations are assumed to be equal and given in Table 1, s = 6 mL/(IU×d).

Since the order of sequential events leading to HBeAg loss is unknown (and patient dependent), we use model (3.6) to determine: (i) the amount of time it takes to reach HBeAg seroclearance following HBeAb expansion; (ii) the amount of monthly liver turnover, which is defined as the average liver loss due to immune response mediated killing each month [75] (here, the time period from HBeAb expansion to HBeAg seroclearance), for various fractions of core/precore mutations. For both questions core/precore mutations start at time t = 0 and HBeAb matures at time t = t0 ≥ 0.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7630

As defined in the previous section, τ1(t0, Φ) is the time between HBeAb expansion and HBeAg seroclearance (see Figure 7, left panel). We only consider ranges of t0 and Φ where τ1(t0, Φ) is positive, based on the assumption that HBeAb expansion happens before HBeAg seroclearance. Under these assumptions, we set

Z t0+τ1(t0,Φ) ! ! Iw(t) Im(t) HL(t0, Φ) = µw E(t) + µm E(t) dt /τ1(t0, Φ), (3.7) t0 Tm Tm to be the average monthly hepatocyte turnover over the (t0, t0 + τ1(t0, Φ)) time interval. Heat maps for τ1(t0, Φ) and HL(t0, Φ) are presented in Figure 9. For large core/precore mutations, Φ > 0.5, HBeAg seroclearance happens before antibody formation for large t0 (see Figure 9, left panel, white region), and in the first 12 months post HBeAb expansion (t0 + 12 months following the start of mutations) for small t0 (see Figure 9, left panel, blue region). HBeAg loss is (almost) exclusively due to mutations. As Φ decreases, τ1(t0, Φ) becomes less sensitive to the delay t0 between the start of mutations and antibody expansion, indicating that antibodies gain more influence on the progression to HBeAg seroclearance. Finally, for small core/precore mutations, Φ < 0.01, the time between HBeAb expansion and HBeAg seroclearance, τ1(t0, Φ), is almost constant for a fixed Φ regardless of t0 (in the range 0 ≤ t0 ≤ 40 months). This means that the initial HBeAg loss is almost exclusively antibody-driven and only the second phase decay is influenced by mutations. Previously, monthly hepatocyte turnover was estimated during acute HBV infections to range between 0.12 − 1 Tm/month [32]. Our model predicts a monthly hepatocyte turnover of 0.4 Tm/month (see Figure 9, right panel, red region) for large Φ and small t0 and 0.1 Tm/month for Φ < 0.01, regardless of t0 (in the range 0 ≤ t0 ≤ 40 months). We next investigate how these results are altered in the presence of antiviral therapy.

Figure 9. (Left) Heat map for τ1(t0, Φ), the time between HBeAb expansion and HBeAg seroclearance, versus the time of HBeAb expansion t0 and the fraction of core/precore mutations Φ. The corresponding parameters for wildtype and mutant populations are assumed to be equal and given in Table 1, and s = 6 mL/(IU×d). (Right) Heat map of HL(t0, Φ), the average monthly hepatocyte loss between HBeAb expansion and HBeAg seroclearance due to CTLs killing, versus the time of HBeAb expansion t0 and the fraction of core/precore mutations Φ. Mutations start at time 0.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7631

8 10 10 10 10 10

7 5 10 10

0 I (cells/ml) T (cells/ml) 10 V (virus/ml) 6 0 10 10 0 1 2 3 0 1 2 3 0 1 2 3

4 4 10 10 0 10

2 10

2

e (IU/ml) 10 0 A (IU/ml) 10 E (cells/ml) −10 10 0 1 2 3 0 1 2 3 0 1 2 3

5 10

0 ε 10 =0 ε=0.9

X (IU/ml) −5 10

0 1 2 3 t (years)

−6 Figure 10. Dynamics of system (2.1) under treatment for A0 = 10 IU/mL, s = 6 mL/(IU×d),  = 0 (solid line), and  = 0.9 (dashed line). All other parameters are given in Table 1.

11

10.5

10

9.5

9 (months) ε

τ 8.5

8

7.5

7 0.5 0.6 0.7 0.8 0.9 1 ε

Figure 11. HBeAg seroclearance time τ (in months past HBeAb expansion) versus −6 treatment efficacy  for A0 = 10 IU/mL, s = 6 mL/(IU×d), and all other parameters as in Table 1 (solid).

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7632

4. HBeAg dynamics during antiviral therapy

4.1. Treatment in the absence of mutations We investigate how the dynamics presented in Figure 2 change when we consider the effects of nucleos(t)ide analogous antiviral treatment. Unless noted otherwise, we assume that treatment and HBeAb expansion occur concomitantly at time t = 0. NAs suppress viral replication [9,10]. We model this effect by reducing the virus production rate p by the treatment efficacy 0.5 <  < 1. Hence, ptreat = (1 − )p. Under high treatment efficacy  = 0.9, virus undergoes a triphasic decay to a new equilibrium of / 2 cp mL: an instantaneous 0.94 log10 drop in the first day, followed by a slower 0.5 log10 decay over the next 4 months and finally a 6.4 log10 decay over the next 9.6 months. The HBeAg does not decay during the first day, and follows a triphasic decay that reaches the limit of detection within 7.9 months following the start of therapy (see Figure 10, dashed curve). The HBeAg first phase decay is due to treatment induced virus loss, while the second and third decay phases present qualitative dynamics that are similar to the ones obtained in the absence of treatment: where HBeAb efficiently binds HBeAg, leading to the removal of the tolerogenic effect on the CTLs, which eventually control the HBeAg (infected cells) loss (see Figure 10, dashed vs. solid curves). During the third phase, the decay rates of virus and HBeAg levels are steeper during treatment due to CTL-mediated removal of lower virus (infected cell) populations. Treatment efficacies (in the range considered, 0.5 <  < 1) influence the time of HBeAg seroclearance, with fast HBeAg seroclearance for high  (see Figure 11). In the absence of treatment, HBeAg has a seroclearance time of 2.83 years. By contrast, HBeAg seroclearance time decreases to 11.8 and 7.2 months for  = 0.5 and  = 0.99 (see Figure 11).

4.2. Treatment in the presence of mutations We next examine how treatment with various drug efficacies  influences: (i) the amount of time it takes to reach HBeAg seroclearance after HBeAb expansion; and (ii) the monthly amount of liver turnover between HBeAb expansion and HBeAg seroclearance HL, under various fractions of core/precore mutations (see Figure 12). For both questions we assume that mutations start at time t = 0, and treatment and HBeAb expansion occur concomitantly at time t = t0 ∈ [0, 40] months. As before, we define τ1(t0, Φ) to be the time between HBeAb expansion and HBeAg seroclearance.

As in the absence of treatment, for large Φ > 0.5 and large t0, HBeAg seroclearance happens before antibody formation for all  (see Figure 12, for  = 0.7). HBeAg loss is exclusively due to mutations. As Φ decreases, τ1(t0, Φ) becomes less sensitive to the delay t0 between the start of mutations and antibody expansion, indicating that antibodies gain more influence on the progression to HBeAg seroclearance. Finally, for small core/precore mutations, Φ < 0.01, the time between HBeAb expansion and HBeAg seroclearance, τ1(t0, Φ), is almost constant regardless of t0 (in the range 0 ≤ t0 ≤ 40 months). This means that the initial HBeAg loss is almost exclusively antibody-driven and only the second phase decay is influenced by mutations. After HBeAb expansion, HBeAg is cleared faster under treatment with  = 0.7 than in the absence of treatment (compare Figures 12 and 9, left panels). Furthermore, our model predicts that for  = 0.7 the monthly hepatocyte turnover is greatest for large Φ and small t0, up to 0.18 Tm/month (see 12, right panel, red region), lower than the 0.4 Tm/month in the absence of treatment. As Φ decreases, and τ1(t0, Φ) increases, the monthly

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7633 hepatocyte turnover decreases to 0.12 Tm/month for Φ < 0.01 regardless of t0 (in the range 0 ≤ t0 ≤ 40 months), higher than the 0.1 Tm/month observed in the absence of treatment. We find that low drug efficacy yields an increase in monthly hepatocyte turnover for Φ < 0.01. For example, for  = 0.5, the monthly hepatocyte turnover is 0.16 Tm/month, while for  = 0.99, the average monthly hepatocyte turnover is 0.1 Tm/month, i.e. equal to the average monthly hepatocyte turnover in the absence of treatment. However, since HBeAg seroclearance is faster under treatment, the total hepatocyte turnover is significantly reduced.

Figure 12. (Left) Heat map for τ1(t0, Φ), the time between HBeAb expansion and HBeAg seroclearance, versus the time of HBeAb expansion t0 and the fraction of core/precore mutations Φ. The corresponding parameters for wildtype and mutant populations are assumed to be equal and given in Table 1, and s = 6 mL/(IU×d). (Right) Heat map of HL(t0, Φ), the average monthly hepatocyte loss between HBeAb expansion and HBeAg seroclearance due to CTLs killing, versus the time of HBeAb expansion t0 and the fraction of core/precore mutations Φ, for  = 0.7. Mutations start at time 0.

5. Discussion and conclusion

We developed a mathematical model describing the host-pathogen interactions during HBeAg-positive chronic hepatitis B virus infections, with a focus on the effects of HBeAb expansion on disease progression and in particular HBeAg seroclearance. HBeAg, a secretory protein described as an immune tolerogen which downregulates the cellular immune responses [6], is removed when HBeAb is produced. The moment at which HBeAb production starts, its mechanistic interactions with HBeAg and other immune responses, or the timing of HBeAg seroclearance are not well understood. We employed a mathematical modeling approach to provide insight into antibody formation and HBeAg seroclearance. Previous mathematical models have investigated the interplay between hepatocytes, infected hepatocytes, HBV virus [30], CTL-mediated immune responses [31, 34, 45–47], humoral-mediated immune responses [48, 49], a class of subviral particles [49], and HBeAg [50]. To our knowledge, however, only one paper, in the context of occult HBV infection, has incorporated the dynamics of HBeAb [44].

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7634

We used the model to determine the interplay between HBeAb and CTL immune responses on HBeAg seroclearance in the absence and presence of treatment. Our model predicted that, in the absence of treatment, a combination of CTL and antibody responses are needed to achieve HBeAg seroclearance and viral remission. We found that HBeAg seroclearance follows several key stages: (1) newly matured HBeAb expand, bind HBeAg to form HBeAg-HBeAb immune complexes, which are removed via phagocytosis; (2) HBeAg population decays to levels that no longer affect CTLs activity, leading to CTLs activation and expansion; (3) infected cells are killed by CTLs; and, consequently, (4) less HBeAgs are produced and eventually decay below 0.1 IU/mL (called seroclearance level). We investigated the relationship between HBeAg seroclearance and the rate of HBeAb production and found that bigger HBeAb production rates lead to shorter times to HBeAg seroclearance. Host-virus predictors for HBeAg seroclearance are limited. Mutations of HBV in its core or precore region result in loss of expression of HBeAg by hepatocytes infected with the mutated virus [66, 67]. We assumed that these mutations are followed by antibody formation and eventual HBeAg seroclearance, and investigated how core/precore mutations influence the time between HBeAb expansion and HBeAg seroclearance and the hepatocyte turnover. We found that large fractions of mutations result in fast HBeAg seroclearance without the help of HBeAbs and high monthly hepatocyte turnover. Intermediate fractions of mutations result in longer seroclearance times and lower monthly hepatocyte turnover. For small fractions of mutations HBeAg seroclearance is driven almost exclusively by HBeAbs, the seroclearance times are longest and monthly hepatocyte turnover is lowest. Furthermore, we found that mutations can clear HBeAg even in the absence of antibodies. Increased HBeAg seroconversion rates after one year of NA treatment, regardless of NAs efficacy, have been observed in clinical studies [26]. We predicted that, regardless of the treatment efficacy, the time from HBeAb expansion to HBeAg seroclearance is significantly shortened by treatment, ranging between 7 month for high efficacy treatment and 11 months for low efficacy treatment, i.e. within one year, compared to 2.8 years in the absence of treatment. Our model does not, however, inform why a prolonged duration (several years) of high efficacy treatment is deleterious to the achievement of HBeAg seroconversion [28]. Under treatment, as in the absence of treatment, mutations influence the length of time between HBeAb expansion and HBeAg seroclearance as well as the amount of monthly hepatocyte turnover. The qualitative results are the same as in the untreated case, with fastest HBeAg seroclearance and highest monthly hepatocyte turnover for large fractions and slowest HBeAg seroclearance and lowest monthly hepatocyte turnover for small fractions of mutations. While the time to HBeAg seroclearance under treatment is always shorter than in the absence of treatment, the monthly hepatocyte turnover is decreased only for large fractions. Small fractions of mutations yield an increased monthly hepatocyte turnover under treatment. When we modeled core/precore mutations, we assumed similar characteristics for the wildtype and mutant virus strains and their corresponding infected cell classes. Studies have reported different half-lives for the wildtype and mutant virus strains, although the exact values vary. Dandri et al. reported average half-lives of 46 and 2.5 minutes [76]. Ribeiro et al. reported half-lives of 25.2 and 13.1 hours and shorter half-lives of cells infected by mutant compared to wildtype virus, 12.1 days versus 16 days [77]. Lastly, it has been suggested that cells that express mutant virus can lose the ability to express wildtype virus [78]. This can be modeled by assuming that a fraction z of cells infected with

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7635 the wildtype virus transitions into the population of cells infected with the mutant virus. We have investigated how differences in the two strains affect our results by considering a 10-fold increase in the mutant clearance rate, combined with a 1.3-fold increase in the clearance rate of cells infected with the mutant virus, and a z = 0.01 transitioning rate from wildtype to mutant infection. We found changes in the timing of HBeAg seroclearance, with the longest time occurring when mutant clearance rates are increased and the transition is zero, and the shortest time occurring when the mutant clearance rates are kept at the wild-type levels and the transition is non-negative (see Appendix 3, heterogeneity in infected and virus populations section, Figures S15 and S16). Our model assumes that more than 75% of the liver is infected during chronic HBV infections. While such large values have been reported in acute infections [31, 79], it is possible that fewer hepatocytes get infected during chronic disease [80]. We performed a sensitivity analysis on the infectivity parameter β which showed that our results are sensitive to changes in β, and, consequently, to having a lower amount of the liver infection in the first 2 years (Appendix 3, sensitivity analysis section, Figure S4). Further work is needed to determine how the results will change if we assume lower level of liver infection. There are many other parameters for which we have limited quantitative information. Most of these parameters were kept fixed in our model. The model’s sensitivities to a number of these parameters are shown in Figures S2 – S11 (Appendix 3, sensitivity analysis section). Another limitation of our model is that the production rate of virus is unaffected by the non-cytolytic effects of the effector cell population. Effector cells produce cytokines such as IFN-γ that inhibit the HBV replication and thus, the HBV virions production rate. Further work is needed to determine how the results will change if we assume that effector cells inhibit the virus production. In conclusion, we have built a mathematical model of HBeAg seroclearance and investigated how HBeAb and CTL work together to secure the transition into an HBeAg-negative HBV infection and how the efficacy of drug therapy affects the timing to HBeAg seroclearance. Such results are important for understanding this milestone event in HBV natural history and can be used to inform human interventions.

Acknowledgments

SMC and SK acknowledge funding from National Science Foundation grant No. 1813011. We thank the reviewers for the valuable comments and suggestions.

Conflict of interest

The authors declare there is no conflict of interest.

References

1. J. Hou, Z. Liu and F. Gu, Epidemiology and prevention of hepatitis B virus infection, Int. J. Med. Sci., 2 (2005), 50. 2. European Association for the study of the Liver, EASL 2017 clinical practice guidelines on the management of hepatitis B virus infection, J. Hepatol., 67 (2017), 370–398.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7636

3. J. E. Bennett, R. Dolin and M. J. Blaser, Mandell, Douglas and Bennett’s Principles and Practice of Infectious Disease, 8th edition, Elsevier Saunders, Philadelphia, 2015. 4. G. Fattovich, F. Bortolotti and F. Donato, Natural history of chronic hepatitis B: Special emphasis on disease progression and prognostic factors, J. Hepatol., 48 (2008), 335–352. 5. D. Milich and T. J. Liang, Exploring the biological basis of hepatitis B e antigen in hepatitis B virus infection, Hepatology, 38 (2003), 1075–1086. 6. Y. Han, J. Li, L. Jiang, et al., Regulation of B7-H1 expression on peripheral monocytes and IFN-γ secretion in T lymphocytes by HBeAg, Cell. Immunol., 283 (2013), 25–30. 7. W. R. Kim, S. L. Flamm, A. M. Di Bisceglie, et al., Serum activity of alanine aminotransferase (ALT) as an indicator of health and disease, Hepatology, 47 (2008), 1363–1370. 8. R. Marug’an and S. Garz’on, DNA-guided hepatitis B treatment, viral load is essential, but not sufficient, World J. Gastroenterol., 15 (2009), 423–430. 9. V. Rijckborst and H. L. Janssen, The role of interferon in hepatitis B therapy, Curr. Hepat. Rep., 9 (2010), 231–238. 10. J. Fung, C.-L. Lai, W.-K. Seto, et al., Nucleoside/nucleotide analogues in the treatment of chronic hepatitis B, J. Antimicrob. Chemother., 66 (2011), 2715–2725. 11. European Association for the study of the Liver, EASL clinical practice guidelines: management of chronic hepatitis b virus infection, J. Hepatol., 57 (2012), 167–185. 12. W. Zhang, D. Zhang, X. Dou, et al., Consensus on pegylated interferon alpha in treatment of chronic hepatitis B, J. Clin. Transl. Hepatol., 6 (2018), 1. 13. G. Papatheodoridis, I. Vlachogiannakos, E. Cholongitas, et al., Discontinuation of oral antivirals in chronic hepatitis B: A systematic review, Hepatology, 63 (2016), 1481–1492. 14. A. S. J. Woo, R. Kwok and T. Ahmed, Alpha-interferon treatment in hepatitis B, Ann. Transl. Med., 5 (2017), 159. 15. S. J. Hadziyannis, Update on hepatitis B virus infection: focus on treatment, J. Clin. Transl. Hepatol., 2 (2014), 285. 16. J. Vlachogiannakos and G. V. Papatheodoridis, Hepatitis B: Who and when to treat?, Liver Int., 38 (2018), 71–78. 17. Y.-F. Liaw, HBeAg seroconversion as an important end point in the treatment of chronic hepatitis B, Hepatol. Int., 3 (2009), 425–433. 18. C.-K. Hui, N. Leung, T. W. Shek, et al., Sustained disease remission after spontaneous HBeAg seroconversion is associated with reduction in fibrosis progression in chronic hepatitis B chinese patients, Hepatology, 46 (2007), 690–698. 19. H.-I. Yang, S.-N. Lu, Y.-F. Liaw, et al., Hepatitis B e antigen and the risk of hepatocellular carcinoma, N. Engl. J. Med., 347 (2002), 168–174. 20. Y.-S. Hsu, R.-N. Chien, C.-T. Yeh, et al., Long-term outcome after spontaneous HBeAg seroconversion in patients with chronic hepatitis B, Hepatology, 35 (2002), 1522–1527.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7637

21. C.-M. Chu, S.-J. Hung, J. Lin, et al., Natural history of hepatitis be antigen to antibody seroconversion in patients with normal serum aminotransferase levels, Am. J. Med., 116 (2004), 829–834. 22. S.-M. Lin, M.-L. Yu, C.-M. Lee, et al., Interferon therapy in HBeAg positive chronic hepatitis reduces progression to cirrhosis and hepatocellular carcinoma, J. Hepatol., 46 (2007), 45–52. 23. C.-M. Chu and Y.-F. Liaw, Spontaneous relapse of hepatitis in inactive HBsAg carriers, Hepatol. Int., 1 (2007), 311–315. 24. C.-M. Chu and Y.-F. Liaw, Chronic hepatitis B virus infection acquired in childhood: special emphasis on prognostic and therapeutic implication of delayed HBeAg seroconversion, J. Viral Hepat., 14 (2007), 147–152. 25. C.-M. Chu and Y.-F. Liaw, Predictive factors for reactivation of hepatitis B following hepatitis B e antigen seroconversion in chronic hepatitis B, Gastroenterology, 133 (2007), 1458–1465. 26. H. Dakin, C. Fidler and C. Harper, Mixed treatment comparison meta-analysis evaluating the relative efficacy of nucleos(t)ides for treatment of nucleos(t)ide-naive patients with chronic hepatitis B, Value Health, 13 (2010), 934–945. 27. A. Wiens, L. Lenzi, R. Venson, et al., Comparative efficacy of oral nucleoside or nucleotide analog monotherapy used in chronic hepatitis B: a mixed-treatment comparison meta-analysis, Pharmacotherapy, 33 (2013), 144–151. 28. T. Xing, H. Xu, L. Cao, et al., HBeAg seroconversion in HBeAg-positive chronic hepatitis B patients receiving long-term nucleos(t)ide analog treatment: a systematic review and network meta-analysis, PLoS One, 12 (2017), e0169444. 29. M. Yuen, H. Yuan, C. Hui, et al., A large population study of spontaneous HBeAg seroconversion and acute exacerbation of chronic hepatitis B infection: implications for antiviral therapy, Gut, 52 (2003), 416–419. 30. M. Nowak, S. Bonhoeffer, A. Hill, et al., Viral dynamics in hepatitis B virus infection, Proc. Natl. Acad. Sci. U.S.A., 93 (1996), 4398–4402. 31. S. Ciupe, R. Ribeiro, P. Nelson, et al., The role of cells refractory to productive infection in acute hepatitis B viral dynamics, Proc. Natl. Acad. Sci. U.S.A., 104 (2007), 5050–5055. 32. A. Goyal, R. M. Ribeiro and A. S. Perelson, The role of infected cell proliferation in the clearance of acute HBV infection in humans, Viruses, 9 (2017), 350. 33. A. Neumann, N. Lam, H. Dahari, et al., viral dynamics in vivo and the antiviral efficacy of interferon-α therapy, Science, 282 (1998), 103–107. 34. Y. Ji, W. Li, L. Min, et al., A mathematical model for anti-HBV infection treatment with lamivudine and curative effect prediction, in Control and Automation, 2007. ICCA 2007. IEEE International Conference on, IEEE, 2007, 2485–2488. 35. S. Gourley, Y. Kuang and J. Nagy, Dynamics of a delay differential model of hepatitis B virus, J. Biol. Dyn., 2 (2008), 140–153. 36. S. Eikenberry, S. Hews, J. Nagy, et al., The dynamics of a delay model of HBV infection with logistic hepatocyte growth, Math. Biosci. Eng., 6 (2009), 283–299.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7638

37. H. Dahari, E. Shudo, R. M. Ribeiro, et al., Modeling complex decay profiles of hepatitis B virus during antiviral therapy, Hepatology, 49 (2009), 32–38. 38. S. R. Lewin, R. M. Ribeiro, T. Walters, et al., Analysis of hepatitis B viral load decline under potent therapy: complex decay profiles observed, Hepatology, 34 (2001), 1012–1020. 39. A. U. Neumann, S. Phillips, I. Levine, et al., Novel mechanism of antibodies to hepatitis B virus in blocking viral particle release from cells, Hepatology, 52 (2010), 875–885. 40. J. Forde, S. Ciupe, A. Cintron-Arias, et al., Optimal control of drug therapy in a hepatitis B model, Appl. Sci, 6 (2016), 219. 41. A. Carracedo Rodriguez, M. Chung and S. Ciupe, Understanding the complex patterns observed during hepatitis B virus therapy, Viruses, 9 (2017), 117. 42. A. Goyal and J. M. Murray, Modelling the impact of cell-to-cell transmission in hepatitis B virus, PLoS One, 11 (2016), e0161978. 43. J. M. Murray and A. Goyal, In silico single cell dynamics of hepatitis B virus infection and clearance, J. Theor. Biol., 366 (2015), 91–102. 44. A. Goyal and R. Chauhan, The dynamics of integration, viral suppression and cell-cell transmission in the development of occult hepatitis B virus infection, J. Theor. Biol., 455 (2018), 269–280. 45. S. Ciupe, R. Ribeiro, P. Nelson, et al., Modeling the mechanisms of acute hepatitis B virus infection, J. Theor. Biol., 247 (2007), 23–35. 46. C. Long, H. Qi and S. Huang, Mathematical modeling of cytotoxic lymphocyte-mediated immune response to hepatitis B virus infection, J. Biomed. Biotechnol., 2008 (2008), 743690. 47. H. Kim, H. Kwon, T. Jang, et al., Mathematical modeling of triphasic viral dynamics in patients with HBeAg-positive chronic hepatitis B showing response to 24-week clevudine therapy, PLoS One, 7 (2012), e50377. 48. N. Yousfi, K. Hattaf and A. Tridane, Modeling the adaptive immune response in HBV infection, J. Math. Biol., 63 (2011), 933–957. 49. S. Ciupe, R. Ribeiro and A. Perelson, Antibody response during hepatitis B viral infection, PLoS Comput. Biol., 10 (2014), e1003730. 50. S. Ciupe and S. Hews, Mathematical models of e-antigen mediated immune tolerance and activation following prenatal HBV infection, PLoS One, 7 (2012), e39591. 51. J. Rozga, Hepatocyte proliferation in health and in liver failure, Med. Sci. Monit., 8 (2002), RA32–RA38. 52. L. Allweiss and M. Dandri, The role of cccDNA in HBV maintenance, Viruses, 9 (2017), 156. 53. D. R. Milich, M. K. Chen, J. L. Hughes, et al., The secreted hepatitis B precore antigen can modulate the immune response to the nucleocapsid: a mechanism for persistence, J. Immunol., 160 (1998), 2013–2021. 54. M. Oprea and A. S. Perelson, Exploring the mechanisms of primary antibody responses to t cell- dependent antigens, J. Theor. Biol., 181 (1996), 215–235.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7639

55. J. S. Dooley, A. Lok, A. K. Burroughs, et al., Sherlock’s diseases of the liver and biliary system, John Wiley & Sons, 2011. 56. A.-K. Sohlenius-Sternbeck, Determination of the hepatocellularity number for human, dog, rabbit, rat and mouse livers from protein concentration measurements, Toxicol. In Vitro, 20 (2006), 1582– 1586. 57. J. Murray, R. Purcell and S. Wieland, The half-life of hepatitis B virions, Hepatology, 44 (2006), 1117–1121. 58. S. A. Whalley, J. M. Murray, D. Brown, et al., Kinetics of acute hepatitis B virus infection in humans, J. Exp. Med., 193 (2001), 847–854. 59. R. Ahmed and D. Gray, Immunological memory and protective immunity: understanding their relation, Science, 272 (1996), 54–60. 60. S. E. Brown, C. R. Howard, A. J. Zuckerman, et al., Determination of the affinity of antibodies to hepatitis B surface antigen in human sera, J. Immunol. Methods, 72 (1984), 41–48. 61. S. Stein, J. Ware and R. Woods, Serum immunoglobulins: Methods for the determination of normal values in international units, J. Immunol. Methods, 16 (1977), 371–384. 62. T. Igarashi, C. Brown, A. Azadegan, et al., Human immunodeficiency virus type 1 neutralizing antibodies accelerate clearance of cell–free virions from blood plasma, Nat. Med., 5 (1999), 211. 63. G. D. Tomaras, N. L. Yates, P. Liu, et al., Initial B-cell responses to transmitted human immunodeficiency virus type 1: Virion-binding immunoglobulin M (IgM) and IgG antibodies followed by plasma Anti- antibodies with ineffective control of initial viremia, J. Virol., 82 (2008), 12449–12463, 64. P. T. Kennedy, E. Sandalova, J. Jo, et al., Preserved T-cell function in children and young adults with immune-tolerant chronic hepatitis B, Gastroenterology, 143 (2012), 637–645. 65. S. Cai, Z. Li, T. Yu, et al., Serum hepatitis B core antibody levels predict HBeAg seroconversion in chronic hepatitis B patients with high viral load treated with nucleos(t)ide analogs, Infect. Drug Resist., 11 (2018), 469. 66. H. Okamoto, F. Tsuda, Y. Akahane, et al., Hepatitis B virus with mutations in the core promoter for an e antigen-negative phenotype in carriers with antibody to e antigen, J. Virol., 68 (1994), 8102–8110. 67. W. Carman, S. Hadziyannis, M. McGarvey, et al., Mutation preventing formation of hepatitis B e antigen in patients with chronic hepatitis B infection, Lancet, 334 (1989), 588–591. 68. S. F. Baqai, J. Proudfoot, H. Y. Debbie, et al., High rate of core promoter and precore mutations in patients with chronic hepatitis B, Hepatol. Int., 9 (2015), 209–217. 69. N. Kamijo, A. Matsumoto, T. Umemura, et al., Mutations of pre-core and basal core promoter before and after hepatitis B e antigen seroconversion, World J. Gastroenterol., 21 (2015), 541. 70. H. Okamoto, S. Yotsumoto, Y. Akahane, et al., Hepatitis B viruses with precore region defects prevail in persistently infected hosts along with seroconversion to the antibody against e antigen., J. Virol., 64 (1990), 1298–1303.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7640

71. J.-H. Kao, P.-J. Chen and D.-S. Chen, Recent advances in the research of hepatitis B virus-related hepatocellular carcinoma: epidemiologic and molecular biological aspects, Adv. Cancer Res., 108 (2010), 21–72. 72. E.-C. Shin, P. S. Sung and S.-H. Park, Immune responses and immunopathology in acute and chronic viral hepatitis, Nat. Rev. Immunol., 16 (2016), 509–523. 73. C. Ferrari, HBV and the immune response, Liver Int., 35 (2015), 121–128. 74. D. He, G. Yan and Y. Wang, Serum levels of interleukin-12 in various clinical states with hepatitis B virus infection, Cell. Immunol., 272 (2012), 162–165. 75. S. M. Ciupe, Modeling the dynamics of hepatitis B infection, immunity, and drug therapy, Immunol. Rev., 285 (2018), 38–54. 76. M. Dandri, J. M. Murray, M. Lutgehetmann, et al., Virion half-life in chronic hepatitis B infection is strongly correlated with levels of viremia, Hepatology, 48 (2008), 1079–1086. 77. R. M. Ribeiro, G. Germanidis, K. A. Powers, et al., Hepatitis B virus kinetics under antiviral therapy sheds light on differences in hepatitis B e antigen positive and negative infections, J. Infect. Dis., 202 (2010), 1309–1318. 78. W. Mason, S. Litwin, C. Xu, et al., Hepatocyte turnover in transient and chronic hepadnavirus infections, J. Viral Hepat., 14 (2007), 22–28. 79. L. G. Guidotti, R. Rochford, J. Chung, et al., Viral clearance without destruction of infected cells during acute hbv infection, Science, 284 (1999), 825–829. 80. E. Rodr´ıguez-Inigo,˜ L. Mariscal, J. Bartolome,´ et al., Distribution of hepatitis B virus in the liver of chronic hepatitis C patients with occult hepatitis B virus infection, J. Med. Virol., 70 (2003), 571–580.

Supplementary

Appendix 1. Stability analysis of the system without HBeAb. System (3.2) has the following non- negative equilibria: no liver, no CTL responses noA = S 1 (0, 0, 0, 0, 0) , (5.1) infection free state noA = S 2 (Tm, 0, 0, 0, 0) , (5.2) no liver under CTL responses − ! noA = Em(sE dE) S 3 0, 0, 0, 0, , (5.3) sE clearance due to CTLs − ! noA = Em(sE dE) S 4 Tm, 0, 0, 0, , (5.4) sE infection in the absence of CTL responses ! noA = Tm p Tmπ S 5 0, Tm, , , 0 (5.5) c δe

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7641 and infection under immune anergy. There are up to four solutions of this form ! p π noA = ¯ ¯ ¯ ¯ ¯ ¯ ¯ S 6 T(I), I, I, I, E(I) , (5.6) c δe where ((αδ − πσd )I¯ + δ (s − d ))E cµ T¯(I¯) = e E e E E m , δeβp(αI¯ + sE) ((αδ − πσd )I¯ + δ (s − d ))E E¯(I¯) = e E e E E m , δe(αI¯ + sE) and I¯ is a root of the fourth degree polynomial

4 3 2 C4I¯ + C3I¯ + C2I¯ + C1I¯ + C0, with = 2 2 2 2 C4 α δeβ p r, ! ! (T (E µ − r)α + 2rs )βp βT p  C = 2 m m E + cE αrµ δ − πσE m + cr µd δ pαβ, 3 2 m e m 2 E e

! ! ! d  s  C = c2E2 α2rµ2 − pµ −2T s − E βp + cr(T α + 2d − 4s ) αβE − 2s T α − E rp2β2 δ2 2 m m E 2 m E E m E m 2 e ! (−βT ps + cr(T α − 2s ))pβ − 2πσE c2E αrµ − m E m E µd δ + E2 c2d2 µ2π2rσ2, m m 2 E e m E

= 2 2 + 2 C1 2δ2 c rµ (sE − dE)(−dEπσ αδe)Em ! ! ! αT d βT ps (s − d ) cσrT πs d − pµ −s2 + (T αd )s − m E cr − m E E E δ − m E E kE E m E E 2 2 e 2 m 2 2 2 ! δeβ rTm p s − E , 2 = 2 C0 (cµ(sE − dE)Em − βTm psE)rδec(sE − dE)µEm. noA noA Equilibria S 1 and S 3 are solutions in which the total hepatocyte population is zero, corresponding to the death of the patient.

noA noA Theorem 5.1. Equilibria S 1 and S 3 are unstable.

noA noA = noA Proof. The Jacobian of system (3.2) evaluated at S 1 or S 3 has eigenvalue λ1 r > 0. Hence S 1 noA  and S 3 are unstable equilibria. noA noA noA Equilibria S 2 and S 4 are solutions in which the infection is cleared. In S 4 a population of noA memory cells persists over time, while in S 2 CTLs go extinct.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7642

noA Theorem 5.2. Equilibrium S 2 is unstable.

noA Proof. Using Maple we find that the Jacobian of system (3.2) evaluated at S 2 has the eigenvalue p c 4T βp + c2 λ = − + m , 1 2 2 noA  which is always positive. Hence S 2 is an unstable equilibrium.

noA ff Theorem 5.3. Equilibrium S 4 exists and is locally asymptotically stable i sE > dE and TmβpsE < 1. Emcµ(sE −dE )

noA Proof. Using Maple we find that the Jacobian of system (3.2) evaluated at S 4 has two eigenvalues λ1 = −r and λ2 = −δe which are always negative. A third eigenvalue λ3 = dE − sE is negative iff sE > dE. The remaining two eigenvalues are   1 p 2 λ4,5 = −(csE + Emµ(se − dE))  (csE + Emµ(se − dE)) + 4sE(TmβpsE − Emcµ(sE − dE)) . 2sE

If sE > dE, then (csE + Emµ(se − dE)) > 0 and hence Re(λ5) < 0. For λ4 we find

TmβpsE + EmcdEµ TmβpsE Re(λ4) < 0 ⇐⇒ < 1 ⇐⇒ < 1. EmcµsE Emcµ(sE − dE) 

noA noA noA In equilibria S 5 and S 6 virus is not cleared. S 5 represents a state in which CTLs have vanished noA ff and the entire liver is infected, while S 6 is a state in which CTLs are ine ective.

+ Theorem 5.4. Equilibrium S noA is locally asymptotically stable iff δe(Tmα sE ) < 1. 5 dE (Tmπσ+δe)

noA Proof. Using Maple we find that the Jacobian of system (3.2) evaluated at S 5 has four eigenvalues = = = = Tmβp λ1 −r, λ2 −δe, λ3 −c, and λ4 − c which are always negative. The fifth eigenvalue

δe(Tmα + sE) − dE(Tmπσ + δe) λ5 = Tmπσ + δe

+ is negative iff δe(Tmα sE ) < 1.  dE (Tmπσ+δe) noA We did not attempt to analytically study the asymptotic stability of S 6 .

Stability analysis of the system with HBeAb. System (2.1) has the following non-negative equilibria: no liver, no CTLs   = noA S 1 S 1 , 0, 0 , (5.7)

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7643 infection free state   = noA S 2 S 2 , 0, 0 , (5.8) no liver under CTL responses   = noA S 3 S 3 , 0, 0 , (5.9) clearance due to CTL responses   = noA S 4 S 4 , 0, 0 , (5.10) infection in the absence of any immune responses   = noA S 5 S 5 , 0, 0 , (5.11) infection during anergic CTL responses. There are up to four solutions of this form   = noA S 6 S 6 , 0, 0 . (5.12)

S 1 through S 6 are the equilibria of (3.2) with additional variables A¯ = 0 and X¯ = 0.

Theorem 5.5. Equilibria S 1 through S 4 are unstable.

Proof. The Jacobian of system (2.1) evaluated at S 1 through S 4 has eigenvalue λ1 = sA > 0. Hence S 1 through S 4 are unstable equilibria. 

δe(Tmα+sE ) Theorem 5.6. Equilibrium S 5 is locally asymptotically stable iff < 1 and dE (Tmπσ+δe) + + (cX km)(Tm sπ δe sA) < 1. TmkpcXπ

noA Proof. Using Maple we find that the Jacobian of system (3.2) evaluated at S 5 has four eigenvalues = = = = Tmβp λ1 −r, λ2 −δe, λ3 −c, and λ4 − c which are always negative. The remaining three eigenvalues are δe(Tmα + sE) − dE(Tmπσ + δe) λ5 = , Tmπσ + δe + which is negative iff δe(Tmα sE ) < 1, and dE (Tmπσ+δe) 1 h  λ6,7 = − Tmπ + (cX + km)δe − (Tm sπ + δeα) 2δe q 2 i  Tmπ + (cX + km)δe − (Tm sπ + δeα) + 4δe(sA(cX + km)δe + π((s − kp)cX + skm)Tm) .

We find Re(λ6,7) < 0 iff T sπ + δ s m e A < 1, (5.13) Tmkpπ + δe(cX + km) and (c + k )(T sπ + δ s ) X m m e A < 1. (5.14) Tmkpπ

We find that (5.14) implies (5.13), and hence all eigenvalues have negative real part and S 5 is locally + + + asymptotically stable iff δe(Tmα sE ) < 1 and (cX km)(Tm sπ δe sA) < 1.  dE (Tmπσ+δe) TmkpcXπ

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7644

noA Theorem 5.7. If S 6 is unstable in system (3.2), then S 6 is unstable in system (2.1).

Proof. For S 6 the equilibrium levels of A and X are zero. When plugging A = 0 and X = 0 into the Jacobian, J, of system (2.1) yields ! JnoA (?)5×2 J = , 02×5 J˜ where JnoA is the Jacobian of system (3.2). Hence, if JnoA has an eigenvalue with positive real part, so does J. 

The remaining equilibria have an antibody response component. They are: no liver and maximal antibody responses   = noA S 7 S 1 , Am, 0 , (5.15) infection free due to maximal antibody responses   = noA S 8 S 2 , Am, 0 , (5.16) no liver under anergic CTLs and maximal antibody responses   = noA S 9 S 3 , Am, 0 , (5.17) infection free due to combined CTLs and antibody responses   = noA S 10 S 4 , Am, 0 . (5.18)

Theorem 5.8. Equilibria S 7 and S 9 are unstable.

Proof. The Jacobian of system (2.1) evaluated at S 7 or S 9 has eigenvalue λ1 = r > 0. Hence S 7 and S 9 are unstable equilibria. 

Theorem 5.9. Equilibrium S 8 is unstable.

Proof. Using Maple we find that the Jacobian of system (2.1) evaluated at S 8 has eigenvalue p c 4T βp + c2 λ = − + m , 1 2 2 which is always positive. Hence S 8 is an unstable equilibrium. 

TmβpsE Theorem 5.10. Equilibrium S 10 is locally asymptotically stable iff sE > dE and . Emµc(sE −dE )

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7645

Proof. Using Maple we find that the Jacobian of system (2.1) evaluated at S 10 has two eigenvalues λ1 = −r and λ2 = −sA which are always negative. A third eigenvalue λ3 = dE − sE is negative iff sE > dE. The remaining four eigenvalues are   1 p 2 λ4,5 = −(csE + Emµ(se − dE))  (csE + Emµ(se − dE)) + 4sE(TmβpsE − Emcµ(sE − dE)) , 2sE and 1  q  λ = −(A k + c + δ + k )  (A k + c + δ + k )2 − 4((c + k )δ + A c k ) 6,7 2 m p X e m m p X e m x m e m X p

If sE > dE, then Re(λ5), Re(λ6), Re(λ7) < 0, and

TmβpsE + EmcdEµ TmβpsE Re(λ4) < 0 ⇐⇒ < 1 ⇐⇒ < 1. EmcµsE Emcµ(sE − dE) 

Infection with no CTLs and positive antibody responses includes up to two states, given by + + + ! Tm p Am((s(cX km) − kpcX)¯e sA(cX km)) Tmπ − δee¯ S 11 = 0, Tm, , e¯, 0, , , (5.19) c (se¯ + sA)(cX + km) cX

2 wheree ¯ satisfies the quadratic equation C2e¯ + C1e¯ + C0 = 0 with   = + 2 2 + 2 + 2 C2 ((−kpAm − δe)s Amkp)cX − skm(kpAm 2δe)cX − δekm s /(cX km) ,   C1 = ((−kpAm − δe)sA + sTmπ)cX + km(sTmπ − δe sA) /(cX + km) ,

C0 = TmπsA.

We did not attempt to analytically study the asymptotic stability of S 11 Lastly, infection during anergic CTLs and inefficient antibody responses is given by:   S 12 = T¯(¯y), I¯(¯y), V¯ (¯y), e¯(¯y), E¯(¯y), A¯(¯y), X¯(¯y) , (5.20) where " Amkp T¯(¯y) = E (((((A k +δ )α−πd σ)s−A αk2)c2 −2sk ((− −δ )α+πd σ)c − sk2 (πd σ−αδ ))¯y2 m m p e E m p X m 2 e E X m E e + ((π(sE − dE)s − sA((−Amkp + δe)α + pidEσ))cX − (−pi(sE − dE)s + sA(πdEσ − αδe))km)¯y # h + + 2 2 + + + 2 2 πsA(sE − dE)cµ × ((α(((Amkp δe)s − Amkp)cX skm(Amkp 2δe)cX δekm s)¯y

i−1 + ((πsE s + sAα(Amkp + δE))cX + km(αδe sA + πsE s))¯y + sE sAπ)pβ ,

h i ¯ = + 2 2 + + + 2 + + + I(¯y) ((((Amkp δe)s − Amkp)cX skm(Amkp 2δe)cX δekm s)¯y ((Amkp δe)cX δekm)sA)¯y  −1 × π((cX + km)sy¯ + sA)

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7646 p V¯ (¯y) = I¯(¯y), c

e¯(¯y) = (cx + km)¯y,

h ¯ = + 2 2 + + + + 2 E(¯y) (((((Amkp δe)α − πdEσ)s − Amαkp)cX ((Amkp 2δe)α − 2πdEσ)km scX km s(−πdEσ αδe))¯y + ((π(sE − dE)s + sA((Amkp + δe)α − πdEσ))cX + km(π(sE − dE)s + sA(−πdEσ + αδe)))¯y i h + + 2 2 + + + 2 2 πsA(sE − dE)Em × α(((Amkp δe)s − Amkp)cX skm(Amkp 2δe)cX δekm s)¯y i−1 + ((πsE s + sAα(Amkp + δe))cX + km(αδe sA + πsE s))¯y + sE sAπ ,

Am((s(cX + km) − kpcX)¯y + sA) A¯(¯y) = , (cX + km)sy¯ + sA

Amkpy¯((s(cX + km) − kpcX)¯y + sA) X¯(¯y) = , (cX + km)sy¯ + sA andy ¯ is the root of a degree seven polynomial whose expression is messy and will not be provided here (Maple file available upon request). We did not attempt to analytically study the asymptotic stability of S 12. Appendix 2. Stability analysis of the system with mutations. We determine system (3.6)’s equilibria and their stability under the assumption that βm = βw = β, µm = µw = µ, pm = pw = p, and cm = cw = c. System (3.6) has the following non-negative equilibria.

mut = S 1 (0, 0, 0, 0, 0, 0, 0, 0, 0) , (5.21)

mut = S 2 (Tm, 0, 0, 0, 0, 0, 0, 0, 0) , (5.22)

− ! mut = Em(sE dE) S 3 0, 0, 0, 0, 0, 0, , 0, 0 , (5.23) sE − ! mut = Em(sE dE) S 4 Tm, 0, 0, 0, 0, 0, , 0, 0 , (5.24) sE

mut = S 5 (0, 0, 0, 0, 0, 0, 0, Am, 0) , (5.25)

mut = S 6 (Tm, 0, 0, 0, 0, 0, 0, Am, 0) , (5.26)

− ! mut = Em(sE dE) S 7 0, 0, 0, 0, 0, 0, , Am, 0 , (5.27) sE − ! mut = Em(sE dE) S 8 Tm, 0, 0, 0, 0, 0, , Am, 0 , (5.28) sE

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7647

! δ δ p(1 − Φ)δ T p p(1 − Φ)δ S mut = 0, e e, T − e e, e e, m − e e, e, 0, 0, 0 , (5.29) 9 π m π cπ c cπ where e can take on any value less than or equal to Tmπ (for biological relevance, i.e. non-negativity). δe

! p(1 − Φ) p S mut = 0, I¯ (e), T − I¯ (e), I¯ (e), (T − (1 − Φ)I¯ (e)), e, 0, A¯(e), X¯(e) , (5.30) 10 w m w c w c m w where e can take on any value, and

I¯w(e) = ((((sδe = + + 2 + + + + 2 + kpAm(s − kp))e sA(kpAm δe))cX km(kpAm 2δe)(es sA)cX kmδe(es sA))e) 2 −1 × (π(cX + km) (es + sA)) ,

Am(((s − kp)e + sA)cX + km(es + sA)) A¯(e) = , (es + sA)(cX + km) k A (((s − k )c + sk )e + s (c + k ))e X¯ e = p m p X m A X m . ( ) 2 (cX + km) (es + sA) ! E µc αI¯ + s − d p E αI¯ + s − d mut = m ( n E E) ¯ ¯ m( n E E) S 11 , 0, In, 0, In, 0, , 0, 0 , (5.31) βp(αI¯n + sE) c αI¯n + sE where I¯n is a root of the fourth degree polynomial

4 3 2 C4I¯ + C3I¯ + C2I¯ + C1I¯ + C0, with 2 2 2 C4 = α β p r, βT (−E µ + r)p C = 2α((− m m + cµrE )α + βrps )βp, 3 2 m E

d C = crµE (cE µ − pβT )α2 + 2(−(−mu(s − E )E + rs )βT p + crµE (2s − d ))βpα + β2 p2rs2 , 2 m m m E 2 m E m m E E E

βT s (s − d )p αT d C = 2c2αrµ2(s −d )E2 −2µβp(− m E E E +(−s2 +(T α+d )s − m E )cr)E −T β2 p2rs2 , 1 E E m 2 E m E E 2 m m E

C0 = µEmc(cµ(sE − dE)Em − TmβpsE)r(sE − dE).

! E µc αI¯ + s − d p E αI¯ + s − d mut = m ( n E E) ¯ ¯ m( n E E) S 12 , 0, In, 0, In, 0, , Am, 0 , (5.32) βp(αI¯n + sE) c αI¯n + sE ¯ mut where In is defined as in S 11 .

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7648

mut mut mut Theorem 5.11. Equilibria S 1 − S 7 , and S 11 are unstable.

mut mut mut mut = Proof. The Jacobian of system (3.6) evaluated at S 1 , S 3 , S 5 , and S 7 has eigenvalue λ1 r > 0. The Jacobian of system (3.6) evaluated at S mut, S mut, and S mut has eigenvalue λ = s > 0. The Jacobian 2 4 11 p 1 A + 2 mut = − c + 4Tmβp c mut − mut of system (3.6) evaluated at S 6 has eigenvalue λ1 2 2 > 0. Thus, S 1 S 7 , and mut  S 11 are unstable equilibria.

mut TmβpsE Theorem 5.12. Equilibrium S is locally asymptotically stable iff sE > dE and < 1. 8 Emµc(sE −dE )

mut Proof. Using Maple we find that the Jacobian of system (3.6) evaluated at S 8 has two eigenvalues λ1 = −r and λ2 = −sA which are always negative. A third eigenvalue λ3 = dE − sE is negative iff sE > dE. The remaining six eigenvalues are   1 p 2 λ4,5 = −(csE + Emµ(se − dE))  (csE + Emµ(se − dE)) + 4sE(TmβpsE − Emcµ(sE − dE)) , 2sE 1 λ6,7 = (−(csE + Emµ(se − dE)) 2sE  p 2  (csE + Emµ(se − dE)) + 4sE(Tmβp(1 − Φ)sE − Emcµ(sE − dE)) , and 1  q  λ = −(A k + c + δ + k )  (A k + c + δ + k )2 − 4((c + k )δ + A c k ) 8,9 2 m p X e m m p X e m x m e m X p

If λ3 < 0, i.e. sE > dE, then −(csE + Emµ(se − dE)) < 0 and hence Re(λ5), Re(λ7) < 0. Further Re(λ8), Re(λ9) < 0, and

TmβpsE Re(λ4) < 0 ⇐⇒ λ4 < 0 ⇐⇒ < 1, Emµc(sE − dE) Tmβp(1 − Φ)sE Re(λ6) < 0 ⇐⇒ λ6 < 0 ⇐⇒ < 1. Emµc(sE − dE)

Φ mut Since ≥ 0, if Re(λ4) < 0 then Re(λ6) < 0. Hence all eigenvalues have negative real part and S 8 is TmβpsE locally asymptotically stable iff sE > dE and < 1.  Emµc(sE −dE ) mut mut mut Proving stability for S 9 , S 10 , and S 12 is messy and will not be presented here. Appendix 3. Sensitivity Analysis. We analyzed the time-dependent semi-relative sensitivity of model (2.1)’s dynamics to small changes in various parameters. For times 0 to 2 years and parameters = ∂Y = P {α, Am, β, kp, µ, π, s, sA, sE, σ} we look at the semi-relative sensitivity curves P ∂P , where Y {T, I, V, e, E, A, X}. The results are presented below. As expected, we find that {α, Am, µ, s, sA, sE} have negative effects on {I, V, e} and positive effects on E (see Figures S2, S3, S6, S8, S9, S10), while {β, kp, π, σ} have the opposite effects (see Figures S4, S5, S7, S11). Furthermore, we observe that

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7649 virus, HBeAg, and effector cell populations are most sensitive to changes in kp and s (see Figures S12– S14, left panel). While HBeAg and effector cells are most sensitive around day 125 regardless of the parameter, the maximal sensitivity of the virus population to β, Am and µ occurs later (see Figures S12–S14, right panel).

50 45 40 × 35 s = 5.51 ml/(IU d) s = 5.55 ml/(IU× d) 30 s = 6 ml/(IU× d) 25 (years) τ 20 15 10 5

0 −20 −15 −10 −5 10 10 10 10 A (IU/ml) 0

Figure S1. Time to HBeAg seroclearance versus initial HBeAb level A0 for different HBeAg production rates s.

6 6 8 x 10 x 10 x 10 15 0 0 α α 10 α −5 −5 ∂ I ∂ ∂ ∂ ∂ T ∂ V · · · α α 5 −10 α −10

0 −15 −15 0 2 0 2 0 2 time (years) time (years) time (years) 5000 2000 20 α α α 1000 10 ∂ e ∂ ∂ ∂ ∂ A ∂ E · · 0 · α α α 0 0

−5000 −1000 −10 0 2 0 2 0 2 time (years) time (years) time (years) 2000

α 0 ∂ ∂ X ·

α −2000

−4000 0 2 time (years)

Figure S2. Semi-relative sensitivity curves for the infected cell dependent immune cell activation rate α.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7650

5 5 7 x 10 x 10 x 10 3 0 0 m m m

2 ∂ I −1 ∂ T ∂ V ∂ A ∂ A ∂ A

· · · −1 m 1 m −2 m A A A

0 −3 −2 0 2 0 2 0 2 time (years) time (years) time (years) 0 100 5 m m m

∂ e −100 ∂ A ∂ E ∂ A ∂ A ∂ A · · 50 · 0 m m −200 m A A A

−300 0 −5 0 2 0 2 0 2 time (years) time (years) time (years) 200

m 100 ∂ X ∂ A ·

m 0 A

−100 0 2 time (years)

Figure S3. Semi-relative sensitivity curves for the antibody carrying capacity Am.

6 6 8 x 10 x 10 x 10 0 4 4

3 3 −2 β β β ∂ I ∂ ∂ ∂ ∂ T ∂ V · · 2 · 2 β β −4 β 1 1

−6 0 0 0 2 0 2 0 2 time (years) time (years) time (years) 1500 100 2

0 0 1000 β β β ∂ e ∂ ∂ ∂ ∂ A ∂ E · · · −100 −2 β β 500 β −200 −4

0 −300 −6 0 2 0 2 0 2 time (years) time (years) time (years) 1000 β ∂ ∂ X

· 500 β

0 0 2 time (years)

Figure S4. Semi-relative sensitivity curves for the viral infectivity rate β.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7651

8 8 10 x 10 x 10 x 10 2 4 4 p p 0 p ∂ I ∂ T ∂ V ∂ k ∂ k ∂ k · · 2 · 2 p p p k k −2 k

−4 0 0 0 2 0 2 0 2 time (years) time (years) time (years) 5 5 x 10 x 10 5 1 2000

p p 0 p 0 ∂ e ∂ A ∂ E ∂ k ∂ k ∂ k

· 0 · · p p p

k k −1 k −2000

−5 −2 −4000 0 2 0 2 0 2 time (years) time (years) time (years) 5 x 10 2 p ∂ X ∂ k

· 0 p k

−2 0 2 time (years)

Figure S5. Semi-relative sensitivity curves for the immune complex binding rate kp.

6 6 8 x 10 x 10 x 10 10 0 0

µ µ µ −2 ∂ I ∂ ∂ ∂ ∂ T ∂ V · · 5 −5 · µ µ µ −4

0 −10 −6 0 2 0 2 0 2 time (years) time (years) time (years) 0 400 10 µ µ µ −500 200 5 ∂ e ∂ ∂ ∂ ∂ A ∂ E · · · µ µ −1000 µ 0 0

−1500 −200 −5 0 2 0 2 0 2 time (years) time (years) time (years) 500

µ 0 ∂ ∂ X ·

µ −500

−1000 0 2 time (years)

Figure S6. Semi-relative sensitivity curves for the immune mediated clearance rate of infected cells µ.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7652

6 7 8 x 10 x 10 x 10 0 2 15

π −5 π π 10 ∂ I ∂ ∂ ∂ ∂ T ∂ V · · 1 · π π −10 π 5

−15 0 0 0 2 0 2 0 2 time (years) time (years) time (years) 10000 2000 20 π π 5000 π 0 0 ∂ e ∂ ∂ ∂ ∂ A ∂ E · · · π π 0 π −2000 −20

−5000 −4000 −40 0 2 0 2 0 2 time (years) time (years) time (years) 5000 π ∂ ∂ X

· 0 π

−5000 0 2 time (years)

Figure S7. Semi-relative sensitivity curves for the HBeAg production rate π.

8 8 10 x 10 x 10 x 10 4 0 0 ∂ s ∂ s ∂ s ∂ I ∂ T ∂ V · · 2 −2 · −2 s s s

0 −4 −4 0 2 0 2 0 2 time (years) time (years) time (years) 5 5 x 10 x 10 5 2 4000

1 2000 ∂ s ∂ s ∂ e ∂ s ∂ A ∂ E · · 0 · s s s 0 0

−5 −1 −2000 0 2 0 2 0 2 time (years) time (years) time (years) 5 x 10 2 ∂ s ∂ X

· 0 s

−2 0 2 time (years)

Figure S8. Semi-relative sensitivity curves for the HBeAg dependent HBeAb production rate s.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7653

−6 −6 −4 x 10 x 10 x 10 4 0 0

A A −1 A ∂ I ∂ T ∂ V ∂ s ∂ s ∂ s

· 2 · · −2 A A A

s s −2 s

0 −3 −4 0 2 0 2 0 2 time (years) time (years) time (years) −9 −8 −9 x 10 x 10 x 10 2 4 2

A 0 A 2 A 1 ∂ e ∂ A ∂ E ∂ s ∂ s ∂ s · · · A A A

s −2 s 0 s 0

−4 −2 −1 0 2 0 2 0 2 time (years) time (years) time (years) −9 x 10 1 A ∂ X ∂ s

· 0 A s

−1 0 2 time (years)

Figure S9. Semi-relative sensitivity curves for the HBeAg independent HBeAb production rate sA.

0.1 0 0 E E E ∂ I ∂ T ∂ V ∂ s ∂ s ∂ s

· 0.05 · −0.05 · −5 E E E s s s

0 −0.1 −10 0 2 0 2 0 2 time (years) time (years) time (years) −5 −4 −8 x 10 x 10 x 10 1 4 10 E E E

∂ e 0 2 5 ∂ A ∂ E ∂ s ∂ s ∂ s · · · E E E

s −1 s 0 s 0

−2 −2 −5 0 2 0 2 0 2 time (years) time (years) time (years) −5 x 10 1

E 0 ∂ X ∂ s · E

s −1

−2 0 2 time (years)

Figure S10. Semi-relative sensitivity curves for the infected cell independent immune cell activation rate sE.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7654

6 6 8 x 10 x 10 x 10 0 15 15

σ −5 σ 10 σ 10 ∂ I ∂ ∂ ∂ ∂ T ∂ V · · · σ σ −10 5 σ 5

−15 0 0 0 2 0 2 0 2 time (years) time (years) time (years) 5000 1000 10

σ σ 0 σ 0 ∂ e ∂ ∂ ∂ ∂ A ∂ E · · 0 · σ σ σ −1000 −10

−5000 −2000 −20 0 2 0 2 0 2 time (years) time (years) time (years) 4000 σ ∂ ∂ X

· 2000 σ

0 0 2 time (years)

Figure S11. Semi-relative sensitivity curves for the inhibitory strength of HBeAg on CTLs σ.

10 9 x 10 x 10 4 1.5 250

3 1 200 2 (days) ∂ P 0.5 ∂ V ) 1 P 150 ∂ P ∂ V P ∂ P ∂ V 0 0 P 100 −1 max( −0.5 −2 50 −1 −3 Time of maximal

−4 −1.5 0 α Am β kp µ π s sA sE σ α Am β µ π sA sE σ α Am β kp µ π s sA sE σ

Figure S12. (Left and center) Maximal sensitivity of virus population on parameters during the first two years. (Right) Time when sensitivity is maximal.

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7655

5 x 10 5 8000 250

6000 200 4000 ) (days) ) ) ∂ e ∂ P 150 ∂ e ∂ e ∂ P ∂ P 2000 P P 0 P 0 100 max( max( −2000 50 −4000 Time of max(

−5 −6000 0 α Am β kp µ π s sA sE σ α Am β µ π sA sE σ α Am β kp µ π s sA sE σ

Figure S13. (Left and center) Maximal sensitivity of HBeAg population on parameters during the first two years. (Right) Time when sensitivity is maximal.

5 x 10 2 1500 250

1.5 1000 200 1 500 ) (days) ) ) ∂ P 0.5 0 ∂ E 150 ∂ P ∂ E ∂ P ∂ E P P 0 P −500 100 max( −0.5 max( −1000

−1 −1500 50 Time of max( −1.5 −2000

−2 −2500 0 α Am β kp µ π s sA sE σ α Am β µ π sA sE σ α Am β kp µ π s sA sE σ

Figure S14. (Left and center) Maximal sensitivity of effector cell population on parameters during the first two years. (Right) Time when sensitivity is maximal.

Heterogeneity in infected and virus populations. Studies have reported different half-lives for the wildtype and mutant virus strains, although the exact values vary. Dandri et al. reported average half-lives of 46 and 2.5 minutes, corresponding to 20-fold higher clearance rate of mutant compared to wildt-ype strains [76]. Ribeiro et al. reported half-lives of 25.2 and 13.1 hours, corresponding to 2-fold increase in clearance of mutant compared to wildtype virus [77]. Moreover, Ribeiro et al., reported shorter half-lives of cells infected by mutant compared to wildtype virus, 12.1 days versus 16 days (a 1.3-fold increase in the clearance rate of Im compared with Iw) [77]. In this study we assumed that both viruses have half-lives of 4 hours, corresponding to the clearance rates cw = cm = 4.2/day and both infected cell types are removed (by the effector cells) at rate µ. To address how differences in the two strains half-lives affect our results, we change their clearance rates as follows: we keep cw = 4.2/day, and assume a 10-fold increase in the mutant clearance, cm = 42/day, corresponding to 24 minutes half- −5 life. Moreover, we keep the killing rate of the cells infected with the wildtype virus at µw = µ = 6×10 −5 and increase µm = 1.3 × µ = 8 × 10 , corresponding to half-lives of 11.5 and 8.7 days under maximal CTL response Em. Lastly, it has been suggested that cells that express mutant virus can lose the ability to express wildtype virus [78]. This can be modeled by assuming that a fraction z of cells infected with the wildtype virus transitions into the population of cells infected with the mutant virus. The system of equations expressing these changes is

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7656

! dT T + Iw + Im = r(T + Iw + Im) 1 − − β(TVw − TVm), dt Tm dI w = βTV − µ I E − zI , dt w w w w dI m = βTV − µ I E + zI , dt m m m w dV w = p (1 − Φ(t))I − c V , dt w w w w dVm = pmIm + pwΦ(t)Iw − cmVm, (S1) dt de = πI − δ e − k Ae + k X, dt w e p m ! dE sE E + α(Iw + Im)E E = 1 − − dE E, dt 1 + σe Em ! dA A = (sAA + seA) 1 − − kpAe + kmX, dt Am dX = k Ae − k X − c X. dt p m X

We solved the model for four parameter combinations: (i) Φ = 0.1, z = 0, cw = cm, µw = µm; (ii) Φ = 0.1, z = 0, cw < cm, µw < µm; (iii) Φ = 0.1, z 6= 0, cw = cm, µw = µm; (iv) Φ = 0.1, z 6= 0, cw < cm, µw < µm. We predict the longest time to HBeAg seroclearance in case (ii), when cells infected by the wildtype keep their ability to produce wildtype virus (z = 0), and the mutant families Vm and Im have faster clearance rates (10 and 1.3-fold increase, respectively) (see Figure S15, solid lines). When a fraction z = 0.01 of cells infected with the wildtype transition into cells producing only mutant virus (cases iii and iv), we obtain faster HBeAg seroclearance times (see Figure S15, dashed and dotted lines). As before, however, increasing the mutant virus and cells infected with mutant virus clearance rates (case iv), decreases the overall HBeAg seroclearance time (see Figure S15, dotted lines). Interestingly, the dynamics of the model now allow for long-term coexistence between the mutant and wildtype virus strains. We next investigate how these results change if we vary Φ and z. We let τsame(z, Φ) be the time to HBeAg seroclearance assuming equal clearance rates for wildtype and mutant populations, τdi f f (z, Φ) be the time to HBeAg seroclearance assuming a 10 and 1.3 fold increased clearance rate of mutant virus and cells infected with the mutant virus, and

Z τ(z,Φ) ! ! Iw(t) Im(t) HL(z, Φ) = µw E(t) + µm E(t) dt /τ(z, Φ), 0 Tm Tm be the average monthly hepatocyte turnover. Here τ is either τsame or τdi f f . Note, that we assume that mutations, transitions, and HBeAb formation all start concomitantly at time t = 0. We find that for all 10−4 < z < 10−1 and 10−2 < Φ < 1, the 10 and 1.3-fold increases in clearance rates of mutant virus and cells infected with mutant virus result in slower HBeAg clearance (τsame(z, Φ) − τdi f f (z, Φ) < 0 in Figure S16, left panel), but decreased monthly hepatocyte turnover (HLsame(z, Φ)− HLdi f f (z, Φ) > 0, in

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7657

Figure S16, right panel). Furthermore, the negative impact that increased mutant clearance rates have on the time to HBeAg seroclearance is most prevalent for intermediate fractions of mutations Φ and intermediate transition rates z (see Figure S15, left panel, blue region).

8 10 6 6 10 10 3 3 7 10 10 10 0 0 10 10 (cells/ml) (cells/ml) w m

T (cells/ml) 6 −3 −3 I 10 10 I 10 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6

9 10 3 6 6 10 10 10 3 3 10 10 1 0 0 10 (virus/ml) (virus/ml) 10 10 e (IU/ml) w −3 m −3 −1 V 10 V 10 10 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6

2.9 0 0 10 10 10

2.4 A (IU/ml) −10 X (IU/ml) −10 E (cells/ml) 10 10 10 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 t (years) t (years) t (years)

Φ ≠ 0, z = 0 , c = c and µ = µ w m w m Φ ≠ 0, z = 0 , c < c and µ < µ w m w m Φ ≠ 0, z ≠ 0 , c =c and µ = µ w m w m Φ ≠ 0, z ≠ 0 , c < c and µ < µ w m w m

Figure S15. Dynamics of system (S1) when a fraction Φ = 0.1 of produced virions has core/precore mutations in the absence of transition from Iw to Im for equal clearance rates of wildtype and mutant virus and wildtye and mutant infected cell (dash-dotted curves), and for increased clearance of mutant virus and mutant infected cells (solid curves); and in the presence of transition from Iw to Im at rate z = 0.01 with equal clearance rates (dashed) curves, and different clearance rates (dotted curves).

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658. 7658

Figure S16. (Left) Heatmap for the difference in times to HBeAg seroclearance if clearance rates for wildtype and mutant populations are the same or if clearance rates for mutant populations are increased (10 fold for virus and 1.3 fold for infected cells), versus the fraction z of infected cells transitioning from Iw into Im and the fraction Φ of virions produced by wildtype infected cells that are mutant. (Right) Heatmap for the difference in monthly hepatocyte turnover under equal clearance rates or increased mutant clearance rates.

c 2019 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)

Mathematical Biosciences and Engineering Volume 16, Issue 6, 7616–7658.