dammit
dammit copied to clipboard
BUSCO issue
BUSCO uses rm to remove the .temp files it generates. The issue with this is that rm can only delete up to 64,000 files. If you have more contigs than that, the program won't remove them.
I recommend adding
find . -name '*.temp' | xargs rm
to the script to remove these temporary files.
Are you talking about in the actual BUSCO script? If so, that's not really under my control, though this is a good reason why they should be consider putting the code on github :) I'm currently using shutil.rmtree()
to clean up folders -- do you know off the top of your head if it has that limit?
It is in the actual BUSCO script but my pleas to the Zbodnov lab have gone unanswered. I thought for the sake of sanity that dammit could fix this. I'm not aware of the limits of the python modules but I bet it is better than the present implementation in BUSCO.