Hi Patrick,
if you want to get just one BAM file merged from the 3 samples, the easiest (and most accurate) thing to do is to feed all three samples together in one STAR job with the --twopassMode Basic option for 2-pass. The the junctions detected in the 1st pass from all samples will be used
For SE reads - comma separated list:
--readFilesIn sample1.fq,sample2.fq,sample3.fq
For PE reads - comma separated list for read1 <space> comma separated list for read2
--readFilesIn sample1_read1.fq,sample2_read1.fq,sample3_read1.fq sample1_read2.fq,sample2_read2.fq,sample3_read2.fq
Cheers
Alex