Next Article in Journal
Profiling Chromatin Accessibility Responses in Goat Bronchial Epithelial Cells Infected with Pasteurella multocida
Next Article in Special Issue
Viral Vector-Based Gene Therapy
Previous Article in Journal
M3 Receptor Pathway Stimulates Rapid Transcription of the CB1 Receptor Activation through Calcium Signalling and the CNR1 Gene Promoter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantifying In-Host Quasispecies Evolution

by
Josep Gregori
1,*,
Marta Ibañez-Lligoña
1,2,3 and
Josep Quer
1,2,3
1
Liver Diseases-Viral Hepatitis, Liver Unit, Vall d’Hebron Institut de Recerca (VHIR), Vall d’Hebron Barcelona Hospital Campus, Passeig Vall d’Hebron 119-129, 08035 Barcelona, Spain
2
Centro de Investigación Biomédica en Red de Enfermedades Hepáticas y Digestivas (CIBERehd), Instituto de Salud Carlos III, Av. Monforte de Lemos, 3-5, 28029 Madrid, Spain
3
Biochemistry and Molecular Biology Department, Universitat Autònoma de Barcelona (UAB), Campus de la UAB, Plaça Cívica, 08193 Bellaterra, Spain
*
Author to whom correspondence should be addressed.
Int. J. Mol. Sci. 2023, 24(2), 1301; https://doi.org/10.3390/ijms24021301
Submission received: 28 November 2022 / Revised: 4 January 2023 / Accepted: 5 January 2023 / Published: 9 January 2023
(This article belongs to the Special Issue Virus Engineering and Applications)

Abstract

:
What takes decades, centuries or millennia to happen with a natural ecosystem, it takes only days, weeks or months with a replicating viral quasispecies in a host, especially when under treatment. Some methods to quantify the evolution of a quasispecies are introduced and discussed, along with simple simulated examples to help in the interpretation and understanding of the results. The proposed methods treat the molecules in a quasispecies as individuals of competing species in an ecosystem, where the haplotypes are the competing species, and the ecosystem is the quasispecies in a host, and the evolution of the system is quantified by monitoring changes in haplotype frequencies. The correlation between the proposed indices is also discussed, and the R code used to generate the simulations, the data and the plots is provided. The virtues of the proposed indices are finally shown on a clinical case.

1. Introduction

All viruses that pass through an RNA replication phase are found in what is known as a quasispecies. That is, a set of closely related genomes that may exhibit a huge number of variants but keeping a high degree of similarity among them in a host. These variants are produced during the replication by the RNA-dependent RNA polymerases, which are error prone and lack the mechanism of error correction typical in most DNA polymerases [1].
Quasispecies are dynamical entities subject to evolution, generating new variants at each replication cycle, while losing the less fit and those unable to replicate. A quasispecies at a given time point may be described in molecular terms by the existing different genomes (haplotypes) and their frequencies (the number or fraction of molecules with the same sequence), the haplotype distribution. That is, a multinomial distribution where each category corresponds to a different haplotype. The evolution of this dynamic entity may then be represented by the changes observed in this distribution, as new categories appear and others disappear, and as their frequencies vary.
The extent of changes of a quasispecies in a host, between two time points, may be quantified by the genetic distance between the two viral populations [2], by the changes in quasispecies diversity indices [3], and by the distance or dissimilarity between the two haplotype distributions [4]. In this report, we discuss three selected indices used to compute the similarity between two haplotype distributions and their implications. With quasispecies simulated data, we show their particularities and correlations, and use plots to help in the interpretation of results. Finally a clinical HEV dataset, from a recent publication, is used to illustrate the practical use of these indices. They are particularly useful in the clinical follow up of a patient, where the compared quasispecies are highly related, and where the genetic distance between them may not suffice to describe the observed changes.
In the context of NGS, we denote each distinct genome as an haplotype, and each molecule sampled as a read. We shall be using this terminology throughout the paper.

2. Results

2.1. Simulated Pairs of Quasispecies

To quantify the extend of changes in a quasispecies, we compare the quasispecies composition at two time points. The pairs of quasispecies used to illustrate the results and discussion are obtained by a simple simulation with a limited number of haplotypes whose frequencies vary randomly within given constraints, and where a random number of these haplotypes are common to both quasispecies. The simulation aims to obtain closely related quasispecies as we could find, a few weeks or months apart, in a host. We simulate 10,000 pairs of related quasispecies, computing their similarity, and genetic distance. The simulated pairs are illustrated in the form of a table and a figure, confronting the haplotype distributions in both quasispecies, as in Table 1 and Figure 1.
The index of Commons, C m (Equation (1)), is strongly indicative of quasispecies relatedness. When the two quasispecies have all their haplotypes identical, this index results in a value of 1, even when the proportions are highly dissimilar. On the other hand the Overlap index, O v (Equation (2)), may result in low values even when all haplotypes of both quasispecies are identical. Finally, the Yue–Clayton index, Y C (Equation (3)), results in high values when the fraction of common haplotypes is high, and their proportions are similar. The overlap between distributions is better illustrated with a plot like Supplementary Figure S1.
A summary of the values of similarity indices obtained from the simulated quasispecies pairs is given in Table 2, along with the number of pairs resulting in a similarity value over 0.5, 0.75 and 0.9. The histograms for the three indices are given in Supplementary Figure S2. On the other hand, Table 3 and Figure 2 show the distribution of the three indices for the 2698 simulated pairs resulting in C m values over 0.75, that is, highly related. The histograms for the corresponding nucleotide diversities and genetic distances (Equations (4)–(7)) are given in Supplementary Figure S3.

