Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting unmapped reads from BAM using Samtools? Lspoor Bioinformatics 17 08-25-2013 12:22 AM
How to extract mapped and unmapped raw reads from bwa's sam file ? vaibhavvsk Bioinformatics 11 02-07-2013 09:01 AM
unmapped SOLiD reads actually mapped via Bowtie hoagiang Bioinformatics 2 09-05-2012 06:47 PM
BWA output bitwise flag for mapped/unmapped reads wenhuang Bioinformatics 1 08-29-2011 03:54 PM
Finding unmapped reads using samtools Ash Bioinformatics 2 10-28-2010 07:20 AM

Thread Tools
Old 09-27-2013, 01:42 AM   #1
Location: france

Join Date: Oct 2012
Posts: 27
Default Samtools: Mapped reads and unmapped reads

I have a problem and I don't understand the flag number to extract alignment.

So my question is I want to extract from a bowtie alignment all the reads if one mapped and the other does'nt map to do a CV analysing after.

I want only unmmaped reads if one pair mapped properly only.

I tried -f 3 -F 260
and -f 4 -F 264 but it does not give me what i want, if anyone can help me.

------- ----------
Map Unmapped


------- ----------
Unmapped Map

Thank you very much
shadow19c is offline   Reply With Quote
Old 09-27-2013, 01:57 AM   #2
Location: Milano, Italy

Join Date: Aug 2011
Posts: 93

this link may help you:

maybe you are interested in -f 8
paolo.kunder 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 09:01 PM.

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