Sort STAR-alignments with samtools.
Sort STAR-alignments with samtools.

The STAR sorter can blow up with some inputs that samtools seems
to handle well, so here we produce an unsorted BAM file from
STAR and sort it ourselves with samtools.

Thanks to Tao Song and Brad Chapman.

chapmanb/bcbio-nextgen,lbeltrame/bcbio-nextgen,vladsaveliev/bcbio-nextgen,vladsaveliev/bcbio-nextgen,a113n/bcbio-nextgen,chapmanb/bcbio-nextgen,biocyberman/bcbio-nextgen,biocyberman/bcbio-nextgen,vladsaveliev/bcbio-nextgen,a113n/bcbio-nextgen,lbeltrame/bcbio-nextgen,lbeltrame/bcbio-nextgen,chapmanb/bcbio-nextgen,a113n/bcbio-nextgen,biocyberman/bcbio-nextgen