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

Unable to trim uncertain bases without flow order information

Answered
0

8 comments

  • Avatar
    Allison Coomber

    Hi,

    Did you ever solve this problem? I am having the same issue. I am trying to run HaplotypeCaller with two input BAMs, one from an Illumina sequencing experiment and one from an Oxford Nanopore run. I have assigned read groups to both and validated both BAM files. Full error message is:

    org.broadinstitute.hellbender.exceptions.GATKException: Unable to trim uncertain bases without flow order information

    at org.broadinstitute.hellbender.utils.read.FlowBasedRead.hardClipUncertainBases(FlowBasedRead.java:1035)

    at org.broadinstitute.hellbender.tools.walkers.haplotypecaller.AssemblyBasedCallerUtils.finalizeRegion(AssemblyBasedCallerUtils.java:140)

    at org.broadinstitute.hellbender.tools.walkers.haplotypecaller.AssemblyBasedCallerUtils.assembleReads(AssemblyBasedCallerUtils.java:332)

    at org.broadinstitute.hellbender.tools.walkers.haplotypecaller.HaplotypeCallerEngine.callRegion(HaplotypeCallerEngine.java:632)

    at org.broadinstitute.hellbender.tools.walkers.haplotypecaller.HaplotypeCaller.apply(HaplotypeCaller.java:271)

    at org.broadinstitute.hellbender.engine.AssemblyRegionWalker.processReadShard(AssemblyRegionWalker.java:200)

    at org.broadinstitute.hellbender.engine.AssemblyRegionWalker.traverse(AssemblyRegionWalker.java:173)

    at org.broadinstitute.hellbender.engine.GATKTool.doWork(GATKTool.java:1095)

    at org.broadinstitute.hellbender.cmdline.CommandLineProgram.runTool(CommandLineProgram.java:140)

    at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMainPostParseArgs(CommandLineProgram.java:192)

    at org.broadinstitute.hellbender.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:211)

    at org.broadinstitute.hellbender.Main.runCommandLineProgram(Main.java:160)

    at org.broadinstitute.hellbender.Main.mainEntry(Main.java:203)

    at org.broadinstitute.hellbender.Main.main(Main.java:289)

    0
    Comment actions Permalink
  • Avatar
    Laura Sanz

    Hi Allison,

    Those bam files had been generated using minimap2. I repeated the mapping to reference with bwa (https://github.com/lh3/bwa) and the problem got solved. 

    I hope it helps.

    Laura

     

    1
    Comment actions Permalink
  • Avatar
    Allison Coomber

    Hi Laura,

    Thank you so much! I used Minimap2 as well. I appreciate the help.

    Best,

    Allison

    1
    Comment actions Permalink
  • Avatar
    Ivar Grytten

    I had the same issue with Minimap2.

    It seems that it is the TP:A:P field that Minimap2 outputs that is causing trouble. For some reason, it triggers hardclipping in GATK, which then fails for some other reason.

    I solved it by removing the TP:A:P field from the output (piping the output through a hacky cut -f 16 --complement thing).

    I'm not sure if triggering hardclipping because there is a "TP:A:P" field in GATK is a bug or not, but it seems to be caused by this line which defines TP as a flow field:

    https://github.com/broadinstitute/gatk/blob/84ade4054e2fda294c4440cffd9de78700ee2f9a/src/main/java/org/broadinstitute/hellbender/utils/read/FlowBasedRead.java#L59

    Then, "isFlow" returns True:

    https://github.com/broadinstitute/gatk/blob/84ade4054e2fda294c4440cffd9de78700ee2f9a/src/main/java/org/broadinstitute/hellbender/utils/read/FlowBasedReadUtils.java#L121

    0
    Comment actions Permalink
  • Avatar
    Debora Garza

    Hi, I'm having the same issue, and I'm using minimap2 is there any solution for the variant calling with gatk, or should I perform the align with bwa. 

    0
    Comment actions Permalink
  • Avatar
    Allison Coomber

    Hi Debora,

    I rolled back to GATK version 4.2.6.1 and that worked for me with the minimap2 reads.

    Allison

    1
    Comment actions Permalink
  • Avatar
    Debora Garza

    It worked thanks

    0
    Comment actions Permalink
  • Avatar
    James Emery

    Hello All, Thank you for bringing this to our attention. We hope to fix this issue in the next GATK release. We are tracking the issue here: https://github.com/broadinstitute/gatk/issues/8335. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk