Closed
Description
Hi guys,
I have been looking to generate a consensus sequence. I mapped reads with Bowtie 2, then I used bcftools mpileup, and bcftools call. For this I used:
bcftools 1.9
Using htslib 1.9
Copyright (C) 2018 Genome Research Ltd.
License Expat: The MIT/Expat license
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
After mpileup and call, I used bcftools consensus, and got the following message:
The fasta sequence does not match the REF allele at JH651516.1:12426:
.vcf: [AAAAAAA]
.vcf: [AAAAAATAAAAAAAA] <- (ALT)
.fa: [CAAAAAA]TAAAAAATAAAAGAATGTGGTATGTTTATACAATGGAATACTACTTAGTTTCTTTTTAAGCTAAAAAAACTCTAAAAATTAAGGAACTCATGGATGCTACTA
The following is the info from the bcf file at said region:
JH651516.1 12426 . A C 49.2621 . DP=36;VDB=0.0264014;SGB=-0.165224;MQ0F=0;AF1=1;AC1=30;DP4=0,0,0,3;MQ=35;FQ=-26.0753 GT:PL 1/1:0,0,0 1/1:0,0,0 1/1:0,0,0 1/1:0,0,0 1/1:29,3,0 1/1:0,0,0 1/1:0,0,0 1/1:0,0,0 1/1:32,3,0 1/1:0,0,0 1/1:0,0,0 1/1:23,3,0 1/1:0,0,0 1/1:0,0,0 1/1:0,0,0
JH651516.1 12426 . AAAAAAA AAAAAATAAAAAAAA,AAAAAAAAAAAAAAAA 57.008 . INDEL;IDV=2;IMF=0.5;DP=36;VDB=0.999994;SGB=8.82107;MQSB=0.746849;MQ0F=0.0555556;AF1=0.66768;AC1=20;DP4=1,7,5,23;MQ=20;FQ=18.7946;PV4=1,1,0.000751967,1 GT:PL 0/1:0,0,0,0,0,0 1/1:23,3,0,23,3,23 0/1:0,0,0,0,0,0 0/1:0,0,0,0,0,0 0/1:0,3,31,3,31,31 0/1:0,0,0,0,0,0 1/1:44,17,11,33,0,28 1/1:41,9,0,41,3,38 0/0:10,16,45,0,32,30 1/1:22,6,0,23,4,20 1/1:8,8,5,9,3,0 0/1:67,68,80,0,13,4 0/1:0,0,0,0,0,0 0/1:0,0,0,0,0,0 0/1:0,0,0,0,0,0
Using samtools faidx for region 12426 on the same sequence returns the following:
>JH651516.1:12426-12426
A
Using bcftools downloaded from GitHub (following the instructions here http://samtools.github.io/bcftools/):
bcftools 1.9-51-g20a170e
Using htslib 1.9-38-g864c5b7
Copyright (C) 2018 Genome Research Ltd.
License Expat: The MIT/Expat license
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I get the same error:
The fasta sequence does not match the REF allele at JH651516.1:12426:
.vcf: [AAAAAAA]
.vcf: [AAAAAATAAAAAAAA] <- (ALT)
.fa: [CAAAAAA]TAAAAAATAAAAGAATGTGGTATGTTTATACAATGGAATACTACTTAGTTTCTTTTTAAGCTAAAAAAACTCTAAAAATTAAGGAACTCATGGATGCTACTA
However, using an older version of bcftools,
bcftools 1.4.1-16-g034870e
Using htslib 1.4.1-32-g5b9361d
Copyright (C) 2016 Genome Research Ltd.
License Expat: The MIT/Expat license
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I get no error, rather the warning:
The site JH651516.1:12426 overlaps with another variant, skipping...
and the FASTA file is generated.
Metadata
Assignees
Labels
No labels