Darwin Help

Back to Index

Entry

Function Entry - return entries from the database DB

Calling Sequence  Entry(a)
Parameters
NameTypeDescription

a {integer,string,structure,list(integer)}Entry number(s) or other description of entries
Return Type  {expseq(string),string}
Synopsis Entry returns the string(s) corresponding to the entries in the database DB described. This can be through entry numbers, PatEntry, Match, ID, AC or partial references to entries.
Examples
> DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
 entries, 59631787 aminoacids)
> e1 := Entry(1);
e1 := <E><ID>104K_THEPA</ID><AC>P15711;</AC><DE>104 kDa  ..(1255).. L</SEQ></E>
> Entry(PatEntry(10000..10001));
<E><ID>SYP1_YEAST</ID><AC>P25623; P25622; Q96VH0;< ..(1372).. A</SEQ></E>, <E><I
D>SYP_CHLPN</ID><AC>Q9Z851; Q9JSE4;</AC><DE>P ..(1517).. A</SEQ></E>
> Entry(AC('P11341'));
<E><ID>VG9_SPV4</ID><AC>P11341;</AC><DE>Gene 9 pro ..(266).. R</SEQ></E>
> Entry(ID('ID5B_PROJU'));
<E><ID>ID5B_PROJU</ID><AC>P32734;</AC><DE>Kunitz-t ..(678).. G</SEQ></E>
> s1 := Sequence(e1);
s1 := MKFLILLFNILCLFPVLAADNHGVGPQGASGVDPITFDINSNQTGPAFLT ..(924).. ILVVSLIVGIL
> Entry(e1);
<E><ID>104K_THEPA</ID><AC>P15711;</AC><DE>104 kDa  ..(1255).. L</SEQ></E>
> GetEntryNumber(e1);
1




See also AC,   GetEntryInfo,   GetEntryNumber,   ID,   Match,   PatEntry,   SearchTag,   Sequence