2.1.1. Correlations

The eventual redundancy in the information provided by these indices, and by the genetic distance, may be assessed by inspecting the correlation coefficient between them, taking the 10,000 simulated values, as in Table 4.
These correlations may be further illustrated by the joint density plots in Figure 3, Figure 4, Figure 5 and Figure 6, from which result the following observations:
  • C m and O v : At high O v values only high values of C m may occur, on the other hand at very low O v values almost all C m values are possible. This is consistent with the definition of both indices.
  • Y C and O v : are highly correlated and seemingly do not convey significant additional information.
  • C m and D A : At low C m values, D A takes high values, but at high C m values, D A spans the highest range of values. The lower D A values correspond to high values of C m .
  • O v and D A : At high O v values, D A takes the lower values, but at low O v values, D A spans a high range of values.
The information provided by C m , O v , and D A complement each other and offer different faces of the same comparison. C m expresses how related the two quasispecies are, in the sense of having common haplotypes, even if the frequencies are different. O v expresses how similar both distributions are, both in haplotypes and frequencies. Additionally, D A provides the net genetic distance between the two quasispecies, taken as populations of viruses.

2.1.2. Illustration of Selected Pairs

From the set of simulated pairs, a few are selected attending to the values of the three indices, to help in the understanding and interpretation of these indices, and are plotted in Supplementary Figures S6–S14. Table 5 shows a summary of these examples.
To improve the visualization of haplotypes unique to either quasispecies, the proportions of both quasispecies are sorted according to the order in decreasing value of the proportions of the quasispecies A. The haplotypes unique to quasispecies B will be placed on the right of the plot, or the bottom of the table.
These selected pairs are shown on the joint density plots of C m and D A in Supplementary Figure S4, and C m and O v in Supplementary Figure S5, in order to illustrate their position with respect to the bulk of the simulation.
Supplementary Figures S6 and S7 show two typical examples with high values in the three indices.
Supplementary Figures S8 and S9 show two examples with high C m but very low O v and Y C values. This situation arises when there is a number of common haplotypes with mid to high proportions in one quasispecies and very low in the second.
Supplementary Figures S10 and S11 show intermediate cases with C m below 0.70, and feeble values of O v and Y C .
Finally, Supplementary Figures S12–S14 show cases with higher values of O v and Y C .

2.2. Simulated Treatment

As described under methods, the evolution of a quasispecies with a shrinking dominant haplotype, an emerging haplotype, and a set of minority haplotypes subject to quasispecies dynamics was simulated. The result is represented in Figure 7, where the evolution in the frequencies of each of the 40 haplotypes is shown at each of the simulated evolution steps, with the corresponding dominant haplotype labelled with a + sign.
The fitness partition (QFP) analysis applied to the simulated samples in the follow-up example (Figure 8) show the four fitness fractions (QFF) in the form of a shrinking dominant haplotype in parallel with an increasing volume of molecules belonging to emergent haplotypes as a side effect of a treatment, generating resistant variants. This figure constitutes a summary of the full quasispecies distributions illustrated in Figure 7.
The similarity indices discussed above ( C m Equation (1), O v Equation (2), and Y C Equation (3)), take values from 0 to 1, and may be easily transformed into distances by the rule D i s t a n c e = 1 S i m i l a r i t y . Figure 9 illustrates the matrix of Yue-Clayton distances for the simulated treatment.
These distances may then be used to construct quasispecies dendrograms, or transformed by multidimensional scaling (MDS) to plot maps showing the relationships between the quasispecies. D A genetic distances (Equation (7)) may be used in the same way to get dendrograms or MDS maps, as shown in Supplementary Figures S15–S18.
Note that by the very definition of the simulation used in the follow-up example, all quasispecies pairs show a C m similarity index of 1, as all samples in the series share the same 40 haplotypes, although at varying frequencies. In real cases both the C m , the O v or the Y c , and the D A will be informative about the quasispecies evolution, showing different aspects about the changes produced. Additionally, the QFF contributes an interesting summary of quasispecies evolution.

2.3. A Clinical Case

