dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

If x.bam.bai not on server, attempt x.bai. #131

Closed dlrice closed 9 years ago

dlrice commented 9 years ago

When adding remote bam files, if x.bam.bai is not present check to see if x.bai is there.

dasmoth commented 9 years ago

Looks good to me, but also need to handle the non-web-worker case (BAMFeatureSource, rather than RemoteBAMFeatureSource).

I actually wonder if it might make sense to move the probing code into makeBam -- that way it can be shared between the worker and non-worker cases without too much hassle.

dlrice commented 9 years ago

Closing this pull request as it has been succeeded by #134.