Hi,
The command below:
samtools mpileup -ugf 454AllContigs.fasta my.bam | bcftools view -bvcg - > var.raw.bcf
exits with the following error:
[mpileup] 2 samples in 1 input files
<mpileup> Set max per-sample depth to 4000
[bcf_sync] incorrect number of fields (7 != 5) at 43:101
Would that mean that the bam file is missing fields? It is created via the standard methods as outlined in the BWA and samtools manuals.
The alignments are made using bwa bwasw where 454 reads served as query and references.
The RG fields are created according to the samtools manual.
The following fields have been set while merging:
@RG ID:dUMMY1 SM:dUMMY1 LB:454 PL:454
@RG ID:dUMMY2 SM:dUMMY2 LB:454 PL:454
(...)
Does anyone have an idea what the error cause is? If so, please share it here.
The description 7 != 5 is not helping much to track the reason.
Thanks,
Best regards
The command below:
samtools mpileup -ugf 454AllContigs.fasta my.bam | bcftools view -bvcg - > var.raw.bcf
exits with the following error:
[mpileup] 2 samples in 1 input files
<mpileup> Set max per-sample depth to 4000
[bcf_sync] incorrect number of fields (7 != 5) at 43:101
Would that mean that the bam file is missing fields? It is created via the standard methods as outlined in the BWA and samtools manuals.
The alignments are made using bwa bwasw where 454 reads served as query and references.
The RG fields are created according to the samtools manual.
The following fields have been set while merging:
@RG ID:dUMMY1 SM:dUMMY1 LB:454 PL:454
@RG ID:dUMMY2 SM:dUMMY2 LB:454 PL:454
(...)
Does anyone have an idea what the error cause is? If so, please share it here.
The description 7 != 5 is not helping much to track the reason.
Thanks,
Best regards
Comment