SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
max mismatches in Bowtie2 hollandorange Bioinformatics 10 11-15-2013 04:13 PM
bowtie2, option -N bye Bioinformatics 0 02-21-2013 07:46 AM
Tohat2.0.0.7 error when set bowtie2 to option (--b2-very-sensitive) -1 intawat RNA Sequencing 0 08-02-2012 05:25 AM
Tohat2.0.0.7 error when set bowtie2 to option (--b2-very-sensitive) intawat Bioinformatics 0 08-02-2012 02:13 AM
Bowtie2 ( not running with option --sam-rg CHRYSES Bioinformatics 2 01-24-2012 02:28 AM

Reply
 
Thread Tools
Old 07-09-2013, 02:22 PM   #1
jazz
Member
 
Location: us

Join Date: Nov 2008
Posts: 28
Default Bowtie2 mismatches option for small RNA mapping

I am using Bowtie2 to map small RNA reads (not microRNAs) to the genome. To account for allelic divergence, I need to set it to allow 1 or maybe even 2 mismatches. Is it possible to change that? I believe the N -1 option only lets you allow mismatches in the seed region.
I am using end-to-end very sensitive option.

Thanks for any insights.
jazz is offline   Reply With Quote
Old 07-09-2013, 07:06 PM   #2
Kennels
Senior Member
 
Location: Sydney

Join Date: Feb 2011
Posts: 149
Default

I think bowtie1 would be better suited for your purposes. I use bowtie1 for small RNA alignments. Or Patman is another.
Kennels is offline   Reply With Quote
Old 07-10-2013, 04:17 AM   #3
jazz
Member
 
Location: us

Join Date: Nov 2008
Posts: 28
Default

But bowtie1 does not allow for gapped alignment and I am expecting some possible small RNAs coming from fusion/chimeras. I am thinking about Blat and Tophat fusion. Any suggestions on those?
jazz is offline   Reply With Quote
Old 07-10-2013, 06:02 AM   #4
Kennels
Senior Member
 
Location: Sydney

Join Date: Feb 2011
Posts: 149
Default

Ah sorry I misread the part that you are not looking for miRNAs.
Patman handles gaps too, though it becomes slower.
Kennels is offline   Reply With Quote
Old 08-29-2013, 07:12 AM   #5
joseph.troy
Junior Member
 
Location: Urbana, IL

Join Date: Oct 2012
Posts: 4
Default

I spent yesterday reading the bowtie 2 manual trying to figure out how to limit the output to alignments with no more than 1 mismatch. (in bowtie 1 I was able to limit output to those with no more than one mismatch using the -v 1 option at the command line).

It seems in bowtie2 you must filter out alignments with more than 1 mismatch (or y mismatches) AFTER the sam output file is produced. The bowtie 2 manual describes "optional" fields in the sam output. One of those optional fields is the XM:i:<N> flag which is "The number of mismatches in the alignment. Only present if SAM record is for an aligned read." Below is partial SAM output showing those flags. (the below just shows part of the rows with some of the flags) The output shows an alignment with 7 mismatches, then one with 1 mismatch and then one with 0 mismatches.


GGGGFGGEEGEEG AS:i:-34 XS:i:-44 XN:i:0 XM:i:7 XO:i:0 XG:i:0 NM:i:7 MD:Z:9A2G0T3A2A7C6A39 YT:Z:UU
EDEBD@DEEEEB@@ AS:i:-5 XN:i:0 XM:i:1 XO:i:0 XG:i:0 NM:i:1 MD:Z:21A53 YT:Z:UU
FEEFBFFBB AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:75 YT:Z:UU

So, my plan is to write a perl script to remove those with more than one mismatch before I continue my downstream processing of the data.

Any thoughts or comments would be appreciated, I'm just trying to learn how all this works as well.

-Joe
joseph.troy is offline   Reply With Quote
Reply

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 07:36 AM.


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