package
1.0.0
Repository: https://github.com/ldsec/medco-loader.git
Documentation: pkg.go.dev

# Functions

AlleleMaping encodes alleles.
EncodeAlleles encodes a string containing alleles.
GetMask generates a bit mask (support pushing bits).
GetVariantID encodes a genomic variant ID to be encrypted, according to the specifications.
PushBitsFromRight takes the nbBits rightmost bits of bitsToPush, and push them to the right of origBits.

# Constants

Breakdown of the size in bits.
Breakdown of the size in bits.
Valid values for the alleles.
Breakdown of the size in bits.
Valid values for the chromosome id: Number from 1 to 23 inclusive, or X, Y, or M -> Range from 1 to 26 inclusive, 2^5 = 32 ==> 5 bits storage */.
Mapping to encode non-numeric chromosome ids.
Mapping to encode non-numeric chromosome ids.
Mapping to encode non-numeric chromosome ids.
IDBitSize size in bits of the identifier.
Breakdown of the size in bits.
Possible range of positions values (position in 1-based coordinate system, minimum is 1).
Possible range of positions values (position in 1-based coordinate system, minimum is 1).
Breakdown of the size in bits.
TypeFlagGenomicVariant encodes the type of id.