Darwin Help

Back to Index

SearchAC

Function SearchAC - find an entry with a given accession number

Calling Sequence  SearchAC(pat)
Parameters
NameTypeDescription

pat string 
Return Type  Entry
Synopsis The SearchAC function searches the sequence database currently assigned to system variable DB. It returns an entry data structure which contains at most one exact match of the given argument, pat, with the AC field of the entry. If no match can be found it returns NULL.
Examples
> DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
 entries, 59631787 aminoacids)
> SearchAC('Q62671;');
<E><ID>EDD_RAT</ID><AC>Q62671;</AC><DE>Ubiquitin-- ..(1568).. V</SEQ></E>
> SearchAC(ZZZZ);

See also DB,   SearchID,   SearchSeqDb,   SearchTag