Recovering rearranged cancer chromosomes from karyotype graphs