eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
294 stars 71 forks source link

Yeast example does not work #223

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

Heyo! It looks like there is a missing / mislabeled static file preventing the yeast example from working:

image

vsoch commented 4 years ago

Here is the link! https://eweitz.github.io/ideogram/eukaryotes?org=saccharomyces-cerevisiae

eweitz commented 4 years ago

Thanks for reporting the bug, @vsoch. This was caused by a silently backwards-incompatible upstream API change. I'll likely deploy a fix within a few days.

eweitz commented 4 years ago

Fixed! Thanks again. Technical details are in #225.

vsoch commented 4 years ago

Thank you @eweitz ! One more quick (probably naive) question - is there any reason that I can't see detail in the genome beyond a gray bar? For example here is yeast:

image

and here are some others with details:

image

You have a lot of really beautiful visualizations here https://eweitz.github.io/ideogram/ - is there one that would do well to visualize and allow someone to dig in to the yeast genome? E.g., we're working on a site that has gene-level information, and it would be cool to have a diagram to explore, find a gene, and then click to get there.

eweitz commented 4 years ago

Hi @vsoch, you asked:

is there any reason that I can't see detail in the genome beyond a gray bar?

Yes, that's due to lack of cytogenetic banding data.

Such bands are available for a few organisms (e.g. rat), but not readily for yeast. Most band data is from NCBI, and I occasionally forage band data from other resources when someone inquires. There is also a level between the "fully banded" view like your rat example and the grey bar like yeast. The intermediate level adds centromeres -- the most important feature of a chromosome after its length. For more on bands, centromeres, and chromosome data in Ideogram, check out slides 6-9 here and slide 21 here.

I just found Saccharomyces cerevisiae centromere data to enrich the yeast ideogram. I'll add that soon and let you know.

is there one that would do well to visualize and allow someone to dig in to the yeast genome? E.g., we're working on a site that has gene-level information, and it would be cool to have a diagram to explore, find a gene, and then click to get there

Not yet. I'll look into adding yeast to Ideogram for related genes. That example lets the user search for a gene, and plots its position and the position of paralogs (sequentially similar genes in the same organism) and interacting genes (genes immediately up- or down-stream in a biochemical pathway).

Beyond that, something like Annotations, basic gives the gist for how to plot a gene in Ideogram.

Your site sounds interesting, and useful! Could you let me know when it's ready?

vsoch commented 4 years ago

I just found Saccharomyces cerevisiae centromere data to enrich the yeast ideogram. I'll add that soon and let you know.

Wow thank you! Please let me know if I can help! I've looked at the source code for the examples that I linked, and it looks like they both generate a config object to then interact with the ideogram.js module. I was thinking if I could generate this data file for yeast it would be possible to get a similar interactive genome. So - I'm here to help if there is something that I can do! I'm so appreciative for your help!

Your site sounds interesting, and useful! Could you let me know when it's ready?

Of course! I definitely hope we finish up in the next few months.

eweitz commented 4 years ago

Hi @vsoch, Ideogram now shows centromeres for yeast! I'll release that this weekend and update here.

Also, you wrote:

if I could generate this data file for yeast it would be possible to get a similar interactive genome.

True. The hard part is getting such a data file. That SRR562646.json gene expression file you note was generated by the rnaseqview pipeline. The pipeline code is free, open, and documented, but generally not maintained or actively supported.

An easier approach would be to start with a genes file, and omit expression data. The basic feature data (names, positions, and types for a list of genes) is easier to find, more universal, and simpler -- and still somewhat interesting. The visualization would look like Annotations, histogram, but for yeast and lacking an "Expression level" facet.

Does that seem promising? If so, I have some code that could be useful.

vsoch commented 4 years ago

Does that seem promising? If so, I have some code that could be useful.

Yes! My naive sense would be to start with systematic names, and then use the SGD database API to get the names, positions, and types - the expression would vary based on the dataset. If you have something to start in that direction, I could definitely give it a shot!

eweitz commented 4 years ago

I'll release that this weekend and update here.

This is live: https://eweitz.github.io/ideogram/eukaryotes?org=saccharomyces-cerevisiae.

My naive sense would be to start with systematic names, and then use the SGD database API to get the names, positions, and types - the expression would vary based on the dataset.

That approach makes sense! I'll link to the relevant code I mentioned soon.