Menu

redirect output for FilteredKmersCache

2024-09-06
2024-09-06
  • James Doonan

    James Doonan - 2024-09-06

    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>

    Thanks,
    
    James
    
     
    • Barry G. Hall

      Barry G. Hall - 2024-09-06

      No I dea. I have no experience with external servers
      Barry G. Hall
      barryghall@gmail.com

      On Sep 6, 2024, at 12:49 AM, James Doonan jamdoo@users.sourceforge.net wrote:

      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>

      Thanks,

      James
      redirect output for FilteredKmersCache https://sourceforge.net/p/ksnp/discussion/general/thread/b83293e0af/?limit=25#fcef
      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ksnp/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.