Skip to content

Commit

Permalink
Bumping to Spark-BAM 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnothaft committed Dec 20, 2017
1 parent be3c9ae commit 074f193
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ import org.bdgenomics.formats.avro.{
import org.bdgenomics.utils.instrumentation.Metrics
import org.bdgenomics.utils.io.LocalFileByteAccess
import org.bdgenomics.utils.misc.{ HadoopUtil, Logging }
import org.hammerlab.bam.spark._
import spark_bam._
import org.hammerlab.paths.{ Path => HLPath }
import org.json4s.DefaultFormats
import org.json4s.jackson.JsonMethods._
Expand Down Expand Up @@ -1526,7 +1526,8 @@ class ADAMContext(@transient val sc: SparkContext) extends Serializable with Log
val readerFn = if (sc.hadoopConfiguration.getBoolean(ADAMContext.USE_SPARK_BAM, false)) {
def sparkBamRead(path: String): RDD[SAMRecord] = {
if (path.endsWith(".bam")) {
sc.loadBam(HLPath(path))
System.err.println("Using Spark-BAM")
sc.loadReads(HLPath(path))
} else {
hadoopBamRead(path)
}
Expand Down
127 changes: 0 additions & 127 deletions adam-relocations/pom.xml

This file was deleted.

This file was deleted.

0 comments on commit 074f193

Please sign in to comment.