R/variantkey.R
VariantKey.RdReturns a 64 bit variant key based on CHROM, POS (0-base), REF, ALT. The variant should be already normalized (see NormalizeVariant or use NormalizedVariantkey).
VariantKey(chrom, pos, ref, alt)
| chrom | Chromosome. An identifier from the reference genome, no white-space or leading zeros permitted. |
|---|---|
| pos | Position. The reference position, with the first base having position 0. |
| ref | Reference allele. String containing a sequence of nucleotide letters. |
| alt | Alternate non-reference allele string. |