This is the clinical follow-up of a patient chronically infected by HEV who underwent an off-label treatment with Ribavirin for three years [5]. The treatment involved three regimens (600, 800, and 1000 mg/day) with discontinuations caused by adverse effects, followed by relapses.
This dataset is of particular interest here, because it involves the follow-up of a patient infected by a zoonotic virus, HEV, treated with a mutagenic agent, with the follow-up spanning over three years of treatment. In this case, the naturally high genetic diversity of HEV quasispecies is enhanced by the treatment with a mutagen.
The behavior of the three indices, in this case, is illustrated in Figure 10, where the similarities between each pair of sequential samples is shown, comparing sequential haplotype distributions on the left, and corresponding phenotype distributions on the right. The impact of the mutagenic treatment is evidenced by the sequential decrease in C m , whose behavior is smoother than that of O v or Y C . The continued decrease in C m value indicates that the proportion of molecules with sequences corresponding to haplotypes common to the two compared quasispecies is shrinking, consistent with the expected results of a mutagenic treatment, which generates new variants at an enhanced rate. The new variants will increase in abundance or fade according to their replicative fitness. The drop in C m is especially marked when each treatment is initiated, especially those at 800 and 1000 mg/day, but these are followed by a small correction upwards. On the other hand, despite the radical changes observed in the haplotype composition, the analysis by phenotype composition shows that the functionality was maintained over a significant period of time, thanks to the generation of a rich set synonymous variants, and until the 800 mg/day regimen took effect. The changes observed in phenotype composition near the end of treatment, together with the observed increase in viral load may indicate that, either some resistance to the treatment was generated, or that the rich set of synonymous haplotypes generated and selected during the treatments contributed to generate a more resilient quasispecies [6]. The similarity in the phenotype distribution between the end-of-treatment sample and that taken one year after is very high. This figure also shows that the indices O v and Y C are highly correlated, as previously shown with the simulated data. The C m and O v similarities in this dataset are plotted in Figure 11 over the 2D-density of the simulated data to show the correspondence between this clinical case and the simulated data.
The QFF profile of haplotypes and phenotypes of this case was presented and analyzed in the previous publication [5], and provides an interesting complementary and consistent view of this quasispecies evolution.

3. Discussion

The proposed methods are intended to be used in the analysis of changes occurred in a in-host quasispecies along time, as a consequence of the host immune system or of an external action, like a treatment. The quasispecies are treated as entities (closed ecosystems or genetic populations), where the respective distribution of molecules are compared, in contrast with the more widespread comparison of summary values such as diversity indices (i.e., Shannon entropy), or of genetic diversification (i.e., nucleotide diversity) [3].
In a recent paper [5], we introduced the Quasispecies Fitness Partition (QFP) in four fractions (QFF), also described under methods, and we recommended its use together with the Hill Numbers Profile (HNP) to visualize the evolution of a quasispecies. Those methods were used in a deep exploration of a clinical case of an HEV infection treated with ribavirin. As part of the discussion, we proposed the use of distances between haplotype distributions as an alternative or complement to the use of genetic distances between quasispecies. This paper comes to explore three selected indices of similarity between haplotype distributions, from which the corresponding distances may be obtained.
Here, we have used simulated data aimed only at producing closely related quasispecies, similar to what could be observed in the follow-up of a single patient, with enough simplicity to be tabulated and plotted. However, to put in clinical context the methods here described, we have added the data of a clinical follow-up of an HEV chronically infected patient treated with a mutagen, spanning three years of observation, and different treatment regimens. Since HEV is an RNA virus having very high mutation rates, on the range of 10 3 to 10 4 substitutions/base/replication cycle [7], similar to other highly clinical relevant viruses such as HCV or HIV, the tools presented can be extrapolated to the vast majority if not all RNA viral infections.
The simulation of a substantial number of paired quasispecies allowed us to illustrate particular cases of interest, contributing to the interpretation of results, and also to estimate the correlations between the three indices ( C M , O v and Y C ), and with the quasispecies genetic distance, D A . The correlation values show the pairs O v and Y C , O v and D A , and Y C and D A as highly correlated, with C m the most independent of the others. Despite this high correlation we recommend the use of three distances, C m , O v or Y C , and D A . Nevertheless for distant quasispecies the four distances will contribute valuable information.
The use of these distances is shown with the simulated data of a quasispecies treatment (Figure 7), the changes experienced by the quasispecies with samples taken at given evolutionary steps are summarized in the QFF plot, Figure 8. The relationship between the quasispecies is shown in the form of a matrix of Y C distances, Figure 9, from which we obtain a dendrogram by hierarchical clustering with the average method, Supplementary Figure S15, or a MDS map, Supplementary Figure S17. Using D A distances we may obtain an alternative dendrogram, Supplementary Figure S16, or an alternative MDS plot, Supplementary Figure S18.
A key point with all these methods is the availability of quasispecies haplotypes with corresponding frequencies. The classical and more widespread NGS data analysis procedures for viruses, like Galaxy [8], i.e., limit sequencing errors by trimming the reads at their ends, where the quality is poorer, by a number of nucleotides, attending to instrument quality scores, using different algorithms. As a result of this trimming the coverages are uneven, even within the same amplicon, which prevents the direct obtention of amplicon haplotypes. In [5,9], for instance, we describe the method used by our group to obtain high quality amplicon haplotypes in sequencing viral quasispecies samples. It is simply based on respecting the integrity of full reads, with no trimming, except for the primers. The quality filters are executed on full reads. This requires high sequencing quality and very high coverage to get a comprehensive picture of an infection that may involve viral loads higher than 10 6 copies/mL of blood. Currently we are only able to obtain high quality amplicon haplotypes of a size slightly over 500 bp, with coverages of the order of 10 5 reads per amplicon, sequencing with Illumina instruments. Despite this limitation, quasispecies genomes may be studied amplicon by amplicon. On the other hand, when the monitored treatment is by a direct acting agent that targets a specific region of the genome a single amplicon may suffice [9]. There are a number of inferential methods for reconstructing full viral haplotypes from short reads, but they have limitations, require of special computational resources for high coverages, and perform poorly with samples of high genetic diversity, according to a recent review evaluation of them [10].
The clinical case presented has given the opportunity to show a practical application of the proposed methods. This dataset with thousands of haplotypes in each sample, and coverages in the range of 5 ×   10 4 to 5 ×   10 5 reads, shows a correlation between the three indices consistent with what has been observed with the more modest simulated pairs of quasispecies entailing very few haplotypes; nevertheless, a critical aspect in the simulations was to ensure a close relationship between pairs of quasispecies, as it is the case in the follow-up of a patient, the main objective of this work.
The advantage of the described methods is that they provide rich summaries and visual tools to monitor the changes occurring in a viral quasispecies at the molecular level, with time. This facilitates the interpretation of the biological changes in the quasispecies, and also provides a means to diagnose possible outcomes of a treatment when monitoring a patient, as seen with the discussed HEV clinical case.
In the case of mutagenic treatments, we recommend this method, combined with the method of quasispecies fitness fractions (QFF), and the Hill numbers profile (HNP) [5]. When the quasispecies evolution rate is low compared to mutagenic scenarios, the QFF may result as insufficient to evidence changes in the quasispecies, and the proposed indices could be more sensitive to changes.

