Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Kaskar
    Junior Member
    • Mar 2013
    • 2

    TopHat2 error running 'prep_reads'

    Dear community,

    I have a problem with prep_reads running TopHat2, like so many other. I have looked at all previous threads, and that solved my problem only partly.

    I had 12 multiplexed RNA samples that I ran on 6 lanes on an Illumina HiSeq2000. After retrieving the data I made a custom program to demultiplex the samples and combine the data from the 6 lanes. On the resulting fastq files I tried to run TopHat. First I used:

    /tophat/tophat2 -o TophatOutput_sample -p 4 /Bowtie2index/hg19 sample.fq

    That worked for 8 out of 12 samples. After reading a bit on this forum I realized that I had phred quality score 64, so I added --solexa1.3-quals. That solved the issue for another three samples, but still I cannot run TopHat on the last sample. I receive the following error message for that sample:

    [2013-05-28 22:02:25] Beginning TopHat run (v2.0.8b)
    -----------------------------------------------
    [2013-05-28 22:02:25] Checking for Bowtie
    Bowtie version: 2.1.0.0
    [2013-05-28 22:02:25] Checking for Samtools
    Samtools version: 0.1.9.0
    [2013-05-28 22:02:25] Checking for Bowtie index files
    [2013-05-28 22:02:25] Checking for reference FASTA file
    [2013-05-28 22:02:25] Generating SAM header for /data/genomes/hg19/genome/Bowtie2index/hg19
    format: fastq
    quality scale: phred64 (reads generated with GA pipeline version >= 1.3)
    [2013-05-28 22:02:30] Preparing reads
    [FAILED]
    Error running 'prep_reads'
    ---------------------------

    My prep_reads.log is empty.

    I would be very happy if anyone could tell me how to solve the problem!
  • Kaskar
    Junior Member
    • Mar 2013
    • 2

    #2
    Problem solved.

    Instead of running TopHat2 I ran Bowtie2 directly on the problematic fq file. Bowtie2 gave a much more concrete error message. It turned out that in the middle of the file I had a huge repeat of /xoo/xoo. I have no idea how it came there, but I reran my previous custom code, and after that it all worked as it should.

    Comment

    • kmcarr
      Senior Member
      • May 2008
      • 1181

      #3
      Originally posted by Kaskar View Post
      Problem solved.

      Instead of running TopHat2 I ran Bowtie2 directly on the problematic fq file. Bowtie2 gave a much more concrete error message. It turned out that in the middle of the file I had a huge repeat of /xoo/xoo. I have no idea how it came there, but I reran my previous custom code, and after that it all worked as it should.
      For future reference, the messages reported to the terminal during a Tophat run are only a minimal summary of the information reported by the underlying programs which Tophat runs. Tophat keeps the much more complete logs of each program in the <output_directory>/logs directory. When your Tophat run failed during Bowtie you could have checked the bowtie log in the logs directory for more detailed information.

      Comment

      • aforntacc
        Member
        • Jun 2011
        • 48

        #4
        ok guys please i need some help
        i am very very new to tophat, bowtie samtool colabo.
        i had this error below can some one please explain to me
        thanks

        prep_reads v2.0.0 (3280)
        ---------------------------
        Error: qual length (131) differs from seq length (100) for fastq record HWI-ST365_0157:7:2101:9222:152711#GCGGTC/2!

        gzip: stdout: Broken pipe

        Comment

        • mastal
          Senior Member
          • Mar 2009
          • 666

          #5
          TopHat2 error running 'prep_reads'

          Have a look at the record for the read mentioned in the error message,
          and see if there is anything obviously wrong with your file.

          Is there some character that your computer system doesn't like
          and is interpreting as a return character, or is it missing a return character
          at the end of one of the lines?

          Comment

          • aforntacc
            Member
            • Jun 2011
            • 48

            #6
            ok i have checked the record of the error message, here
            @HWI-ST365_0157:7:2101:9222:152711#GCGGTC/2
            CTGCACCAGCCCGTCGAAGACACATCAGTGACTCCATCATGACTTTTTCTTCATCAATCATTTTGAGAACAGCACCAGCCTTGATCATCGAGTATTCACC
            +HWI-ST365_0157:7:2101:9222:152711#GCGGTC/2
            _bbeeeeeg^ecggfhhiiffhihihihffggiihgfhhbghifiidgefdeghffhhiiiiiiiefegga_cebcbcca^`bcccdccb`a``_bcY_b

            thay are both 100 i do not know why the error.
            i am viturlizing ubuntu on windows 7, could this be an issue?
            kindly assist

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            34 views
            0 reactions
            Last Post SEQadmin2  
            Working...