Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(10)  |  Derive(0)  |  Import(2)

src/c/o/cogent-1.5.3/tests/test_parse/test_ncbi_taxonomy.py   cogent(Download)
#!/usr/bin/env python
"""Tests of parsers for dealing with NCBI Taxonomy files.
"""
 
from cogent.parse.ncbi_taxonomy import MissingParentError, NcbiTaxon, \
        line_3 = '''2\t|\tBacteria\t|\tBacteria <bacteria>\t|\tscientific name\t|\n'''
        line_4 = '''7\t|\tAzorhizobium caulinodans\t|\t\t|\tscientific name\t|\n'''
        name_1 = NcbiName(line_1) #make an NcbiName object
        name_2 = NcbiName(line_2) #from the corresponding line
        name_3 = NcbiName(line_3)
        name_4 = NcbiName(line_4)

src/p/y/pycogent-HEAD/tests/test_parse/test_ncbi_taxonomy.py   pycogent(Download)
#!/usr/bin/env python
"""Tests of parsers for dealing with NCBI Taxonomy files.
"""
 
from cogent.parse.ncbi_taxonomy import MissingParentError, NcbiTaxon, \
        line_3 = '''2\t|\tBacteria\t|\tBacteria <bacteria>\t|\tscientific name\t|\n'''
        line_4 = '''7\t|\tAzorhizobium caulinodans\t|\t\t|\tscientific name\t|\n'''
        name_1 = NcbiName(line_1) #make an NcbiName object
        name_2 = NcbiName(line_2) #from the corresponding line
        name_3 = NcbiName(line_3)
        name_4 = NcbiName(line_4)