Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sylphide
    Member
    • Feb 2011
    • 11

    #1

    From BAM/SAM to number of A,C,G,T at each location

    Hi,
    I would like to obtain the number of A,C,G and T at each position of each contig from a SAM/BAM file.

    This is tu run the program mlRho from Bernhard Haubold, Peter Pfaffelhuber and Michael Lynch (http://guanine.evolbio.mpg.de/cgi-bi...o/mlRho.cgi.pl).
    The program can also use ACE format but I don't know how to obtain ACE from BAM.

    I don't know if there already is some tool available to do that, otherwise I will have to code it myself.

    Many thanks in advance for your help
  • mgogol
    Senior Member
    • Mar 2008
    • 197

    #2
    One way I know of is to run samtools mpileup, but you'll have to write another script to interpret and format the output.

    Comment

    • Sylphide
      Member
      • Feb 2011
      • 11

      #3
      The author Bernhard Haubold created a script to go from SAMTOOLS pileup to number of A,T,C,G available on asking.

      Thanks for your help mgogol anyway

      Comment

      • donniemarco
        Member
        • Aug 2009
        • 17

        #4
        (I would like to obtain the number of A,C,G and T at each position of each contig from a SAM/BAM file.)

        I think GATK tools does that. I am also using it to calculate the breakdown of each nucleotide at every position matching reference.

        Comment

        • dgscofield
          Member
          • Nov 2010
          • 28

          #5
          I wrote a little Perl script to generate an mlRho profile file from samtools mpileup. You can find pileup2pro.pl at https://github.com/douglasgscofield/...master/scripts. Bernhard also links to it from the mlRho site.
          Last edited by dgscofield; 08-07-2012, 08:42 AM.

          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...
            Today, 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
          24 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-28-2026, 09:51 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          68 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...