SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare mapped reads in SAM/BAM files Marisa_Miller Bioinformatics 17 06-15-2015 11:09 AM
[bwa] generating paired end sam file from sai files insular Bioinformatics 1 06-04-2013 04:55 AM
How to set a flag is mapped in sam/bam? fabrice Bioinformatics 1 08-24-2011 09:11 AM
SAM/BAM how to retrieve all mapped reads ? Sylphide Bioinformatics 2 05-31-2011 06:57 AM
Generating a BAM file from Illumina export files in CASAVa 1.7 nirav99 Bioinformatics 1 09-10-2010 01:20 AM

Reply
 
Thread Tools
Old 02-19-2016, 03:35 PM   #1
ovon
Junior Member
 
Location: British Columbia

Join Date: Feb 2016
Posts: 2
Default Looking for advice on generating a transcriptome from mapped .bam or .sam files

Hello all. I'm starting off here with something fairly complex, I guess.

I'm looking for some advice because I'm starting a new project and I haven't done this sort of thing before.

I've got a few samples worth of RNAseq reads and I'd like to generate expression information with them. They are human, but likely to contain sequences that are not in an existing reference transcriptomes. The read depth is also not very high, so I'm hesitant to just use the genome as a reference when generating expression data.

My plan right now is to map them to the current version of the human genome using STAR, then to use the alignments generated to produce a fasta file that has consensus sequences for everything aligned.

From there I can use Sailfish or Salmon to get read counts, RPKM, etc, and compare my samples using some kind of differential expression analysis in R. This part I'm solid on, it's the middle step that I'm not so sure about.

Does anyone think that generating a reference transcriptome this way is inadvisable (and why)?

If this sounds reasonable, what do you think is the best way to do so? I see that Trinity has a genome guided transcriptome generation option. I'd like to try that out. If not, I also see that there are ways to get just the aligned portions of a .bam file in .fasta format. Seems like a relatively convoluted process, though. I'd prefer to keep things relatively simple where possible.

One last thing, I'm not sure about preserving annotations for either of these options. So I'm open to advice on how to do that no matter what route I end up going.

Thanks in advance!

Last edited by ovon; 02-19-2016 at 03:37 PM. Reason: typo check
ovon is offline   Reply With Quote
Old 02-19-2016, 06:34 PM   #2
Brian Bushnell
Super Moderator
 
Location: Walnut Creek, CA

Join Date: Jan 2014
Posts: 2,707
Default

BBMap is, probably, substantially more sensitive for finding novel isoforms/splice-sites from low-coverage data (the only non-default flag you would need is "maxindel=200k"). I have not directly compared it to STAR, though.

As for generating a reference transcriptome, you might consider making a union of the official transcriptome and your experimental transcriptome prior to quantification. That way, transcripts that are already annotated, and present in your samples but in levels too low to assemble, will still become valid mapping targets.

I think the simplest approach would probably be to combine all your data, assemble with Trinity, then deduplicate your assembled transcriptome in conjunction with an official transcriptome using Dedupe (part of the BBMap package), which also removes contained subsequences. At that point you will have all official and novel transcripts for optimal quantification. This solution is not perfect, but eukaryotic RNA-seq is always messy.
Brian Bushnell is offline   Reply With Quote
Old 02-21-2016, 10:18 PM   #3
ovon
Junior Member
 
Location: British Columbia

Join Date: Feb 2016
Posts: 2
Default

Thanks Brian, I wasn't aware of bbmap's capabilities wrt this analysis. That is all very helpful and I think I will go ahead with your suggestions. Definitely sounds easier than what I was planning.
ovon is offline   Reply With Quote
Reply

Tags
bioinformatics, differential expression, rnaseq alignment, star

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 09:46 PM.


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