[main_samview] fail to read the header

Samtools – [main_samview] fail to read the header

1

Hi everyone,

I’m attempting to convert a SAM file to a BAM file using the following command:

samtools view -S -b test.sam > test.bam

However, I’m getting the error [main_samview] fail to read the header (see figure). The figure attached shows the error I’m getting on the top and the contents of the beginning of the SAM file on the bottom. Has anyone seen this before? Is there a simple fix? I’m still new to computational biology, so I’d appreciate any help I can get.

samtools view error


bam


samtools

• 37 views

updated 1 hour ago by

34k

written 2 hours ago by

▴

30

Read more here: Source link