Webace - AceDB on the web [ Configure | Help ]

Cross links between acedb databases

Rather than refering to just another acedb object, it is possible to refer to an acedb object in another database, provided it is being served via webace.

To do this is simple, although syntactically not very clean at present (hopefully the URL object in acedb we evolve to improve the syntax).

Example: link to a map from a sequence

Normal link within an acedb database


Model

?Sequence
Map ?Map

Example ace file

Sequence : "dJ296K21"
Map Chr_1ctg1

Sequence : "14B7"
Map Chr_1ctg2

Cross link between acedb databases


Model

?Sequence
Map_link ?Url

Example ace file

Sequence : "dJ296K21"
Map_link Chr_1ctg1

Sequence : "14B7"
Map_link Chr_1ctg2

Url : "Chr_1ctg1"
Template Chr_1ctg

Url : "Chr_1ctg2"
Template Chr_1ctg

Url : "Chr_1ctg
Prepend "http://webace.sanger.ac.uk/cgi-bin/display?db=1ace&class=Map&object="

Of course keeping databases syncronised may be a problem, so it might be better for the crosslink to be a query, so it is more likely to remain correct. The cost of this is that evaluating the query will be slower than a direct reference.


2nd example ace file

Sequence : "dJ296K21"
Map_link dJ296K21

Sequence : "14B7"
Map_link 14B7

Url : "dJ296K21"
Template Chr_1ctg

Url : "14B7"
Template Chr_1ctg

Url : "Chr_1ctg
Prepend "http://webace.sanger.ac.uk/cgi-bin/display?db=1ace&query=find%20Sequence%20"
Append "%3Bfollow%20Map"
15/3/98, webace@sanger.ac.uk