Parasite Drug Resistance Evolution Simulator: Antimicrobial Resistance Dynamics

simulator advanced ~12 min
Loading simulation...
s = +0.375 — resistance reaches 50% frequency in approximately 38 parasite generations

With 50% treatment coverage, 95% drug efficacy, 10% fitness cost, and 1% initial resistance frequency, the net selection coefficient for resistance is +0.375. Resistance rises from 1% to 50% in about 38 generations and eventually reaches an equilibrium near 82%, demonstrating why incomplete treatment coverage accelerates resistance emergence.

Formula

s = treatment_coverage * drug_efficacy - fitness_cost
p(t+1) = p(t) * (1 + s) / (1 + s * p(t))
Equilibrium: p* = (s_drug - cost) / s_drug when s_drug > cost

The Resistance Problem

Drug resistance in parasites is one of the greatest threats to global health. Chloroquine resistance in Plasmodium falciparum spread across Africa in the 1980s-90s, causing millions of additional malaria deaths. Artemisinin resistance has now emerged in Southeast Asia and threatens to reach Africa. Understanding the evolutionary dynamics governing resistance emergence and spread is critical for preserving our limited therapeutic arsenal.

Selection Dynamics

Resistance evolution follows a classic population genetics model. In untreated hosts, sensitive parasites outcompete resistant ones due to the fitness cost of resistance mutations. But in treated hosts, drug-sensitive parasites are eliminated while resistant ones survive. The net selection coefficient depends on the balance between these opposing forces: s = treatment_coverage * drug_efficacy - fitness_cost. When s > 0, resistance increases; when s < 0, it declines.

The Coverage Paradox

Intermediate treatment coverage creates the strongest selection for resistance. Very low coverage exposes few parasites to drugs, creating weak selection. Very high coverage, combined with other interventions, may eliminate the parasite entirely before resistance can spread. But moderate coverage (30-70%) kills sensitive parasites while leaving resistant ones to dominate — the worst of both worlds. This is why the WHO emphasizes either full-course treatment or no treatment, never sub-therapeutic dosing.

Strategies to Slow Resistance

Combination therapy (using two drugs simultaneously) requires the parasite to develop resistance to both drugs independently, dramatically reducing the probability of resistance emergence. Drug cycling (alternating between drugs) exploits fitness costs by alternating selection pressures. The simulator reveals how different strategies affect the trajectory of resistance frequency over time.

FAQ

How does drug resistance evolve in parasites?

Drug resistance evolves through natural selection. Random mutations conferring drug tolerance arise spontaneously. In untreated populations, resistant parasites are less fit due to the fitness cost of resistance. But when drug treatment is widespread, sensitive parasites are eliminated while resistant ones survive and reproduce, driving resistance allele frequency upward.

What is the fitness cost of resistance?

Resistance mutations often impair normal parasite function — for example, pfcrt mutations conferring chloroquine resistance reduce hemoglobin digestion efficiency. This fitness cost means resistant parasites reproduce more slowly than sensitive ones in the absence of drug pressure, creating the possibility of resistance reversal.

Can drug resistance be reversed?

If the fitness cost exceeds the drug selection advantage (achieved by removing drug pressure), sensitive parasites outcompete resistant ones and resistance frequency declines. This has been observed for chloroquine resistance in Malawi after the drug was withdrawn for 12 years.

How does treatment coverage affect resistance evolution?

Higher treatment coverage increases selection pressure for resistance by killing a larger proportion of sensitive parasites. Paradoxically, both very low coverage (insufficient to select for resistance) and very high coverage (eliminating the parasite entirely) may be preferable to intermediate coverage that strongly selects for resistance while maintaining transmission.

Sources

Embed

<iframe src="https://homo-deus.com/lab/parasitology/drug-resistance/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub