Git Product home page Git Product logo

achtman-lab / grapetree Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 23.0 28.5 MB

GrapeTree is a fully interactive, tree visualization program, which supports facile manipulations of both tree layout and metadata. Click the first link to launch: https://achtman-lab.github.io/GrapeTree/MSTree_holder.html

Home Page: https://genome.cshlp.org/content/28/9/1395

License: GNU General Public License v3.0

JavaScript 45.28% Python 9.56% C++ 2.70% HTML 37.66% CSS 4.73% Shell 0.04% Batchfile 0.03%
bigdata mlst tree visualization

grapetree's People

Contributors

happykhan avatar kjolley avatar pertuyf avatar zheminzhou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grapetree's Issues

Issues with MacOSX binaries

All profiling methods fail from running in App (issue with launching subprocess)?

MSTree fails when running with

python MSTree.py profile=examples/simulated_data.profile method=MSTree edge_weight=eBurst

TypeError: apply_along_axis() got unexpected keyword argument 'minlength'

right click menu

select all
unselect all
show/hide metadata
show/hide hypothetical nodes

Disabling buttons

If there is no tree loaded, pressing buttons like save tree, or centre graph, the browser throws a big ugly error and buttons dont do anything. Either users should not be allowed to press those buttons; or there should be message

Button to bring back splash screen

The splash screen is very informative, but once I've loaded a file for the first time and want to load another one, i cant find it. Either there should be a button ("Help") that brings it back, or it should up when an exception/error is thrown.

Alter. collapsing branch

There should be different metrics for collapsing branch. Either on an absolute cutoff (what it does at the moment) Or is should measure the branch distance from tip to root and do so cumulatively, This will allow people to just prune the tips without losing the deeper structure.

Better exception handling for BASA/ maketree step:

Better exception handling for BASA/ maketree step: When this fails I get a singular error message back with no consideration for the exception thrown at the back end. We may want to have more informative message cause its very hard to troubleshoot (even for me).

Limit categories coloured

BLACK balls show up with too many categories, there should just be an upper limit when you run out of colours. It's not meaningful showing 300 different groups on a tree. Also, the default column it loads from the metadata should NEVER be the ID.

Parameters working with profiles

When I have loaded a profile, and change the parameters, I pressed refresh and nothing happened. The only way to change these parameters and affect the tree is at load time apparently. Either these options should only be set at load time, or the refresh button should recalculate the tree with those new settings.

Legend issues

  • Separate strains duplicate legend and then it doesnt go away.
  • svg output font is weird serif font.

Help

  • Embedded help, especially for key combinations to do things
  • Help link for metadata & Main window
  • Help links on contextual menus.

Enterobase buttons

The menu buttons under "Enterobase" are a bit confusing.
Suggestion:

  • remove "Highlight selected" and move this over to the Enterobase window
  • "Load selected" and "Filter selected" are kind of the same, keep only load
  • Synch -> Sync ( can be a checkbox?)

Then there are 4 buttons left:
"Load selected nodes"
"Import fields"
"Save tree"
"Sync" <- can be a checkbox

There should be some notification for the user that all these buttons trigger a change in the enterobase table based on selections in the GrapeTree.

figure legend overlaps menu

the initial placement of the figure legend overlaps the menu on the left hand side

  • laptop screen
  • firefox

suggestion: figure legend initially placed on right side of the window looks nicer

Memory error on edmonds for Windows machines.

Memory error on edmonds for Windows machine using fairly large allele profile.

rMLST.rep.txt

Traceback (most recent call last): File "MSTrees.py", line 340, in <module> tre = backend(**dict([p.split('=') for p in sys.argv[1:]])) File "MSTrees.py", line 330, in backend tre = eval('methods.' + params['method'])(names, profiles, **params) File "MSTrees.py", line 216, in MSTree tree = eval('methods._'+matrix_type)(wdist, **params) File "MSTrees.py", line 89, in _asymmetric mstree = Popen([params['edmonds_' + platform.system()]], stdin=PIPE, stdout=PIPE).communicate(input='\n'.join(['\t'.join([str(dd) for dd in d]) for d in dist.tolist()]))[0] MemoryError

Seems to run to completion in linux version

Enterobase mst

Should block over 8K nodes and should explain how to simplify dataset.

How to Search for related strains. For cgmlst only.

branch scaling issue

the branch scaling slider/ option causes two issues in automatic rendering mode:

  1. the scaling is only triggered after I click on something else, it is not scaling with the slider
  2. after adjusting branch lengths, the tree is frozen and nodes cannot be moved (it can be fixed when switching to static rendering and back again)

Method Dropdown still shown

"tree construction is not available" message, i still see the dropdown for the method select (NJ, BASA, MST), should be hidden

GUI changing

Outputs -> Export

Label text right after Show labels and possibly remove title.

Relative scaling -> Kurtosis

add metadata -> add column

search in label -> highlight label

MSTREE.py does not handle special character for Newick output

If one of the taxa in the profile has a ' : ' it in, this will break the final newick file, as this is a special character. As such, mstree.py needs to sanitize the input labels for " : ( ) , "

Also the newick file loaded doesnt seem to ever stop loading and recognise there is something wrong with the file.

"ID" requirement for metadata is too specific

When loading metadata, having the ID column is very specific, it shoudl be case insensitive. ID only at the moment, but it should allow id. Rather than being so strict, If the ID column specification fails, the program should just try to use the first column. If That also fails, then give a message that ID cannot be found (at the moment it just says my file is no good but doesnt give any hints as to why).

wish list --- Mark

  1. multi column legend
  2. allow assignment of a new column to UDF after created.
  3. Multi column sorting in metadata grid
  4. SNPs -> chose presentation between GrapeTree and phylogram.

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.