Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • letusgo
    Member
    • Aug 2011
    • 17

    fastx_toolkit can't work

    when i use fastx_toolkits ,just like fastq_quality_filter:

    $ fastq_quality_filter -q 5 -p 50 -i ./SampleS_1.fq -o ./SampleSfilter_1.fq

    unfortunately,it returns as:

    fastq_quality_filter: Invalid quality score value (char '#' ord 35 quality value -29) on line 4

    how can I solve it ?
  • Alex Renwick
    Member
    • Jul 2011
    • 44

    #2
    The program is using solexa quality scores (starting at 64) instead of sanger (starting at 33). According to the fastx website, support for sanger quality scores was added in version 0.0.13. Which version are you running?

    Comment

    • dfjenkins3
      Junior Member
      • Aug 2011
      • 1

      #3
      Try the command line option -Q 33 to indicate Sanger phred scores. That option has worked for me in the past

      Comment

      • letusgo
        Member
        • Aug 2011
        • 17

        #4
        Originally posted by Alex Renwick View Post
        The program is using solexa quality scores (starting at 64) instead of sanger (starting at 33). According to the fastx website, support for sanger quality scores was added in version 0.0.13. Which version are you running?
        i use the version 0.0.13,but it doesn't work too,how can i convert sanger fastq to illumina fastq format?

        Comment

        • letusgo
          Member
          • Aug 2011
          • 17

          #5
          Originally posted by dfjenkins3 View Post
          Try the command line option -Q 33 to indicate Sanger phred scores. That option has worked for me in the past
          i add this option ,but another error is happened like:

          fastq_quality_filter: Invalid quality score value (char 'J' ord 74 quality value 41) on line 4

          Comment

          • sisch
            Member
            • Jun 2011
            • 29

            #6
            Can you post a few (12) lines of your FastQ file?

            Comment

            • mgogol
              Senior Member
              • Mar 2008
              • 197

              #7
              I always thought it was -Q33... Does -Q 33 work?

              [edit] Oh, yes, it does.

              Comment

              • letusgo
                Member
                • Aug 2011
                • 17

                #8
                Originally posted by sisch View Post
                can you post a few (12) lines of your fastq file?
                @hwi-st298:170:81mg3abxx:1:1101:1349:2455 1:n:0:ttaggc
                ctggttcagccttcttaggctcttcttctgtttccttacctcagatcggaagagcacacgtctgaactccagtcacttaggcatttcgtatgacgtatgt
                +
                cccfffffghghfhgiijjfhegi?fhiihfchggggcegggicgebchfhgdhgiiibaf@fh7@@e;7=a;aadd>ccbcca################
                @hwi-st298:170:81mg3abxx:1:1101:1372:2461 1:n:0:ttaggc
                agacggtgttgcataagctgttgtatctgttgctgttgaaactgaaactgctgctgttgctgcttttgttttttagatcggcagggcacacgtgtgcgac
                +
                @@@fff@dfhgff<gaeehggg@@ehafhiiibgg<?ff<?<bf<fg@gg?be<<3?88bf#######################################
                @hwi-st298:170:81mg3abxx:1:1101:1866:2486 1:n:0:ttaggc
                gtcactttgtacctcttctcaaattaggaaaatacgaagttcgaggaacgcctttcgttctctttttttcttggtcggcagggtcagggcctttcttgct
                +
                @@cdffffdddhhegeggeegeh>hhhiigiij>ffcgggeghid0?dfdfggiig1=;;ceggcac<<ce@a@>>>;??>95(9<(38<?<a#######

                Comment

                • kmcarr
                  Senior Member
                  • May 2008
                  • 1181

                  #9
                  Originally posted by letusgo View Post
                  i add this option ,but another error is happened like:

                  fastq_quality_filter: Invalid quality score value (char 'J' ord 74 quality value 41) on line 4
                  letusgo,

                  Are you sure that you are using v. 0.0.13? See this response to a thread about this issue from last year. (Hint, try searching the forum first, your question may already have been answered.) Using v. 0.0.13 and the '-Q 33' option together should work. If it doesn't then your FASTQ file may be malformed.

                  Comment

                  • letusgo
                    Member
                    • Aug 2011
                    • 17

                    #10
                    Originally posted by mgogol View Post
                    I always thought it was -Q33... Does -Q 33 work?

                    [edit] Oh, yes, it does.
                    unfortunately,it doesn't work for my fastq files,then i convert the sanger fastq to illumina fastq.when i run fastq_quality_filter,another error :

                    fastq_quality_filter: Invalid quality score value (char 'i' ord 105 quality value 41) on line 4

                    Comment

                    • kmcarr
                      Senior Member
                      • May 2008
                      • 1181

                      #11
                      Originally posted by letusgo View Post
                      @hwi-st298:170:81mg3abxx:1:1101:1349:2455 1:n:0:ttaggc
                      ctggttcagccttcttaggctcttcttctgtttccttacctcagatcggaagagcacacgtctgaactccagtcacttaggcatttcgtatgacgtatgt
                      +
                      cccfffffghghfhgiijjfhegi?fhiihfchggggcegggicgebchfhgdhgiiibaf@fh7@@e;7=a;aadd>ccbcca################
                      @hwi-st298:170:81mg3abxx:1:1101:1372:2461 1:n:0:ttaggc
                      agacggtgttgcataagctgttgtatctgttgctgttgaaactgaaactgctgctgttgctgcttttgttttttagatcggcagggcacacgtgtgcgac
                      +
                      @@@fff@dfhgff<gaeehggg@@ehafhiiibgg<?ff<?<bf<fg@gg?be<<3?88bf#######################################
                      @hwi-st298:170:81mg3abxx:1:1101:1866:2486 1:n:0:ttaggc
                      gtcactttgtacctcttctcaaattaggaaaatacgaagttcgaggaacgcctttcgttctctttttttcttggtcggcagggtcagggcctttcttgct
                      +
                      @@cdffffdddhhegeggeegeh>hhhiigiij>ffcgggeghid0?dfdfggiig1=;;ceggcac<<ce@a@>>>;??>95(9<(38<?<a#######
                      O.K. I missed this before. Clearly your quality lines are malformed; are these after you converted them? You have ASCII values ranging from 35 (#) to 105 (i). No valid FASTQ files for Illumina reads uses a range this wide.

                      Comment

                      • letusgo
                        Member
                        • Aug 2011
                        • 17

                        #12
                        Originally posted by kmcarr View Post
                        O.K. I missed this before. Clearly your quality lines are malformed; are these after you converted them? You have ASCII values ranging from 35 (#) to 105 (i). No valid FASTQ files for Illumina reads uses a range this wide.
                        they come from a seqencing company,i didn't convert them.but when i convert them to Illumina fastq,their ASCII values is also malformed,what can i do?

                        Comment

                        • arvid
                          Senior Member
                          • Jul 2011
                          • 156

                          #13
                          Originally posted by letusgo View Post
                          they come from a seqencing company,i didn't convert them.but when i convert them to Illumina fastq,their ASCII values is also malformed,what can i do?
                          Ask the company what they did to create such data..?

                          Comment

                          • ishmael
                            Member
                            • Jul 2008
                            • 17

                            #14
                            Just curious, I googled the unique machine id: hwi-st298.
                            And I found this:

                            It looks that the company triggered the malformation not the first time.
                            Which company it is? BGI?

                            Comment

                            Latest Articles

                            Collapse

                            • SEQadmin2
                              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                              by SEQadmin2


                              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                              Here are nine questions we think about, in roughly the order they matter, before...
                              06-18-2026, 07:11 AM
                            • SEQadmin2
                              From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                              by SEQadmin2


                              Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                              The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                              ...
                              06-02-2026, 10:05 AM

                            ad_right_rmr

                            Collapse

                            News

                            Collapse

                            Topics Statistics Last Post
                            Started by SEQadmin2, 06-26-2026, 11:10 AM
                            0 responses
                            12 views
                            0 reactions
                            Last Post SEQadmin2  
                            Started by SEQadmin2, 06-17-2026, 06:09 AM
                            0 responses
                            48 views
                            0 reactions
                            Last Post SEQadmin2  
                            Started by SEQadmin2, 06-09-2026, 11:58 AM
                            0 responses
                            107 views
                            0 reactions
                            Last Post SEQadmin2  
                            Started by SEQadmin2, 06-05-2026, 10:09 AM
                            0 responses
                            125 views
                            0 reactions
                            Last Post SEQadmin2  
                            Working...