Use picard for bam sort. Add option to allow secondary alignments with snap (unused currently)