Skip to main content

Returns list of species in a phylogenetic tree ordered by increasing taxonomic distance to a reference species

Project description

Package:

from taxOrder.taxOrder import order_taxa

taxorder = order_taxa(tree, 'Homo_sapiens', format=1, idmap='')

Command line implementation:

usage: taxOrder [-h] -t <path> -r str [--outfile [str]] [--format [str]] [--idmap [<path>]]

Returns list of species in a phylogenetic tree ordered by increasing taxonomic distance to a reference species


  -h, --help            show this help message and exit

  -t <path>, --tree <path>
                        Path to tree in Newick format

  -r , --reference str
                        Reference species

optional arguments:

  --outfile [str]       Save output to file

  --format [str]        Tree format as specified at: https://etetoolkit.org/docs/latest/tutorial/tutorial_trees.html#reading-and-writing-newick-trees (Default: 1)

  --idmap [<path>]      TaxOrder can map species names to taxids accepted by PhyloProfile if supplied with a tab-seperated file like: taxid name

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

taxOrder-0.2.7.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

taxOrder-0.2.7-py3-none-any.whl (16.1 kB 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