Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Lee Sam
    Member
    • Oct 2008
    • 57

    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
    Member
    • May 2010
    • 24

    #2
    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."

    Comment

    • Lee Sam
      Member
      • Oct 2008
      • 57

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

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      23 views
      0 reactions
      Last Post SEQadmin2  
      Working...