Logo Search packages:      
Sourcecode: python-biopython version File versions

__init__.py

00001 """EUtils is a client-side library for the Entrez databases at NCBI.
"""
import re

__version__ = "1.0p1"
__authors__ = ["Andrew Dalke, Dalke Scientific Software"]

import Datatypes
from Datatypes import DateRange, WithinNDays, EUtilsError, \
     EUtilsSearchError

from Config import databases

def DBIds(db, ids):
    if isinstance(ids, str):
        ids = [ids]
    db = db.lower()
    if db not in databases:
        raise TypeError("Unknown database: %s" % (db,))
    return Datatypes.DBIds(db, ids)

PLUS_STRAND = 1
MINUS_STRAND = 2

Generated by  Doxygen 1.6.0   Back to index