[Bio] / BioSimScratch / testCase.py Repository:
ViewVC logotype

View of /BioSimScratch/testCase.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (as text) (annotate)
Fri Apr 9 14:48:10 2004 UTC (15 years, 6 months ago) by efrank
Branch: MAIN
CVS Tags: post-st-migration2, mass-spec-01, sc2004-3, mass-spec-02, post-st-migration, forRick-14Jul04-1, forRick-14Jul04-0, sc2004-4, sc04-finalDay, sc2004-2, sc2004-1, sc2004-0, HEAD
Modified files:
	adjustments in data sizes and little details
	destroyBss can probably be simplified.

Added files:
	ReloadBssData loads data into an empty database.  It calls
	the other guys to do the work:  Aiba*, glyc*, loadbuchnera*, testCas*

	buildNewBssCatalog.py:  copies data from old style catalog to new.


1. destroyBss                   deletes EVERYTHING
2. sqlplus
        @Rebuild                rebuilds schema.  reloads some reactions etc.
3. ReloadBssData                puts some data back in...OLD style catalog
4. buildNewBssCatalog.py        copies data from old style catalog to new.

import loadBss

b=loadBss.bss()

########################################################################

b.addMetabolite( "A", "longA" )
b.addMetabolite( "B", "longB" )
b.addMetabolite( "C", "longC" )
b.addMetabolite( "D", "longD" )

b.addEnzymeRole( "enzR1_k", "EC 0.0.0.0", "enzR1" )
b.addEnzymeRole( "enzR2_k", "EC 0.0.0.0", "enzR2" )
b.addEnzymeRole( "enzR3_k", "EC 0.0.0.0", "enzR3" )
b.addEnzymeRole( "enzR4_k", "EC 0.0.0.0", "enzR4" )
b.addEnzymeRole( "enzR5_k", "EC 0.0.0.0", "enzR5" )

########################################################################
b.addReco( "Small Fictive", "Small Fictive top" )
########################################################################

b.addREChild( "main", "Small Fictive top" )


b.addRx( "main", "enzR1_k: A -> B" )
b.addRx( "main", "enzR2_k: B -> D" )
b.addRx( "main", "enzR3_k: A -> C" )
b.addRx( "main", "enzR4_k: C -> D" )
b.addRx( "main", "enzR5_k: D -> C" )

########################################################################
b.addREChild( "FluxAnalyzer", "Small Fictive top" )


########################################################################
b.addREChild( "inFluxes", "FluxAnalyzer" )

########################################################################
b.addREChild( "outFluxes", "FluxAnalyzer" )

########################################################################
b.addREChild( "biomass", "FluxAnalyzer" )

b.writeAndClear()

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3