From: Colin <col...@gm...> - 2020-08-06 00:29:03
|
I think this is sort of related to your last question (xref https://sourceforge.net/p/gmod/mailman/message/37078566/) I took a little shortcut and made an abbreviated config in that thread, but if you add the storeClass to the track config, then the Combination track recognizes it properly and should allow it var storeName = JBrowse.addStoreConfig(null, { browser: JBrowse, type: "JBrowse/Store/SeqFeature/BigWig", baseUrl: ".", urlTemplate: "sample_data/raw/volvox/volvox_microarray.bw", }); JBrowse.publish("/jbrowse/v1/v/tracks/replace", [ { label: "My Track2", store: storeName, storeClass: "JBrowse/Store/SeqFeature/BigWig" }, ]); Note that we don't use combination tracks often so there are probably some weird corners there, but I am curious how your experience goes -Colin On Wed, Aug 5, 2020 at 5:42 PM ARORA, SONNY <sz...@ps...> wrote: > Hi, > > I'm looking to add two bigwigs together in JBrowse. I'm working on Chrome Version > 84.0.4147.89 (Official Build) (64-bit). > > Going to the address: > > > http://jbrowse.org/code/JBrowse-1.16.9/?data=sample_data%2Fjson%2Fvolvox&loc=ctgA%3A19987..24704&tracks=DNA%2Cvolvox_microarray_bw_density%2Cvolvox_sine_density&highlight= > > I add a genome by clicking Genome -> Open Sequence File -> Local Files -> > Select Files. I then select my mm10.fa and mm10.fa.fai files and click > open. > > I then load two bigwigs: Track -> Open track file or URL -> Local Files -> > Select Files. The bigwigs appear to display fine. > > I create a combination track: Track -> Add combination track. > > When I try to drag over one of the bigwigs to the combination track I get > a red stop sign and am not able to add the bigwig to the track. I've > attached a screenshot. Let me know what I'm doing wrong, thanks! > > Best, > > Sonny > > > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > |