[Bioperl-l] $seq->id() is read only

Kris Boulez krbou@pgsgent.be
Thu, 12 Oct 2000 09:29:10 +0200


I wanted to change the ID on a seq object and found out that this
is non-trivial if you only follow your instinct and read the manuals

$seq->id($new_id)  is a no-op. It discards it's arguments and calls
$self->display_id()

$seq->display_id($new_id) does what one expects but is not documented
(only the read case is documented).

$primaryseq->id  	 doesn't exist
$primaryseq->display_id  is what is called in the end

Is there any reason for this or can I

- change the documentation
- make $seq->id() to not drop his args
- add $primaryseq->id()


Kris,