I hava some questions when using kneaddata. I only need to use bmtagger to remove human reads. However, even I set --bmtagger parameter when running the program, the software will automatically check the installation of bowtie2 and indexing reference database bowtie2 used. Is there any way I can avoid installing bowtie2 and the related reference database if I only interested in bmtagger?
After I installed bowtie2 and finally can run the program, I have a “python permission denied problem”. I saw in the user manual "If you do not have write permissions to '/usr/lib/', then add the option "--user" to the install command." However, I already have python installed before I installed kneaddata. How can I solve the problem?
Traceback (most recent call last):
File "/usr/local/bin/kneaddata", line 9, in <module>
load_entry_point('kneaddata==0.4.6.1', 'console_scripts', 'kneaddata')()
File "/usr/local/lib/python2.7/dist-packages/kneaddata-0.4.6.1-py2.7.egg/kneaddata/knead_data.py", line 390, in main
storageheavy.storage_heavy(args)
File "/usr/local/lib/python2.7/dist-packages/kneaddata-0.4.6.1-py2.7.egg/kneaddata/storageheavy.py", line 888, in storage_heavy
debug = debug)
File "/usr/local/lib/python2.7/dist-packages/kneaddata-0.4.6.1-py2.7.egg/kneaddata/storageheavy.py", line 280, in tag
stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied