This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Samtools Mpileup Error In Making The Consensus Sequences

Dear All

I am trying to make consensus sequences using command

samtools mpileup -uf ref.fa aln.bam | bcftools view -cg - | vcfutils.pl vcf2fq > cns.fq.

But i am getting this error:

[bcf_sync] incorrect number of fields (4 != 5) at 15:16294867
[afs] 0:49470.732 1:50.052 2:33.216

Can some one help me to sort out this problem. What exactly is going wrong.

Regards

samtools mpileup

1 answer

Follow this thread at seqanswers:

Log in to answer this question.