Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shuang
    Senior Member
    • Jul 2011
    • 100

    How to find out the base on a certain position

    I've found a SNP on a certain position on a reference genome (eg chromosome 1, position 13579) by using bwasw and Samtools. Next, I want to find out what is the base on each of my other Sanger sequences. My other Sanger sequences may or may not cover this SNP position.
  • volks
    Member
    • Jun 2010
    • 80

    #2
    also with samtools mpileup.

    Comment

    • shuang
      Senior Member
      • Jul 2011
      • 100

      #3
      Could you tell me more details on how to do it? Maybe give me an example command? Thanks!

      Comment

      • westerman
        Rick Westerman
        • Jun 2008
        • 1104

        #4
        Your question is not making sense. Perhaps you can expand on it? As far as I can tell you have (1) found a SNP -- that makes sense -- and (2) want to find out, exactly what?, on your other sequences.

        Comment

        • westerman
          Rick Westerman
          • Jun 2008
          • 1104

          #5
          I see that 'volks' responded. I think that he/she is answering the question that you probably meant to ask, which I would state as:

          I have found a SNP on a chromosome. I would like to know for all of my sequences what base, if any, they have at that SNP position.

          samtools mpileup is the answer for the above. See: http://samtools.sourceforge.net/mpileup.shtml

          And, of course, the man page at: http://samtools.sourceforge.net/samtools.shtml
          Last edited by westerman; 09-08-2011, 09:17 AM. Reason: Added man page reference

          Comment

          • shuang
            Senior Member
            • Jul 2011
            • 100

            #6
            I want to count the number of each wide-type and polymorphism on the same position among all the sequences which cover that position.

            Comment

            • westerman
              Rick Westerman
              • Jun 2008
              • 1104

              #7
              "wide-type"? I'll presume "wild-type".

              I was assuming, and perhaps 'volks' was as well, that your Sanger sequences were mapped using bwa and that the information of this mapping is inside your BAM file. If so then 'samtools mpileup your_file' will get you the information you need. You can limit the positions via the '-l' option.

              Comment

              • shuang
                Senior Member
                • Jul 2011
                • 100

                #8
                I tried the commands below. I'm sure the sample RN21 has SNP on chr_2:5556282. However, the output showed all the SNPs found in sample RN21. Same as without typing -l chr_2:5,556,282.

                What did I miss?


                samtools mpileup -uf Sorbil.fasta RN21.ab1.sorted.bam -l chr_2:5,556,282 | /mnt/E_DRIVE/samtools-0.1.17/bcftools/bcftools view -bvcg - > var.raw.bcf


                bcftools view var.raw.bcf > var.flt.vcf

                Comment

                • Emilie
                  Member
                  • Nov 2010
                  • 21

                  #9
                  Hi Shuang,

                  You can use the -r option with a coordinate. You should also write the options before the bam file.
                  Ex: samtools mpileup -r chr1:38280656-38280656 file.bam

                  Emilie

                  ****************************************
                  samtools mpileup [options] in1.bam [in2.bam [...]]
                  -r STR Only generate pileup in region STR [all sites]

                  Comment

                  Latest Articles

                  Collapse

                  • mylaser
                    Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by mylaser
                    Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                    If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                    This guide explains everything you need to know about...
                    Today, 01:13 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-09-2026, 10:04 AM
                  0 responses
                  17 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-08-2026, 10:08 AM
                  0 responses
                  10 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-07-2026, 11:05 AM
                  0 responses
                  22 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-02-2026, 11:08 AM
                  0 responses
                  31 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...