Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • moriah
    Member
    • Dec 2010
    • 23

    Counting mapped nucleotides in a bam file

    Hi !

    Is there a way to go over a sorted bam file and count how many different matches there are for a specific nucleotide - for example for a reference nucleotide T in position x - there are :12 T , 3A, 4C 0G..?\

    Thanks ahead!
  • ulz_peter
    Senior Member
    • Feb 2010
    • 219

    #2
    if it's just for some nucleotides and you need no autmoation:
    IGV shows that information when you visualize it there's a coverage track. y moving the cursor over the relevant bar you'll get that information

    Comment

    • ulz_peter
      Senior Member
      • Feb 2010
      • 219

      #3
      if it's just for some nucleotides and you need no autmoation:
      IGV shows that information when you visualize it there's a coverage track. y moving the cursor over the relevant bar you'll get that information

      Comment

      • moriah
        Member
        • Dec 2010
        • 23

        #4
        Thanks for your answer!

        I saw the anomaly in the IGV for couple of genes and now I would like to check it in about 500 genes... so I have to find a way to do it automatically ...

        Comment

        • ulz_peter
          Senior Member
          • Feb 2010
          • 219

          #5
          What about traditional SNP calling (for example using GATK). Is there any reason not to do it?

          Comment

          • moriah
            Member
            • Dec 2010
            • 23

            #6
            As far as I know snp calling won't always count a snp like one if there is not enough coverage or not sufficient quality score...
            In addition, when I used a snp caller I got the consensus nucleotide and since I would like to see how much of each nucleotide covers specific position I am not sure if it fits...

            Do you know how to overcome these issues using snp callers?
            Thanks

            Comment

            • ulz_peter
              Senior Member
              • Feb 2010
              • 219

              #7
              you can set the criteria quite low and when using GATK (don't know for the others) it outputs the allele balance between the reference allele and the substituted allele.

              It might miss some snps though if evidence is very low but I guess you do search variants with biological meaning and I guess he wouldn't miss those.

              However, you would only get information of balance of 2 nucleotides. I don't think triallelic SNPs are supported yet.

              Can't think of any other solution but maybe there's a fuction in bamtools/bedtools/samtools/picard that you might use

              Comment

              • moriah
                Member
                • Dec 2010
                • 23

                #8
                Thanks for your help!

                Comment

                Latest Articles

                Collapse

                • seqadmin
                  New Genomics Tools and Methods Shared at AGBT 2025
                  by seqadmin


                  This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                  The Headliner
                  The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                  03-03-2025, 01:39 PM
                • seqadmin
                  Investigating the Gut Microbiome Through Diet and Spatial Biology
                  by seqadmin




                  The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
                  02-24-2025, 06:31 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by seqadmin, Today, 07:27 AM
                0 responses
                10 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, Yesterday, 12:50 PM
                0 responses
                14 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, 03-03-2025, 01:15 PM
                0 responses
                185 views
                0 reactions
                Last Post seqadmin  
                Started by seqadmin, 02-28-2025, 12:58 PM
                0 responses
                282 views
                0 reactions
                Last Post seqadmin  
                Working...