Bowtie2 alignment error with different amount of reads in R1 and R2
1
0
Entering edit mode
2.6 years ago
vnewtoboiin ▴ 10

Hi all, I have an issue when trying to align a ChIPseq input reads to the genome using bowtie2. The error that comes up is: Error, fewer reads in file specified with -2 Error, fewer reads in file specified with -2 than in file specified with -1than in file specified with -1

I have removed singletons using fastq_pair but it still seems as though R1 and R2 have different amount of reads... What could be the cause of this and how do I fix it?

bowtie2 chipseq • 1.3k views
ADD COMMENT
0
Entering edit mode
2.6 years ago
ATpoint 81k

How were the data processed in the first place? Something like trimming with a non paired-end aware tool?

ADD COMMENT
0
Entering edit mode

The only processing I’ve done so far is trimgalore —very sensitive and fastqc, followed by fastq_pair

ADD REPLY
0
Entering edit mode

TrimGalore for each file separately or in paired-end mode?

ADD REPLY
0
Entering edit mode

For each file separately

ADD REPLY
1
Entering edit mode

That is the problem, this will leave singletons. TrimGalore (and cutadapt which it is a wrapper around) have paired-end support which is described in its manual, please use it to avoid asynchronous fastq files.

ADD REPLY
1
Entering edit mode

I will give trimgalore --paired a go, thanks for your help!

ADD REPLY

Login before adding your answer.

Traffic: 2339 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