Samtools for corrupt bam?
0
0
Entering edit mode
4.3 years ago
vctrm67 ▴ 50

I am getting an error message with regards to a corrupt bam:


Error: BAM file is corrupt. Samtools cannot parse header

Does anyone know if there is a fix? Or do I have to realign the bam file?

samtools • 1.1k views
ADD COMMENT
0
Entering edit mode

Can you try to get the header only? samtools -H file.bam

ADD REPLY

Login before adding your answer.

Traffic: 2414 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6