Pre-process copy number data to cast types