Question: Error with SRA downloaded reads and SPAdes 3.1.0
gravatar for jlimenitakis
3.8 years ago by
European Union
jlimenitakis0 wrote:


I have downloaded Illumina reads from SRA (SRR769347). I want to run a de novo assembly with SPAdes but I am getting an error and I am not sure how to fix it. 

Here are all the steps I've performed:

I used Fastq-dump —split-files on the SRA file to extract the 2 files for each paired reads. I used sed to add /1 and /2 respectively to each paired files. I therefore have 2 files : file1.fastq and file2.fastq 

A read from file1.fastq looks like this :

@SRR769347.1/1 1 length=101


+SRR769347.1 1 length=101


A read from file2.fastq looks like this :

@SRR769347.1/2 1 length=101


+SRR769347.1 1 length=101


I then use these files as input to SPAdes 3.1.0 (available version on our cluster) as follows : (I also provide PacBio reads for the assembly) -1 file1.fastq -2 file2.fastq --pacbio pacbio.fastq -o SPAdes_output


Invariably I am getting the following error: 

== Error ==  file not found: file2.fastq (right reads, library number: 1, library type: paired-end)

I also tried to use another fastq-dump option : —split3 for which the reads are correctly labelled as /1 and /2 but strangely each read is in multiple copies… and also gives me the same error in SPAdes…

Any help would be great !



spades assembly • 1.7k views
ADD COMMENTlink written 3.8 years ago by jlimenitakis0

Try to download fastq files from

Also use full path to fastq files, e.g. -1 /FULL_PATH_TO_DATASET/SRR769347_1.fastq -2 /FULL_PATH_TO_DATASET/SRR769347_2.fastq ...
ADD REPLYlink modified 3.8 years ago • written 3.8 years ago by rtliu2.0k

thanks, it was indeed a PATH issue. It works now ! Sorry about that !

ADD REPLYlink written 3.8 years ago by jlimenitakis0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 670 users visited in the last hour