Hi
I'm trying to generate SAM alignment file using BWA version 0.5.9-r16.
I first aligned successfully paired-end reads to the reference using aln:
bwa aln ref.fasta s_1.fq > s1.aln
bwa aln ref.fasta s_2.fq > s2.aln
Then I wanted to use sampe to generate sam file
bws sampe ref.fasta s1.aln s2.aln s_1.fq s_2.fq > s.sam
And i got the following
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[bwa_read_seq] the maximum barcode length is 15.
Any idea what I did wrong?
Thanks
Mali
I'm trying to generate SAM alignment file using BWA version 0.5.9-r16.
I first aligned successfully paired-end reads to the reference using aln:
bwa aln ref.fasta s_1.fq > s1.aln
bwa aln ref.fasta s_2.fq > s2.aln
Then I wanted to use sampe to generate sam file
bws sampe ref.fasta s1.aln s2.aln s_1.fq s_2.fq > s.sam
And i got the following
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[bwa_read_seq] the maximum barcode length is 15.
Any idea what I did wrong?
Thanks
Mali
Comment