4. Materials and Methods

4.1. Data

4.1.1. Simulation of Paired Quasispecies

To quantify the extent of changes (evolution) of a quasispecies, we compare the quasispecies composition at two time points. The paired quasispecies needed to illustrate the results and discussion are obtained by simulation as described in the following method:
  • Distribution pattern: 20,000 random occurrences of a geometric distribution, with parameter p = 0.2 , are generated, simulating 20,000 reads of over 35 haplotypes. The frequencies of this distribution are used as pattern distribution on which to apply random selection criteria of frequencies.
  • Select frequencies for quasispecies A: From the above pattern distribution, 12 frequencies are randomly selected to represent the composition of quasispecies A.
  • Select frequencies for quasispecies B: From a new pattern distribution generated with the same parameters as above, randomly select 12 frequencies to represent the composition of quasispecies B.
  • Confront both simulated quasispecies: The two quasispecies are composed together of 20 haplotypes, some common to both quasispecies, some unique to either one. Assign randomly the 12 frequencies of quasispecies A among the 20, and do the same with the 12 frequencies of quasispecies B. Remove from the 20 any haplotype not populated (0 reads in both quasispecies).
A single cycle of this simulation results in the distributions of two paired quasispecies, which are given as shown in Table 1, and may be represented, confronting both distributions, as in Figure 1. The chosen numbers of reads and haplotypes in the simulation are arbitrary, a simplification of real life cases, but complex enough to compose a quasispecies.
The simulated pairs of quasispecies are related because of the result of a random selection of 12 haplotypes each from a common source of 20. On the other hand, the random selection of frequencies results in varying proportions for each haplotype and varying coverages (total number of reads) for each quasispecies. In this way, in each pair, we consider quasispecies B as the result of an evolution from quasispecies A.
The R code is provided in the Supplementary Materials.

4.1.2. Simulation of a Viral Treatment Follow-Up

The previous simulation aimed to generate pairs of quasispecies, more or less distant, as a result of certain evolution from the first to the second, and it was intended to help in the understanding and interpretation of the similarity indices and the correlations between them.
A second simulated dataset aims to generate a sequence of quasispecies that could be the result of an external treatment which generates resistant variants as a side effect. The quasispecies will consist of 40 haplotypes of three types:
  • The dominant haplotype, initially at a frequency of 99.9% evolving at a pace of a constant uniformly distributed between 0.85 and 1.05, at each evolution step.
  • A minoritary haplotype initially at (0.1/39)%, and evolving at a pace of a constant uniformly distributed between 0.95 and 1.25, at each evolution step.
  • The remaining 38 haplotypes, initially at (0.1/39)%, and evolving at a pace of a constant uniformly distribution between 0.8 and 2.5. Only a random number of these, between 2 and 10, are submitted to evolution at each step. The remaining are left as they were.
