DeviceFastqBatch
Mojo struct 🡭
DeviceFastqBatch
Section titled “DeviceFastqBatch”@memory_onlystruct DeviceFastqBatchOwned device buffers and metadata for a FASTQ structure-of-arrays batch.
Fields
Section titled “Fields”- num_records (
Int) - seq_len (
Int64) - quality_offset (
UInt8) - total_id_bytes (
Int64) - qual_buffer (
DeviceBuffer[.uint8]) - sequence_buffer (
DeviceBuffer[.uint8]) - ends (
DeviceBuffer[.int64]) - id_buffer (
DeviceBuffer[.uint8]) - id_ends (
DeviceBuffer[.int64])
Implemented traits
Section titled “Implemented traits”AnyType, Deinitable, Movable
Methods
Section titled “Methods”copy_to_host
Section titled “copy_to_host”fn def copy_to_host(self, ctx: DeviceContextBase) -> FastqBatchArgs:
- self (
Self) - ctx (
DeviceContextBase)
Returns:
FastqBatch
Raises:
to_records
Section titled “to_records”fn def to_records(self, ctx: DeviceContextBase) -> List[FastqRecord]Args:
- self (
Self) - ctx (
DeviceContextBase)
Returns:
List[FastqRecord]
Raises: