Poreflow.io.pointer
poreflow.io.pointer
¶
Pointer
dataclass
¶
Pointer to location of data in a Fast5 file
Attributes:
| Name | Type | Description |
|---|---|---|
channel |
int
|
The channel in poreFlow notation (starting from 0) |
start_idx |
int
|
The start index of the data |
end_idx |
int
|
The end index of the data |
meta |
dict
|
Metadata, e.g. event number. |
raw_indices
property
¶
Indices in ONT Fast5 format
tuples
property
¶
Useful for unpacking into BulkFast5.get_raw.
Example
pointer = Pointer(channel=0, start_idx=0, end_idx=1) BulkFast5.get_raw(*pointer.tuples)
Returns:
| Type | Description |
|---|---|
|
A tuple with the channel, the times (always None), and the |
|
|
start and end indices. The first value of the tuple specifying the |
|
|
channel is +1 to conform to ONT channel conting. |