Unconfigured Ad

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

    #1

    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

                • 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...
                  Yesterday, 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
                28 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-28-2026, 09:51 AM
                0 responses
                18 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 11:13 AM
                0 responses
                71 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 10:48 AM
                0 responses
                48 views
                0 reactions
                Last Post SEQadmin2  
                Working...