DBStag

From GMOD
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