I am running diffbind and has built up the dba object. When running dba.count(), there are few samples failed to process and encountered the following error message --
[W::bam_hdr_read] bgzf_check_EOF: No error
[W::bam_hdr_read] bgzf_check_EOF: No error
[E::bgzf_read] Read block operation failed with error -1 after zd of zu bytes
Anyone has any advices? Thank you in advance!
That's what I thought as well. So I did re-run the parallel alignments for all the samples, and still 4 of 14 samples failed in diffbind dba.count() with the same error.
I also did picard as you suggested, it seemed all the 14 samples got similar error as below (numbers vary) --
Error Type Count
ERROR:MATE_NOT_FOUND 202699
ERROR:MISSING_READ_GROUP 1
WARNING:RECORD_MISSING_READ_GROUP 9050819
However, 10 samples are okay with dba.count() and only 4 of them failed.
How are you aligning? Is everything single-end?
They are paired ends, I used bowtie2.
I've processed many other experiments using same workflow for diffbind. This is the first time I got this error.