In this way, samples are sequentially generated at evolution steps 10, 20, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, and 80. The resulting haplotype distributions are plotted in Figure 7.
The R code is provided in the Supplementary Materials.

4.1.3. A Clinical HEV Case

This dataset is taken from a recent publication [5], which shows the negative effects of early treatment discontinuation by a mutagenic agent of an HEV chronically infected patient. This dataset is used to show an example of application of the proposed method to a practical case. Briefly, this is the clinical follow-up case of a 27-year-old patient who acquired chronic HEV infection after undergoing two kidney transplantations. The patient received three different RBV regimens (600 mg/day, 800 mg/day, and 1000 mg/day) with discontinuations caused by adverse effects, followed by relapses.
A single amplicon covering genomic positions 6323 to 6734 on the HEV ORF2 region was sequenced, for each of 13 sequential samples taken from May 2018 to June 2021. The coverage range of the final dataset is 53,307–503,770 reads, with a median of 328,271 reads per sample/amplicon, covering the full amplicon, and enabling the obtainment of amplicon haplotypes and corresponding frequencies. The number of haplotypes per sample are in the range 1688–7881, with a median number of 5602.

4.2. Methods

4.2.1. Similarity between Distributions

The similarity between two distributions may be quantified by a rich set of different indices [4]. In this report, we use three of them:
  • Commons: As the fraction of reads belonging to haplotypes populated in both quasispecies.
    C m = 1 2 i ( p i + q i ) I ( p i > 0 q i > 0 )
  • Overlap: As the sum of the minimum proportion of common haplotypes.
    O v = i m i n ( p i , q i )
  • Yue–Clayton: This index takes fuller account of all proportion information, considering the proportions of both common and unique haplotypes. [11]
    Y C = i p i q i i p i 2 + i q i 2 i p i q i
The three indices vary from 0 (no similitude) to 1 (equal quasispecies). The disimilarity, or distance, between two distributions may be computed as 1 minus the similarity index.

4.2.2. Genetic Distance between Quasispecies

The nucleotide distance between two quasispecies [2], X and Y, may be estimated by:
D X Y = i X j Y p i d i j q j
where p i and q j are the proportion of the i-th haplotype in quasispecies X, and that of the j-th haplotype in quasispecies Y, and d i j is the genetic distance between both haplotypes. The sum extends over all haplotypes in both quasispecies. This distance is interpreted as the average number of nucleotide substitutions between the reads from quasispecies X and quasispecies Y.
Taking into account the nucleotide diversity of each quasispecies [2], that is the average number of nucleotide substitutions for a random pair of reads in the quasispecies, D X and D Y , which may be estimated by:
D X = N X N X 1 i X j X p i d i j p j
D Y = N Y N Y 1 i Y j Y q i d i j q j
where N X and N Y are the number of reads in each quasispecies, then the net nucleotide substitutions between the two quasispecies [2] is estimated by:
D A = D X Y ( D X + D Y ) / 2
D A will be taken as the genetic distance between two quasispecies.
The quasispecies pairs are simulated in a way that all haplotypes are considered to have a single substitution with respect to the master haplotype in the first quasispecies. In this way, the matrix of distances between all pairs of haplotypes in both quasispecies has the form:
D : d i j = 0 , i = j d i j = 1 , i = 1 a n d j > 1 d i j = 1 , j = 1 a n d i > 1 d i j = 2 o t h e r w i s e

4.2.3. Quasispecies Fitness Partition (QFP)

A quasispecies, at a given time, understood as a viral population, is usually comprised of a predominant haplotype, a few low- to medium-frequency genomes, various rare haplotypes with very low fitness but still able to replicate at some level, and some defective genomes unable to replicate. This composition can be modeled using the set of frequencies of all haplotypes in the quasispecies as parameters of a multinomial distribution, Π = { p 1 , p 2 , . . . , p n } with i = 1 n p i = 1 . Where p i is the frequency in the quasispecies of the i-th haplotype. The parameters, p i , are sorted in decreasing order without a loss of generality.
In this way, the quasispecies can be partitioned into fractions limited by frequency thresholds of interest [5], as in is Equation (9), where a partition into four fractions (QFF) is illustrated, and where, p 1 , p 2 , p 3 and p 4 represent the four fractions.
Π 1 = { p 1 , p 2 , . . . , p k } , p i : p i p k Π 2 = { p k + 1 , p k + 2 , . . . , p l } , p i : p l p i < p k Π 3 = { p l + 1 , p l + 2 , . . . , p m } , p i : p m p i < p l Π 4 = { p m + 1 , p m + 2 , . . . , p n } , p i : p n p i < p m
p 1 = i = 1 k p i ; p 2 = i = k + 1 l p i ; p 3 = i = l + 1 m p i ; p 4 = i = m + 1 n p i
Π = { p 1 , p 2 , p 3 , p 4 }
In the typical quasispecies structure mentioned above, the four fractions can be defined as follows:
  • Master: the fraction of molecules belonging to the most frequent haplotype; that is, the one present at the highest percentage ( p 1 = p 1 ).
  • Emerging: the fraction of molecules present at a frequency greater then 1 % and less than the master percentage, belonging to haplotypes that are potentially able to compete with the predominant one and possibly replace it ( p 2 ).
  • Low fitness: the fraction of molecules present at frequencies from 0.1 % to 1 % , belonging to haplotypes that have a low probability of progressing to higher frequencies ( p 3 ).
  • Very low fitness: the fraction of molecules present at frequencies below 0.1 % , belonging to haplotypes with very low fitness and to defective genomes. The likely fate of these molecules individually is degradation, but the fraction is continuously fed with new very low fitness genomes produced by replication errors or by host editing activities ( p 4 ).
