Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raw read count to reference genes fanx Bioinformatics 3 04-11-2014 05:34 AM
reads mapping to overlapping genes? beliefbio Bioinformatics 3 04-11-2014 01:18 AM
multiBamCov or htseq-count to count read per feature ? NicoBxl Bioinformatics 1 07-03-2012 03:05 AM
RNASeq removing PCR bias schaffer Bioinformatics 3 10-20-2011 07:00 PM
Overlapping and non-Overlapping pair-end reads with Tophat senpeng Illumina/Solexa 4 10-16-2011 07:43 PM

Thread Tools
Old 11-06-2012, 08:28 AM   #1
Junior Member
Location: Belgium

Join Date: Feb 2012
Posts: 4
Default Removing overlapping genes from annotation for RNAseq read count


I am trying to prepare a read count table for DESeq using EasyRNAseq package in R. I followed the vignette and used ensembl.gtf file as my annotation. After constructing my read count table I get warnings about overlapping genes and counting reads more than once but I am not sure how to modify my annotation to avoid it. The manual only mentions that computed gene models can be extracted from created RNAseq object and that overlapping loci should be removed without specifying how to do it. I am able to extract gene models but I am not sure how to correctly process it before re-running the function. Could anyone please give me some advice on how to fix this annotation in R?

I attached the code I used to generate my read count table below:

read.count <-easyRNASeq(format='bam',readLength=50L, organism="Mmusculus", chr.sizes="auto", annotationMethod="gtf", annotationFile="mm9.ensgene.gtf", count="genes", summarization="geneModels", filesDirectory=getwd(), filenames=c("NI_A_accepted_hits.bam","NI_B_accepted_hits.bam","DEX_A_accepted_hits.bam", "DEX_B_accepted_hits.bam","GW_A_accepted_hits.bam", "GW_B_accepted_hits.bam", "DEX_GW_A_accepted_hits.bam", "DEX_GW_B_accepted_hits.bam"), conditions=conditions, outputFormat="RNASeq")

To get gene models I used: geneModels <- geneModel(read.count) but I am stack at this point and I cannot find a way to remove overlapping features. I tried disjoin function but it gives an error: "Error in function (classes, fdef, mtable) : unable to find an inherited method for function "disjoin", for signature "RangedData" "

Thanks a lot for your suggestions!
DRAT is offline   Reply With Quote
Old 04-11-2014, 01:17 AM   #2
Junior Member
Location: Vienna

Join Date: Dec 2012
Posts: 8

Take a look at our read counter tool that does not count read-pairs mapped to the same-strand overlapping part of genes:
eszter.ari is offline   Reply With Quote
Old 04-11-2014, 04:53 AM   #3
Senior Member
Location: Budapest

Join Date: Mar 2010
Posts: 329

You can use bedtools merge to collapse the overlapping regions in mm9.ensgene.gtf
TiborNagy is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 01:15 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO