A question on GenomicsDBImport (GATK)
I am now trying to use GenomicsDBImport (GATK). I have a .bed file for my WES sequencing. Should I split the .bed file into small .bed files in order to make it fast (it is much faster if only <=100 intervals is given) or should I run each chromosome every time to produce a complete GVCFs?
• 4,750 views
•
link
2 answers
split, it will be faster + parallelizable.
For hg38, the broad provides a list of intervals: https://console.cloud.google.com/storage/browser/genomics-public-data/resources/broad/hg38/v0 "wgs_calling_regions.hg38.interval_list"
• 0 views
•
link
As you have exome sequencing my strategy would be to :
- split your target interval file (so the regions targeted by your exome kit) using unix
split - For each piece execute an instance of
genomicsDBimport(followed bygenotypeGVCFs) in parallel. If you have a cluster working with slurm you could easily use a job-array for this. Otherwisexargs -P nthreadsshould also work (replace nthreads by the number of split files and CPU you have). Ideally the number of split files should be the same as the number of available CPUs - Merge all resulting vcfs using
GATK GatherVCFs
• 0 views
•
link
Log in to answer this question.
I still have questions:
1) If it is better if I used the .Bed file the company offered than "wgs_calling_regions.hg38.interval_list"?
2) Once I split the .Bed file into smaller ones, it would create multiple "gendb://GDB "(s). How can I imerge them to run the "CreateSomaticPanelOfNormals"? Can simply adding more -V gendb://GDB work?
Thank you, Pierre and Nicolas! It do help me a lot!