DBStag

From GMOD

Jump to: navigation, search

DBStag is a generic SQL to XML mapping tool

Contents

[edit] Download

[edit] Use

[edit] 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

[edit] 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
Personal tools
developers