| Calling Sequence
| AC(id)
|
| Parameters
| | Name | Type | Description |
|
| id
| {list,string,structure} | ID(s) of Entries in the database DB |
| | PatEntry, Match or Entry data structure |
|
| Return Type
| AC |
| Methods
| Entry, Sequence |
| Synopsis
| AC is a data structure which holds accession numbers
(ACs) contained in the and tags in a Darwin formatted
database. ACs can be used as arguments to other functions, e.g.
Entry, Sequence, to indicate that the Entry or sequence desired is
the one with the given AC. AC will attempt to convert its arguments
when they are other entry descriptions to ACs. An AC can be given
with or without the trailing ';'. The database contains the
semicolon, so if the AC does not have it, one is added. |
| Examples
| > DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
entries, 59631787 aminoacids)
> ac := AC('Q62671');
ac := AC(Q62671)
> Entry(ac);
<E><ID>EDD_RAT</ID><AC>Q62671;</AC><DE>Ubiquitin-- ..(1568).. V</SEQ></E>
> Sequence(ac);
ARRERMTAREEASLRTLEGRRRATLLSARQGMMSARGDFLNYALSLMRSH ..(920).. LAIKTKNFGFV
> AC(Entry(2));
AC(Q43495;)
> AC(PatEntry(10000..10002));
AC(P25623; P25622; Q96VH0;,Q9Z851; Q9JSE4;,P56926;)
> AC(Sequence(Entry(1)));
AC(P15711;)
|
| See also
| Entry, ID, Match, PatEntry, SearchAC, SearchID, Sequence, SP_Species, SPCommonName, Species_Entry |