What are formatting requirements for BAM files loaded into GenomeBrowse?
Right, for our network BAM file reading, we assume the .bai file is located at file.bam.bai rather than file.bai.
I'm sorry that that assumption doesn't hold up in your situation.
For local BAM files, we can look at the file system and see if there is no file.bam.bai but there is a file.bai we can find the index file and move on.
We can not generate .bai files for remote sources as that requires reading the entire BAM file (which is as much work as downloading the file).
if a file.bam has a file.bam.bai in the same folder it works perfectly, but if it has a file.bai instead it doesn't. it doesn't seem to generate the .bai on the fly, hence a "server replied: not found (error code 1)" message is provided. any way we can solve this issue?
PS: the file.bam we are trying to access is behind a htaccess restriction. the .bam is perfectly displayed as a valid data source once authenticated.
We require the BAM file be sorted, that's it.
Often, pipelines that write bam files also write the bam index (BAI) file alongside it. Great!
If the BAI file is available, we will use it and you can immediately view the reads below the 10kb zoom window while we compute coverage data above that threshold.
If no BAI file is preset, we compute both the BAI and the coverage data in one pass.
Unfortunately, until that compute is finished, it's not possible to read any data in genomic coordinates and thus you won't be able to see any reads at any zoom level.
Questions should be tagged FeatureRequest for asking about a non-existing feature or proposing a new idea, GeneralInquiry for general questions about GenomeBrowse or directions on how to do something, or RanIntoProblem if you want to report an issue or had difficulty getting to an expected result.
Asked: 2012-09-26 17:07:22 -0700
Seen: 386 times
Last updated: Aug 12 '14