https://github.com/4ment/treezy

https://github.com/4ment/treezy

Science Score: 26.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary

Keywords

bioinformatics phylogenetics tree
Last synced: 5 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: 4ment
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 46.9 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
bioinformatics phylogenetics tree
Created 9 months ago · Last pushed 8 months ago
Metadata Files
Readme License

README.md

treezy

Tests License: MIT PyPI PyPI - Python Version

treezy is a simple Python library for manipulating phylogenetic trees, including reading from and writing to files.

Features

  • Parse and manipulate phylogenetic trees
  • Read and write trees with branch annotations and comments
  • Lightweight and easy to integrate into existing Python projects

Installation

bash pip install treezy

To build treezy from source you can run bash git clone https://github.com/4ment/treezy pip install treezy/

Usage

```python from treezy.tree import Tree

newick = '((A:[&rate=0.1,cat=0]1,B:[&rate=0.1,cat=0]2):[&rate=0.2,cat=1]3,C:[&rate=0.2,cat=1]4);' tree = Tree.fromnewick(newick) tree.parsebranchcomment({'rate': lambda rate: float(rate)}) for node in tree: if not node.isroot: node.distance *= node.branch_annotations['rate'] print(tree)

((A:0.1,B:0.2):0.6,C:0.8);

```

Contributing

Contributions are welcome! Please open issues or submit pull requests.

License

This project is licensed under the MIT License. See LICENSE for details.

Owner

  • Name: Mathieu Fourment
  • Login: 4ment
  • Kind: user
  • Location: Australia
  • Company: University of Technology Sydney

GitHub Events

Total
  • Release event: 1
  • Push event: 7
  • Pull request event: 1
  • Create event: 4
Last Year
  • Release event: 1
  • Push event: 7
  • Pull request event: 1
  • Create event: 4

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 4
  • Total Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
4ment m****t@g****m 4

Issues and Pull Requests

Last synced: 7 months ago

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 9 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
pypi.org: treezy

Simple library for manipulating phylogenetic trees

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 9 Last month
Rankings
Dependent packages count: 9.0%
Average: 30.0%
Dependent repos count: 50.9%
Maintainers (1)
Last synced: 6 months ago