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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/b/i/biopython-1.63/Bio/SeqIO/__init__.py   biopython(Download)
    #Map the file format to a sequence iterator:
    from ._index import _FormatToRandomAccess  # Lazy import
    from Bio.File import _SQLiteManySeqFilesDict
    repr = "SeqIO.index_db(%r, filenames=%r, format=%r, alphabet=%r, key_function=%r)" \
               % (index_filename, filenames, format, alphabet, key_function)
            return format in _FormatToRandomAccess
 
    return _SQLiteManySeqFilesDict(index_filename, filenames,
                                   proxy_factory, format,
                                   key_function, repr)

src/b/i/biopython-1.63/Bio/SearchIO/__init__.py   biopython(Download)
        filenames = [filenames]
 
    from Bio.File import _SQLiteManySeqFilesDict
    repr = "SearchIO.index_db(%r, filenames=%r, format=%r, key_function=%r, ...)" \
               % (index_filename, filenames, format, key_function)
            return format in _INDEXER_MAP
 
    return _SQLiteManySeqFilesDict(index_filename, filenames,
                                   proxy_factory, format,
                                   key_function, repr)

src/b/i/biopython-HEAD/Bio/SeqIO/__init__.py   biopython(Download)
    #Map the file format to a sequence iterator:
    from ._index import _FormatToRandomAccess  # Lazy import
    from Bio.File import _SQLiteManySeqFilesDict
    repr = "SeqIO.index_db(%r, filenames=%r, format=%r, alphabet=%r, key_function=%r)" \
               % (index_filename, filenames, format, alphabet, key_function)
            return format in _FormatToRandomAccess
 
    return _SQLiteManySeqFilesDict(index_filename, filenames,
                                   proxy_factory, format,
                                   key_function, repr)

src/b/i/biopython-HEAD/Bio/SearchIO/__init__.py   biopython(Download)
        filenames = [filenames]
 
    from Bio.File import _SQLiteManySeqFilesDict
    repr = "SearchIO.index_db(%r, filenames=%r, format=%r, key_function=%r, ...)" \
               % (index_filename, filenames, format, key_function)
            return format in _INDEXER_MAP
 
    return _SQLiteManySeqFilesDict(index_filename, filenames,
                                   proxy_factory, format,
                                   key_function, repr)