Coder Social home page Coder Social logo

phylo2vec_preprint's Introduction

Phylo2Vec: a vector representation for binary trees

This repository contains an implementation of Phylo2Vec which includes:

  • cfg/: Example configuration files
  • data/: Placeholder folder to contain sequence files in FASTA format.
  • examples/: Example notebooks for different datasets
  • hc/: Phylogenetic tree optimisation via hill-climbing optimisation
    • Branch length and nucleotide subsitution model optimisation relies on RAxML-NG
  • tests/: Placeholder folder for unit tests
  • trees/: Placeholder folder to contain tree files as Newick strings.
  • utils/: Utility functions including definitions of Phylo2Vec and transforms from commonly used tree formats to Phylo2Vec (and vice versa).

Demo

A quick demo detailing hill-climbing optimisation with Phylo2Vec is available on the demo.ipynb notebook.

A more minimalistic demo with an updated defiition of Phylo2Vec is available on Colab: Open In Colab

Environment setup

To reproduce the environment, run:

conda env create -f env.yml

Run hill climbing-based optimisation using Phylo2Vec

To run hill climbing-based optimisation using Phylo2Vec, run:

conda activate phylo

python -m hc.main

Other third-party software

Accessing data

The following datasets were used:

Future work

As mentioned in the submission, we plan to add more optimiation schemes using Phylo2Vec, e.g., MCTS or gradient descent.

See https://github.com/Neclow/gradme

phylo2vec_preprint's People

Contributors

neclow avatar

Stargazers

Amine M. Remita avatar

Watchers

Samir Bhatt avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.