> You can see that the gi number (goes into primary_id) is > overwritten by the display_id. > I don't know what is de desired behaviour, actually. > I would just do > $seq->primary_id($seq->display_id()) if($seq->primary_id); Is I meant $seq->primary_id($seq->display_id()) unless($seq->primary_id);