Hi,
I have multiple fastq files coming from different sequencing lanes but of the same tissue origin. So I want to align them using BWA. I have tried two ways of doing this:
a: BWA align individual fastq and get bam file for each and then use samtools to merge the individual bam file into one final bam file
b: Merge fastq first, then BWA align and end up with one bam file.
The results differs only a little bit (7 reads out of 100+million) when I counted the number of mapped reads. But I thought they should be the same.
Does anyone know why is the difference between method a and b?
Thanks!
I have multiple fastq files coming from different sequencing lanes but of the same tissue origin. So I want to align them using BWA. I have tried two ways of doing this:
a: BWA align individual fastq and get bam file for each and then use samtools to merge the individual bam file into one final bam file
b: Merge fastq first, then BWA align and end up with one bam file.
The results differs only a little bit (7 reads out of 100+million) when I counted the number of mapped reads. But I thought they should be the same.
Does anyone know why is the difference between method a and b?
Thanks!
Comment