Darwin Help

Back to Index

GetEntryInfo

Function GetEntryInfo - selected tag information from a database entry

Calling Sequence  GetEntryInfo(EntryDescr,tag1,tag2)
Parameters
NameTypeDescription

EntryDescr {integer,list,string}an entry, entry offset or a list of same
tag1 string 
tag2 optional tags 
Return Type  expseq(string)
Synopsis Return the information tags (tag1 and additional optional tags) for an entry given by offset or several entries given by an Entry data structure. The function returns an expression sequence of string, two elements for each entry and tag - the first being the tag and the second being the information for that tag.
Examples
> DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
 entries, 59631787 aminoacids)
> GetEntryInfo(100,'DE');
DE, 104 kDa microneme-rhoptry antigen.
> GetEntryInfo([Entry(1,2)],'AC','ID' );
AC, P15711;, ID, 104K_THEPA, AC, Q43495;, ID, 108_LYCES
See also Entry,   GetEntryNumber,   SearchAC,   SearchID,   SearchTag,   Species_Entry