def _run_kmc(cutoff_min, kmer_len, memory, sig_len, reads_src):
    ' Runs kmc. '
    if (init_sys_path.is_linux() or init_sys_path.is_mac()):
        kmc_path = os.path.join(os.path.dirname(__file__), '../../bin/kmc')
    elif init_sys_path.is_windows():
        kmc_path = os.path.join(os.path.dirname(__file__), '../../x64/Release/kmer_counter.exe')
    if init_sys_path.is_mac():
        resource.setrlimit(resource.RLIMIT_NOFILE, (2048, 2048))
    subprocess.call([kmc_path, '-ci{}'.format(cutoff_min), '-k{}'.format(kmer_len), '-m{}'.format(memory), '-p{}'.format(sig_len), reads_src, 'kmc_db', '.'])
Runs kmc.
def _run_kmc(cutoff_min, kmer_len, memory, sig_len, reads_src):
    '  '
    if (init_sys_path.is_linux() or init_sys_path.is_mac()):
        kmc_path = os.path.join(os.path.dirname(__file__), '../../bin/kmc')
    elif init_sys_path.is_windows():
        kmc_path = os.path.join(os.path.dirname(__file__), '../../x64/Release/kmer_counter.exe')
    if init_sys_path.is_mac():
        resource.setrlimit(resource.RLIMIT_NOFILE, (2048, 2048))
    subprocess.call([kmc_path, '-ci{}'.format(cutoff_min), '-k{}'.format(kmer_len), '-m{}'.format(memory), '-p{}'.format(sig_len), reads_src, 'kmc_db', '.'])