Hi Alex,
STAR alignments are always deterministic, however, the order in which they are output, as well some flags/attrbiutes (primary flag, HI) are not always deterministic.
With default parameters, and running on one thread, STAR is fully deterministic, down to the order of output alignments.
With multiple threads, the order of the reads in the output is not deterministic, as STAR reads/maps/writes reads in chunks.
However, the alignments for each read are completely deterministic.
With --outMultimapperOrder Random, the order of alignments for each read is no longer deterministics, which also affects primary flag and HI attribute.
Cheers
Alex