R/variantkey.R
EncodeVariantKey.RdReturns a 64 bit variant key based on pre-encoded CHROM, POS (0-base) and REF+ALT.
EncodeVariantKey(chrom, pos, refalt)
| chrom | Encoded Chromosome (see EncodeChrom) |
|---|---|
| pos | Position. The reference position, with the first base having position 0. |
| refalt | Encoded Reference + Alternate (see EncodeRefAlt) |