Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #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

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 08:06 AM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-30-2024, 12:17 PM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-29-2024, 10:49 AM
        0 responses
        19 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-25-2024, 11:49 AM
        0 responses
        26 views
        0 likes
        Last Post seqadmin  
        Working...
        X