Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SongLi
    Member
    • Oct 2010
    • 19

    #1

    TopHat color space

    Hi All,

    I have trouble using tophat with files downloaded from SRA.

    My command is:

    ./tophat -C -p 5 -o ./825tophat ../bowtie-0.12.7/indexes/ath_gmc_colspace_110510 ~/SRR039825.fastq

    Error encountered parsing file /home/SRR039825.fastq:
    Length mismatch between sequence and quality strings for SRR039825.1 923_6_55 (36 vs 36).

    The sequence is here:
    @SRR039825.1 923_6_55
    T00310202021210203103230203233012210
    +
    !;>1<998495<<3$4.40%/87-101*&3,8#%'#

    I dig into the code, and find the problem is at line 931-934 of tophat.py, where the length of the sequence has to be 1 character longer than the quality score.

    Why is this and how can I fix it?

    Thanks,

    Song Li
  • SongLi
    Member
    • Oct 2010
    • 19

    #2
    A little update on this issue:

    I wrote a script that trim off the first quality value in my fastq file. Then tophat runs smoothly through the whole analysis.

    I am still not sure that's the correct way of solving this problem.

    Thanks,


    Originally posted by SongLi View Post
    Hi All,

    I have trouble using tophat with files downloaded from SRA.

    My command is:

    ./tophat -C -p 5 -o ./825tophat ../bowtie-0.12.7/indexes/ath_gmc_colspace_110510 ~/SRR039825.fastq

    Error encountered parsing file /home/SRR039825.fastq:
    Length mismatch between sequence and quality strings for SRR039825.1 923_6_55 (36 vs 36).

    The sequence is here:
    @SRR039825.1 923_6_55
    T00310202021210203103230203233012210
    +
    !;>1<998495<<3$4.40%/87-101*&3,8#%'#

    I dig into the code, and find the problem is at line 931-934 of tophat.py, where the length of the sequence has to be 1 character longer than the quality score.

    Why is this and how can I fix it?

    Thanks,

    Song Li
    Last edited by SongLi; 12-22-2010, 08:24 AM.

    Comment

    • xinwu
      Member
      • Jul 2010
      • 33

      #3
      Originally posted by SongLi View Post
      A little update on this issue:

      I wrote a script that trim off the first quality value in my fastq file. Then tophat runs smoothly through the whole analysis.

      I am still not sure that's the correct way of solving this problem.

      Thanks,
      This is due to the format used by NCBI. NCBI transforms all the data from different platforms to a standard FASTQ format.
      Tophat uses bowtie for reads mapping and it expects csfasta and qual files if the data is color-spaced. Sequence in csfasta has additional 'T' adapter comparing to qual file, so tophat expects one more base. Just tell bowtie you use fastq format rather than fasta.

      Comment

      • ngsbioinfo
        Junior Member
        • Dec 2010
        • 1

        #4
        hi all,

        I am new to NGS analysis field. I am working on RNA-Seq data, aim it to identify all novel junctions and transcripts. I would appreciate if any one can help me out in using tophat and cufflinks for that matter.

        Thanks in advance

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:13 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...