redirect output for FilteredKmersCache
kSNP4 does SNP discovery and SNP annotation from whole genomes
Brought to you by:
barryghall,
shea0
I installed kSNP4 on an external server. When the program runs it places cached output in my home directory which fills up fast. I have a large space allowance on another directory (data_dir). Is there an easy way to redirect the FilteredKmersCache to data_dir? I don't have sudo rights.
This is the error:
DEBUG:Cached filtered kmers from kmers.fsplit0 to /home/kSNP/FilteredKmersCache/f9a0efc6f8d763224331f8087822612a86bd118219e4e5f8c001320bc2265537.17.
DEBUG:Cached filtered kmers from kmers.fsplit1 to /home/kSNP/FilteredKmersCache/63a5589a4b6048187c79c26740ee036d2e2b86db4085072b49555020d19be6fb.17.
DEBUG:Cached filtered kmers from kmers.fsplit2 to /home/kSNP/FilteredKmersCache/52c9ce63efc5b9fb5016d6eaf9f6b109a5458a15533bbeae735ceb57a28285a5.17.
Traceback (most recent call last):
File "get_filtered_kmers.py", line 406, in <module>
File "get_filtered_kmers.py", line 330, in cacheFilteredKmers
File "shutil.py", line 418, in copy
File "shutil.py", line 264, in copyfile
OSError: [Errno 28] No space left on device: '/home/kSNP/FilteredKmersCache/52c9ce63efc5b9fb5016d6eaf9f6b109a5458a15533bbeae735ceb57a28285a5.17'
[14629] Failed to execute script 'get_filtered_kmers' due to unhandled exception!
0 GCA_009662435 /data_dir/GCA_009662435.1
1 GCA_009665145 /data_dir/GCA_009665145.2</module>
No I dea. I have no experience with external servers
Barry G. Hall
barryghall@gmail.com