Skip to main content

alifedata-phyloinformatics-convert

https://img.shields.io/pypi/v/alifedata-phyloinformatics-convert.svg https://img.shields.io/travis/mmore500/alifedata-phyloinformatics-convert.svg Documentation Status

alifedata-phyloinformatics-convert helps apply traditional phyloinformatics software to alife standardized data

Built using the dendropy library.

Use it as a command line tool to convert to alife standard phylogenetics data

Usage: alifedata-phyloinformatics-convert toalifedata [OPTIONS]

  convert standard alife phylogeny data to phloinformatics format

Options:
  --input-file FILENAME   phyloinformatics data file path; default stdin
  --input-schema TEXT     phyloinformatics data format schema; options include
                          newick, nexml, and nexus  [required]
  --output-file FILENAME  alife data file path; default stdout
  --output-format TEXT    alife data file format; default csv
  --help                  Show this message and exit.

Use it as a command line tool to convert from alife standard phylogenetics data

Usage: alifedata-phyloinformatics-convert fromalifedata [OPTIONS]

  convert phloinformatics data to standard alife phylogeny format

Options:
  --input-file FILENAME   alife data file path; default stdin
  --input-format TEXT     alife data file format; default csv
  --output-file FILENAME  phyloinformatics data file path; default stdout
  --output-schema TEXT    phyloinformatics data format schema; options include
                          newick, nexml, and nexus  [required]
  --help                  Show this message and exit.

Use it as a Python module

import alifedata_phyloinformatics_convert as apc
import dendropy
import pandas as pd

alife_df = pd.read_csv('alifedata.csv')

# get a dendropy Tree from alife-standardized phylogeny dataframe
tree = apc.alife_dataframe_to_dendropy_tree(converted_df)

# get a alife-standardized phylogeny dataframe from a dendropy Tree
reconverted_alife_df = apc.dendropy_tree_to_alife_dataframe(tree)

Install from PyPi

pip3 install alifedata-phyloinformatics-convert

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.0 (2022-03-22)

  • First release on PyPI.

Download files

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

Source Distribution

alifedata-phyloinformatics-convert-0.4.0.tar.gz (130.0 kB view details)

Uploaded Source

Built Distribution

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

alifedata_phyloinformatics_convert-0.4.0-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file alifedata-phyloinformatics-convert-0.4.0.tar.gz.

File metadata

  • Download URL: alifedata-phyloinformatics-convert-0.4.0.tar.gz
  • Upload date:
  • Size: 130.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for alifedata-phyloinformatics-convert-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c0c3e0d8623aebd04b2389be203348a2b4a4d128aeef8d5d0ddfb5b46c34502f
MD5 42dc5e0d48bfced0fe4a694c6e2afab3
BLAKE2b-256 465bac2d3fe107ce9fe27f59ab0975ff53f2eaa8d80308574c17624c8f2bc752

See more details on using hashes here.

File details

Details for the file alifedata_phyloinformatics_convert-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: alifedata_phyloinformatics_convert-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for alifedata_phyloinformatics_convert-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f4cfa1de8befaea4f304f83cb9cb149fb93990eed095d8ef0b47cf6ddd453ada
MD5 a30decf30f0a7615b03a3a8d8f452feb
BLAKE2b-256 43d252a3d7b2538571a5651ded08e20f0f74c3511b708a352bb9188dbe7f10dc

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