Back to index

python-biopython  1.60
Classes | Functions | Variables
getgene Namespace Reference

Classes

class  DB_Index

Functions

def help

Variables

tuple pyphy_home = os.environ.get('PYPHY', None)
tuple db_index = DB_Index(open = 0)
 func = db_index.Get
list infile = sys.argv[1]
tuple outfile = os.path.basename(infile)
string db = 'nr.dat'
list ids = sys.argv[1:]
tuple dbfile = os.path.join(pyphy_home, db + '.indexed')

Function Documentation

def getgene.help (   exit = 0)

Definition at line 223 of file getgene.py.

00223 
00224 def help(exit = 0):
00225     name = os.path.basename(sys.argv[0])
00226     print 'Usage: %s <db> <gene ID>' % name
00227     print '  or   %s --index <db.dat>' % name
00228     if exit: sys.exit(0)


Variable Documentation

list getgene.db = 'nr.dat'

Definition at line 249 of file getgene.py.

tuple getgene.db_index = DB_Index(open = 0)

Definition at line 233 of file getgene.py.

tuple getgene.dbfile = os.path.join(pyphy_home, db + '.indexed')

Definition at line 260 of file getgene.py.

tuple getgene.func = db_index.Get

Definition at line 234 of file getgene.py.

list getgene.ids = sys.argv[1:]

Definition at line 252 of file getgene.py.

list getgene.infile = sys.argv[1]

Definition at line 238 of file getgene.py.

tuple getgene.outfile = os.path.basename(infile)

Definition at line 239 of file getgene.py.

tuple getgene.pyphy_home = os.environ.get('PYPHY', None)

Definition at line 230 of file getgene.py.