Hi all,
I have been playing with options of Tophat2 with my paired-read RNA-seq data. When I was wondering how to use the Tophat2 option -r/--mate-inner-dist to optimize my alignment result, I saw the Q&A from the official website:
"The SAM output of Bowtie2 for paired reads is especially helpful as the 9th field in the SAM alignment lines should show the estimated fragment length, from which you should subtract twice the read length to get the value of the "inner distance" that can be used with the -r parameter"
So I did a Bowtie2 test run for a subset of data and got my test.sam back. However, the number in column 9 is not consistent. Here is a portion of my data after filtered out unmapped reads and unmapped mates:
0 -338 338 310 -310 150 -150 -159 159 -3786 3786 -379 379 -173 173 248 -248 260 -260 0 -128 128 164 -164 -246 246 0
I was wondering how can I deduce the value for -r/--mate-inner-dist from these wide numbers? Could anybody shed some lights on this output?
Thanks!!!
Try -67, if it complains about the negative value then use 0.