Skip to content

Instantly share code, notes, and snippets.

@nikhilRP
Created February 5, 2015 01:21
Show Gist options
  • Save nikhilRP/f5943093f53b0133b031 to your computer and use it in GitHub Desktop.
Save nikhilRP/f5943093f53b0133b031 to your computer and use it in GitHub Desktop.
loading features (adam) from s3
import org.bdgenomics.formats.avro.Feature
import org.bdgenomics.adam.rdd.ADAMContext._
var adamFile = "s3n://encoded-hdfs/ENCFF001VNW.adam"
val reads = sc.adamLoad[Feature, Nothing](adamFile)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment