Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Zhou
    Junior Member
    • Nov 2012
    • 2

    #1

    How to use Samtools to output a list of SNPs (RS number) from a BAM file

    Hi,
    I am doing whole exome sequencing. I have a BAM file from 1000 genome website and I want to output its list of SNPs (rs number) and compare with our list of SNPs of this sample from our own sequencing.

    1. How can I get the ts list of SNPs (rs number) from this BAM file this using Samtools?

    2. Can I compare two BAM files and output the common SNPs (rs number) and differences (ra numbers) from those two BAM files using Samtools?

    Please advise!

    Michael
  • Michael Zhou
    Junior Member
    • Nov 2012
    • 2

    #2
    Hi,
    I am doing whole exome sequencing. I have a BAM file from 1000 genome website and I want to output its list of SNPs (rs number) and compare with our list of SNPs of this sample from our own sequencing.

    1. How can I get the ts list of SNPs (rs number) from this BAM file this using Samtools?

    2. Can I compare two BAM files and output the common SNPs (rs number) and differences (ra numbers) from those two BAM files using Samtools?

    Please advise!

    Michael

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      samtools mpileup into bcftools is how SAMTools calls SNPs. And you can give it multiple .bams at the same time, if you want.

      But samtools is not magic, and does not know of other SNPs. But you can use BEDTools to get the intersect between your SNPs and another file of SNPs with rs IDs.

      Comment

      • CraigJ
        Junior Member
        • Jul 2012
        • 8

        #4
        There is a detailed explanation page on the samtools website about calling SNPs with samtools/bcftools, even for multiple samples.

        Check out and read the webpage: http://samtools.sourceforge.net/mpileup.shtml

        This page plus the samtools manual page should be good to get you started on what you want to do.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        67 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        47 views
        0 reactions
        Last Post SEQadmin2  
        Working...