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
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:57 AM
          0 responses
          12 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-06-2024, 07:17 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-02-2024, 08:06 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-30-2024, 12:17 PM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Working...
          X