Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kbushley
    Member
    • Jan 2010
    • 22

    FastX Quality Score format

    I've just been revisiting differences in quality scores between different fastq format (re-reading Cock et. al. 2010 Nucleic Acids Research - what a MESS Illumina has made of the fastq format).

    In any case, perhaps I am missing something but am trying to figure out how FastX-Toolkit (I'm using version fastx_toolkit-0.0.13.tar.bz2) is both reading in, scoring, and filtering on quality scores (ie., is it using solexa_fastq, sanger_fastq, illuminav1.3+_fastq quality scores or can it handle all). When plotting out the graph of quality scores, you get a range from -15 to 45 which corresponds to a range of 60 but doesn't seem to correspond to any of these published fastq formats ?*&!. Since this is 2010 and we've been using Illumina 1.3+ for some time now and I've read here on SEQ-ANSWERS that the first two quality scores (0,1) are not included so the range for Illumina 1.3+ quality scores is really 60, I'm assuming that FastX is both reading in and filtering on Illumina pipeline v1.3+ fastq format quality scores. I'd feel better though is someone else could confirm!

    Thanks!
    Last edited by kbushley; 09-04-2010, 11:40 AM.
  • splaisan
    senior molecular biologist
    • Jun 2009
    • 32

    #2
    Below the answer I got for a similar problem from Assaf Gordon In my case this was the solution, you may have to change the assci offset accordingly
    Cheers,
    Stephane

    Code:
    Hi Stéphane,
    
    There is an undocumented argument "-Q" that determines the input quality ASCII offset (33 or 64 or other).
    
    The program (every program in the fastx-toolkit) knows  automatically to detect ASCII or numeric values.
    If it sees ASCII characters, it subtract 64 for the ASCII value.
    
    So for example, the character 'a' (ASCII code 97) is converted to value 33 (97-64).
    
    If you need a different ASCII offset (e.g. 33 instead of 64), you can use the (undocumented) argument "-Q", as so:
    
    $ fastx_quality_stats -Q 33 -i INPUT.txt -o OUTPUT.txt
    
    you'll need version 0.0.10 or later for the "-Q" argument.
    
    -Gordon.
    http://www.bits.vib.be/index.php

    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-17-2026, 06:09 AM
    0 responses
    30 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-09-2026, 11:58 AM
    0 responses
    44 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    51 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    51 views
    0 reactions
    Last Post SEQadmin2  
    Working...