Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cheezemeister
    Member
    • Oct 2014
    • 36

    #1

    Tool(s) for calculating depth and genome coverage

    I am looking for a tool that can take my BAM files and spit out the following information:

    1. Mean depth across the entire genome
    2. Percent of genome covered at a specified depth, or preferably multiple specified depths (i.e. 10X, 20X, 30X etc).

    I'm not a great command line jockey, so a tool that can be installed in Galaxy would be great, but if not, then I can muddle my way through it on the command line.

    Thanks!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Any topic/question that does not fit into the subcategories below. If you're unsure of where to put something, ask in here!

    Comment

    • cheezemeister
      Member
      • Oct 2014
      • 36

      #3
      I've got Bedtools Genome Coverage working in Galaxy now, but the output is confusing. It seems to pick randomly-sized intervals and report a coverage value across that interval. Example output below:

      chr 3 6 2
      chr 6 13 3
      chr 13 14 5
      chr 14 16 6
      chr 16 25 8
      chr 25 27 10
      chr 27 29 12
      chr 29 32 15
      chr 32 47 16
      chr 47 60 18
      chr 60 72 19
      chr 72 84 21

      Really, all I want is a single number: mean depth across the entire genome. Is there a simple way to get this number using this tool?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        There are multiple solutions here but you will need to leave the confines of galaxy and work on the command line: https://www.biostars.org/p/5165/

        Comment

        • Brian Bushnell
          Super Moderator
          • Jan 2014
          • 2709

          #5
          You can calculate it yourself quite easily, if you have fixed-length reads - (#mapped reads)*(read length)/(genome size).

          Comment

          • cheezemeister
            Member
            • Oct 2014
            • 36

            #6
            Originally posted by Brian Bushnell View Post
            You can calculate it yourself quite easily, if you have fixed-length reads - (#mapped reads)*(read length)/(genome size).
            Not fixed length, unfortunately. They've been adapter and quality trimmed, although your method would still give me an estimate.

            I actually found from reading another thread on here that the easiest way for me was to just load the BAMs into Qualimap and look at the summary page, as Qualimap calculates that value as part of its analysis.

            Comment

            • cheezemeister
              Member
              • Oct 2014
              • 36

              #7
              Originally posted by GenoMax View Post
              There are multiple solutions here but you will need to leave the confines of galaxy and work on the command line: https://www.biostars.org/p/5165/
              I found this same thread on Biostars. I was going to try out some of the suggestions there when I read the very last entry about Qualimap. Since I needed these numbers fairly quickly, I just used that, but I'm going to try out come of the command line options for future use, because Qualimap does do batches very well.

              Comment

              • shimbalama
                bioinformatics-help.com
                • Jul 2014
                • 9

                #8
                GATK DepthOfCoverage is command line but very easy to use and well documented on their site. Beyond that I normally use custom scripts based on a pile up. All of these options will require a lot of RAM for a whole genome, so if you can use an interval list/bed file that'll makes things much easier/faster.
                LM

                Comment

                • shashibioinfo
                  Junior Member
                  • Apr 2015
                  • 2

                  #9
                  Bedtools Genomecoveragebed Usage : How To do per base coverage analysis for only chr2

                  Hey for a specific chromosome number how to do coverage analysis for input bam file using bedtools and GATK tools

                  Thanks

                  Comment

                  Latest Articles

                  Collapse

                  • 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
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  26 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  32 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-13-2026, 09:56 AM
                  0 responses
                  31 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-09-2026, 11:14 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...