Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coryza
    Member
    • Feb 2014
    • 29

    #1

    Calculate Exome Coverage

    *// Edit to make the post more clear (Mapping done via Bowtie2).
    My problem is that when counting Exome Coverage via coverageBed gives different results than via genomeCoverageBed. So I'm not sure if I'm doing something wrong, or which of the 2 methods is correct.

    1) My first step is to build an .bed file of my Illumina Paired-End reads, returning the positions that only fall in targeted exon regions. I'm doing that via intersectBed -a [data.bed] -b [illuminaexonregions.bed].

    2) My next step is to calculate the coverage of my new datafile via coverageBed -a [newdata.bed] -b [illuminaexonregions.bed]. I calculated some statistics:
    Number of exons **214126** with a total length of **45326818**
    Number of matched nucleotides **10993449.0**
    Nucleotides/Length*100 **24.253740909** % Coverage.

    3) The next step was to calculate the coverage of my new datafile via genomeCoverageBed -i [newdata.bed] -g [genome.txt] -d awk '$3>0 {print $1"\t"$2"\t"$3}'. I calculated some statistics:
    Number of exons **214126** with a total length of **45326818**
    Number of matched nucleotides **10576907.0**
    Nucleotides/Length*100 **23.3347661863** % Coverage.

    Somehow there's a difference in matched nucleotides, which I can't explain. What am I doing wrong?
    Last edited by Coryza; 04-03-2014, 10:19 AM.
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    coverageBed calculate coverages where the two bed files are overlap.

    Comment

    • Coryza
      Member
      • Feb 2014
      • 29

      #3
      True. So when I coverageBed -a [data filtered exon regions] -b [exons] that should give the same result when genomeCoverageBed -i [data filtered exion regions] -g [genome] -d.?

      Comment

      • TiborNagy
        Senior Member
        • Mar 2010
        • 329

        #4
        Yes, If everythink is working correctly.

        Comment

        • Baseless
          Member
          • Feb 2010
          • 31

          #5
          This will not directly solve your problem, but save you some time: You can run coverageBed directly from the bam file and save the time/IO needed to produce a bed file of the sequencing data first.
          I do my coverage checks like this:
          coverageBed -abam <final_bam_file> -b <enrichment_kit_track_file> -hist

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • 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,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...