Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tophat: merging accepted_hits.bam and unmapped.bam offspring RNA Sequencing 36 08-13-2015 03:08 AM
Does accepted_hits.bam include unmapped.bam reads erichpeterson Bioinformatics 2 11-21-2012 07:08 AM
Extract unaligned reads (Tophat) from FastQ Uwe Appelt Bioinformatics 5 08-07-2012 04:33 AM
Tophat 2 unmapped.bam chadn737 Bioinformatics 0 04-16-2012 04:04 PM
unaligned reads of tophat ae_ucla RNA Sequencing 1 04-07-2011 10:06 AM

Thread Tools
Old 05-26-2013, 06:49 PM   #1
Location: China

Join Date: Oct 2011
Posts: 20
Unhappy extrat unaligned reads from unmapped.bam (tophat)

Hi guys,
I want to extract unaligned paired reads from unmapped.bam(tophat output) in fastq fomat, is there any easy way to get those reads?
vivienne_lovely is offline   Reply With Quote
Old 05-26-2013, 10:58 PM   #2
Senior Member
Location: San Diego

Join Date: May 2008
Posts: 912

I think there is a setting on TopHat that will output the unmapped reads to a separate file; I thought that by default, Bowtie will not output them.

In general, unmapped reads will have the 4 flag set in the .bam, so something like

samtools view -f 4 sort.bam > unmapped.bam
Will pull unmapped reads out of a .bam that has unmapped reads in it.
swbarnes2 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 02:27 AM.

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