|
1 |
| -```@meta |
2 |
| -CurrentModule = MolecularEvolution |
3 |
| -``` |
4 |
| - |
5 |
| -# MolecularEvolution |
6 |
| - |
7 |
| -Documentation for [MolecularEvolution](https://github.com/MurrellGroup/MolecularEvolution.jl). |
8 |
| - |
9 |
| -### A Julia package for the flexible development of phylogenetic models. |
10 |
| - |
11 |
| -MolecularEvolution.jl exploits Julia's multiple dispatch, implementing a fully generic suite of likelihood calculations, branchlength optimization, topology optimization, and ancestral inference. Users can construct trees using already-defined data types and models. But users can define probability distributions over their own data types, and specify the behavior of these under their own model types, and can mix and match different models on the same phylogeny. |
12 |
| - |
13 |
| -If the behavior you need is not already available in `MolecularEvolution.jl`: |
14 |
| -- If you have a new data type: |
15 |
| - - A `Partition` type that represents the uncertainty over your state. |
16 |
| - - `combine!()` that merges evidence from two `Partition`s. |
17 |
| -- If you have a new model: |
18 |
| - - A `BranchModel` type that stores your model parameters. |
19 |
| - - `forward!()` that evolves state distributions over branches, in the root-to-tip direction. |
20 |
| - - `backward!()` that reverse-evolves state distributions over branches, in the tip-to-root direction. |
21 |
| - |
22 |
| -And then sampling, likelihood calculations, branch-length optimization, ancestral reconstruction, etc should be available for your new data or model. |
23 |
| - |
24 |
| -### Design principles |
25 |
| -In order of importance, we aim for the following: |
26 |
| -- Flexibility and generality |
27 |
| - - Where possible, we avoid design decisions that limit the development of new models, or make it harder to develop new models. |
28 |
| - - We do not sacrifice flexibility for performance. |
29 |
| -- Scalability |
30 |
| - - Analyses implemented using `MolecularEvolution.jl` should scale to large, real-world datasets. |
31 |
| -- Performance |
32 |
| - - While the above take precedence over speed, it should be possible to optimize your `Partition`, `combine!()`, `BranchModel`, `forward!()` and `backward!()` functions to obtain competative runtimes. |
33 |
| - |
34 |
| -### Authors: |
35 |
| -Venkatesh Kumar and Ben Murrell, with additional contributions by Sanjay Mohan, Alec Pankow, Hassan Sadiq, and Kenta Sato. |
36 |
| - |
37 |
| -### Quick example: Likelihood calculations under phylogenetic Brownian motion: |
38 |
| - |
39 |
| -```julia |
40 |
| -using MolecularEvolution, Plots |
41 |
| - |
42 |
| -#First simulate a tree, using a coalescent process |
43 |
| -tree = sim_tree(n=200) |
44 |
| -internal_message_init!(tree, GaussianPartition()) |
45 |
| -#Simulate brownian motion over the tree |
46 |
| -bm_model = BrownianMotion(0.0,1.0) |
47 |
| -sample_down!(tree, bm_model) |
48 |
| -#And plot the log likelihood as a function of the parameter value |
49 |
| -ll(x) = log_likelihood!(tree,BrownianMotion(0.0,x)) |
50 |
| -plot(0.7:0.001:1.6,ll, xlabel = "variance per unit time", ylabel = "log likelihood") |
| 1 | +```@raw html |
| 2 | +--- |
| 3 | +# https://vitepress.dev/reference/default-theme-home-page |
| 4 | +layout: home |
| 5 | +
|
| 6 | +hero: |
| 7 | + name: "MolecularEvolution.jl" |
| 8 | + text: "Phylogenetic Modeling Framework" |
| 9 | + tagline: "A Julia package for flexible development of phylogenetic models" |
| 10 | + image: |
| 11 | + src: '/logo.png' |
| 12 | + actions: |
| 13 | + - theme: brand |
| 14 | + text: Intro |
| 15 | + link: /intro |
| 16 | + - theme: alt |
| 17 | + text: API reference |
| 18 | + link: /api |
| 19 | + - theme: alt |
| 20 | + text: View on Github |
| 21 | + link: https://github.com/MurrellGroup/MolecularEvolution.jl |
| 22 | +features: |
| 23 | + - title: Flexible Model Development |
| 24 | + details: Create custom evolutionary models with your own data types and probability distributions while leveraging the existing infrastructure for tree operations and likelihood calculations. |
| 25 | + link: /framework |
| 26 | + - title: Rich Model Library |
| 27 | + details: Includes standard models like JC69, K80, GTR for nucleotides, JTT and WAG for amino acids, MG94 and GY94 for codons, plus Brownian motion for continuous traits. |
| 28 | + link: /models |
| 29 | + - title: Powerful Tree Operations |
| 30 | + details: Optimize branch lengths, infer ancestral states, perform tree rearrangements (NNI), and sample topologies with MCMC. |
| 31 | + link: /optimization |
| 32 | + - title: Simulation Tools |
| 33 | + details: Generate phylogenies using both coalescent and birth-death processes, and simulate sequence evolution on those trees. |
| 34 | + link: /simulation |
| 35 | +--- |
51 | 36 | ```
|
52 |
| - |
53 | 37 |
|
54 |
| -```@index |
55 |
| -``` |
56 |
| - |
57 |
| -```@autodocs |
58 |
| -Modules = [MolecularEvolution] |
| 38 | +```@meta |
| 39 | +CurrentModule = MolecularEvolution |
59 | 40 | ```
|
0 commit comments