Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slowsmile
    Member
    • May 2011
    • 22

    #1

    how to identify different snps between two groups?

    Dear seq members

    I am fairly new to SNP analysis. In my study, I have 2 groups, treatment and control, each containing 3 biological replicates. My goal is to find different snps between the two groups and I'm using samtools mpileup | bcftools in my analysis.

    Shown below are my codes:

    samtools mpileup -C 50 -uDS -q 10 -f MYPATH/human_ref_genome.fa output/tr1.bam output/tr2.bam output/tr3.bam output/ctr1.bam output/ctr2.bam output/ctr3.bam | bcftools view -bvcg - > ./snp_output/snp_cmp.bcf

    bcftools view -c -1 -3 ./snp_output/snp_cmp.bcf | vcfutils.pl varFilter -D 100 > ./snp_output/snp_cmp.vcf


    Did I use the correct command? Why did the output snp_cmp.vcf file contain millions of snps while I'm expecting hundreds of snps of interest? How did I only limit (filter) my scope to the different snps between the two groups and which program should I use to achieve this goal?

    Thanks in advance.
  • Xi Wang
    Senior Member
    • Oct 2009
    • 317

    #2
    I am also interested in this question. Hope some experts could help.
    Xi Wang

    Comment

    • gringer
      David Eccles (gringer)
      • May 2011
      • 845

      #3
      Why did the output snp_cmp.vcf file contain millions of snps while I'm expecting hundreds of snps of interest?
      See here:

      Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


      Hundreds of thousands of SNPs are expected and perfectly normal. However, I think millions would be pushing it a bit too much for comparing only a few individuals.

      In my study, I have 2 groups, treatment and control, each containing 3 biological replicates
      Three biological replicates seems quite a low number for SNP frequency studies. I'm more used to hundreds or thousands of individuals compared (e.g. WTCCC). I'd expect you'll have a lot of trouble distinguishing between false and true positive results with only 6 individuals.

      Edit: I've just noticed that the thread I linked to was also from you discussing the same issue. Oh well, I guess it must have needed some clarification.
      Last edited by gringer; 01-03-2012, 11:35 PM.

      Comment

      • david.tamborero
        Member
        • Feb 2011
        • 60

        #4
        I'm actually newbie in bioinformatics and maybe I am missing something, but as far as I understand you should be interested in those SNPs which are different among the two groups. If so, you could use some of the tools designed for finding somatic mutations.

        FYI, now I am getting a try to Varscan. It uses the group1_pileup and group2_pileup files as input and then outputs some nice statistics about the 'somatic status' of any variant.

        hope it helps,

        cheers
        david

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        43 views
        0 reactions
        Last Post SEQadmin2  
        Working...