You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out this is easier then we thought. A CRAI file is a gzipped tab delimited file containing the following columns:
Sequence id
Alignment start
Alignment span
Container start byte offset in the file
Slice start byte offset in the container data (‘blocks’)
Slice bytes
So here is a script that will take a crai file and generate output that is identical to bamReadDepther. craiReadDepther.js.zip
There are two things left to do for bam.iobio to support cram/crai:
Turn craiReadDepther into a new deployed service. @yiq can help with this.
Update bam.iobio to identify cram/crai files and then use the new craiReadDepther services instead of the bamReadDepther service.
An alternative would be to wrap the bamReadDepther with a simple script that identifies crai and bai files and sends them to the correct parser. This is probably more robust. Yi, any thoughts?
Currently bai files are used to calculate various metrics. Ensure we can do the same for crai.
The text was updated successfully, but these errors were encountered: