dammit icon indicating copy to clipboard operation
dammit copied to clipboard

BUSCO issue

Open butterflyology opened this issue 9 years ago • 2 comments

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.

butterflyology avatar Dec 15 '15 19:12 butterflyology

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?

camillescott avatar Dec 16 '15 01:12 camillescott

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.

butterflyology avatar Dec 16 '15 18:12 butterflyology