I have a sam file that I want to convert to a bam file:
samtools view -b -S in.sam > out.bam
I get this error:
[samopen] no @SQ lines in the header.
[sam_read1] missing header? Abort!
My sam file looks perfectly normal to me. Does anyone see what I'm doing wrong?
Thanks.
Eric
samtools view -b -S in.sam > out.bam
I get this error:
[samopen] no @SQ lines in the header.
[sam_read1] missing header? Abort!
My sam file looks perfectly normal to me. Does anyone see what I'm doing wrong?
Thanks.
Eric
Comment