Skip to main content

Phylo-Match

Phylo-Match is a package for correcting misspellings or disparate labelings in phylogenetic trees

Installation

This project was built with python v3.8 (python3). Later versions should be fine, but no guarantees for earlier. Not compatible with python 2.

Check that you have python3 installed:

python3 --version 

Output should be something like:

Python 3.7.1 

If --version does not return a version, follow Python3 installation instructions (or install Python3 your own way)

Use the package manager pip3 to install phylo-match.

Install pip:

python3 -m ensurepip --upgrade

Install Phylo-Match:

pip3 install phylo-match

Upgrade Phylo-Match:

pip install phylo-match -U

Usage

phylo-match

Use the gui to select a database file (.csv), and a taxa tree (.nexus) to match the database to. Enter the number of your species column in the box, if the taxa you are matching are not in the first column (index counts from 0, so enter 0 for first column, 1 for second, etc.)

Click run when you are happy with your selection.

Phylo-Match does all of its calculations and api requests upfront, so users may have to wait 10-15 minutes after run is clicked, depending on internet speed and whether these taxa are already in their local cache.

This time can be minimized by unchecking 'Lookup Taxa Info' - a good idea if you're very familiar with the taxa, but the project will not provide information about matches beyond the name.

Information about the DB's taxa will be on the left-hand side. All similar entries in the .nexus file will appear in the middle of the screen. Click on the name you'd like to change the entry to, manually enter a name on the bottom, or click on 'same species', or 'same genus' for additional options, if available.

Once all selections have been made, a new .csv file will be created in the same directory as the original database .csv file.

Your matching progress is not saved until a new file is created, so be prepared to start over if you exit halfway through.

Downloaded content will cache immediately upon download, so starting over will take significantly less time.

Examples:

The program (correctly) thinks my best bet to match the database taxon Aotus azarae is Aotus azarai from the tree. But if I don't like that option I can click on 'same species' to see other taxa in the tree with the species name "azarae" or 'same genus' to see other members of the genus Aotus.

Similar Example

Here's an example of the 'same species' option at work: The database has Vicunga pacos but the tree has Lama pacos. This is useful if the genus has been split up.

Species Example

Here's an example where I might want to use the "Same Genus" option. This can be useful if you don't have many taxa in that genus and it doesn't really matter which species in the genus you use: Here I have data for Cercocebus atys but that taxon isn't in the tree. I could use a different Cercocebus species as a substitute. The 'removed suggestions' in the bottom left tells me that C. agilis is already matched between the data and tree. Since I know that C. atys and C. torquatus are sister species, both equally closely related to C. agilis, I can use C. torquatus instead.

Genus Example

Troubleshooting

'phylo-match' is not recognized as an internal or external command,
operable program or batch file.

This error usually means python has not been added to your PATH variable. See adding python to PATH tutorial or similar for details.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL-3.0

Metadata

Release files for phylo-match 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phylo-match 0.1.3
File Size Uploaded Provenance Actions
phylo_match-0.1.3.tar.gz 26.5 kB Without provenance Details for phylo_match-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phylo-match 0.1.3
File Interpreter ABI Platform Actions
phylo_match-0.1.3-py3-none-any.whl Python 3 none any Details for phylo_match-0.1.3-py3-none-any.whl

Total release size: 52.9 kB

Release files / phylo_match-0.1.3.tar.gz

Download URL phylo_match-0.1.3.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d7374cac1c3cfc2e7ec4977fc6a3eff3347e78f1faedf6e379990517717c3a68
BLAKE2b-256 checksum
How to use checksums
2479a0701292cdfd67e8698ede48f6c765f0308a58f9e6a241e89148b82e093d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.12

Release files / phylo_match-0.1.3-py3-none-any.whl

Download URL phylo_match-0.1.3-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba7d55d5cb47e919166757fd5ca5fcc0aac2a2e1e206b2f551cd0b407682729b
BLAKE2b-256 checksum
How to use checksums
9682c84beeb299a0e4943b2633ad83688acf8ba15f3366c02950783840ac341e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.12

Security for phylo-match 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page