Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature density for in-memory adaptor #913

Closed
hkmoon opened this issue Jul 28, 2017 · 3 comments
Closed

Feature density for in-memory adaptor #913

hkmoon opened this issue Jul 28, 2017 · 3 comments
Labels
feature req this adds new functionality to JBrowse 1 help wanted actively soliciting new contributors to take this on!
Milestone

Comments

@hkmoon
Copy link
Contributor

hkmoon commented Jul 28, 2017

Currently, I am using GTF, GFF in-memory adaptor which is really useful and very straightforward.
However, when I zoom-out, it does not give any histogram of the feature density.
Can I make histogram by changing some configuration? Or, is there no feature density transition for in-memory adaptor cases?

@cmdcolin
Copy link
Contributor

There is code for histograms to be generated dynamically from feature data but I think what's missing for the in-memory is that it doesn't implement the stats calculations like getGlobalStats. Therefore the genome browser doesn't get any clues as to when to display the histograms. That's just a guess though

@cmdcolin
Copy link
Contributor

The particular function that is missing from the in-memory store classes is actually called getRegionFeatureDensities.

Note that you can do a workaround which is that you can pre-generate a "bigwig coverage" file (bedtools genomecov helps with this), but maybe that isn't as helpful as an auto calculated feature density

@hkmoon
Copy link
Contributor Author

hkmoon commented Aug 1, 2017

Thank you for the clarifying it. I thought it was due to the my configuration.
I suppose that the getRegionFeatureDensities function is a quite heavy operation especially on the big files unless the index files are provided.

@rbuels rbuels added help wanted actively soliciting new contributors to take this on! feature req this adds new functionality to JBrowse 1 labels Jan 25, 2018
@rbuels rbuels added this to the 1.14.1 milestone Apr 20, 2018
@rbuels rbuels closed this as completed in b0422cc Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature req this adds new functionality to JBrowse 1 help wanted actively soliciting new contributors to take this on!
Projects
None yet
Development

No branches or pull requests

3 participants