Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TBAENVS
    Junior Member
    • Jan 2016
    • 5

    #1

    Error with quality score?

    Hi all!

    I keep getting an error using the fastx_reverse_complement tool saying that I have an invalid quality score in one of my sequences in fastq format. The Error is:

    fastx_reverse_complement: Error: invalid quality score data on line 281780 (quality_tok = "@M02529:176:000000000-AKLWJ:1:2113:11418:25147 1:N:0:3"

    So I look up the line in the input file and it looks like this:

    Code:
    @M02529:176:000000000-AKLWJ:1:2113:11418:25147 1:N:0:3
    GATCTCCGGACTACTGGGGTTTCTAATCCTGTTTGCTCCCCTTGCTCTCGCGCCTCAGCGTCAGGTGTTAACTAGAAAACCGCTTTCGCCACAGGTGTTCTTCCACATATCTACGCATTTCACCGCTACACGTGGAATTCCGTTTTCTCCGTCAATCCTCTAGAATTGTAGTTTCAAATGCAGCTCCGAAGTTGAGCTTCGGAATTTCACATCTGACTTACAGTTCCGCCTACGCGCCCTTTACGCCCAATAATTCCGATTAATGCTTGCACCCTCCGTATTACCGCGGCTGCTGGCACACATCT
    +
    8@BCC<@6+,@FFGGGCFGEGGGGGGGGGGGGGGGGGGFFGGGGGGGGGGGGGGGIIIIIIIIIIIIIIIIGIIIIIIGIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIEIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIFIIFGIIGIIIIIIIIIIIIIGIIIIIIIIIIIIIIIIGGGGECGGGFGGGGGGGGGGGGGF7EGGGGGGGGGGGGGGGGFFFGGGGGCCCCC
    I simply can not find where the error should be in the last quality line (phred 33 quality score).

    The input command is:

    fastx_reverse_complement -Q33 -i input_file.fastq -o output_file.fastq

    Can some of you just by looking at the quality score listed above see if something is wrong? Or is there something else in the sequence which is wrong?

    Thank you very much in advance!
    Last edited by GenoMax; 06-16-2016, 03:43 AM.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    I wonder if it has a maximum line length. For some reason it thinks that the read name is part of the quality score, which is obviously not the case. There at least doesn't appear to be anything at all wrong with that fastq record.

    Comment

    • TBAENVS
      Junior Member
      • Jan 2016
      • 5

      #3
      Originally posted by dpryan View Post
      I wonder if it has a maximum line length. For some reason it thinks that the read name is part of the quality score, which is obviously not the case. There at least doesn't appear to be anything at all wrong with that fastq record.
      Thank for the reply dpryan!

      There is nothing about maximum line length in the fastc_reverse_complement manual. I will try to contact the developers of the fastx tool kit.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        I suggest that you use reformat.sh from BBMap suite like so. It worked with your example above fine.

        Code:
        $ reformat.sh in=your.fq out=revcomp.fq rcomp=t
        There are many other options that you can look at by just reformat.sh on command line.

        Comment

        • westerman
          Rick Westerman
          • Jun 2008
          • 1104

          #5
          Also look at the line above the line in question. It may be causing a problem that continues to the troublesome line.

          Like GenoMax I recommend reformat.sh

          Comment

          Latest Articles

          Collapse

          • 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
            ...
            Today, 10:25 AM
          • SEQadmin2
            How Immunogenomics Decodes Immunity’s Genetic Blueprint
            by SEQadmin2




            The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

            This convergence of genetics, immunology, and computation...
            09-01-2026, 05:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 09-25-2026, 09:06 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 09-23-2026, 11:05 AM
          0 responses
          24 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 09-18-2026, 11:37 AM
          1 response
          45 views
          0 reactions
          Last Post pekgio
          by pekgio
           
          Started by SEQadmin2, 09-16-2026, 10:23 AM
          1 response
          55 views
          0 reactions
          Last Post pekgio
          by pekgio
           
          Working...