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

Problem with Germline CNV CollectReadCounts

0

7 comments

  • Avatar
    SkyWarrior

    Your

    test1.preprocessed.interval_list 

    file is empty. Could you check that? 


    If it is not empty it is possible that the file format is abnormal and cannot be recognized by gatk. 

    0
    Comment actions Permalink
  • Avatar
    firat zahid

    thank you for your answer. no it is not empty. 


    note: I have used the same bed file while generating bam file in "Gatk BaseRecalibrator" and in the first step of CNV calling "PreprocessIntervals" step.

    0
    Comment actions Permalink
  • Avatar
    Samuel Lee

    Can you check again whether test1.preprocessed.interval_list contains intervals (i.e., it may be non-empty because it only contains a sequence dictionary, but does not contain any intervals)?

    Given the following lines in your log, I suspect this might be the case (and I'm guessing @SkyWarrior did, too):

    09:46:21.932 INFO FeatureManager - Using codec IntervalListCodec to read file file:///mnt/d/gatk-4.1.4.1/test1.preprocessed.interval_list
    09:46:21.940 INFO IntervalArgumentCollection - Processing 0 bp from intervals

    It is possible that the preprocessing steps performed by PreprocessIntervals on your original bed file resulted in an empty interval list?

    0
    Comment actions Permalink
  • Avatar
    Sara Franzelli

    Hello, I'm having a similar problem, have you found a solution? I checked my preprocessed.interval_list file, it is not empty and it also contains the intervals. I also have these lines in my log:

    17:13:15.144 INFO  CollectReadCounts - Initializing engine
    17:13:18.773 INFO  IntervalArgumentCollection - Processing 3117292070 bp from intervals
    17:13:18.847 INFO  CollectReadCounts - Done initializing engine
    17:13:18.850 INFO  CollectReadCounts - Shutting down engine
    [October 11, 2023 5:13:18 PM CEST] org.broadinstitute.hellbender.tools.copynumber.CollectReadCounts done. Elapsed time: 0.09 minutes.
    Runtime.totalMemory()=2076049408
    java.lang.IllegalArgumentException: The string is null: string must not be null or empty
    0
    Comment actions Permalink
  • Avatar
    Gökalp Çelik

    Hi Sara Franzelli

    Can you post your whole commandline and log here as well? 

    This exception message is quite generic and does not seem like a regular GATK exception to us. 

     

    0
    Comment actions Permalink
  • Avatar
    Sara Franzelli

    I actually think I found the problem, my cram files didn't have the RG, so I used samtools addreplacerg to add it. Now I'm still testing it but it seems to work 

    0
    Comment actions Permalink
  • Avatar
    Gökalp Çelik

    Great that you solved your problem.

    Thank you for your feedback. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk