From df220a7cf05dbe81f15c4668d8023124f4dd335a Mon Sep 17 00:00:00 2001 From: John Ferguson Date: Thu, 12 May 2016 23:03:24 -0400 Subject: [PATCH] Error in the README.md for kmer.scala example, need to get rdd first. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8af7c9bce8..a4174ca85e 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,7 @@ val reads = ac.loadAlignments( // Generate, count and sort 21-mers val kmers = reads + .rdd .flatMap(_.getSequence.sliding(21).map(k => (k, 1L))) .reduceByKey(_ + _) .map(_.swap)