[Bioperl-l] AUTHORS reference field in genbank file?

Jason Stajich jason at cgt.duhs.duke.edu
Tue Nov 25 19:48:05 EST 2003


See the documentation for a Bio::Annotation::Reference.....
 http://doc.bioperl.org/releases/bioperl-1.2.3/Bio/Annotation/Reference.html

$value->title, $value->authors, $value->location,...

-jason
On Wed, 26 Nov 2003, Wes Barris wrote:

> Hi,
>
> A typical genbank entry contains this reference section:
>
> REFERENCE   1  (bases 1 to 561)
>    AUTHORS   DeSilva,U., Franklin,I.R., Maddox,J.F., van Hest,B. and
>              Adelson,D.L.
>    TITLE     Gene Expression in Sheep Skin and Wool (Hair)
>    JOURNAL   Cytogenet. Genome Res. (2003) In press
>
> How does one go about getting at the AUTHORS section?  For each sequence,
> I have tried this:
>
>        my $ac = $seq->annotation;
>        my @values = $ac->get_Annotations('reference');
>        foreach my $value (@values) {
>           print($value->as_text,"\n");
>           }
>
> The problem is, this only displays the REFERENCE->TITLE portion.
> I want the REFERENCE->AUTHORS.
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list