For a study with multiple samples, it is recommended to collect 1st pass junctions from all samples.
1. Run 1st mapping pass for all samples with ”usual” parameters. Using annotations is recom-
mended either a the genome generation step, or mapping step.
2. Run 2nd mapping pass for all samples , listing SJ.out.tab files from all samples in --sjdbFileChrStartEnd /path/to/sj1.tab /path/to/sj2.tab ....
So to be clear: I run STAR with my usual parameters once, and then I run STAR again with the EXACT SAME parameters as the first run, but just adding an extra '--sjdbFileChrStartEnd sj1.out.tab sj2.out.tab...' option, where sj1.out.tab, sj2.out.tab, ... are the STAR splice junction output files from the first run?
Thanks!
-Jerry
--sjdbFileChrStartEnd ./directory/with/300_SJs/*SJ.out.tab --limitSjdbInsertNsj=5000000
Jun 22 12:14:03 ..... started STAR run
Jun 22 12:14:03 ..... loading genome
Jun 22 12:15:20 ..... inserting junctions into the genome indices
Jun 22 12:22:14 ..... started mapping
Jun 22 12:23:04 ..... started sorting BAM
Jun 22 12:23:21 ..... finished successfully