Error in TRinity
1
0
Entering edit mode
6.3 years ago
majeedaasim ▴ 60

I downloaded the fastq files from EBI ENA and then ran TRinity on them. Following error is shown

Error, not recognizing read name formatting: [SRR1188607.1]

The files appear like this

@SRR1188607.1 HWI-ST915_0064:2:1101:1420:2104/1 GTCTCTTCGCACGCTTTCACTGTGAACGGTTCGGCATCGAGAAGGACGCAGTTCCTCTCCGGCTTGGACCAGTTTCTGGTGGCCACGGCTGCCCCCATCC + HDHHHHHHHHHHHHHHHHHHHHHHGHHHHHHHHHHHHHHFHFFHHHHHHHHEHEHHHHHHHGHHHED?EE=A@BACDDECCE@DB74?############ How to fix this issue

TRinity error in fastaq header • 2.3k views
ADD COMMENT
0
Entering edit mode

Can it be another read has the same name?

ADD REPLY
0
Entering edit mode

Since your reaction is not an answer, but rather a question for more information, I have moved this to a comment for now.

ADD REPLY
0
Entering edit mode

Another read is having the name as

@SRR1188607.1 HWI-ST915_0064:2:1101:1420:2104/2 CAAGGAGACGCTCCATTGTTGAGACGTAGCCCTTGAGGACGTCCTCGTAGGGAATCTTGTCCTCGCAGGGTGCGAAGAAGGTGATGGTGG + HHHHHHHHHHHHHHHHHEFGDEHFHHHHHCHHHFFHHHEHGEHHHFEBDEHHHHFHHHHHHHHHHHFHHF=EFFEFHEFFGDFEBFCAFD

ADD REPLY
0
Entering edit mode

It appears paired-end reads in a single file.

ADD REPLY
0
Entering edit mode

If you want to use fastq-dump then in addition to the command options @toralmanvar provided you should use -F to restore original Illumina headers. This will remove SRR1188607.1 from fastq headers, which is what Trinity is complaining about.

ADD REPLY
0
Entering edit mode
6.3 years ago
Tm ★ 1.1k

SRR1188607 is a paired-end data so you should get 2 files after converting .sra file to fastq. If this is not the case, then please rerun fastqdump. Command which I use for PE data is :

fastq-dump -I --split-files input_file.sra

Give a try.

ADD COMMENT
0
Entering edit mode

This will likely cause the same problem as the original issue since this command will not recover original Illumina fasta headers which appears to be what Trinity is complaining about.

ADD REPLY

Login before adding your answer.

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