This is a test version of Biostars. For the public version, visit https://www.biostars.org.
different bam from same NGS data

I was given some bam files I used to call somatic variants. The high number of SNP and mutations i found seemed suspicious, so I asked for the original fastq files to redo the allignment. While waiting for them I tried to get fastq from those bam files using bedtools bamtofastq . I used bwa mem to check allignment and the new bam file yeld less mutations and SNPs. Is there a procedure I didn't understand in the bedtools function that might have given me a fastq file different than the original?

bam bwa

are you using the same parameters/software/ remove duplicates etc... ?

I guess so, although I'm still waiting for the guy who did the first analysis to reply

And that you aligned to the same reference?

Yes, same exact file fasta

1 answer

The BAM file will not necessarily include the whole read from the original FASTQ file since it can be clipped, and this could lead to different alignment results.

Log in to answer this question.