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

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

phylodeep-0.0.63-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phylodeep-0.0.63-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for phylodeep-0.0.63-py3-none-any.whl
Algorithm Hash digest
SHA256 0655837e05a2440411dcae0938d9d9525896de734aaca458e7db60e85f40e745
MD5 be844276379072f0d02aef81076b6f55
BLAKE2b-256 b59da3efad5561710c9ea77c837c5c66eb39a488e2d7ec588034f6dc52ae24b2

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