Genome Analysis Toolkit

Variant Discovery in High-Throughput Sequencing Data

GATK process banner

Need Help?

Search our documentation

Community Forum

Hi, How can we help?

Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size. Learn more

Provider "genedb" not found when using SelectVariants & GenomicsDBImport

0

11 comments

  • Avatar
    Bhanu Gandham

    Hi Lucas Carey

     

    The reason you see this error is because the argument -V should be `gendb` and not `genedb`. If you make that correction in your commandline the issue should be fixed.

    0
    Comment actions Permalink
  • Avatar
    Mark Godek

    I'm getting a similar error. I'm trying to generate the panel of normals VCF to use Mutect2 for variant calling of tumors with matched normals following instructions here. I don't exactly know what input SelectVariants is looking for, but the GenomicsDB workspace path is not working.

    GATK v4.1.4.1

    Inputs:

    TILEDB_DISABLE_FILE_LOCKING=1

    gatk GenomicsDBImport -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/hs37d5.fa \
    -L /mnt/data/rbueno/ref_genomes/human/hs37d5_interval_files/Homo_sapiens_assembly19.interval.list \
    --genomicsdb-workspace-path /PHShome/mi313/example_familial/output/pon_db \
    -V /PHShome/mi313/example_familial/output/pon/HITS622847/HITS622847_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622851/HITS622851_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622855/HITS622855_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622858/HITS622858_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622862/HITS622862_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622866/HITS622866_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622870/HITS622870_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622875/HITS622875_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622849/HITS622849_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622856/HITS622856_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622860/HITS622860_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622864/HITS622864_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622868/HITS622868_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622872/HITS622872_normal.vcf.gz \
    -V /PHShome/mi313/example_familial/output/pon/HITS622877/HITS622877_normal.vcf.gz
    gatk SelectVariants \
    -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/hs37d5.fa \
    -V gendb://PHShome/mi313/example_familial/output/pon_db \
    -O /PHShome/mi313/example_familial/output/pon/pon.vcf

    Error:

    Using GATK jar /PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar
    Running:
    java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=2 -jar /PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar SelectVariants -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/hs37d5.fa -V gendb://PHShome/mi313/example_familial/output/pon_db -O /PHShome/mi313/example_familial/output/pon/pon.vcf
    16:15:44.209 INFO NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar!/com/intel/gkl/native/libgkl_compression.so
    Mar 26, 2020 4:15:44 PM shaded.cloud_nio.com.google.auth.oauth2.ComputeEngineCredentials runningOnComputeEngine
    INFO: Failed to detect whether we are running on Google Compute Engine.
    16:15:44.688 INFO SelectVariants - ------------------------------------------------------------
    16:15:44.689 INFO SelectVariants - The Genome Analysis Toolkit (GATK) v4.1.4.1
    16:15:44.689 INFO SelectVariants - For support and documentation go to https://software.broadinstitute.org/gatk/
    16:15:44.689 INFO SelectVariants - Executing as mi313@cmu013.research.partners.org on Linux v2.6.32-431.29.2.el6.x86_64 amd64
    16:15:44.689 INFO SelectVariants - Java runtime: Java HotSpot(TM) 64-Bit Server VM v1.8.0_121-b31
    16:15:44.689 INFO SelectVariants - Start Date/Time: March 26, 2020 4:15:44 PM EDT
    16:15:44.689 INFO SelectVariants - ------------------------------------------------------------
    16:15:44.689 INFO SelectVariants - ------------------------------------------------------------
    16:15:44.690 INFO SelectVariants - HTSJDK Version: 2.21.0
    16:15:44.690 INFO SelectVariants - Picard Version: 2.21.2
    16:15:44.690 INFO SelectVariants - HTSJDK Defaults.COMPRESSION_LEVEL : 2
    16:15:44.690 INFO SelectVariants - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
    16:15:44.690 INFO SelectVariants - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
    16:15:44.690 INFO SelectVariants - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
    16:15:44.690 INFO SelectVariants - Deflater: IntelDeflater
    16:15:44.690 INFO SelectVariants - Inflater: IntelInflater
    16:15:44.690 INFO SelectVariants - GCS max retries/reopens: 20
    16:15:44.691 INFO SelectVariants - Requester pays: disabled
    16:15:44.691 INFO SelectVariants - Initializing engine
    16:15:45.144 INFO SelectVariants - Shutting down engine
    [March 26, 2020 4:15:45 PM EDT] org.broadinstitute.hellbender.tools.walkers.variantutils.SelectVariants done. Elapsed time: 0.02 minutes.
    Runtime.totalMemory()=606601216
    ***********************************************************************

    A USER ERROR has occurred: GenomicsDB workspace drivingVariantFile:gendb:///PHShome/mi313/example_familial/scripts/PHShome/mi313/example_familial/output/pon_db does not exist

    ***********************************************************************
    Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.
    0
    Comment actions Permalink
  • Avatar
    Bhanu Gandham

    Hi Mark Godek

     

    Can you please see if the  GenomicsDB workspace is read and write accessible? This was an issue we saw before too.

    0
    Comment actions Permalink
  • Avatar
    Mark Godek

    ls -lha is giving me 
    drwx------. 26 mi313 groupname 4.0K Mar 26 15:11 pon_db

    so I believe it is read, write, and execute accessible.

    0
    Comment actions Permalink
  • Avatar
    Bhanu Gandham

    Let me look into this and get back to you.

    0
    Comment actions Permalink
  • Avatar
    Mark Godek

    I also tried the steps from CreateSomaticPanelOfNormals

    Input:

    gatk CreateSomaticPanelOfNormals \
    -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/hs37d5.fa \
    -V /PHShome/mi313/example_familial/output/pon_db \
    -O pon.vcf.gz

    Output:
    Using GATK jar /PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar
    Running:
    java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_l evel=2 -jar /PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar CreateSomaticPanelOfNormals -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/h s37d5.fa -V /PHShome/mi313/example_familial/output/pon_db -O pon.vcf.gz
    13:28:05.816 INFO NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar!/com/intel/gk l/native/libgkl_compression.so
    Mar 30, 2020 1:28:06 PM shaded.cloud_nio.com.google.auth.oauth2.ComputeEngineCredentials runningOnComputeEngine
    INFO: Failed to detect whether we are running on Google Compute Engine.
    13:28:06.389 INFO CreateSomaticPanelOfNormals - ------------------------------------------------------------
    13:28:06.389 INFO CreateSomaticPanelOfNormals - The Genome Analysis Toolkit (GATK) v4.1.4.1
    13:28:06.389 INFO CreateSomaticPanelOfNormals - For support and documentation go to https://software.broadinstitute.org/gatk/
    13:28:06.389 INFO CreateSomaticPanelOfNormals - Executing as mi313@cmu014.research.partners.org on Linux v2.6.32-431.29.2.el6.x86_64 amd64
    13:28:06.390 INFO CreateSomaticPanelOfNormals - Java runtime: Java HotSpot(TM) 64-Bit Server VM v1.8.0_121-b31
    13:28:06.390 INFO CreateSomaticPanelOfNormals - Start Date/Time: March 30, 2020 1:28:05 PM EDT
    13:28:06.390 INFO CreateSomaticPanelOfNormals - ------------------------------------------------------------
    13:28:06.390 INFO CreateSomaticPanelOfNormals - ------------------------------------------------------------
    13:28:06.390 INFO CreateSomaticPanelOfNormals - HTSJDK Version: 2.21.0
    13:28:06.390 INFO CreateSomaticPanelOfNormals - Picard Version: 2.21.2
    13:28:06.390 INFO CreateSomaticPanelOfNormals - HTSJDK Defaults.COMPRESSION_LEVEL : 2
    13:28:06.390 INFO CreateSomaticPanelOfNormals - HTSJDK Defaults.USE_ASYNC_IO_READ_FOR_SAMTOOLS : false
    13:28:06.391 INFO CreateSomaticPanelOfNormals - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_SAMTOOLS : true
    13:28:06.391 INFO CreateSomaticPanelOfNormals - HTSJDK Defaults.USE_ASYNC_IO_WRITE_FOR_TRIBBLE : false
    13:28:06.391 INFO CreateSomaticPanelOfNormals - Deflater: IntelDeflater
    13:28:06.391 INFO CreateSomaticPanelOfNormals - Inflater: IntelInflater
    13:28:06.391 INFO CreateSomaticPanelOfNormals - GCS max retries/reopens: 20
    13:28:06.391 INFO CreateSomaticPanelOfNormals - Requester pays: disabled
    13:28:06.391 WARN CreateSomaticPanelOfNormals -

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Warning: CreateSomaticPanelOfNormals is a BETA tool and is not yet ready for use in production

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


    13:28:06.391 INFO CreateSomaticPanelOfNormals - Initializing engine
    13:28:07.964 INFO CreateSomaticPanelOfNormals - Shutting down engine
    [March 30, 2020 1:28:07 PM EDT] org.broadinstitute.hellbender.tools.walkers.mutect.CreateSomaticPanelOfNormals done. Elapsed time: 0.04 minutes.
    Runtime.totalMemory()=903348224
    ***********************************************************************

    A USER ERROR has occurred: Couldn't read file file:///PHShome/mi313/example_familial/output/pon_db/. Error was: It isn't a regular file

    ***********************************************************************
    Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.
    0
    Comment actions Permalink
  • Avatar
    Mark Godek

    Adding gendb:// to the -V made it able to recognize the genomicsDB. I will try using the same formatting for SelectVariants

     

    gatk CreateSomaticPanelOfNormals -R /mnt/data/rbueno/ref_genomes/human/BWA-MEM/b37_decoys/hs37d5.fa -V gendb:///PHShome/mi313/example_familial/output/pon_db -O pon.vcf.gz
    Using GATK jar /PHShome/mi313/gatk-4.1.4.1/gatk-package-4.1.4.1-local.jar
    0
    Comment actions Permalink
  • Avatar
    Mark Godek

    OK, SelectVariants works with

    -V gendb:///PHShome/mi313/example_familial/output/pon_db

    as well. The syntax with all the forward slashes was throwing me off. I thought I tried all permutations before asking, but I guess not.

    Thanks.

    1
    Comment actions Permalink
  • Avatar
    Bhanu Gandham

    Hi Mark Godek

    So it's working now? I was looking into it too and one of the things that came up was to export the TILEDB_DISABLE_FILE_LOCKING env variable. 

    export TILEDB_DISABLE_FILE_LOCKING=1

    before GenomicsDBImport command. This is help make the database readable if you are using a NFS. 

    0
    Comment actions Permalink
  • Avatar
    LG

    I also got this error.

    The way to make it work is to throw three slashes after gendb:, like "-V gendb:///home/your db path".

    4
    Comment actions Permalink
  • Avatar
    Genevieve Brandt (she/her)

    Thanks for posting this solution LG!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk