DeviceFastqBatch
Mojo struct 🡭
DeviceFastqBatch
Section titled “DeviceFastqBatch”@memory_onlystruct DeviceFastqBatchFields
Section titled “Fields”- 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])
Implemented traits
Section titled “Implemented traits”AnyType, ImplicitlyDestructible, Movable
Methods
Section titled “Methods”copy_to_host
Section titled “copy_to_host”def copy_to_host(self, ctx: DeviceContext) -> FastqBatchArgs:
- self (
Self) - ctx (
DeviceContext)
Returns:
FastqBatch
Raises:
to_records
Section titled “to_records”def to_records(self, ctx: DeviceContext) -> List[FastqRecord]Args:
- self (
Self) - ctx (
DeviceContext)
Returns:
List
Raises: