-
Notifications
You must be signed in to change notification settings - Fork 4
General Workflow
Niema Moshiri edited this page Apr 17, 2018
·
38 revisions
- The contact network is generated (nodes: individuals; edges: contacts).
- Seed individuals who are infected at time 0 are selected (2a), and a viral sequence is chosen for each (2b).
- The epidemic yields a series of transmission events in which the time of the next transmission is chosen (3a), the source and target individuals are chosen (3b), the viral phylogeny in the source node is evolved to the transmission time (3c), viral sequences in the source node are evolved to the transmission time (3d), and a viral lineage is chosen to be transmitted from source to destination (3e). Step (3) repeats until the end criterion is met. Step 3c–3e are optional, as tree and sequence generation can be delayed to later steps.
- Infected individuals are sampled such that viral sequencing times are chosen for each infected individual (4a), viral phylogenies (one per seed) are evolved to the end time of the simulation (4b), and viral phylogenies (one per seed) are pruned to reflect the viral sequencing times selected (4c).
- Mutation rates are introduced along the branches of the viral phylogenies and the tree is scaled to the unit of expected mutations.
- The seed trees are merged using a seed tree (cyan).
- Viral sequences obtained from each infected individual are finalized.
- Real-world errors are introduced on the error-free data, such as subsampling of the sequenced individuals (marked as green) (8a) and the introduction of sequencing errors (8b).
Niema Moshiri & Siavash Mirarab 2016