Hi everyone,
I apologize because a variation of this question has been asked several times before, but I still can't seem to figure out what's wrong.
I have ELAND export files that I converted to SAM (I believe), using Samtools 0.1.18 and the command
perl samtools-0.1.18/misc/export2sam.pl --read1=exportfile > exportfile.sam
When I try to make a bam file using
samtools view -Sbh exportfile.sam > exportfile.bam
I get the following error message:
[samopen] no @SQ lines in the header.
[sam_read1] missing header? Abort!
This is day 1 for me, so I'd appreciate any pointers.
Thanks
I apologize because a variation of this question has been asked several times before, but I still can't seem to figure out what's wrong.
I have ELAND export files that I converted to SAM (I believe), using Samtools 0.1.18 and the command
perl samtools-0.1.18/misc/export2sam.pl --read1=exportfile > exportfile.sam
When I try to make a bam file using
samtools view -Sbh exportfile.sam > exportfile.bam
I get the following error message:
[samopen] no @SQ lines in the header.
[sam_read1] missing header? Abort!
This is day 1 for me, so I'd appreciate any pointers.
Thanks
Comment