-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consensus error "fasta sequence does not mach REF allele" #938
Comments
Can you check that you are using the latest github version of bcftools? |
bcftools --version give return this: bcftools 1.9 I saw that there was a new commit 5 days ago on https://github.com/samtools/bcftools and i downloaded it directly from this repository. Maxime |
That's the latest versioned release 1.9. You'll need to get the latest github version as described here http://samtools.github.io/bcftools/howtos/install.html |
I think the error still happen with this version :/ Here is what i get using bcftools --version when installed from http://samtools.github.io/bcftools/howtos/install.html bcftools 1.9-93-g27c9e5d Is this the good version ? Sorry for the inconvenience, Maxime |
OK, it is a genuine problem then. Can you first run |
I tried it but failed with the same error : Here is my full pipeline with the files attached [I didn't upload the original bam file but only the VCF resulting from bcftools mpileup] :
Regions.bed.tar.gz I don't know if i ran bcftools norm too late or at the wrong step. Best, Maxime |
Thank you for the test files, this should be now fixed, hopefully for good. I also expanded the documentation to show the indel normalizing and filtering step http://samtools.github.io/bcftools/howtos/consensus-sequence.html |
Thank you a lot ! 👍 |
Hi everyone,
I tried to use bcftools consensus on my data but i got an error, already reported here : #888
I saw that the issue was solved and downloaded the new commit made with the problem supposed to be solved but it still fails :
The fasta sequence does not match the REF allele at NC_035902.1:45610288:
.vcf: [AT] <- (REF)
.vcf: [ATT] <- (ALT)
.fa: [TT]ATTATTATTATTATTATTATTATTATTATATTTT
Result_bcf_call.vcf.gz
Astyanax_Surface_EyegenesRegions.fasta.gz
I attached the vcf file as well as the reference so you can try it. (VCF file and Reference file)
Thanks and happy holidays,
Maxime
The text was updated successfully, but these errors were encountered: