java.lang.IllegalArgumentException: Cannot encode phred score: 243

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 Google Groups by Sungwook Yoon, 1 year ago
Cannot encode phred score: 243
java.lang.IllegalArgumentException: Cannot encode phred score: 243
at htsjdk.samtools.SAMUtils.phredToFastq(SAMUtils.java:364)
at htsjdk.samtools.SAMUtils.phredToFastq(SAMUtils.java:351)
at htsjdk.samtools.SAMUtils.phredToFastq(SAMUtils.java:336)
at org.bdgenomics.adam.converters.SAMRecordConverter.convert(SAMRecordConverter.scala:68)
at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadBam$1.apply(ADAMContext.scala:263)
at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadBam$1.apply(ADAMContext.scala:263)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$12.apply(PairRDDFunctions.scala:992)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$12.apply(PairRDDFunctions.scala:969)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)
at org.apache.spark.scheduler.Task.run(Task.scala:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

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.