Originally posted by dpryan
View Post
Header Leaderboard Ad
Collapse
Unable to find flag in SAM with bowtie2 - but can with BWA
Collapse
Announcement
Collapse
SEQanswers June Challenge Has Begun!
The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
-
-
The bowtie2 commands I specified were these:
bowtie2-build ref base_name
bowtie2 --sensitive-local -x base_name -1 fq1 -2 fq2 -S sam
I'm aware that Nterm and Cterm have particular meanings, I'm just not too worried about it at this point. Once I get past this section in my testing I'll make sure the orientation is taken into account.
Leave a comment:
-
A couple points. Firstly, what was the exact bowtie2 command that you specified? Depending on the flags you used, the unmapped reads may or may not even be included. Secondly, I hope you take the orientation of your genes into account when you start calling the files Nterm and Cterm. They'll be swapped if the gene is on the - strand.
BTW, the most straight forward solution is to just find a couple reads like this from the bwa alignment and use grep to see what bowtie2 did with them. Presuming they map the same, you'll then know if bowtie2 is doing something unexpected with the flags.
Leave a comment:
-
Unable to find flag in SAM with bowtie2 - but can with BWA
I'm currently using Bowtie2 to map my reads to a small region of a genome to find what region it's in by collecting the unmapped pairs of the reads which have mapped.
I'm currently using samtools flags to get the reads I want:
---a--- ......... -------------
|------------------------gene----------------|
-------..............----b-----
What we want is
a: retain unmapped reads whose mate is on reverse strand (-f 36)
b: retain unmapped reads (-f 4) excluding reads whose mate is on reverse strand or unmapped (-F 40)
samtools view -Sb -f 36 sam > NtermBam
samtools view -Sb -f 4 -F 40 sam > CtermBam
Previously when mapping with BWA both of these commands would work and I would get an N terminus bam and a C terminus bam. However, when I map with Bowtie2 (because the mapping itself is better), I get no reads in the N terminus bam and all the reads go to the C terminus bam.
Does anyone know why this might be? I'm pretty sure the samtools commands are right because it works with BWA. I'm thinking it has something to do with Bowtie2, maybe not recording flags correctly?Tags: None
Latest Articles
Collapse
-
by seqadmin
Developments in sequencing technologies and methodologies have transformed the field of epigenetics, giving researchers a better way to understand the complex world of gene regulation and heritable modifications. This article explores some of the diverse sequencing methods employed in the study of epigenetics, ranging from classic techniques to cutting-edge innovations while providing a brief overview of their processes, applications, and advances.
Methylation Detect...-
Channel: Articles
05-31-2023, 10:46 AM -
-
Differential Expression and Data Visualization: Recommended Tools for Next-Level Sequencing Analysisby seqadmin
After covering QC and alignment tools in the first segment and variant analysis and genome assembly in the second segment, we’re wrapping up with a discussion about tools for differential gene expression analysis and data visualization. In this article, we include recommendations from the following experts: Dr. Mark Ziemann, Senior Lecturer in Biotechnology and Bioinformatics, Deakin University; Dr. Medhat Mahmoud Postdoctoral Research Fellow at Baylor College of Medicine;...-
Channel: Articles
05-23-2023, 12:26 PM -
-
by seqadmin
Continuing from our previous article, we share variant analysis and genome assembly tools recommended by our experts Dr. Medhat Mahmoud, Postdoctoral Research Fellow at Baylor College of Medicine, and Dr. Ming "Tommy" Tang, Director of Computational Biology at Immunitas and author of From Cell Line to Command Line.
Variant detection and analysis tools
Mahmoud classifies variant detection work into two main groups: short variants (<50...-
Channel: Articles
05-19-2023, 10:03 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 01:08 PM
|
0 responses
6 views
0 likes
|
Last Post
by seqadmin
Yesterday, 01:08 PM
|
||
Started by seqadmin, 06-01-2023, 08:56 PM
|
0 responses
12 views
0 likes
|
Last Post
by seqadmin
06-01-2023, 08:56 PM
|
||
Deep Sequencing Unearths Novel Genetic Variants: Enhancing Precision Medicine for Vascular Anomalies
by seqadmin
Started by seqadmin, 06-01-2023, 07:33 AM
|
0 responses
142 views
0 likes
|
Last Post
by seqadmin
06-01-2023, 07:33 AM
|
||
Unveiling Genetic Associations Through Transcription Factor Binding Quantitative Trait Loci
by seqadmin
Started by seqadmin, 05-31-2023, 07:50 AM
|
0 responses
182 views
0 likes
|
Last Post
by seqadmin
05-31-2023, 07:50 AM
|
Leave a comment: