Hi:
To run tophat one has to provide a parameter: "Expected inner distance between mate pairs" with the tag -r
Suggested by 1, this parameter seemed to be relied on read length: "For example, if your fragment size is 300 bp and read length is 50 bp, the inner distance is 200"
My questions are:
- Does this parameter mean the expected distance between two genomic loci mapped by two reads?
- What does the "fragments size" mean and how to decide this value?
Sincerely hope that you wise guys can give me some tips.
Thanks in advance!
Best!
BBMap can autodetect the insert size. After it finishes, it will print the average insert size on the screen... which, if you want, you can feed to Tophat. Or, you can just use the output of BBMap directly, since it is a splice-aware RNA-seq aligner.