[Bioperl-l] ->add_tag_value()

Andrew Stewart astew at wam.umd.edu
Thu Aug 25 17:08:32 EDT 2005

I'm trying to create genbank files from a sequence file and features 
retreived from glimmer output.  When creating the new features and 
writing them to the genbank (richseq) object, though, I get the 
following output (for example)...

     CDS             21..596
     CDS             complement(1713..2903)
     CDS             complement(3236..4258)
     CDS             4350..5936
     CDS             6181..6819

The translation tag I added is for some reason being shown as a hash.  
The code in question is here...

    my $translation = $seqo->subseq($start, $stop);

Everything there is ok, as far as I can tell.  I was able to spit the 
'translation' tag back out with some test code just fine.  Near as I can 
tell, either $feat->add_tag_value() is setting the tag value as a 
reference, or the tag value is being retreived as such when the feature 
is written to the seq object (or somewhere else in the process).

Anyone have any idea what might be going on here?

-Andrew Stewart

More information about the Bioperl-l mailing list