Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #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


      • #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


        • #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

          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM
          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          18 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          22 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          47 views
          0 likes
          Last Post seqadmin  
          Working...
          X