I am trying to transfer a SAM file to BAM file using samtools but get error as shown in the attached figure.
I have the SAM files ready in the right format, this SAM file is prepared by join another sam file with one bed file together. The columns are correct.
I used -S to indicate input is sam, and -b to indicate output is bam
i use -t to indicate that the sam file contains tab delimiter, and no header.
what could be the issue?
Thanks a lot
I have the SAM files ready in the right format, this SAM file is prepared by join another sam file with one bed file together. The columns are correct.
I used -S to indicate input is sam, and -b to indicate output is bam
i use -t to indicate that the sam file contains tab delimiter, and no header.
what could be the issue?
Thanks a lot
Comment