Open xiuchengquek opened 8 years ago
Hi writing in to address an issue with using more than one searchable tracks with biodalliance version 0.13
When I have 2 searchable source
sources: [{name: 'Genome', uri: 'http://www.derkholm.net:8080/das/hg18comp/', tier_type: 'sequence', provides_entrypoints: true}, {name: 'Genes', desc: 'Gene structures from Ensembl 54', uri: 'http://www.derkholm.net:8080/das/hsa_54_36p/', collapseSuperGroups: true, provides_karyotype: true, provides_search: true }, {name: 'Repeats', uri: 'http://www.derkholm.net:8080/das/hsa_54_36p/', stylesheet_uri: 'http://www.derkholm.net/dalliance-test/stylesheets/ens-repeats.xml'}, {name: 'MeDIP raw', uri: 'http://www.derkholm.net:8080/das/medipseq_reads'}, {name: 'MeDIP-seq', uri: 'http://www.ebi.ac.uk/das-srv/genomicdas/das/batman_seq_SP/'}, {name: 'test-search', bwgURI: 'https://pwbc.garvan.org.au/~xiuque/capseq_data/out.bb', provides_search: true, } ]
This results in the following error ( from the console )
Uncaught TypeError: source.features is not a functionBrowser.doDasSearch @ dalliance-all.js:13360(anonymous function) @ dalliance-all.js:13351Browser.search @ dalliance-all.js:13353(anonymous function) @ dalliance-all.js:2482
However when i switch to the source of my biodalliance to version 0.11 at http://www.biodalliance.org/release-0.11/dalliance-compiled.js
I can search by both the gene track and the test-search track that I have added.
The content of out.bb in bed format is a bed file with a single feature
1 200 2000 death
Hi writing in to address an issue with using more than one searchable tracks with biodalliance version 0.13
When I have 2 searchable source
This results in the following error ( from the console )
However when i switch to the source of my biodalliance to version 0.11 at http://www.biodalliance.org/release-0.11/dalliance-compiled.js
I can search by both the gene track and the test-search track that I have added.
The content of out.bb in bed format is a bed file with a single feature