This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Tophat prep_read error

Hello,

I am running a Tophat script that has worked previously, however with the new data set I am trying to map the sequence length and my quality length in all of my fastq files are incongruent (I am guess that quality length and sequence length are usually the same).

I am getting the following error message:

[2015-12-18 22:09:55] Checking for Bowtie
                  Bowtie version:        2.2.3.0
[2015-12-18 22:09:55] Checking for Bowtie index files (genome)..
[2015-12-18 22:09:55] Checking for reference FASTA file
[2015-12-18 22:09:55] Generating SAM header for /pathto/genome_index/Mus_musculus/UCSC/mm10/Sequence/Bowtie2Index/genome
[2015-12-18 22:10:04] Preparing reads
        [FAILED]
Error running 'prep_reads'
Error: qual length (47) differs from seq length (100) for fastq record !

Each fastq file has 100 seq length but varying qual lengths.

When running Fastqc, my reads seem normal with good quality score with no indication of different quality and seq lengths.

Am I understanding this error correctly and how do I fix this?

Thanks in advance!

tophat rna-seq illumina

Cheers Brian,

I think you're right. I ran into a common bug on Chrome, where users downloading large files will often have incomplete files. I am re-downloading all the data again using a different browser.

Yuka

2 answers

If the error message is correct, your fastq file is corrupt; you should redownload it.

i wish i could help..

Log in to answer this question.