refactor bam_sort, allow sort to write aux files
update dependencies