-
Notifications
You must be signed in to change notification settings - Fork 26
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
SAM/BAM/CRAM file has 1 before 10, but VCF/BCF file has 1 after 10 #102
Comments
I doubt that this is a bug. If you can compare the results from
that would clarify the difference. |
Did you reorder the VCF header too? |
I don't know what the problem is exactly here. I didn't run into this problem before. Is it possible that you can use demuxlet in popscle (which is recommended anyways) and see if the problem persists? |
You can use picard to sort your VCF based on your bam file and update the dictionary: statgen/popscle#42 |
Dear all,
Although I already sorted the VCF file according to the chromosome order of the BAM file AND adjusted the header of the VCF file, I still get this error:
" [E:int32_t cmdCramDemuxlet(int32_t, char**)] Your VCF/BCF files and SAM/BAM/CRAM files have different ordering of chromosomes. SAM/BAM/CRAM file has 1 before 10, but VCF/BCF file has 1 after 10 "
What could be the problem? Is there a bug?
Could anyone help me out here?
Thanks!
The text was updated successfully, but these errors were encountered: