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.

The contig order in knownSites and reference is not the same


I tried to use baserecalibrator. Here are my inputs:

Human reference: HG38 downloaded from GATK bundle

dbsnp_vcf: hg38.dbsnp.vcf (fileformat=VCFv4.2) downloaded from GATK bundle, sorted by Picard sortVcf
java -jar ../exe_program/picard.jar SortVcf I=hg38.dbsnp.rename.vcf O=hg38.dbsnp.sorted.vcf SEQUENCE_DICTIONARY=../ref/hg38.dict

Bam files: aligned to HG38 and sorted by Picard sortBam.
java -jar ../exe_program/picard.jar I=../test_5m/test_5m_trimmed_AG.bam O=../test_5m/test_5m_trimmed_AG_reorder.bam R=../ref/hg38.fa CREATE_INDEX=TRUE

However, I got the following error msg:
MESSAGE: Input files knownSites and reference have incompatible contigs.
Error details: The contig order in knownSites and reference is not the same
knownSites contigs = [HLA-A01:01:01:01, HLA-A01:01:01:02N, HLA-A01:01:38L, HLA-A01:02, HLA-A01:03, HLA-A01:04N...
reference contigs = [chr1, chr2, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chr10, chr11, chr12, chr13, chr14, chr15...

Can anyone give me some hint? Would deeply appreciate it.



Sign In or Register to comment.