I can't seem to find an answer to this simple question, although this must be a fairly common issue. I have Illumina paired-end reads from an RNA-Seq run, and have run a script to filter adapter dimers. This operation has resulted in my having different numbers of reads in my _R1 and _R2 files. Does Bowtie identify mate pairs in these files simply using their order, or does it use the read IDs? If it goes in order, then Bowtie will fail to match the correct pairs from my filtered files. If it uses the IDs, then Bowtie should be ok, unless it crashes when a read doesn't have a mate. Does anyone know how this works? Should I just run this data as single-end to avoid these issues?
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Dear Volklor,
Paired inputs for Bowtie2:
Pairs are often stored in a pair of files, one file containing the mate 1s and the other containing the mates 2s. The first mate in the file for mate 1 forms a pair with the first mate in the file for mate 2, the second with the second, and so on. When aligning pairs with Bowtie 2, specify the file with the mate 1s mates using the -1 argument and the file with the mate 2s using the -2 argument. This causes Bowtie 2 to take the paired nature of the reads into account when aligning them.
(http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml)
Please write a simple perl script to order your reads.
Best wishes,
RahulRahul Sharma,
Ph.D
Frankfurt am Main, Germany
-
Thanks for your reply, Rahul. I assume that Bowtie 1 (the version I'm using) works the same way as Bowtie 2. In my case, it is not that read order is the only issue; it's that certain reads don't have mates because they've been filtered out. I think my best bet will be to run this data as single-end.
Comment
-
Hi Volklor,
If you still have the original files somewhere it might be worth running a trimming program that is aware of paired-ends, such as Trimmomatic. We have also written a wrapper around Cutadapt that can do this (trim galore), even though it was initially destined for some other stuff. It would be a shame to let the paired-end information go to waste, wouldn't it?
Comment
Latest Articles
Collapse
-
by seqadmin
The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...-
Channel: Articles
02-24-2025, 06:31 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 03-03-2025, 01:15 PM
|
0 responses
162 views
0 likes
|
Last Post
by seqadmin
03-03-2025, 01:15 PM
|
||
Started by seqadmin, 02-28-2025, 12:58 PM
|
0 responses
251 views
0 likes
|
Last Post
by seqadmin
02-28-2025, 12:58 PM
|
||
Started by seqadmin, 02-24-2025, 02:48 PM
|
0 responses
625 views
0 likes
|
Last Post
by seqadmin
02-24-2025, 02:48 PM
|
||
Started by seqadmin, 02-21-2025, 02:46 PM
|
0 responses
265 views
0 likes
|
Last Post
by seqadmin
02-21-2025, 02:46 PM
|
Comment