elsiklab / multibigwig

A JBrowse plugin for plotting multiple bigwig subtracks
12 stars 2 forks source link

Plugin doesn't work properly with JBrowse-1.14.2-dev #18

Closed vaneet-lotay closed 6 years ago

vaneet-lotay commented 6 years ago

When trying to load the multibigwig plugin into JBrowse-1.14.2-dev after running all the setup scripts, I can see the multibigwig track that I've set up but nothing is plotted.

Is it possible to post a fix for this so it works with the latest JBrowse versions?

Thank you,

Vaneet

cmdcolin commented 6 years ago

Hi Vaneet,

I can view the test data that I have setup in 1.14.2 so I'm not sure what the issue could be

For example what happens if you visit something like this?

localhost/jbrowse/?data=plugins/MultiBigWig/test/data

Do the test data tracks show up?

vaneet-lotay commented 6 years ago

When I view test data in JBrowse 1.14.2-dev on my browser, this is what I see:

multibigwig_test

Have I forgot to configure something properly? I have simply followed your instructions and inserted the "plugins" line in the tracklist.json of my track folder.

Vaneet

vaneet-lotay commented 6 years ago

Here's the java console while I was trying to load the test data in case you need to see it:

mbw_console

Vaneet

cmdcolin commented 6 years ago

It looks like somehow HideTrackLabels is being included twice which causes the first large red error.

If possible I would make all your plugins included from one config file e.g. only jbrowse.conf or only trackList.json and not include some in one file and more in another, that can cause issues (specifically this issue https://github.com/GMOD/jbrowse/issues/897).

The thing about "cannot read property color" looks like the error from using an old version of MultiBigWig. I would recommend checking that you have the latest version of MultiBigWig in your plugins directory. Then re-run setup.sh

Sorry this issue seems to have caused you a bunch of trouble...hopefully it should not be too much more....

maoyibo commented 6 years ago

My mistake. I changed my JBrowse from JBrowse-1.14.2 to JBrowse-1.14.2-dev, and rerun the setup.sh, now I can successfully visit the data=plugins/MultiBigWig/test/data. Thanks.

=============== Pervious question(Fixed) =============== I unpacked MultiBigWig to plugins folder in JBrowse, and add "plugins": ["MultiBigWig"] to jbrowse_conf.json, then I rerun setup.sh But when I visit ?data=plugins/MultiBigWig/test/data, The JBrowse show the default "Congratulations" Page, and I get error message: "plugin MultiBigWig not found, please ensure the plugin was included in this JBrowse build".
How can I solve this problem?

vaneet-lotay commented 6 years ago

Hey Colin,

I re-uploaded the latest JBrowse package and obtained the latest code from GitHub for this plugin. After trying some of the corrections you mentioned the MultiBigWig tracks seem to work fine. I'm having trouble with another plugin so I still can't upgrade but hopefully I'll work out those issues soon.

Thanks,

Vaneet

cmdcolin commented 6 years ago

@maoyibo glad you got this figured out:). Let me know if there are any other problems

Same with you also vaneet! I guess I'll closer for now. I can add a note in the readme about using the dev version for plugin builds too