Hello,
The command
cat all.mpileup | bcftools view -bvcg - > all.var.raw.bcf
exits with the text below
[bcf_sync] incorrect number of fields (4 != 5) at 10:1696253
[afs] 0:38509.883 1:50.388 2:38.729
before exiting it outputs this text (this pattern starts at 100000)
[bcfview] 13600000 sites processed.
[afs] 0:99814.004 1:101.247 2:84.750
[bcfview] 13700000 sites processed.
[afs] 0:99786.086 1:107.189 2:106.725
all.mpileup was generated with the following command
samtools -verbose -uf reference.fasta all.bam > all.mpileup
Does anyone know what is causing this or how to fix it? I would like to be able to call both SNPs and indels with this.
Thank you
The command
cat all.mpileup | bcftools view -bvcg - > all.var.raw.bcf
exits with the text below
[bcf_sync] incorrect number of fields (4 != 5) at 10:1696253
[afs] 0:38509.883 1:50.388 2:38.729
before exiting it outputs this text (this pattern starts at 100000)
[bcfview] 13600000 sites processed.
[afs] 0:99814.004 1:101.247 2:84.750
[bcfview] 13700000 sites processed.
[afs] 0:99786.086 1:107.189 2:106.725
all.mpileup was generated with the following command
samtools -verbose -uf reference.fasta all.bam > all.mpileup
Does anyone know what is causing this or how to fix it? I would like to be able to call both SNPs and indels with this.
Thank you
Comment