Giter Site home page Giter Site logo

nodefindergui's Introduction

NodeFinderGUI

Build Status Coverage Status

GUI for NodeFinder Program

NodeFinderGUI Demo

Introduction

This is GUI implementation for NodeFinder program, used for adding information to bipartition/multifurcating Newick format phylogenetic tree:

  1. Calibration info;
  2. Clade Label;
  3. Branch Label

Screenshot

Download

Please download the latest zipped file: NodeFinderGUI.zip

If you don't need the README file and the Demo GIF file, just download the NodeFinder.pyw file or nodefinder_gui.py file.

If the pyw file does not work, please try the nodefinder_gui.py file. The compiled byte code .pyw file is essentially a .pyc file that was compiled by the Python interpreter to byte code, then changed extension to .pyw. It's faster to launch on slow computers since no more source code -> byte code procedure need to be done.

Usage

NodeFinderGUI supports Python >= 2.7 or Python >= 3.3.

Unzip NodeFinderGUI.zip, then,

  • Double click the latest compiled byte code pyw file NodeFinderGUI.pyw
  • Or double click nodefinder_gui.py
  • Or use import noderfinder_gui.py.

Command Line Version

Simple Usage

Config line syntax:

name_a, name_b, calibration_infomation
name_a, name_b, clade_label_information
name, branch_label_information
..., ..., ...

Input tree need to be Newick format phylogenetic tree. For example:

(human, (cat, dog));

You can add multiple lines at the same time. The program will finish all operations automatically.

Please refer to NodeFinder for more detailed usage and other information.

Demo

Input:

AF083022_Poikilolaimus_regenfussi, AF083017_Rhabditoides_inermiformis, >0.109<0.317
AF083022_Poikilolaimus_regenfussi, DQ094172_Ascarophis_arctica, >0.222<0.358

Output log:

[1]:  AF083022_Poikilolaimus_regenfussi, AF083017_Rhabditoides_inermiformis, >0.109<0.317
----------------------------------------------------
[Name A]:   AF083022_Poikilolaimus_regenfussi
[Name B]:   AF083017_Rhabditoides_inermiformis
[ Info ]:   >0.109<0.317
[Insert]:   toides_inermiformis),((((((((DQ094172_As
[Insert]:                       ->||<-                  
[Insert]:                    Insert Here               
----------------------------------------------------


[2]:  AF083022_Poikilolaimus_regenfussi, DQ094172_Ascarophis_arctica, >0.222<0.358
----------------------------------------------------
[Name A]:   AF083022_Poikilolaimus_regenfussi
[Name B]:   DQ094172_Ascarophis_arctica
[ Info ]:   >0.222<0.358
[Insert]:   helenchus_avenae)))),AF036607_Teratoceph
[Insert]:                    ->||<-                  
[Insert]:                  Insert Here               
----------------------------------------------------

Implementation

Given two species, this program finds all ancestor nodes for each species by using stack (to exclude other monophyletic group) and parenthesis. Then compare these two ancestor node list and find the index of most recent common ancestor nodes.

For example:

List of ancestor nodes index:
species1:     [57, 62, 73, 102, 162, 214, 258]
                            ^    ^    ^    ^
                            |    |    |    |
species2: [39, 48, 81, 94, 102, 162, 214, 258]

Then 102 will be the index of most recent common ancestor node.

nodefindergui's People

Contributors

zxjsdp avatar

Watchers

James Cloos 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.