A Framework For Modifying And Testing Topologies
Project description
MATT - A FRAMEWORK FOR MODIFYING AND TESTING TOPOLOGIES
Table of Contents
Installation
MATT is distributed as a python package called phylo-matt. MATT requires a Python version of 3.8 or higher.
Once python and the included package manager are installed, MATT can be installed using the pip
command in a
console:
pip install phylo-matt
If you run into errors, try:
pip install phylo-matt --user
Usage
Launch
After MATT has been installed it can be launched using the matt
command in a console:
matt
This will start MATT and open http://localhost:5000
in the preferred browser.
Once open MATT can be used via the GUI in the browser.
To close MATT after usage, simply kill the server by hitting Ctrl + C in the console.
Import
Make sure to set all the needed options under the "Options" button in the top right corner first. You will also find a reference to this file there.
Afterwards optionally set a session name and import your alignment and/or tree file. Alternatively you can import the example files.
- If you do not name the session, default file names will be used and might override older files.
- If you only import an alignment file, you can let MATT generate the tree for you.
- If you only import a tree file, you will not be able to use all of MATT's features.
Navigation
After the tree has been drawn, you can navigate through it:
- To zoom in, use either ScrollUp on your input device, the "Zoom in" button in the top left corner or the "Zoom in" in the context menu (RightClick).
- To zoom out, use either ScrollDown on your input device, the "Zoom out" button in the top left corner or the "Zoom out" in the context menu (RightClick).
- Click & Drag to move the tree around.
The minimap in the top right corner shows you the tree and the viewport. Click somewhere inside to jump to that location.
To search for a specific entry, enter the name in the search in the top left corner and hit Enter or Click the button next to the input field.
Use the buttons "Show/Hide branch lengths" and "Align/Attach labels" in the top right corner or their versions in the context menu to toggle between the viewmodes for branch lenghts and labels.
Changing topologies
Click on a branch to select it. After you have selected a branch you can swap it with another branch, by Clicking that other branch.
After selecting a branch, the "Set Root" button appears. Click it to set the selected branch as a root. Alternatively you can Rightclick a branch to select it and set the root directly in the context menu.
Once you have changed the initial topology, you can "Undo" and "Redo" your changes, using the buttons in the top left corner or the context menu.
Saving and testing topologies
If you want to save a topology, Click the "Save snapshot" button or the option in the context menu. Optionally you can name the snapshot and then save it.
Once a snapshot is saved, you can find it under the "Snapshots" button or in the context menu. In the snapshots menu you can jump to another snapshot directly, change its name or download it. Here you can also select multiple snapshots and test them. After the tests have run, a menu opens up, showing you the test results of the topology tests.
Contribution
Any bug reports, comments and suggestions are highly appreciated. Please open an issue on GitHub or contact us via email.
License
MATT is licensed under the GNU General Public License v3.0.
Citation
An Application Note is in the works. Stay tuned.
Contact
For further support or bug reports please contact us via email.
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
Built Distribution
File details
Details for the file phylo-matt-1.3.11.tar.gz
.
File metadata
- Download URL: phylo-matt-1.3.11.tar.gz
- Upload date:
- Size: 13.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60f56f45c161ce943f6b46c6bada06a55a8857a504c9b5da391e3a4f85fb4e3 |
|
MD5 | f80b2b7fe2314293a3b653a72a29a353 |
|
BLAKE2b-256 | 7cecba5bd24cd119c9d3ab20194486d773a29dcc40c5febc0e8575b64d834468 |
File details
Details for the file phylo_matt-1.3.11-py3-none-any.whl
.
File metadata
- Download URL: phylo_matt-1.3.11-py3-none-any.whl
- Upload date:
- Size: 13.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb384f4dda5be32a7e08915d708f7659edfcc3bbf9026e5167040158935dd0a8 |
|
MD5 | e85ef7d9e9073c454fa95bf764851cb4 |
|
BLAKE2b-256 | ec73164e8bc9df47ae1d1e02edd4f628fbe22bbb7e4a64b81b054ed966e8cb21 |