This partition represents a summarization of the full haplotype distribution, where changes in each fraction have a straightforward biological meaning, and allow for the interpretation of the effects caused by the current environment, or by the administration of an external agent.

4.3. Software and Statistics

All computations were done in R (v4.0.3) [12], using packages ape [13], tidyverse [14], and ggplot2 [15]. The full code of the simulations and computations is provided in the Supplementary Materials. The session info follows:
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)
Matrix products: default
Random number generation:
 RNG:     Mersenne-Twister
 Normal:  Inversion
 Sample:  Rounding
locale:
[1] LC_COLLATE=Catalan_Spain.1252  LC_CTYPE=Catalan_Spain.1252
[3] LC_MONETARY=Catalan_Spain.1252 LC_NUMERIC=C
[5] LC_TIME=Catalan_Spain.1252
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] forcats_0.5.1   stringr_1.4.0   dplyr_1.0.7     purrr_0.3.4
[5] readr_2.0.0     tidyr_1.1.3     tibble_3.1.3    ggplot2_3.3.5
[9] tidyverse_1.3.1
loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7       cellranger_1.1.0 pillar_1.6.2     compiler_4.0.2
 [5] dbplyr_2.1.1     tools_4.0.2      digest_0.6.27    jsonlite_1.7.2
 [9] lubridate_1.7.10 lifecycle_1.0.0  gtable_0.3.0     pkgconfig_2.0.3
[13] rlang_0.4.11     reprex_2.0.1     cli_3.0.1        rstudioapi_0.13
[17] DBI_1.1.1        haven_2.4.3      xml2_1.3.2       withr_2.4.2
[21] httr_1.4.2       fs_1.5.0         generics_0.1.0   vctrs_0.3.8
[25] hms_1.1.0        grid_4.0.2       tidyselect_1.1.1 glue_1.4.2
[29] R6_2.5.0         fansi_0.5.0      readxl_1.3.1     farver_2.1.0
[33] tzdb_0.1.2       modelr_0.1.8     magrittr_2.0.1   backports_1.2.1
[37] scales_1.1.1     ellipsis_0.3.2   rvest_1.0.1      assertthat_0.2.1
[41] colorspace_2.0-2 labeling_0.4.2   utf8_1.2.2       stringi_1.7.3
[45] munsell_0.5.0    broom_0.7.9      crayon_1.4.1

Supplementary Materials

The following supporting information can be downloaded from https://www.mdpi.com/article/10.3390/ijms24021301/s1.

Author Contributions

Conceptualization, J.G. and J.Q.; methodology, J.G. and M.I.-L.; software, J.G. and M.I.-L.; formal analysis, J.G.; investigation, M.I.-L.; resources, J.Q.; writing—original draft preparation, J.G.; writing—review and editing, J.G. and J.Q.; visualization, J.G. and M.I.-L.; validation, J.G.; supervision, J.G. and J.Q.; funding acquisition, J.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This study was partially supported by Pla Estratègic de Recerca i Innovació en Salut (PERIS)—Direcció General de Recerca i Innovació en Salut (DGRIS), Catalan Health Ministry, Generalitat de Catalunya; the Spanish Network for the Research in Infectious Diseases (REIPI RD16/0016/0003) from the European Regional Development Fund (ERDF); Centro para el Desarrollo Tecnológico Industrial (CDTI) from the Spanish Ministry of Economy and Business, grant number IDI-20200297; grant PI19/00301 and PI22/00258 from Instituto de Salud Carlos III cofinanced by the European Regional Development Fund (ERDF), and Gilead’s biomedical research project GLD21/00006.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The R code used to generate the simulated data, and used in the computations is provided in the Supplementary Materials.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
HNPHill Numbers Profile
MDSMultidimensional scaling
NGSNext Generation Sequencing
QFFQuasispecies fitness fractions
QFPQuasispecies fitness partition
RHLRare haplotype Load

