use templates, plot links file using given karyotype