Hello,
I'm trying to use STAR as my aligner, but I get this error:
EXITING because of FATAL ERROR: Read1 and Read2 are not consistent, reached the end of the one before the other one
SOLUTION: Check you your input files: they may be corrupted
I checked the logs, and it's my last mate pair, L004, which is causing this issue.
I did a wc -l
on the L004 reads, but they both have the same number of lines. I'm not sure why this error is occurring. Can someone point me in the right direction? This is happening for 8 of my samples. All 8 samples, L004 is behaving the same way.
Thank you
Use a trimmer like Trimmomatic that takes care of the orphan reads. If you don't want to repeat the trimming analysis check out this post Combining The Paired Reads From Illumina Run. I would still suggest you to start with the original fastq files and process it through Trimmomatic.
I've already trimmed the data and removed all bad-quality reads as well.