References

  1. Domingo, E.; Parrish, C.R.; Holland, J.J. (Eds.) Origin and Evolution of Viruses, 2nd ed.; Academic Press, Elsevier: London, UK, 2008. [Google Scholar]
  2. Nei, M. Molecular Evolutionary Genetics, 1st ed.; Columbia University Press: New York, NY, USA, 1987; pp. 276–279. [Google Scholar]
  3. Gregori, J.; Perales, C.; Rodriguez-Frias, F.; Esteban, J.I.; Quer, J.; Domingo, E. Viral Quasispecies Complexity Measures. Virology 2016, 493, 227–237. [Google Scholar] [CrossRef] [PubMed]
  4. Cha, S.-H. Comprehensive Survey on Distance/Similarity Measures between Probability Density Functions. Int. J. Math. Model. Methods Appl. Sci. 2007, 1, 300–307. [Google Scholar]
  5. Gregori, J.; Colomer-Castell, S.; Campos, C.; Ibañez-Lligoña, M.; Garcia-Cehic, D.; Rando-Segura, A.; Adombie, C.M.; Pintó, R.; Guix, S.; Bosch, A.; et al. Quasispecies fitness partition to characterize the molecular status of a viral population. Negative effect of early ribavirin discontinuation in a chronically infected HEV patient. Int. J. Mol. Sci. 2022, 23, 14654. [Google Scholar] [CrossRef] [PubMed]
  6. Gallego, I.; Gregori, J.; Soria, M.E.; García-Crespo, C.; García-Álvarez, M.; Gómez-González, A.; Valiergue, R.; Gómez, J.; Esteban, J.I.; Quer, J.; et al. Resistance of high fitness hepatitis C virus to lethal mutagenesis. Virology 2018, 523, 100–109. [Google Scholar] [CrossRef] [PubMed]
  7. Domingo, E. Virus as Populations: Composition, Complexity, Dynamics, and Biological. In Virus as Populations, 1st ed.; Academic Press, Elsevier: London, UK, 2016; pp. 1–412. [Google Scholar]
  8. Galaxy Community Hub. Available online: https://galaxyproject.org/ (accessed on 7 January 2023).
  9. Soria, M.E.; Gregori, J.; Chen, Q.; García-Cehic, D.; Llorens, M.; de Ávila, A.I.; Beach, N.M.; Domingo, E.; Rodríguez-Frías, F.; Buti, M.; et al. Pipeline for specific subtype amplification and drug resistance detection in hepatitis C virus. BMC Infect. Dis. 2018, 18, 446. [Google Scholar] [CrossRef] [PubMed]
  10. Eliseev, A.; Gibson, K.M.; Avdeyev, P.; Novik, D.; Bendall, M.L.; Pérez-Losada, M.; Alexeev, N.; Crandall, K.A. Evaluation of haplotype callers for next-generation sequencing of viruses. Infect. Genet. Evol. 2020, 82, 104277. [Google Scholar] [CrossRef] [PubMed]
  11. Yue, J.C.; Clayton, M.K. A Similarity Measure Based on Species Proportions. Commun. Stat. Theory Methods 2005, 34, 2123–2131. [Google Scholar] [CrossRef] [Green Version]
  12. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2020; Available online: https://www.R-project.org/ (accessed on 7 January 2023).
  13. Paradis, E.; Schliep, K. ape 5.0: An environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics 2019, 854, 526–528. [Google Scholar] [CrossRef] [PubMed]
  14. Wickham, H. Welcome to Master the Tidyverse. J. Open Source Softw. 2019, 4, 1686. [Google Scholar] [CrossRef] [Green Version]
  15. Wickham, H. ggplot2: Elegant Graphics for Data Analysis; Springer: New York, NY, USA, 2016; Available online: https://ggplot2.tidyverse.org (accessed on 7 January 2023).
