Class HtsjdkReadsRdd

    • Constructor Detail

      • HtsjdkReadsRdd

        public HtsjdkReadsRdd​(htsjdk.samtools.SAMFileHeader header,
                              org.apache.spark.api.java.JavaRDD<htsjdk.samtools.SAMRecord> reads)
    • Method Detail

      • getHeader

        public htsjdk.samtools.SAMFileHeader getHeader()
        Returns:
        the header for the reads in this RDD. In the case that different reads have different headers, it is undefined which header this method returns.
      • getReads

        public org.apache.spark.api.java.JavaRDD<htsjdk.samtools.SAMRecord> getReads()
        Returns:
        a RDD of SAMRecord with headers.