コード例 #1
0
def load_counting_hash(filename):
    ht = _new_counting_hash(1, [1])
    ht.load(filename)

    return ht
コード例 #2
0
ファイル: __init__.py プロジェクト: camillescott/khmer
def load_counting_hash(filename):
    ht = _new_counting_hash(1, [1])
    ht.load(filename)

    return ht
コード例 #3
0
def new_counting_hash(k, starting_size, n_tables=2):
    primes = get_n_primes_above_x(n_tables, starting_size)

    return _new_counting_hash(k, primes)
コード例 #4
0
ファイル: __init__.py プロジェクト: camillescott/khmer
def new_counting_hash(k, starting_size, n_tables=2, n_threads=1):
    primes = get_n_primes_above_x(n_tables, starting_size)

    return _new_counting_hash(k, primes, n_threads)