Figure 1. Montserrat plot with paired haplotype distribution.
Figure 1. Montserrat plot with paired haplotype distribution.
Ijms 24 01301 g001
Figure 2. Boxplots with the distributions of the three indices, for all simulated pairs which result in values of C m over 0.75.
Figure 2. Boxplots with the distributions of the three indices, for all simulated pairs which result in values of C m over 0.75.
Ijms 24 01301 g002
Figure 3. Joint density of C m and O v .
Figure 3. Joint density of C m and O v .
Ijms 24 01301 g003
Figure 4. Joint density of Y C and O v .
Figure 4. Joint density of Y C and O v .
Ijms 24 01301 g004
Figure 5. Joint density of C m and D A .
Figure 5. Joint density of C m and D A .
Ijms 24 01301 g005
Figure 6. Joint density of O v and D A .
Figure 6. Joint density of O v and D A .
Ijms 24 01301 g006
Figure 7. Haplotype distributions in the simulated follow-up example. The dominant haplotype at each step is labeled with a + sign.
Figure 7. Haplotype distributions in the simulated follow-up example. The dominant haplotype at each step is labeled with a + sign.
Ijms 24 01301 g007
Figure 8. Quasispecies fitness partition of the simulated follow-up.
Figure 8. Quasispecies fitness partition of the simulated follow-up.
Ijms 24 01301 g008
Figure 9. Matrix of Yue–Clayton distances between quasispecies haplotype distributions.
Figure 9. Matrix of Yue–Clayton distances between quasispecies haplotype distributions.
Ijms 24 01301 g009
Figure 10. Distribution similarities in the composition of pairs of sequential samples in the HEV clinical case. (A) Haplotypes. (B) Phenotypes. Each point is the result of the comparison of two sequential samples, and is depicted in between the two compared samples. The segments above the figures show the time spanned by each treatment. Each sample is labeled as days since diagnosis. (VL viral load in logarithms, RBV ribavirin, cm C m , ov O v , yc Y C ).
Figure 10. Distribution similarities in the composition of pairs of sequential samples in the HEV clinical case. (A) Haplotypes. (B) Phenotypes. Each point is the result of the comparison of two sequential samples, and is depicted in between the two compared samples. The segments above the figures show the time spanned by each treatment. Each sample is labeled as days since diagnosis. (VL viral load in logarithms, RBV ribavirin, cm C m , ov O v , yc Y C ).
Ijms 24 01301 g010
Figure 11. Observed similarities in the HEV clinical case plotted over the 2D-density of the simulated data. Similarities in haplotype distribution between pairs of sequential samples are labeled with numbers in increasing order, similarities in phenotype distribution are labeled with alphabetically ordered capital letters. The points on the top-right show high similarity by both indices.
Figure 11. Observed similarities in the HEV clinical case plotted over the 2D-density of the simulated data. Similarities in haplotype distribution between pairs of sequential samples are labeled with numbers in increasing order, similarities in phenotype distribution are labeled with alphabetically ordered capital letters. The points on the top-right show high similarity by both indices.
Ijms 24 01301 g011
Table 1. Two closely related quasispecies. H p l haplotype ID, n A reads in quasispecies A, n B reads in quasispecies B, p A and p B corresponding frequencies (%).
Table 1. Two closely related quasispecies. H p l haplotype ID, n A reads in quasispecies A, n B reads in quasispecies B, p A and p B corresponding frequencies (%).
H p l n A n B p A p A
A2000140050.0638.36
B60080015.0221.92
C40031010.018.49
D10002.50
E07001.92
F03000.82
G1500.380
H60075015.0220.55
I2002205.016.03
J5001.250
K07001.92
L3000.750
Table 2. Summary of similarity values between pairs of quasispecies.
Table 2. Summary of similarity values between pairs of quasispecies.
O v C m Y C
Min.0.000700.010750.00000
1stQ0.042370.461390.00994
Median0.100810.611890.03628
Mean0.145440.604120.09800
3rdQ0.209820.761870.12192
Max.0.840551.000000.97111
Over 0.502456944336
Over 0.7510269862
Over 0.90069212
Table 3. Summary of similarity values with a C m over 0.75.
Table 3. Summary of similarity values with a C m over 0.75.
O v C m Y C
Min.0.00340.75000.0005
1stQ0.08860.79230.0336
Median0.18910.83950.1049
Mean0.22890.85010.1863
3rdQ0.33950.90220.2737
Max.0.84051.00000.9711
Table 4. Correlation between similarity indices and with genetic distance.
Table 4. Correlation between similarity indices and with genetic distance.
C m O v Y C D A
C m 1.00000.46160.4256−0.3442
O v 0.46161.00000.9372−0.7961
Y C 0.42560.93721.0000−0.8011
D A −0.3442−0.7961−0.80111.0000
Table 5. Summary of selected examples. I d x index of the simulated quasispecies pair, n H p l number of total haplotypes in the pair, n C m number of haplotypes in common, C m , O v , and Y C similarity indices, D A genetic distance.
Table 5. Summary of selected examples. I d x index of the simulated quasispecies pair, n H p l number of total haplotypes in the pair, n C m number of haplotypes in common, C m , O v , and Y C similarity indices, D A genetic distance.
I d x n H p l n C m C m O v Y C D A Suppl. Figure
42131680.94200.74770.89000.0180S6
74261590.98990.72320.83100.0711S7
7741770.86110.01370.00710.7719S8
54631860.85210.00930.00390.6835S9
30531770.57410.22500.17890.4961S10
59551770.63120.11490.04170.5403S11
11591860.79830.56910.64540.1483S12
25281860.79460.65030.80520.0743S13
3451680.73080.48230.66680.1199S14
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gregori, J.; Ibañez-Lligoña, M.; Quer, J. Quantifying In-Host Quasispecies Evolution. Int. J. Mol. Sci. 2023, 24, 1301. https://doi.org/10.3390/ijms24021301

AMA Style

Gregori J, Ibañez-Lligoña M, Quer J. Quantifying In-Host Quasispecies Evolution. International Journal of Molecular Sciences. 2023; 24(2):1301. https://doi.org/10.3390/ijms24021301

Chicago/Turabian Style

Gregori, Josep, Marta Ibañez-Lligoña, and Josep Quer. 2023. "Quantifying In-Host Quasispecies Evolution" International Journal of Molecular Sciences 24, no. 2: 1301. https://doi.org/10.3390/ijms24021301

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop