Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • fastx: fastq_quality_filter

    Hello,
    I used fastq_quality_filter to remove reads that had quality scores below 30 from a fastq file. The encoding of the quality scores, according to fastqc, is "Sanger / Illumina 1.9". The command I used was: fastq_quality_filter -Q 33 -q 30 -p 100 -i in.fastq -o out.fastq. I ran fastqc before and after the filtering. After filtering with fastq_quality_filter, fastqc reports that the quality encoding changed to Illumina < 1.3. Furthermore, the range of quality scores changes from 28-40 to ~4-16. According to fastqc, fastq_quality_filter is converting the original Sanger/lumina 1.9 encoding to illumina <1.3 encoding. How can I be sure fastq_quality_filter is removing the correct reads? I've attached png's of fastqc output before and after fastq_quality_filtering. Thanks a bunch.
    Click image for larger version

Name:	per_base_quality_Unfiltered.png
Views:	1
Size:	8.9 KB
ID:	307848

    Click image for larger version

Name:	per_base_quality_fastqFiltered.png
Views:	1
Size:	8.5 KB
ID:	307849


    example read from fastq file:
    @HWI-ST570:48:C0NUKACXX:3:1308:18173:180116 1:N:0:
    CGAGCTGGTGCGAACCAAGACCTTGGTGAAGAACAGCATCGTGGTCATCG
    +
    CCCFFFFFHHHHHIJJJJJJJJJJJJHIJJJJJGIIIJIJJIJJHIJJJJ

  • #2
    I met the same problem!

    Originally posted by daiello View Post
    Hello,
    I used fastq_quality_filter to remove reads that had quality scores below 30 from a fastq file. The encoding of the quality scores, according to fastqc, is "Sanger / Illumina 1.9". The command I used was: fastq_quality_filter -Q 33 -q 30 -p 100 -i in.fastq -o out.fastq. I ran fastqc before and after the filtering. After filtering with fastq_quality_filter, fastqc reports that the quality encoding changed to Illumina < 1.3. Furthermore, the range of quality scores changes from 28-40 to ~4-16. According to fastqc, fastq_quality_filter is converting the original Sanger/lumina 1.9 encoding to illumina <1.3 encoding. How can I be sure fastq_quality_filter is removing the correct reads? I've attached png's of fastqc output before and after fastq_quality_filtering. Thanks a bunch.
    [ATTACH]1517[/ATTACH]

    [ATTACH]1518[/ATTACH]


    example read from fastq file:
    @HWI-ST570:48:C0NUKACXX:3:1308:18173:180116 1:N:0:
    CGAGCTGGTGCGAACCAAGACCTTGGTGAAGAACAGCATCGTGGTCATCG
    +
    CCCFFFFFHHHHHIJJJJJJJJJJJJHIJJJJJGIIIJIJJIJJHIJJJJ
    Hi daiello,
    Have you find the possible reason and solution for this problem ?
    Whether this affects the outcome of next steps such as mapping or de novo assembly?
    I met the same problem too, and I'm wondering if it is an error of fastqc but not association with the Fastq_quality_filter ?

    Comment


    • #3
      Without directly answering your question, I have found FASTQ to be finicky and glitchy...
      Use PRINSEQ either online or from the terminal

      Comment


      • #4
        This thread was almost a year old. You could have started a new one.

        Still, for the sake of some answer. From the information provided, I would say it is just the FastQC software misinterpreting the quality scores. In my experience fastq_quality_filter does not convert quality scores into a different encoding. But what could happen if you discard all qualities below thirty (by chance even all below 33), is that FastQC won't find out of range quality scores and therefore misinterprets them as Illumina 1.3 instead of 1.9.

        Therefore don't bother in your downstream application and have faith that the quality offset stays the same

        If you need the graphs of FastQC there is most probably a setting to enforce -Q33.

        EDIT: misread the date, was not "over a year old", but "almost a year old"
        Last edited by sisch; 05-28-2013, 03:40 AM.

        Comment


        • #5
          Originally posted by sisch View Post
          This thread was almost a year old. You could have started a new one.

          Still, for the sake of some answer. From the information provided, I would say it is just the FastQC software misinterpreting the quality scores. In my experience fastq_quality_filter does not convert quality scores into a different encoding. But what could happen if you discard all qualities below thirty (by chance even all below 33), is that FastQC won't find out of range quality scores and therefore misinterprets them as Illumina 1.3 instead of 1.9.

          Therefore don't bother in your downstream application and have faith that the quality offset stays the same

          If you need the graphs of FastQC there is most probably a setting to enforce -Q33.

          EDIT: misread the date, was not "over a year old", but "almost a year old"
          Thanks for your suggestion.

          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...
            09-09-2024, 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
          143 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-03-2024, 08:30 AM
          0 responses
          147 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-27-2024, 04:40 AM
          0 responses
          158 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-22-2024, 05:00 AM
          0 responses
          402 views
          0 likes
          Last Post seqadmin  
          Working...
          X