This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Samtools for corrupt bam?

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

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

0 answers

No answers yet.

Log in to answer this question.