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

Joshua A Udall jaudall at iastate.edu
Tue Nov 25 22:31:30 EST 2003


Try:

             my ($ref1) = $seq->annotation->get_Annotations('reference');
           print $ref1->authors,"\n";

Josh


At 06:16 PM 11/25/2003, you 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.
>--
>Wes Barris
>E-Mail: Wes.Barris at csiro.au
>
>
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
>http://portal.open-bio.org/mailman/listinfo/bioperl-l

Joshua Udall
Department of Ecology, Evolution, and Organismal Biology
Iowa State University
Ames, IA 50011
Ph: (515) 294-7098
Fax: (515) 294-1337 




More information about the Bioperl-l mailing list