|
VariantKey
5.4.1
Numerical Encoding for Human Genetic Variants
|
#include <binsearch.h>
Data Fields | |
| uint8_t * | src |
| Pointer to the memory map. More... | |
| int | fd |
| File descriptor. More... | |
| uint64_t | size |
| File size in bytes. More... | |
| uint64_t | doffset |
| Offset to the beginning of the data block (address of the first byte of the first item in the first column). More... | |
| uint64_t | dlength |
| Length in bytes of the data block. More... | |
| uint64_t | nrows |
| Number of rows. More... | |
| uint8_t | ncols |
| Number of columns - THIS MUST BE MANUALLY SET EXCEPT FOR THE "BINSRC1" FORMAT. More... | |
| uint8_t | ctbytes [256] |
| Number of bytes per column type (i.e. 1 for uint8_t, 2 for uint16_t, 4 for uint32_t, 8 for uint64_t). - THIS MUST BE MANUALLY SET EXCEPT FOR THE "BINSRC1" FORMAT. More... | |
| uint64_t | index [256] |
| Index of the offsets to the beginning of each column. More... | |
Struct containing the memory mapped file info.
| uint8_t mmfile_t::ctbytes[256] |
| uint64_t mmfile_t::dlength |
| uint64_t mmfile_t::doffset |
| int mmfile_t::fd |
| uint64_t mmfile_t::index[256] |
| uint8_t mmfile_t::ncols |
| uint64_t mmfile_t::nrows |
| uint64_t mmfile_t::size |
| uint8_t* mmfile_t::src |