some more updates to implement sorting sam, indexing, deduping
move outputs into subfolders in some cases