Question: Counting Rna-Seq Reads Per Class.
0
gravatar for Mohammad Heydarian
6.2 years ago by
Mohammad Heydarian100 wrote:
Hi All, I have been trying to count the number of RNA-seq reads that fall into the various Cufflinks class codes ('=', 'j', 'u', 'x', etc...) and I am curious how others are determining how to count reads per class.. I tried first using the BedTools tool where you "count" the number of reads overlapping another set of intervals and later realized that each interval is extended1 kb up and downstream prior to the analysis (by default and not adjustable on Galaxy), so the number of reads that were "counted" for all of the classes was always much more than the amount of reads that I had for my Bam file. I then tried to isolate reads from each class into separate BAM files, using the BedTools "intersect" tool and there I consistently end up with significantly less reads than I have in my sample. I am very curious to find out how others are tackling this problem on Galaxy. Thanks for any input! Cheers, Mo Heydarian
rna-seq cufflinks bedtools • 1.2k views
ADD COMMENTlink modified 6.2 years ago by Jennifer Hillman Jackson25k • written 6.2 years ago by Mohammad Heydarian100
0
gravatar for Jennifer Hillman Jackson
6.2 years ago by
United States
Jennifer Hillman Jackson25k wrote:
Hello Mo, This may be a coordinate problems with 0-based vs 1-based start files. Using tools from "Operate on Genomic Intervals" might be an alternative since it works with the coordinates appropriately. File formats can be converted as needed BAM <-> SAM -> Interval. Alternatively, and may sound simple, but would the tool "Join, Subtract and Group -> Group" do the summary with enough specificity? These files (eg transcript/gene expression) have both the 'class_code' and a 'coverage' column. Coverage isn't exactly the same number but it does quantify the read data Cufflinks actually used to create the assembled transcripts assigned to the various class_codes, if that is what you are looking for. Please let us know if your question has been misunderstood. Others are also welcome to add in more comments! Best, Jen Galaxy team -- Jennifer Jackson http://galaxyproject.org
ADD COMMENTlink written 6.2 years ago by Jennifer Hillman Jackson25k
Hi Mo, I wanted to send a follow-up after reading your question again. The tools in the group 'BEDTools' also should be interpreting coordinates from various file formats correctly - but if you have an exact example where you believe it is not, please share that history with me privately and I will take a look. I also was thinking about the method of counting up the number of alignments (from the BAM file) based on overlapping coordinates. You mentioned that this was giving you a total that was greater than the original number of alignments. A single base extra base of overlap (if this turns out to be a problem) seems unlikely to be responsible for so much over-counting. Distinct gene bounds wouldn't be that close (in any great number). Something else might be the problem. Was the counting for genes or transcripts? If transcripts, then alignments counting more than once would be expected (since transcripts in the same gene bound will have overlap). Maybe this was the case? But even when using genes, it is possible that there is still some overlap - so some double counting might be expected at a low level. This could be tested using the tool 'Operate on Genomic Intervals -> Merge". If any genes merge, then there is overlap and this is where a few over-counted alignments might come from. I haven't addressed strand, but I am sure that you are taking that into consideration with the analysis. I do not know of a method to track back and find out exactly which alignments donated to which assembled transcripts. Using coverage seems to be the alternative to consider, but the question is still definitely open for others to comment (and correct!). Take care, Jen Galaxy team -- Jennifer Jackson http://galaxyproject.org
ADD REPLYlink written 6.2 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 175 users visited in the last hour