phandango icon indicating copy to clipboard operation
phandango copied to clipboard

Big gene_presence_absence file

Open ivaatanas opened this issue 8 years ago • 3 comments

Hello! I am trying to use phandango for getting a tree against the gene presence absence matrix from Roary. It all worked fine when I had smaller data sets, but now I have more genomes and a larger gene presence absence file (250 MB). When I try loading the csv, the site crashes (I tried with Chrome and Firefox). Is there a way to fix this? Thank you :)

ivaatanas avatar Mar 12 '17 18:03 ivaatanas

James have a simple python script here which minimises this file

mushalallam avatar Mar 13 '17 07:03 mushalallam

Thank you! Now I can load everything, but phandango crashes when I try to export a svg file. Do you maybe know how to solve this?

ivaatanas avatar Mar 13 '17 12:03 ivaatanas

Hi @ivaatanas - i'm guessing that the file is just too large to be handled by the code we use to construct the SVG. Perhaps @simonrharris can solve this, but I would suggest using screenshots as I think this will be extremely hard to fix (SVGs with millions of tiles would be really hard to work with as well). Thanks, james

jameshadfield avatar Apr 20 '17 17:04 jameshadfield