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
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-13-2026, 12:22 PM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-11-2026, 10:35 AM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        38 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        51 views
        0 reactions
        Last Post SEQadmin2  
        Working...