Unconfigured Ad

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

    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
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-24-2026, 12:17 PM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-23-2026, 11:41 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-20-2026, 11:10 AM
        0 responses
        215 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        79 views
        0 reactions
        Last Post SEQadmin2  
        Working...