Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Gavin_Sherlock
    Junior Member
    • Oct 2011
    • 3

    Retrieving reads with SNPs

    Hi,

    Does anyone know of a way to straightforwardly retrieve all reads (from resequencing) that have a SNP present in them? We're generating vcf files, using bwa+gatk, and would then like to know all reads which contain a SNP listed in the vcf file. I know that I can write a wrapper that uses samtools view for a region containing a SNP, and then look at each read individually (the SNPs will be heterozygous) that maps to that location, but I wondered whether there is something that is likely faster than this, as I'd likely implement the wrapper in Perl, which will be slow for thousands of SNPs x many strains.

    Cheers,
    Gavin
  • RockChalkJayhawk
    Senior Member
    • Mar 2009
    • 192

    #2
    Originally posted by Gavin_Sherlock View Post
    Hi,

    Does anyone know of a way to straightforwardly retrieve all reads (from resequencing) that have a SNP present in them? We're generating vcf files, using bwa+gatk, and would then like to know all reads which contain a SNP listed in the vcf file. I know that I can write a wrapper that uses samtools view for a region containing a SNP, and then look at each read individually (the SNPs will be heterozygous) that maps to that location, but I wondered whether there is something that is likely faster than this, as I'd likely implement the wrapper in Perl, which will be slow for thousands of SNPs x many strains.

    Cheers,
    Gavin
    check the fields in the gatk vcf. It already tells you how many reference/alternate reads there are.

    Comment

    • cpendlebury
      Junior Member
      • May 2011
      • 3

      #3
      I believe he wants the actual sequence of the reads with SNPs, rather than just the numbers of SNPs.

      If so I'm wanting to figure out how to do the same thing.

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      32 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      62 views
      0 reactions
      Last Post SEQadmin2  
      Working...