htsjdk.samtools.SAMException: Query asks for data past end of contig at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(IndexedFastaSequenceFile.java:181) at picard.analysis.directed.TargetMetricsCollector.<init>(TargetMetricsCollector.java:225) at picard.analysis.directed.HsMetricCollector.<init>(HsMetricCollector.java:47) at picard.analysis.directed.CalculateHsMetrics.makeCollector(CalculateHsMetrics.java:96) at picard.analysis.directed.CalculateHsMetrics.makeCollector(CalculateHsMetrics.java:48) at picard.analysis.directed.CollectTargetedMetrics.doWork(CollectTargetedMetrics.java:108) at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:187)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ehc.ac by Unknown author, 2 years ago
Query asks for data past end of contig at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(IndexedFastaSequenceFile.java:181) at picard.analysis.directed.TargetMetricsCollector.<init>(TargetMetricsCollector.java:225) at
via sourceforge.net by Unknown author, 1 year ago
Query asks for data past end of contig at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(IndexedFastaSequenceFile.java:181) at picard.analysis.directed.TargetMetricsCollector.<init>(TargetMetricsCollector.java:225) at
htsjdk.samtools.SAMException: Query asks for data past end of contig at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(IndexedFastaSequenceFile.java:181) at picard.analysis.directed.TargetMetricsCollector.<init>(TargetMetricsCollector.java:225) at picard.analysis.directed.HsMetricCollector.<init>(HsMetricCollector.java:47) at picard.analysis.directed.CalculateHsMetrics.makeCollector(CalculateHsMetrics.java:96) at picard.analysis.directed.CalculateHsMetrics.makeCollector(CalculateHsMetrics.java:48) at picard.analysis.directed.CollectTargetedMetrics.doWork(CollectTargetedMetrics.java:108) at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:187)
at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:89)
at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:99)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.