Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reads2coverage NPEs on unmapped reads #1227

fnothaft opened this issue Oct 27, 2016 · 0 comments

Reads2coverage NPEs on unmapped reads #1227

fnothaft opened this issue Oct 27, 2016 · 0 comments


Copy link

@fnothaft fnothaft commented Oct 27, 2016

Stack trace:

16/10/27 07:28:39 WARN scheduler.TaskSetManager: Lost task 369.0 in stage 0.0 (TID 352, java.lang.NullPointerException
    at scala.Predef$.Long2long(Predef.scala:393)
    at scala.collection.Iterator$$anon$13.hasNext(Iterator.scala:371)
    at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:192)
    at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:64)
    at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:73)
    at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
    at org.apache.spark.executor.Executor$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$

Specifically, we should filter unmapped reads before the flatMap at

@fnothaft fnothaft added the bug label Oct 27, 2016
@fnothaft fnothaft self-assigned this Oct 27, 2016
fnothaft added a commit to fnothaft/adam that referenced this issue Oct 27, 2016
Resolves bigdatagenomics#1227. Filters out unmapped reads before counting coverage.
@heuermh heuermh closed this in #1230 Nov 2, 2016
heuermh added a commit that referenced this issue Nov 2, 2016
Resolves #1227. Filters out unmapped reads before counting coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.