-
Notifications
You must be signed in to change notification settings - Fork 244
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
bcftools csq Error: the fasta reference does not match the VCF REF allele at h2tg000007l:1000944 #2323
Comments
Any chance you could narrow the problem down and create a small test case to reproduce the error? The error message seems clear enough, it's hard to tell what's going on. A test case can be created with the help of these two scripts
|
Hi @pd3 , I generated test case by Then, I used
No idea what happened, I will follow your instructions if I did something wrong. |
Not sure how to navigate you more, apparently the script is not clever enough. If not too big, perhaps you could share the original data? |
Hi, the files are not too big, but github only allows 25Mb to be uploaded, how could I share the data to you. |
Can you use https://wetransfer.com or simlar? |
Thank you for the test case. The problem was caused by invalid transcript boundaries in the GFF file, some of the exons are not fully contained which, I think, is a bug in the GFF. See for example
The parser now checks this and skips features which are not fully contained within the transcripts and extends the transcript boundaries. |
Thanks very much, I will try your newest version! |
Hi, to use the newest bcftools, I
I encountered compile error:
according to the tips, I added the -std=C99 parameter in command line: Another error occured:
I wanted to use the newest |
Hi @pd3 , could you please release the newest Thanks. |
You would have to request that of the bioconda maintainers, but note that they generally only build packages when there has been a new upstream release. |
Firstly, this OS is officially no longer supported by RedHat. You should consider upgrading as it won't be getting any security fixes. Secondly, to fix your problem, just enable C99 mode as the error hints at (but without disabling the other GNUisms). You can do this with Edit: or better yet do the |
Bad news. Maybe I choose to fix the gff file. |
Did it not build with |
Hi, @jkbonfield ,I can not build with Here is the error info:
|
Hi, as the title says,
bcftools csq
throws an error, but the wrong site h2tg000007l:1000944 did't exist in my vcf file.What is the probable problem and how to fix it.
Thanks very much.
The text was updated successfully, but these errors were encountered: