Closed jbloom closed 6 years ago
Hi Jesse,
Thanks for the PR, can you please fix it for python2 as well? Then I'll try and make a test for this if I can find a short pacbio bamfile, or if you could send me one it'd be great ;-)
Fabio
On May 6, 2018 9:31:57 AM PDT, Jesse Bloom notifications@github.com wrote:
BAM files created by some programs (e.g., PacBio's CCS) lack the SQ flag. They can still be read by
pysam
using thecheck_sq=False
flag. This commit creates an option to use that flag when usingHTSeq.BAM_Reader
. You can view, comment on, or merge this pull request online at:https://github.com/simon-anders/htseq/pull/53
-- Commit Summary --
- add
check_sq
optionBAM_Reader
-- File Changes --
M python3/HTSeq/init.py (11)
-- Patch Links --
https://github.com/simon-anders/htseq/pull/53.patch https://github.com/simon-anders/htseq/pull/53.diff
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/simon-anders/htseq/pull/53
Hi Fabio,
The last commit e9efae3 should have added it for python2
as well.
I have attached a short example CCS PacBio file that can be read by BAM_Reader
with check_sq=False
but not with default check_sq=True
. (I had to ZIP the file to get GitHub to allow me to upload it, so that is why it is a zipped BAM).
Thanks!
--Jesse short_test_ccs.bam.zip
BAM files created by some programs (e.g., PacBio's CCS) lack the SQ flag. They can still be read by
pysam
using thecheck_sq=False
flag. This commit creates an option to use that flag when usingHTSeq.BAM_Reader
.