Skip to main content

a python package for automated generation of heuristic phylogenetic trees from genbank files

Project description

getphylo: GEnbank To PHYLOgeny

a python package for automated generation of heuristic phylogenetic trees from genbank files

Description

getphylo was designed to automatically build multi-locus phylogenetic trees from GenBank files. The workflow consists of the following steps: i) extract protein coding sequences; ii) screen for suitable markers; iii) align individual marker sequences and create a combined alignment; and iv) produce a tree from the combined alignment. Please see the 'parameters' section below for a full list of parameters.

Installation

The easiest way to install getphylo is using the command:

pip install getphylo

This will fetch and install the latest version from: https://pypi.org/project/getphylo/

For full installation instructions, please see the getphylo wiki.

Important: getphylo requires DIAMOND, MUSCLE and FastTree2 to be installed to work correctly. These must be installed manually. Further instructions are availiable on the wiki.

Quick-start

This package has been designed to be as easy to run as possible. Simply navigate to a working directory containing .gbk files and input:

getphylo

This will run the software with default settings.

A full list of options and flags can be viewed with:

getphylo -h

A full list of parameters and further usage examples are availiable on the wiki.

Example Analysis and Datasets

Example outputs and benchmarking data can be found in the getphylo benchmarking repository. The example data includes:

  1. A phylogeny of bacterial genomes,
  2. A phylogeny of a biosynthetic gene cluster,
  3. A phylogeny of primate genomes,
  4. A phylogeny of Eurotiomycete fungi.

Citation

If you use getphylo, please cite:

Booth, T. J., Shaw, S., & Weber, T. (2023). getphylo: rapid and automatic generation of multi-locus phylogenetic trees. BioRxiv, 2023.07.26.550493.

DOI: https://doi.org/10.1101/2023.07.26.550493

Patch Notes

Version 0

  • 0.1.0
    • beta version initial release
  • 0.1.1
    • added support for MUSCLE5
  • 0.1.2
    • now raises an error if translations are present but empty
    • error messages from the extract module are now more informative
    • fixed a fatal issue with --build-all
  • 0.2.0
    • now supports iqtree using the --method parameter
  • 0.2.1
    • now able to provide custom paths for binary dependencies
    • parser now has argument groups and is more readable
    • file exists error message more informative
  • 0.2.2
    • added error message when users attempt to input directory instead of a search string
  • 0.3.0
    • now supports modifying blastp thresholds, including parameters for identity and coverage
    • fixed typos in parser
    • fix crashing when provided with directories with spaces in the names

Project details


Download files

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

Source Distribution

getphylo-0.3.0.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

getphylo-0.3.0-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file getphylo-0.3.0.tar.gz.

File metadata

  • Download URL: getphylo-0.3.0.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for getphylo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 71acd7a652a7a0f9f7b4a4ec13c5073b0a15a6ffa7e7c767e1d3c99752eb5f5b
MD5 17f7171ad8912407e1efac700f14fab9
BLAKE2b-256 5cc22881a6f72b89ae5985946a426d0373810cc337640c3ede1878396d7fe2e9

See more details on using hashes here.

File details

Details for the file getphylo-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: getphylo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for getphylo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 984063cf1414ee1368288f28ffc38fcda647f4c59231eefd4b3cd57209780759
MD5 89d8f4b0c3e28626aef4d3cf6cb2d9fb
BLAKE2b-256 e7ede71552fb73cf44573d49d64e0077c9e6f49496f53e86dbd75d1eb4a6b423

See more details on using hashes here.

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