https://github.com/agormp/treedist

Computes measures of (dis)similarity between phylogenetic trees. Provides summaries of shared and unique bipartitions.

https://github.com/agormp/treedist

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords

bioinformatics phylogeny python
Last synced: 6 months ago · JSON representation

Repository

Computes measures of (dis)similarity between phylogenetic trees. Provides summaries of shared and unique bipartitions.

Basic Info
  • Host: GitHub
  • Owner: agormp
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 29.3 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
bioinformatics phylogeny python
Created almost 4 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

treedist

PyPI downloads

The command-line program treedist takes as input two or more treefiles and computes various measures of the "distance" between pairs of trees. The program can also output information about how many and what bipartitions differ between trees.

Availability

The treedist source code is available on GitHub: https://github.com/agormp/treedist. The executable can be installed from PyPI: https://pypi.org/project/treedist/

Installation

python3 -m pip install treedist

Dependencies

treedist relies on the phylotreelib library, which is automatically included when using pip to install.

Overview

  • Input:
    • Two or more files containing phylogenetic trees in NEXUS or Newick format
    • Trees do not need to have identical leaves, but each pair of trees need to share at least 4 leaves (all leaves that are not shared will be automatically pruned before computing tree distances).
  • Output:
    • Different measures of treesimilarity (Robinson-Foulds symmetric distance, normalised RF, normalised similarity)
    • Summaries of what bipartitions that differ or are shared between trees

Usage

``` Usage: treedist [options] TREEFILE1 TREEFILE2 [TREEFILE3 ...]

Options: --version show program's version number and exit -h, --help show this help message and exit -I FORM, --informat=FORM format of tree files: NEXUS or newick [default: newick] -d, --symnormdist print normalized symmetric distance -s, --symdist print symmetric distance -b, --bipnumbers print no. total, shared, and unique bipartitions for each tree -u, --uniquelist print list of unique bipartitions for each tree -c, --commonlist print list of bipartitions trees have in common -l, --labels also print branch labels for bipartitions (requires -c or -u) -o, --oneline oneline output of normalized symmetric similarities -n, --namesummary Print names of leaves that are shared between trees, and leaves that are discarded --collapselen=BRLEN[,BRLEN,...] Collapse branches shorter than this (comma-separated list: individual cutoffs for trees) --collapsefrac=FRAC Collapse branches shorter than FRAC fraction of treeheight (of minimum variance rooted tree) --collapsesupport=SUPPORT Collapse branches with less clade support than this (must be number in [0,1]) ```

Usage examples

TBD

Owner

  • Name: Anders Gorm Pedersen
  • Login: agormp
  • Kind: user
  • Location: Denmark
  • Company: Technical University of Denmark

Professor of Bioinformatics

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 17
  • Total Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Anders Gorm Pedersen a****e@d****k 17
Committer Domains (Top 20 + Academic)
dtu.dk: 1

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 14 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 2
  • Total maintainers: 1
pypi.org: treedist

Computes measures of (dis)similarity between phylogenetic trees. Provides summaries of shared and unique bipartitions.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 14 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.5%
Forks count: 29.8%
Average: 32.5%
Stargazers count: 38.8%
Downloads: 62.2%
Maintainers (1)
Last synced: 7 months ago