Skip to main content

Phylodynamic paramater and model inference using pretrained deep neural networks

Project description

Phylodeep

Phylodeep is a python library for parameter estimation and model selection from phylogenetic trees, based on deep learning.

Installation

Use the package pip to install phylodeep.

Usage

###Python

import phylodeep
from phylodeep import BD, BDSS, BD_vs_BDEI, BD_vs_BDSS, SUMSTATS, FULL

path_to_tree = './tests/Zurich.trees'

# set presumed sampling probability
sampling_proba = 0.20


# model selection
model_BD_vs_BDEI = phylodeep.modeldeep(path_to_tree, sampling_proba, model=BD_vs_BDEI, vector_representation=FULL)
model_BD_vs_BDSS = phylodeep.modeldeep(path_to_tree, sampling_proba, model=BD_vs_BDSS, vector_representation=FULL)

# selected models are BD and BDSS


# parameter inference
inference_param_BD = phylodeep.paramdeep(path_to_tree, sampling_proba, model=BD, vector_representation=FULL)
inference_param_BDSS = phylodeep.paramdeep(path_to_tree, sampling_proba, model=BDSS, vector_representation=FULL)

###Command line

paramdeep -t ./tests/Zurich.trees -p 0.25 -m BDEI -v FFNN_ -o trial.csv

Citation

Contributing

License

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

phylodeep-0.0.62-py3-none-any.whl (3.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page