Error code 255 - assembling SRA data #749
-
Hello, I am trying to assemble paired-end illumina data that I downloaded from SRA. SPAdes works just fine when assembling my own original read data, but when using the SRA reads it fails when using BWA, saying that the read names do not match. The names match except for the final number in the SRA read names (a 1 or a 2, depending on the read). Example read names from one set of paired reads: and the SPAdes error message:
Any ideas on how to get SPAdes to use these reads? Here's the spades log file. Thanks! Oscar |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi, l have the exact issue here. `[mem_sam_pe] paired reads have different names: "SRR2677532.1.1", "SRR2677532.1.2" == Error == system call for: "['/home/lyndant/Documents/ProjetSession/SPAdes-3.13.0-Linux/bin/spades-corrector-core', '/home/lyndant/Documents/ProjetSession/SPAdes-3.13.0-Linux/bin/spades_results/mismatch_corrector/contigs/configs/corrector.info', '/home/lyndant/Documents/ProjetSession/SPAdes-3.13.0-Linux/bin/spades_results/misc/assembled_contigs.fasta']" finished abnormally, err code: 255` l tried the --continue option as suggested here, but it didn't change anything. Any suggestion on what we can do? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello Unfortunately, SRA tools produce invalid names for paired-end reads. Indeed, BWA requires the name of reads from the pair match. And as far as you can see – they don't. Note that per FASTQ specification everything after space in the read name is actually a comment; this is why name is just |
Beta Was this translation helpful? Give feedback.
-
I solved this by renaming the fastq read names with sed, where data have been cleaned by illumiprocessor. Spades ran normally after this.
|
Beta Was this translation helpful? Give feedback.
-
Thank you asl, thank you henicorhina, I didn't manage to reuse the above code (I'm really new at this). I found rename sequences on Galaxy, and used it to rename the reads with only their number, for both files. It finally worked. |
Beta Was this translation helpful? Give feedback.
-
I was also having this problem but this thread solved it. Thanks! It would be helpful if spades checked for this issue at the beginning of the pipeline. |
Beta Was this translation helpful? Give feedback.
I solved this by renaming the fastq read names with sed, where data have been cleaned by illumiprocessor. Spades ran normally after this.