Convert chrom to integer