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
sambamba 0.6.3
I used 'sambamba markdup' to process ~200 bam files, but a few output occurred error in 'samtools stats':