DECIPHER-genomics / Genoverse

HTML5 scrollable genome browser
https://genoverse.org/
Other
106 stars 44 forks source link

How to configure local BED/BAM file as data source? #81

Closed waynewang6660 closed 1 year ago

waynewang6660 commented 1 year ago

How to configure local BED/BAM file as data source?Is there a case?

waynewang6660 commented 1 year ago

image I have seen some library ex,but the wiki does not tell where to configure the local file address or how to configure which file users want to read?

pdl commented 1 year ago

The model's dataFile attribute is passed to FileReader.readAsText(). How you get the file there is up to the developer using Genoverse.

NB: You can normally drag and drop a file onto Genoverse and it will attempt to parse and render it as a track.

waynewang6660 commented 1 year ago

Thank you very much,it works perfect!