normalizing input before looking up variants