[Bioperl-l] EMBL format field
whuang.ustc at gmail.com
Sun Jun 8 23:27:42 EDT 2008
I have a EMBL file that I want to extract one of the line
ID BAA19060; SV 1; linear; mRNA; STD; MAM; 2115 BP.
DE Sus scrofa (pig) endopeptidase 24.16 type M1
OS Sus scrofa (pig)
OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
OC Eutheria; Laurasiatheria; Cetartiodactyla; Suina; Suidae; Sus.
I want the accession number in the line that starts with PA, AB000170
in this example.
Can anybody kindly help, tell me which module and method I should use?
I tried various things like $seq_obj -> primary_id, display_id,
get_secondary_id, etc.. they did not work...
Thanks a lot!
More information about the Bioperl-l