Skip to content

Commit c1526f3

Browse files
authored
Updates and model example additions (#19)
* updates and model example additions * Updated funding information * Removed Cheat sheet and Styleguide for updating work * Improving model examples, making them more standardized
1 parent 44a77ed commit c1526f3

13 files changed

Lines changed: 68 additions & 464 deletions

File tree

docs/examples/clads.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/examples/crbd.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/examples/div.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
id: div
3+
title: Diversification models
4+
sidebar_label: Diversification models
5+
---
6+
# Diversification models
7+
8+
# Constant rate birth-death
9+
10+
- **Model file:** `models/phylo/crbd.tppl`
11+
12+
- **Example input data:** `models/phylo/crbd.json`
13+
14+
- **Brief info:** The model simulates the constant rate birth-death process over a phylogenetic tree. The speciation rate is returned.
15+
16+
# ClaDS
17+
18+
- **Model file:** `models/phylo/clads.tppl`
19+
20+
- **Example input data:** `models/phylo/clads.json`
21+
22+
- **Brief info:** The model simulates the ClaDS process over a phylogenetic tree. This implementation of the ClaDS model is a simple version that returns the speciation rate λ; however, it does not return the branch-specific rates.
23+
24+
- **Reference:**
25+
Maliet, O., Hartig, F. & Morlon, H. A model with many small shifts for estimating species-specific diversification rates. Nat Ecol Evol 3, 1086–1092 (2019).
26+
https://doi.org/10.1038/s41559-019-0908-0

docs/examples/host-repertoire.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: hostrep
33
title: Host-repertoire model
4-
sidebar_label: Host-repertorire
4+
sidebar_label: Host-repertoire model
55
---
66

77
<meta http-equiv="refresh" content="0; url=https://treeppl.org/treepplr/articles/hostrep-example.html" />

docs/examples/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Model examples
22

3-
A library of models has been created as part of TreePPL.
3+
A library of models has been created as part of TreePPL, see the `models` directory.
44

5-
Phylogenetic models can be found under `models/phylo`.

docs/examples/tree-inference.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
id: tree_inference
3+
title: Tree inference
4+
sidebar_label: Tree inference models
5+
---
6+
7+
# Tree inference models
8+
9+
# Jukes-Cantor
10+
11+
- **Model files:** `models/phylo/tree_inference.tppl`, `models/phylo/tree_inference_pruning.tppl`, `models/phylo/tree_inference_scaled.tppl`
12+
13+
- **Example input data:** `models/phylo/tree_inference.json`
14+
15+
- **Brief info:** The model version `tree_inference.tppl` is a simple backwards tree reconstruction based on aligned DNA sequence data (converted to integers) as input, and using the Jukes-Cantor model of nucleotide substitution. There are also other and more computationally efficient model versions: `tree_inference_pruning.tppl` using hard-coded pruning (Felsenstein's pruning algorith) and `tree_inference_scaled.tppl` with pruning and a scaled approach to the messages. Use the scaled version for efficient inference on larger datasets.
16+
17+
# GTR
18+
- **Model file:** `models/phylo/tree_inference_pruning_gtr.tppl`
19+
20+
- **Example input data:** `models/phylo/tree_inference.json`
21+
22+
- **Brief info:** The basic models using Jukes-Cantor above can easily be extended to adhere other models of nucleotide substitution. As an example, this is the GTR model with pruning.

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ sidebar_position: 1
77

88
The TreePPL documentation consists of:
99

10-
- [Tutorials](docs/tutorials), in which the user learns by doing something meaningful, towards some achievable goal;
1110
- [Model examples](docs/examples), which illustrate each model available in TreePPL;
12-
- [Reference](docs/reference), which is material that contains the technical details of functions, compiler flags, options, etc.
13-
- System, which is documentation for the people who would like to develop the TreePPL language itself
11+
- [Reference](docs/reference), which is material that contains the technical details of functions, compiler flags, options, etc.
12+
- [Tutorials](docs/tutorials), in which the user learns by doing something meaningful, towards some achievable goal;
13+
<!-- - To be added: System, which is documentation for the people who would like to develop the TreePPL language itself -->
1414

1515
If you are new to TreePPL, we recommend beginning looking at our [Getting started pages](getting-started/getting-started).

0 commit comments

Comments
 (0)