get rid of reference sequences