BDNS |
index /home/pfeiffer/project-shared/publicize/bii_scripts-top/bii_scripts/lib/python/bii_scripts3/BDNS.py |
BDNS Name parser
Modules | ||||||
|
Functions | ||
|
Data | ||
MAXLENGTH = 22 _default_order = [11, 10, 8, 9, 0, 2, 3, 4, 5] _fields = ('member', 'allindex', 'index', 'subindex', 'family', 'counter', 'allsubdomain', 'subdomain', 'subdompre', 'subdomnumber', 'domain', 'facility') _fields_dict = {'allindex': 1, 'allsubdomain': 6, 'counter': 5, 'domain': 10, 'facility': 11, 'family': 4, 'index': 2, 'member': 0, 'subdomain': 7, 'subdomnumber': 9, ...} _gbl_order = [11, 10, 8, 9, 0, 2, 3, 4, 5] _p = {'pcnt': '[0-9]*', 'pdom_B': 'CEGLVXBIMRST', 'pdom_F': 'CEGLVXAEHKST', 'pdom_P': 'CEGLVXMRT', 'pdom_global': 'CEGLVX', 'pfac': 'FP', 'pfam_B': 'BCEFGHIKLMNOPQRVWYZ', 'pfam_F': 'BCEFGHIKLMNOPQRVWYZST', 'pfam_P': 'BCEFGHIKLMNOPQRVWYZ', 'pfam_global': 'BCEFGHIKLMNOPQRVWYZ', ...} _re_devname = '^((([A-Z]+?)(([0-9]+)(-([0-9]+))?)?([BCEFGHIKLMN...RVWYZ])([0-9]*)([XBUKLS][0-9]*)?([CEGLVXMRT])P))$' _rx_capletter = re.compile('([A-Z])(.*)') _rx_devname = re.compile('^((([A-Z]+?)(([0-9]+)(-([0-9]+))?)?(...RVWYZST])([0-9]*)([XABCDEGKLMSVZ][0-9]*)([CEGLVX) _rx_name_part = re.compile('([\\w\\d-]*)$') |