> ## Documentation Index
> Fetch the complete documentation index at: https://pandemic-prep-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Welcome to the Evolutionary Diagnostic Pipeline for Pandemic Preparedness. Design mutation-resistant assays using molecular evolution data.

# Introduction

Welcome to the **Evolutionary Diagnostic Pipeline for Pandemic Preparedness** documentation. This pipeline identifies, grades, and validates robust molecular diagnostic targets (primers and probes) for emerging pathogens.

By integrating **historical sequence conservation** with **evolutionary selection pressure models**, the pipeline designs assays that are highly resistant to future viral mutations, preventing diagnostic escape.

```mermaid theme={null}
flowchart TD
    subgraph TrackA ["Track A: Historical Frequencies"]
        A1[Sequence Alignment] --> A2[Shannon Entropy Scan]
    end
    
    subgraph TrackB ["Track B: Evolutionary Pressure"]
        B1[Phylogenetic Tree] --> B2[FUBAR Purifying Selection]
        B1 --> B3[MEME Episodic Hotspots]
    end
    
    A2 --> C[Bridge Builder Engine]
    B2 --> C
    B3 --> C
    C --> D[Thermodynamic Design]
    D --> E[In-Silico PCR Verification]
```

***

## Strategic Collaboration

This project is part of a national genomic surveillance and pandemic preparedness research initiative funded and led by:

* **National Research and Innovation Agency (BRIN)**, through the **Biomedical Research Center (PR Biomedis)**.
* **Universitas Gadjah Mada (UGM)**, Faculty of Biology.
* **Universitas Indonesia (UI)**.
* **International Partners**: University of Bern (Switzerland) and Tokyo University of Agriculture and Technology (Japan).

***

## Core Scientific Pillars

To protect assays against mutational drift (a primary cause of false-negative clinical results in RNA viruses), the pipeline implements three scientific pillars:

> [card] Purifying Selection
>
> Calculates codon-level constraint via FUBAR. Target sites under strict purifying selection cannot mutate without reducing viral fitness, locking in target stability.

> [card] Episodic Evasion
>
> Detects emerging mutational hotspots using MEME. Positional hotspots undergoing active selective sweeps are penalized and avoided.

> [card] Thermodynamics
>
> Models primer-dimer, hairpin, and cross-hybridization binding energies at target temperatures (e.g. 39°C for RAA, 55°C for PCR) using ViennaRNA.

> [card] Amplification Kinetics
>
> Simulates in-silico PCR on surveillance sequences, enforcing strict 3' recombinase extension limits and reporting probe mismatch load.

***

## Document Navigation

Get started with setting up and running your first target discovery task:

* **[Quickstart Guide](https://pandemic-prep-docs.mintlify.site/getting-started/quickstart.md)**: Setup WSL2/Ubuntu, conda, and run a dry-run.
* **[Data Preparation](https://pandemic-prep-docs.mintlify.site/getting-started/data-preparation.md)**: Ingest GISAID, NCBI Virus, or custom sequencing data.
* **[Pipeline Overview](https://pandemic-prep-docs.mintlify.site/pipeline-architecture/overview.md)**: Learn about the 10 modules and their I/O data flow.
* **[Evolutionary Diagnostics](https://pandemic-prep-docs.mintlify.site/concepts/evolutionary-diagnostics.md)**: Dive deep into the molecular biology theory.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.