Skip to content

DeviceFastqBatch

Mojo struct 🡭

@memory_only
struct DeviceFastqBatch
  • num_records (Int)
  • seq_len (Int64)
  • quality_offset (UInt8)
  • total_id_bytes (Int64)
  • qual_buffer (DeviceBuffer[DType.uint8])
  • sequence_buffer (DeviceBuffer[DType.uint8])
  • ends (DeviceBuffer[DType.int64])
  • id_buffer (DeviceBuffer[DType.uint8])
  • id_ends (DeviceBuffer[DType.int64])

AnyType, ImplicitlyDestructible, Movable

def copy_to_host(self, ctx: DeviceContext) -> FastqBatch

Args:

  • self (Self)
  • ctx (DeviceContext)

Returns:

FastqBatch

Raises:

def to_records(self, ctx: DeviceContext) -> List[FastqRecord]

Args:

  • self (Self)
  • ctx (DeviceContext)

Returns:

List

Raises: