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

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)

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 Distribution

phylodeep-0.0.52.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phylodeep-0.0.52-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file phylodeep-0.0.52.tar.gz.

File metadata

  • Download URL: phylodeep-0.0.52.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for phylodeep-0.0.52.tar.gz
Algorithm Hash digest
SHA256 953f03e4a01257b404a8891c22b3d2e14a7d5929c9fc76ca2348a361e37206ee
MD5 975333c75c4971dfb8f78459596f9a53
BLAKE2b-256 7f6e3035774ab04d51ef19478e706f8bdc5d1ebcb58594b66153b0404de23128

See more details on using hashes here.

File details

Details for the file phylodeep-0.0.52-py3-none-any.whl.

File metadata

  • Download URL: phylodeep-0.0.52-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200119 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for phylodeep-0.0.52-py3-none-any.whl
Algorithm Hash digest
SHA256 7ada439eefec63658555565463becbf29175e8e380ee1136cc6daffa59e9821b
MD5 4c60d20dd7ee9ca6f9e68ee4bef21f24
BLAKE2b-256 6b9180f9a9f6430c07493d471f56d62d39c4dae090a6e14509ddb451c2248c17

See more details on using hashes here.

Supported by

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