def getStats(self): """ Returns the GA4GH protocol representation of this read group set's ReadStats. """ stats = protocol.ReadStats() stats.aligned_read_count = self._numAlignedReads stats.unaligned_read_count = self._numUnalignedReads return stats
def getStats(self): """ Returns the GA4GH protocol representation of this read group's ReadStats. """ stats = protocol.ReadStats() stats.aligned_read_count = self.getNumAlignedReads() stats.unaligned_read_count = self.getNumUnalignedReads() # TODO base_count requires iterating through all reads return stats