gatk genome loc coordinates exceed the contig size. While trying to run genomicsdbimport
REQUIRED for all errors and issues:
a) GATK v4.4.0.0
b) Exact command used: gatk GenomicsDBImport -R GRCm39.primary_assembly.genome.fa -L interval.bed --genomicsdb-workspace-path ./DB -V CD19CTRL.vcf.gz
c) Entire program log: A USER ERROR has occurred: Badly formed genome unclippedLoc: Parameters to GenomeLocParser are incorrect:The genome loc coordinates 195154803-195155042 exceed the contig size (195154279)
My reference is mm10 and the bed file I'm using is from
|
||||||||
|
-
You need to use what ever genome fasta file used to capture variants from reads to import into GenomicsDB. Any incompatibilities will result in these errors.
You can check contig sizes from the sequence dictionary file. If your bed file coordinates exceed those lengths then you will receive this error.
Make sure that your VCF sequence dictionary is compatible with your fasta dictionary otherwise you will not get any results.
Regards.
-
Hello, thank you for the fast response.
But the interval list should be the bed file provided by the manufacturer of the sequencing right? I used the same reference to create the vcf file of the normal sample, and i'm using the same in the parameter -R for genomics DB import. How can I do that with this bed file?
-
My doubt is in the parameter -L, how do I provide the interval list? In one of the foruns I saw that I could use the covered.bed file provided by the manufacturer. So I use it, after putting it in the correct format of "chr" "start" "end"
-
You don't have to use the bed file from any manufacturer for GenomicsDB import, although you can use it but it is not necessary. You can use whole contig names as values for -L therefore you may import in parallel into multiple GenomicsDB instances.
If the bed file from the manufacturer is not compatible with the reference genome such as having intervals exceeding the size of the contig, you may get such messages. You need to check with the manufacturer's fact sheets to ensure these compatibilities.
Regards.
Please sign in to leave a comment.
4 comments