PitchInteractiveInc / Phinch

Phinch is an open-source framework for visualizing biological data, funded by a grant from the Alfred P. Sloan foundation. This project represents an interdisciplinary collaboration between Pitch Interactive, a data visualization studio in Oakland, CA, and biological researchers at UC Riverside.
http://phinch.org/
BSD 2-Clause "Simplified" License
149 stars 30 forks source link

Unable to import dense biom files #64

Closed iimog closed 7 years ago

iimog commented 7 years ago

The github page of phinch states:

Phinch supports both "sparse" and "dense" BIOM formats (although sparse .biom files are highly recommended, since the file size is much smaller).

However trying to load a dense biom file leads to a strange filter page and no visualizations at all. Try this simple dense file from the biom-format.org website: https://gist.github.com/iimog/0f81cde695e26a5c8146fb306399c9f7

Looking at the code I see that many operations are hard coded for sparse data. So dense tables have to either be converted to sparse by Phinch, or all those operations have to be changed.

Else it might also be ok to state that Phinch can only handle sparse data.

hollybik commented 7 years ago

Thanks for pointing this out - I wasn't previously aware that we had hardcoded "sparse" format into the current release of Phinch. I have now updated the wiki documentation to reflect this limitation.