Comparing two BAM files for variant calling
0
0
Entering edit mode
5 months ago
Yogesh • 0

Hi,

I have two bam files corresponding to genomes of two related species A and B. Both bam files have been mapped to a common third reference genome C. Now I want to call variants between A and B. Can someone suggest a workflow? Are there tools to compare bam files directly for indels, SNPs etc?

NGS variant BAM • 431 views
ADD COMMENT
1
Entering edit mode

i want to call variants between A and B

Not quite. You want to see what variants are common/different between the two VCF files. For that you can use bcftools isec . See How bcftools isec works ?

ADD REPLY
0
Entering edit mode

thank you for response. i actually have two bam files for now which i want to compare to each other and predict SNPs.

ADD REPLY
0
Entering edit mode

You can't compare BAM files directly. You will need to call variants from the files and compare the VCF's.

ADD REPLY

Login before adding your answer.

Traffic: 2508 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6