Difference between revisions of "WormBase Model:Database"
From WormBaseWiki
Jump to navigationJump to search (Created page with '__TOC__ WormBase Models == Curator Comments/Description == == Model == <pre> </pre> == Proposed Changes ==') |
|||
Line 11: | Line 11: | ||
== Model == | == Model == | ||
<pre> | <pre> | ||
+ | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
+ | // Database class. This is to be used in the construction of cgi URLs | ||
+ | // an RNAi object would have a Database connection . . | ||
+ | // Database Phenobank GeneID 512754 | ||
+ | // RNAID 3004316 | ||
+ | // The Phenobank Database object would have a URL_constructor | ||
+ | // eg "http://worm.mpi-cbg.de/phenobank2/cgi-bin/GenePage.py?GeneID=<GeneID>&RNAID=<RNAID>" | ||
+ | // | ||
+ | // Combining the two would give a URL of | ||
+ | // http://worm.mpi-cbg.de/phenobank2/cgi-bin/GenePage.py?GeneID=512754&RNAID=3004316 | ||
+ | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
+ | |||
+ | ?Database Name UNIQUE ?Text // name of the database | ||
+ | Description UNIQUE Text // description of database contacts | ||
+ | URL UNIQUE Text // Link to database home page | ||
+ | Email Text // Contact email | ||
+ | URL_constructor UNIQUE Text // rule to build URL to specific database entry page | ||
</pre> | </pre> | ||
== Proposed Changes == | == Proposed Changes == |
Latest revision as of 09:36, 4 October 2010
Curator Comments/Description
Model
//////////////////////////////////////////////////////////////////////////////////////////////////// // Database class. This is to be used in the construction of cgi URLs // an RNAi object would have a Database connection . . // Database Phenobank GeneID 512754 // RNAID 3004316 // The Phenobank Database object would have a URL_constructor // eg "http://worm.mpi-cbg.de/phenobank2/cgi-bin/GenePage.py?GeneID=<GeneID>&RNAID=<RNAID>" // // Combining the two would give a URL of // http://worm.mpi-cbg.de/phenobank2/cgi-bin/GenePage.py?GeneID=512754&RNAID=3004316 //////////////////////////////////////////////////////////////////////////////////////////////////// ?Database Name UNIQUE ?Text // name of the database Description UNIQUE Text // description of database contacts URL UNIQUE Text // Link to database home page Email Text // Contact email URL_constructor UNIQUE Text // rule to build URL to specific database entry page