This is the new server for GMOD.org. Please let us know if you notice anything weird while it's getting broken in.

DBStag

From GMOD
Revision as of 23:10, 15 September 2009 by Clements (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DBStag is a generic SQL to XML mapping tool

Download

Use

Loading data

The most common use in the context of Chado is to load Chado XML. No configuration is necessary, just install and run

 stag-storenode.pl -d Pg:mychadoinst@myserver gene_ontology.chado

Querying

A secondary use is a means of data retrieval. DBStag can be used to query Chado using multi-table joins with the results automatically nested.

Chado comes with some templates that can be used with Stag.

Example:

 selectall_xml.pl -d Pg:mychadoinst@myserver /chado-cvterm dbname=GO accession=0008150