biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
558 stars 104 forks source link

some bam files from 'sambamba markdup' failed in 'samtools stats' #385

Closed zhangrengang closed 5 years ago

zhangrengang commented 5 years ago

sambamba 0.6.3

I used 'sambamba markdup' to process ~200 bam files, but a few output occurred error in 'samtools stats':

==> err/B070_map_stats.err <==
[E::bgzf_uncompress] Inflate operation failed: progress temporarily not possible, or in() / out() returned an error
[E::bgzf_read] Read block operation failed with error 1 after 0 of 4 bytes
Failure while decoding file

==> err/B080_map_stats.err <==
[E::bgzf_uncompress] Inflate operation failed: invalid distance too far back
[E::bgzf_read] Read block operation failed with error 1 after 0 of 4 bytes
Failure while decoding file

==> err/B184_map_stats.err <==
[E::bgzf_uncompress] Inflate operation failed: invalid distance too far back
[E::bgzf_read] Read block operation failed with error 1 after 0 of 4 bytes
Failure while decoding file

==> err/B218_map_stats.err <==
[E::sam_parse1] query name too long
[W::sam_read1] Parse error at line 1
Failure while decoding file
pjotrp commented 5 years ago

Looks like your BAM files are incomplete.