Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • summarizeOverlaps vs countOverlaps

    Dear All,

    I am getting completely different results for the count of mapped reads on transcript features using the countOverlaps and summarizeOverlaps.

    CountOverlaps on using a gappedAlignment and Granges object gives slightly different results. SummarizeOverlaps gives totally different results for the modes "Union" and "intersectionNotEmpty".

    Can someone please let me know where I am making a mistake. I have attached a screenshot of the transcripts. All the transcripts belong to the same gene.

    Following steps were performed by me on a small subset of my data

    1. I built a gapped alignment object of mapped reads using the command
    reads=readBamGappedAlignments("path / to / bam/sorted.bam")

    2. From the gapped alignment I built a genomic ranges object
    ranges=GRanges(seqnames=rname(reads),
    ranges=IRanges(start=start(reads),
    end=end(reads)),strand=rep("*",length(reads)))

    3. I built a genomic ranges list from a custom genedb object (4 transcripts).
    geneE=exonsBy(genedb,'gene')

    4. Used the count and summarize overlaps functions
    a). count1=countOverlaps(geneE, reads)
    b). count2=countOverlaps(geneE, ranges)
    c). count3=assays(summarizeOverlaps(geneE, reads,
    mode="UNION"))$counts[,1]
    c). count4=assays(summarizeOverlaps(geneE, reads,
    mode="intersectionNotEmpty"))$counts[,1]

    5. I get four different count results
    "T1, T2, T3, T4"
    a). count1 "55972, 41029, 18270, 18734"
    b). count2 "55989, 41046, 18287, 18751"
    c). count3 "0, 2, 0, 1092"
    d). count4 "0, 3712, 0, 2550"
    Attached Files

Latest Articles

Collapse

  • seqadmin
    Strategies for Sequencing Challenging Samples
    by seqadmin


    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
    03-22-2024, 06:39 AM
  • seqadmin
    Techniques and Challenges in Conservation Genomics
    by seqadmin



    The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

    Avian Conservation
    Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
    03-08-2024, 10:41 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:37 PM
0 responses
7 views
0 likes
Last Post seqadmin  
Started by seqadmin, Yesterday, 06:07 PM
0 responses
7 views
0 likes
Last Post seqadmin  
Started by seqadmin, 03-22-2024, 10:03 AM
0 responses
49 views
0 likes
Last Post seqadmin  
Started by seqadmin, 03-21-2024, 07:32 AM
0 responses
66 views
0 likes
Last Post seqadmin  
Working...
X