Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

GATK BaseRecalibrator complaining about sort order of VCF file that is sorted correctly

lstbllstbl CU BoulderMember
edited August 2016 in Ask the GATK team

I am running GATK's BaseRecalibrator with 2 input .vcf files with known SNPs.

Both of these VCF files have been sorted using picardtools SortVcf

Upon visual inspection, both VCF files are sorted correctly--i.e. same as the genome fasta file.

However, when I run BaseRecalibrator, I get an error that one of the VCF files is not sorted the same as the reference genome. The list of chromosomes that GATK dumps out is indeed not sorted the same--for some reason all the chrX contigs are stuck at the end instead of after the mitochondrial chromosome like they are in the reference fasta and the original VCF files.

I've attached the full output error as well as the header of the problematic VCF file

Thanks for any help!

Best Answer

Answers

Sign In or Register to comment.