Unconfigured Ad

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

    #1

    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

                  • 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
                  29 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...