SEQanswers (
-   Bioinformatics (
-   -   Supporting Reads in SAMTools SNP Calls (

Lee Sam 07-08-2010 02:48 PM

Supporting Reads in SAMTools SNP Calls
I'm using SAMTools to do some variant calling and I'd like to know how many supporting reads there are for the variant vs the consensus for the SNPs that it calls (like the indel lines). Is there a way to do this that I've missed? I want to use it as a filter on top of the mapping qualities.

Dethecor 07-09-2010 04:06 AM

Have a look at the samtools pileup format
See here:

also, if you run samtools with the following command "samtools pileup -c -f <reference_sequence> in.bam" you will get for each position the support for consensus and for reference and some value that tells you the probability of a SNP at this position, I haven't read up on the details but I think that could be a good starting point.

Example Output:

dmel_mitochondrion_genome 2033 T T 10 0 0 3 ... AA>

You could try to extract your desired information from that.


Lee Sam 07-09-2010 07:16 AM

Got it, thanks. I'll parse the read base column.

All times are GMT -8. The time now is 02:40 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.