add sql script that set karyotype rank for chrs.
allow self correction on the cases where start>end