Bam file sorting with samtools instead of STAR
There are some memory issues regarding STAR --outStd BAM_SortedByCoordinate https://www.biostars.org/p/206914/. https://github.com/alexdobin/STAR/issues/870. I suggest we do the sorting in the same rule we do the indexing with samtools. thoughts?