def getSpliceGraphFromDB(dbgroup, loadAll=False):
    cursor = getUserCursor(dbgroup.db)
    import sys
    print >>sys.stderr, 'Reading database schema...'
    idDict = {}
    tables = describeDBTables(dbgroup.db, cursor, idDict)
    if hasattr(dbgroup, 'suffix'):
        # Get a set of tables ending in specified suffix
        # and create an index of their primary keys
        tables = suffixSubset(tables, dbgroup.suffix)
        idDict = indexIDs(tables)
    for t in dbgroup.values():
        # This table comes from another database...
        if t is not None and '.' in t and t not in tables:
            tables[t]=SQLTable(t, cursor) # ...so get it from there

    # LOAD DATA & BUILD THE SPLICE GRAPH
    return loadSpliceGraph(tables, dbgroup.clusters, dbgroup.exons,
                           dbgroup.splices, dbgroup.genomic, dbgroup.mrna,
                           dbgroup.protein, loadAll)
Set the specified state counter to zero
dataset/ETHPy150Open cjlee112/pygr/pygr/apps/leelabdb.py/getSpliceGraphFromDB--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/proto/stacking.py/Stack.clearStat