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.
Unconfigured Ad
Collapse
X
-
Have a look at the samtools pileup format
See here: http://samtools.sourceforge.net/pileup.shtml
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.
Cheers,
Paul
"You are only young once, but you can stay immature indefinitely."
Latest Articles
Collapse
-
by SEQadmin2
The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.
This convergence of genetics, immunology, and computation...-
Channel: Articles
09-01-2026, 05:41 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Today, 10:22 AM
|
0 responses
5 views
0 reactions
|
Last Post
by SEQadmin2
Today, 10:22 AM
|
||
|
Started by SEQadmin2, Yesterday, 12:32 PM
|
0 responses
8 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 12:32 PM
|
||
|
Started by SEQadmin2, 08-24-2026, 10:32 AM
|
0 responses
49 views
0 reactions
|
Last Post
by SEQadmin2
08-24-2026, 10:32 AM
|
||
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
51 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
Comment