-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mergeSAM.py error #660
Comments
Could you check if the BAM files are not truncated please ? or corrupted ? |
I tried the code "samtools quickcheck ... " to check the BAM files. They were not truncated or corrupted. |
I tried the code "bgzip -t ...." to cheack and showed the problem that How can I solve these problems? |
no idea. I guess something went wrong during the mapping and the samtools merge command. |
Hello!
My program meets some problems.
I checked the log file, and found this.
The first time I ran my code, I got this error.
[E::bgzf_uncompress] Inflate operation failed: 3
[E::bgzf_read] Read block operation failed with error 1 after 0 of 4 bytes
Traceback (most recent call last):
File "/lustre/user/taowlab/wanghc/work/AC/hic/HiC-Pro_3.1.0/scripts/mergeSAM.py", line 223, in
for r1, r2 in zip(hr1.fetch(until_eof=True), hr2.fetch(until_eof=True)):
File "pysam/libcalignmentfile.pyx", line 2209, in pysam.libcalignmentfile.IteratorRowAll.next
OSError: truncated file
The second time I ran my code, I got this error.
[E::bgzf_read_block] Invalid BGZF header at offset 23494271862
[E::bgzf_read] Read block operation failed with error 2 after 0 of 4 bytes
Traceback (most recent call last):
File "/lustre/user/taowlab/wanghc/work/AC/hic/HiC-Pro_3.1.0/scripts/mergeSAM.py", line 223, in
for r1, r2 in zip(hr1.fetch(until_eof=True), hr2.fetch(until_eof=True)):
File "pysam/libcalignmentfile.pyx", line 2209, in pysam.libcalignmentfile.IteratorRowAll.next
OSError: truncated file
I really need your help!
The text was updated successfully, but these errors were encountered: