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

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)

src/b/i/biopython-1.63/Bio/SearchIO/__init__.py   biopython(Download)
from Bio.File import as_handle
from Bio.SearchIO._model import QueryResult, Hit, HSP, HSPFragment
from Bio.SearchIO._utils import get_processor
 
 
    """
    # get the iterator object and do error checking
    iterator = get_processor(format, _ITERATOR_MAP)
 
    # HACK: force BLAST XML decoding to use utf-8
 
    from Bio.File import _IndexedSeqFileDict
    proxy_class = get_processor(format, _INDEXER_MAP)
    repr = "SearchIO.index(%r, %r, key_function=%r)" \
        % (filename, format, key_function)
 
    # get the writer object and do error checking
    writer_class = get_processor(format, _WRITER_MAP)
 
    # write to the handle

src/b/i/biopython-HEAD/Bio/SearchIO/__init__.py   biopython(Download)
from Bio.File import as_handle
from Bio.SearchIO._model import QueryResult, Hit, HSP, HSPFragment
from Bio.SearchIO._utils import get_processor
 
 
    """
    # get the iterator object and do error checking
    iterator = get_processor(format, _ITERATOR_MAP)
 
    # HACK: force BLAST XML decoding to use utf-8
 
    from Bio.File import _IndexedSeqFileDict
    proxy_class = get_processor(format, _INDEXER_MAP)
    repr = "SearchIO.index(%r, %r, key_function=%r)" \
        % (filename, format, key_function)
 
    # get the writer object and do error checking
    writer_class = get_processor(format, _WRITER_MAP)
 
    # write to the handle