Giter Club home page Giter Club logo

neighbor-joining-algorithm's Introduction

Neighbor-joining-algorithm

Implementation of the neighbor joining algorithm.

Usage

python nj.py

Example

Input: Distance matrix in PHYLIP format, lower triangle matrix.

6
U68589
U68590 0.3371
U68591 0.3609 0.3782
U68592 0.4155 0.3197 0.4148
U68593 0.2872 0.1690 0.3361 0.2842
U68594 0.2970 0.3293 0.3563 0.3325 0.2768

Output: tree (with branch lengths) in Newick format

((U68591:0.2008125,U68589:0.16008749999999997):0.005718749999999988,(((U68593:0.062,U68590:0.10700000000000004):0.03473333333333334,U68592:0.1827166666666667):0.0320375,U68594:0.13476250000000006):0.005718749999999988);

neighbor-joining-algorithm's People

Contributors

jvdmosel avatar

Watchers

 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.