biocore / emperor

Emperor a tool for the analysis and visualization of large microbial ecology datasets
http://biocore.github.io/emperor/
Other
52 stars 50 forks source link

Emperor plots on windows chrome #616

Closed nagpal511 closed 7 years ago

nagpal511 commented 7 years ago

Hi, I just had a miseq run which i analyzed by Qiime preprocessing and Qiime visualtinl apps. However, I am not able to view the (beta-diversity) PCoA plots from the index.html link. Every time I click on this link, it shows a big "Emperor' logo for a second and then leaves a blank screen. All other plots i.e. alpha-diversity (rarefaction) plots and taxa summary bar and area charts are opened without any problem. Could you please suggest a solution for this problem? I am using a windows HP desktop with Google chrome.

Many thanks! Ravi

ElDeveloper commented 7 years ago

Can you confirm that you can see a rotating cube when you access this URL: https://get.webgl.org

nagpal511 commented 7 years ago

Yes I can see the rotating cube.

ElDeveloper commented 7 years ago

Could you open the JavaScript console? View > Developer > JavaScript Console. Maybe there's an error message not being caught. If there are any errors, please send a screenshot or copy/paste the error here. 👍

nagpal511 commented 7 years ago

Sure. But could please guide me on how to open that console? I am not familiar with java.

ElDeveloper commented 7 years ago

This StackOverflow answer indicates that you can do this by using CTRL-SHIFT-J.

nagpal511 commented 7 years ago

capture1

nagpal511 commented 7 years ago

I did "Ctrl-shift-J" on a new chrome tab and this popped out.

nagpal511 commented 7 years ago

And when I pressed 'F12' I got this:

capture2

ElDeveloper commented 7 years ago

Did you do this while you had the Emperor file open? As a side note, can you open and view the plot in this URL: http://emperor.microbio.me/master/make_emperor/biplot/index.html

nagpal511 commented 7 years ago

Yes I can open and view these plots!

And when I ran 'CTRL-SHIFT-J' with Emperor file being opened, this is what I got: capture3

nagpal511 commented 7 years ago

This is strange. I can view your plots but not mine.

ElDeveloper commented 7 years ago

It seems like the visualization you generated with BaseSpace is missing some resources, namely jQuery. Would you mind zipping your emperor visualization and uploading it here?

nagpal511 commented 7 years ago

QIIME_Visualizations_10.zip

nagpal511 commented 7 years ago

Thanks again, for your valuable time & help. Here is the complete folder I got after downloading the analysis.

nagpal511 commented 7 years ago

Hi Yoshiki, could you find time to resolve the issue?

ElDeveloper commented 7 years ago

I just had a look, it seems like the outputs produced by the BaseSpace app are incomplete i.e. they are missing some resource files required for Emperor to work.

This does not appear to be a problem with QIIME or the QIIME app, this seems to be a problem with BaseSpace itself not copying some files.

I've uploaded both plots (unweighted and weighted) with all the required resources:

Archive.zip

nagpal511 commented 7 years ago

Thank you very much, Yoshiki. But I still cannot view the plots, eve after disabling WebGL and enabling "Override software rendering list" on my chrome.

ElDeveloper commented 7 years ago

Can you send us a screenshot of the message you are seeing? I tested both plots in Chrome and they work for me.

nagpal511 commented 7 years ago

capture4

nagpal511 commented 7 years ago

I am getting this only, even after I enable or disable WebGL.

ElDeveloper commented 7 years ago

I think you need to extract the contents of the zip file, you might be viewing the index.html file from within the "unzipping" software in Windows.

nagpal511 commented 7 years ago

Thank you very much, Yoshiki. I can now view the plots. Greatly appreciated!!! By the way, what would be your suggestion or what should I do now to ensure that I don't face the same problem during my next miseq runs?

ElDeveloper commented 7 years ago

I believe this is a problem with the BaseSpace downloader, so my recommendation would be to reach out to the Illumina team and ask them why were some files not downloaded.

nagpal511 commented 7 years ago

Ok Yoshiki, I will do that now. By the way, is it possible for me to perform Qiime analysis on my windows PC? I mean I don't have Linux or Mac, just a routine office PC with latest version of MS Windows. If so, then I won't have to use base space and I would have more control over more options and parameters.

ElDeveloper commented 7 years ago

You can run QIIME analyses in Windows if you use a virtual machine: http://qiime.org/install/virtual_box.html

On (Oct-30-17|13:31), nagpal511 wrote:

Ok Yoshiki, I will do that now. By the way, is it possible for me to perform Qiime analysis on my windows PC? I mean I don't have Linux or Mac, just a routine office PC with latest version of MS Windows. If so, then I won't have to use base space and I would have more control over more options and parameters.

-- You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/biocore/emperor/issues/616#issuecomment-340574858

nagpal511 commented 7 years ago

Alright, Yoshiki, will give it a try. Thanks!!! PS. Does your name 'Yoshiki' come from Japan?

ElDeveloper commented 7 years ago

Yes it is a Japanese name 🗾 👍

nagpal511 commented 7 years ago

I see. I simply asked because I've worked in Japan for 5 years and that was the best time of my life. Just loved everything about Japan :)

nagpal511 commented 6 years ago

Hi Yoshiki, sorry to poke you again but I had a little query if you could advice. We're running 16S miseq sequencing as per the earth microbiome project protocol (515F and 806R primers; V4 region) and analyzing the data using qiime preprocessing and qiime visualization apps on base space. But we only get output up to genus level. Is there anyway to get data up to species level? Thanks very much in advance!

nagpal511 commented 6 years ago

Hi Yoshiki, I'm having some trouble with qiime preprocessing base space app. Could you please be kind enough to be able to help?