Tool:tool to reorder mate reads after preprocessing
1
0
Entering edit mode
10.2 years ago

Hi,

I removed adapter sequences individually from mate 1/ and 2/ fastq files using fastx tool. Following that I also removed the reads which are mapping to rRNA and the plasmid genome present in fastq.

After these processing steps, the mate1 and mate 2 reads in two files, as obvious, are not in order. Is there any tool to arrange the reads in a proper order in the two files, and remove those reads whose corresponding mate was filtered out during processing steps. I will highly appreciate if someone can help me out.

RNA-Seq • 3.3k views
ADD COMMENT
2
Entering edit mode

The right solution is to use a trimming tool that handles pairs correctly, like trimmomatic

ADD REPLY
0
Entering edit mode

Istvan is right. You will spend more time in figuring out how to put reads in proper order than reprocessing the original fastq files from scratch using trimmomatic. It is a jave based tool and can work with compressed (.gz) fastq files.

ADD REPLY
0
Entering edit mode

Thanks for your suggestion

ADD REPLY
0
Entering edit mode

Trimmomatic removes adapter sequences and keeps the mate pairs in the same order. However, following this step, I am separating reads mapped and unmapped to the rRNA sequences (reference) in new fastq files using bowtie2. I realized that in the resulting fastq files, the order of mate pairs are lost. Is there any option to keep the order. The read pairs which are NOT mapped to rRNA will be aligned against genome (reference) in the next step.

ADD REPLY
0
Entering edit mode
10.2 years ago

Nothing can beat this simple solution from Heng Li here.

ADD COMMENT

Login before adding your answer.

Traffic: 2294 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6