integer or character. Chromosome number. If it's an integer it should be in range [1, 22]. If it's a string it's should be in the format as "chr1, chr2, ..., chr22, chrX, chrY"
pos
integer. Position on chromosome.
ref
character. Reference data. Should be either "hg18" or "hg19"