aidenlab / juicer

A One-Click System for Analyzing Loop-Resolution Hi-C Experiments
http://aidenlab.org
MIT License
418 stars 183 forks source link

Allow users to define memory usage in 'samtools sort' #362

Open ycl6 opened 3 weeks ago

ycl6 commented 3 weeks ago

This PR makes the following changes:

With the ability to increase the memory per thread setting, it will reduce the number of temporary files produced during sorting. With large dataset, users can set a larger value to prevent the "Too many open files" error from happening (e.g. #343), as the default used by samtools sort is only 768M per thread.