Closed kpalin closed 6 years ago
before I did in to this too much. would you re-index your cram with samtools 1.6 or greater and see if the problem persists?
Indexed with:
Program: samtools (Tools for alignments in the SAM format) Version: 1.8 (using htslib 1.8)
and for the record, it's mapped with minimap2 version 2.10-r761 from bioconda (Sam output converted to cram with above samtools). igv seems appears to work with the cram/crai.
K
On 26 April 2018 at 18:00, Brent Pedersen notifications@github.com wrote:
before I did in to this too much. would you re-index your cram with samtools 1.6 or greater and see if the problem persists?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brentp/goleft/issues/43#issuecomment-384672583, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhmCMCDc7uDgKoU6b7KZk0zGz9pS3qdks5tseD7gaJpZM4Tkxg- .
-- Kimmo Palin
Finally had a chance to look at this. I think I see the problem in my code. These must be long reads--which I should have guessed since you used minimap2. as this can only happen if the reads are longer than 16384 bases and overlap an cram tile. I'll make a fix shortly.
Do you mind if I add your data as a test-case?
I pushed a fix for this and made a new release here: https://github.com/brentp/goleft/releases/tag/v0.1.19
thanks for the test-case.
Trying to run indexcov (v0.1.18 from bioconda) on long read WGS (fai and crai attached) but keep getting an obscure error message:
bug_fai_crai.zip