[Bioperl-l] ->add_tag_value()
Allen Day
allenday at ucla.edu
Thu Aug 25 17:43:46 EDT 2005
This is fixed in CVS.
-Allen
On Thu, 25 Aug 2005, Andrew Stewart wrote:
> 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
>
> /translation="Bio::Annotation::SimpleValue=HASH(0x987b78)"
> CDS complement(1713..2903)
>
> /translation="Bio::Annotation::SimpleValue=HASH(0x987944)"
> CDS complement(3236..4258)
>
> /translation="Bio::Annotation::SimpleValue=HASH(0x9be8e4)"
> CDS 4350..5936
>
> /translation="Bio::Annotation::SimpleValue=HASH(0x9bead0)"
> CDS 6181..6819
>
> /translation="Bio::Annotation::SimpleValue=HASH(0x9bebd8)"
>
> 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);
> $feat->add_tag_value("translation",$translation);
>
> 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
> BDRD
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
More information about the Bioperl-l
mailing list