Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

Exception "Inappropriate call if not paired read"

Dear colleagues,

I am running a third-party program that makes use of the htsjdk library.
For some of my samples (BWA alignments) it raises the following exception:

Exception in thread "Thread-5" java.lang.IllegalStateException: Inappropriate call if not paired read
at net.sf.samtools.SAMRecord.requireReadPaired(SAMRecord.java:655)
at net.sf.samtools.SAMRecord.getMateUnmappedFlag(SAMRecord.java:682)

It seems there may be some problem inside the BAM file. However, after running Picard's ValidateSamFile it only finds 1,155 INVALID_MAPPING_QUALITY errors (no errors related to mate reads).
Anyhow, I repaired the bam file using Picard's CleanSam and rerun the third-party program.
The "Inappropriate call if not paired read" error persisted.

How could I solve this, please?

Thanks in advance,
Federico

Tagged:

Best Answer

Answers

Sign In or Register to comment.