组装之前想评估一下用多长的kmer合适,找到了kmergenie软件:它可以进行k-mer分析及基因组大小评估。具体下载安装和操作请参考:https://www.jianshu.com/p/0251b55977c0
我在使用的过程中报错:
Traceback (most recent call last):
File "/home/micro/software/kmergenie-1.7051/scripts/decide", line 63, in fit_histogram
rc, stdout, stderr = run(command)
File "/home/micro/software/kmergenie-1.7051/scripts/decide", line 44, in run
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/micro/software/kmergenie-1.7051/scripts/decide", line 110, in
outputs = p.map(fit_histogram, list_histograms)
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
raise self._value
OSError: [Errno 2] No such file or directory
Execution of 'scripts/decide' failed (return code 1). If this is a fresh Kmergenie install, try running 'make check'.
于是我去软件安装路径下检查了下:
$ make check
scripts/test_install
Testing presence of ntCard....
OK
Testing presence of Rscript....
Traceback (most recent call last):
File "scripts/test_install", line 62, in
check_r()
File "scripts/test_install", line 27, in check_r
ret = call(['Rscript','--version'])
File "/usr/lib64/python2.7/subprocess.py", line 524, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [check] Error 1
是没有安装R,安装R后就可以了