SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HTSeq with Bowtie2 .sam files all_your_base Bioinformatics 8 10-31-2012 01:39 PM
Bowtie2 SAM output missing base quality scores Comosus Bioinformatics 2 09-10-2012 12:21 AM
HTSeq not working with Bowtie2 .SAM all_your_base Bioinformatics 6 09-06-2012 07:03 AM
Bowtie2 --al and --un: no output arnav Bioinformatics 3 02-14-2012 02:08 PM
Bowtie2 ( not running with option --sam-rg CHRYSES Bioinformatics 2 01-24-2012 03:28 AM

Reply
 
Thread Tools
Old 11-12-2012, 02:05 AM   #1
Derek-C
Junior Member
 
Location: U.S.A.

Join Date: Nov 2012
Posts: 7
Default Bowtie2 Sam output

Hey guys,

I'm somewhat new to bioinformatics and I'm using bowtie2 with transcriptomic data, but there's something I don't quite understand. I'm mapping my transcripts to a version of the NCBI database in order to try to identify them. When I put the output sam file from bowtie2 into samtools and run flagstats on them it says (among other things)

Y + 0 mapped (x%:nan%)

That percentage has been somewhat low (~ 30 %)

But I thought the sam output file contained all the reads that were mapped against the reference database? How can only a certain percentage of this sam file contain mapped reads? Or am I misunderstanding something here? Thanks in advance!

Last edited by Derek-C; 11-13-2012 at 06:20 AM.
Derek-C is offline   Reply With Quote
Old 11-12-2012, 02:00 PM   #2
swbarnes2
Senior Member
 
Location: San Diego

Join Date: May 2008
Posts: 912
Default

Quote:
Originally Posted by Derek-C View Post
Hey guys,

I'm somewhat new to bioinformatics and I'm using bowtie2 with transcriptomic data, but there's something I don't quite understand. I'm mapping my transcripts to a version of a NCBI library in order to try to identify them. When I put the output sam file from bowtie2 into samtools and run flagstats on them it says (among other things)

Y + 0 mapped (x%:nan%)

That percentage has been somewhat low (~ 30 %)

But I thought the sam output file contained all the reads that were mapped against the reference database? How can only a certain percentage of this sam file contain mapped reads? Or am I misunderstanding something here? Thanks in advance!
For completeness sake, reads that failed to map are usually included in .bam files. So that's normal. 30% mapping is kind of low. You are aligning to a reference file of transcripts, right? Not genome?
swbarnes2 is offline   Reply With Quote
Old 11-13-2012, 03:30 AM   #3
Derek-C
Junior Member
 
Location: U.S.A.

Join Date: Nov 2012
Posts: 7
Default

Quote:
Originally Posted by swbarnes2 View Post
For completeness sake, reads that failed to map are usually included in .bam files. So that's normal. 30% mapping is kind of low. You are aligning to a reference file of transcripts, right? Not genome?
Yup thats right.

I'm sorry I'm not quite understanding what you mean? If reads that fail to map are included in another file, then how is it that only 30% of the reads in the other file mapped?
Derek-C is offline   Reply With Quote
Old 11-13-2012, 12:10 PM   #4
rflrob
Member
 
Location: Berkeley, CA

Join Date: May 2010
Posts: 50
Default

I think swbarnes was saying that reads that fail to map are included in the same SAM file as the ones that do map. There are options for bowtie that let you put them into a separate file; what does your command string look like?
rflrob is offline   Reply With Quote
Reply

Tags
bowtie2

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 12:45 AM.


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