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
Metadata
Release files for taxOrder 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| taxOrder-0.2.7.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| taxOrder-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.4 kB
Release files / taxOrder-0.2.7.tar.gz
| Download URL | taxOrder-0.2.7.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d72b7178ee5529a8f45cfe209f4628359505d0ac377299dd4c7bcfc2525b1afd
|
|
BLAKE2b-256 checksum How to use checksums |
4337674bb3dfa8cd0db91e8c436b7ab7669734d3567a27408ec2addad48f20d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / taxOrder-0.2.7-py3-none-any.whl
| Download URL | taxOrder-0.2.7-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c87789d86b1bae4b665463b52f424cf1d43b278ab99e1b110dca0c0fc17c260b
|
|
BLAKE2b-256 checksum How to use checksums |
b5a2fa1c0c99bb073d298ddf8c7c7bc2c8fd9158a3e39bbdd22a6285c18ae139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|