[Bioperl-l] Bio:;Annotation::Reference;

Hilmar Lapp hlapp at gmx.net
Sat Sep 18 03:59:47 EDT 2004

On Friday, September 17, 2004, at 11:07  PM, hafiz hafiz wrote:

>  $seq_obj->annotation($reg);

You're setting the annotation by this (which needs to be a collection, 
hence the error message). Instead, you want to add to the annotation:

$seq_obj->annotation->add_Annotation('<your annotation key here>', 

Hth, -hilmar

Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757

More information about the Bioperl-l mailing list