diff --git a/adam-core/src/main/scala/org/bdgenomics/adam/rdd/GenomicRDD.scala b/adam-core/src/main/scala/org/bdgenomics/adam/rdd/GenomicRDD.scala index a1c9eb52fb..751f793f19 100644 --- a/adam-core/src/main/scala/org/bdgenomics/adam/rdd/GenomicRDD.scala +++ b/adam-core/src/main/scala/org/bdgenomics/adam/rdd/GenomicRDD.scala @@ -266,7 +266,7 @@ trait GenomicRDD[T, U <: GenomicRDD[T, U]] { files } else { files.map(f => { - SparkFiles.get(f) + SparkFiles.get(new Path(f).getName()) }) }