Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

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


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

      Comment


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


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


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

            Comment


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

              [edit] Oh, yes, it does.

              Comment


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


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


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


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


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


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


                          • #14
                            Just curious, I googled the unique machine id: hwi-st298.
                            And I found this:
                            http://seqanswers.com/forums/showthread.php?t=15928
                            It looks that the company triggered the malformation not the first time.
                            Which company it is? BGI?

                            Comment

                            Latest Articles

                            Collapse

                            • seqadmin
                              Understanding Genetic Influence on Infectious Disease
                              by seqadmin




                              During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                              Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                              Yesterday, 10:59 AM
                            • seqadmin
                              Addressing Off-Target Effects in CRISPR Technologies
                              by seqadmin






                              The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
                              08-27-2024, 04:44 AM

                            ad_right_rmr

                            Collapse

                            News

                            Collapse

                            Topics Statistics Last Post
                            Started by seqadmin, 09-06-2024, 08:02 AM
                            0 responses
                            138 views
                            0 likes
                            Last Post seqadmin  
                            Started by seqadmin, 09-03-2024, 08:30 AM
                            0 responses
                            141 views
                            0 likes
                            Last Post seqadmin  
                            Started by seqadmin, 08-27-2024, 04:40 AM
                            0 responses
                            152 views
                            0 likes
                            Last Post seqadmin  
                            Started by seqadmin, 08-22-2024, 05:00 AM
                            0 responses
                            395 views
                            0 likes
                            Last Post seqadmin  
                            Working...
                            X