Difference between revisions of "DBStag"

From GMOD
Jump to: navigation, search
m
m
 
Line 1: Line 1:
DBStag is a generic SQL to XML mapping tool
+
DBStag is a generic [[Glossary#SQL|SQL]] to [[Glossary#XML|XML]] mapping tool
  
 
== Download ==
 
== Download ==
Line 15: Line 15:
 
=== Querying ===
 
=== 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.
+
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:
+
Chado {{SF_SVN|schema/trunk/chado/stag-templates/|comes with some templates}} that can be used with Stag.
 
+
* http://gmod.cvs.sourceforge.net/gmod/schema/chado/stag-templates/
+
  
 
Example:
 
Example:

Latest revision as of 23:10, 15 September 2009

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