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
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
taxOrder-0.2.7.tar.gz
(15.3 kB
view details)
Built Distribution
taxOrder-0.2.7-py3-none-any.whl
(16.1 kB
view details)
File details
Details for the file taxOrder-0.2.7.tar.gz
.
File metadata
- Download URL: taxOrder-0.2.7.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72b7178ee5529a8f45cfe209f4628359505d0ac377299dd4c7bcfc2525b1afd |
|
MD5 | b0b35757f2469a22005ea31f1b0552c0 |
|
BLAKE2b-256 | 4337674bb3dfa8cd0db91e8c436b7ab7669734d3567a27408ec2addad48f20d6 |
File details
Details for the file taxOrder-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: taxOrder-0.2.7-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c87789d86b1bae4b665463b52f424cf1d43b278ab99e1b110dca0c0fc17c260b |
|
MD5 | f910d2366cfd2e913d9ea65dec3b08a5 |
|
BLAKE2b-256 | b5a2fa1c0c99bb073d298ddf8c7c7bc2c8fd9158a3e39bbdd22a6285c18ae139 |