Seqanswers Leaderboard Ad

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

    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

          • seqadmin
            Pathogen Surveillance with Advanced Genomic Tools
            by seqadmin




            The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
            03-24-2025, 11:48 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 03-20-2025, 05:03 AM
          0 responses
          41 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-19-2025, 07:27 AM
          0 responses
          49 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-18-2025, 12:50 PM
          0 responses
          36 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-03-2025, 01:15 PM
          0 responses
          192 views
          0 reactions
          Last Post seqadmin  
          Working...