Hello,
It seemed I found a bug in the previous tophat versions which use bowtie as the aligment tool. I tested in this way:
Test1: tophat using bowtie
Option1: tophat -r 0 -i 30 -I 100000 -p 8 -g 1 -o g1 reference R1_101.fastq R2_101.fastq;
Option2: tophat -r 0 -i 30 -I 100000 -p 8 -g 10 -o g1 reference R1_101.fastq R2_101.fastq;
I caculated the percentages of unique reads for both Option1 and Option2. Actually, all the reads in Option1 are unique, the percentage is 60.8%. For Option2, I only caculated the unique ones, whose percentage is 82.3% (I used samtools to transform the .bam file into .sam file and caculated unique reads). Firstly, this made me so confusing, why this made so large differences. So later on I compared the two .sam files and I found even some unique reads really exist, when you use -g 1, you will loss some data. I searched some web comments, they said that bowtie has no gap-alignment and is not good for the reads longer than 50bp.
Test2: tophat using bowtie2
Option3: tophat -r 0 -i 30 -I 100000 -p 8 -g 1 -o g1_bowtie2 reference R1_101.fastq R2_101.fastq;
Option4: tophat -r 0 -i 30 -I 100000 -p 8 -g 10 -o g1_bowtie2 reference R1_101.fastq R2_101.fastq;
For Option3 the unique reads percentage is 82.9%, Option4 the unique reads percentage is 83.8%, only 0.9% difference. It seems bowtie2 did much better job than bowtie.
Did anyone meet this kind of situation?
If you have, please just let me know. I'm just worring about I did something wrong. I appreciated your kindness.
It seemed I found a bug in the previous tophat versions which use bowtie as the aligment tool. I tested in this way:
Test1: tophat using bowtie
Option1: tophat -r 0 -i 30 -I 100000 -p 8 -g 1 -o g1 reference R1_101.fastq R2_101.fastq;
Option2: tophat -r 0 -i 30 -I 100000 -p 8 -g 10 -o g1 reference R1_101.fastq R2_101.fastq;
I caculated the percentages of unique reads for both Option1 and Option2. Actually, all the reads in Option1 are unique, the percentage is 60.8%. For Option2, I only caculated the unique ones, whose percentage is 82.3% (I used samtools to transform the .bam file into .sam file and caculated unique reads). Firstly, this made me so confusing, why this made so large differences. So later on I compared the two .sam files and I found even some unique reads really exist, when you use -g 1, you will loss some data. I searched some web comments, they said that bowtie has no gap-alignment and is not good for the reads longer than 50bp.
Test2: tophat using bowtie2
Option3: tophat -r 0 -i 30 -I 100000 -p 8 -g 1 -o g1_bowtie2 reference R1_101.fastq R2_101.fastq;
Option4: tophat -r 0 -i 30 -I 100000 -p 8 -g 10 -o g1_bowtie2 reference R1_101.fastq R2_101.fastq;
For Option3 the unique reads percentage is 82.9%, Option4 the unique reads percentage is 83.8%, only 0.9% difference. It seems bowtie2 did much better job than bowtie.
Did anyone meet this kind of situation?
If you have, please just let me know. I'm just worring about I did something wrong. I appreciated your kindness.
Comment