-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Milestone
Description
scala> val features = sc.loadFeatures("data/references/Homo_sapiens/GATK/GRCh38/
Annotation/intervals/wgs_calling_regions.hg38.bed", optSequenceDictionary = Some(references))
features: org.bdgenomics.adam.ds.feature.FeatureDataset = RDDBoundFeatureDataset
with 3366 reference sequences and 0 samples
scala> import org.bdgenomics.adam.util.ADAMShell._
import org.bdgenomics.adam.util.ADAMShell._
scala> printFeatureAttributes(features, Seq())
java.lang.NullPointerException
at org.bdgenomics.adam.util.ADAMShell$.$anonfun$printFeatureAttributes$2(ADAMShell.scala:131)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:286)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)
at scala.collection.TraversableLike.map(TraversableLike.scala:286)
at scala.collection.TraversableLike.map$(TraversableLike.scala:279)
at scala.collection.AbstractTraversable.map(Traversable.scala:108)
at org.bdgenomics.adam.util.ADAMShell$.printFeatureAttributes(ADAMShell.scala:127)
at org.bdgenomics.adam.util.ADAMShell$.printFeatureAttributes(ADAMShell.scala:115)
... 51 elided
Metadata
Metadata
Assignees
Labels
No labels