-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [Errno 18] Invalid cross-device link when using spoligotype #248
Comments
Hi @micronorman, Thanks for reporting this. Are you are running this in your scratch partition (/scratch/ansm/tmp.tbprofiler_job-9WRIVeZ8/tbprofiler/)? if so I would expect both the .kmers.txt file never to be moved over to your storage directory. I.e. it would be simple renaming In any case, the |
Hi @jodyphelan I am running tb-profiler on a HPC server where jobs are sent to a SLURM queue via an sbatch command. Each slurm-node has a dedicated super fast local scratch partition, however, our TB analysis pipeline is normally executed from a large 200 TB network storage partition ( Thank you for your time! |
Ok that makes sense, I'll have a look at this in the coming week and let you know how it goes. The |
Happy new year and sorry for the delay with this. Fixed this issue by removing the requirement for |
Thanks a bunch! |
I've been getting an error when running v4.3.0 profiler using the --spoligotype parameter. It looks like fastq.py is throwing an error after attemting to rename the output of kmc, when the tb-profiler prefix points to a different device (I am using a temporary folder located on a scratch partition, which is then copied back when tb-profiler completes).
A temporary workaround that worked for me was to use shutil.move instead of os.rename, but would it be possible to get kmc (get_kmer_counts) to use the same directory as tb-profilers storage directory (DIR) for temporary files?
The text was updated successfully, but these errors were encountered: