Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trudy
    Member
    • Feb 2011
    • 16

    #1

    calibrated quality string "B" full

    Hello everybody!

    I have a question about the calibrated quality string in qseq.txt file.

    If I have full called sequence BUT a calibrated quality string full of “B” and the read passes the filtering (1), I should discard this read (although passed the filter)?

    And if I have two reads in which the first read didn’t passed the filter while the second read passed BUT the number of “B” within is similar,
    which read should I discard? Otherwise I could cut the read after “B” appeared?

    In a few words, how I must to consider the “B” score for the next anlysis??
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Are you aware that trailing "B" qualities can have a special meaning - The Read Segment Quality Control Indicator? See this thread:
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


    I would therefore trim off any trailing bases with a "B" quality, e.g.

    Comment

    • tomc
      Member
      • Feb 2011
      • 29

      #3
      If it helps, here is a shell script to truncate reads at the first B score


      fastq_trim_B.awk

      Code:
      #! /usr/bin/nawk -f
      # tomc  
      # trim trailing 'B' scores (and sequence) from Ilumina FastQ reads
      
      /^@.*/     {FQ["DL"]=$0; next}
      /^[ACTGN]/ {FQ["SQ"]=$0; next}
      /^\+.*/    {FQ["QL"]=$0; next}
      /^[B-h]/   {
        n=match($0,/B/);
        if(n) {n--} else {n=length($0)};
        printf("%s\n%s\n%s\n%s\n",
      	FQ["DL"],substr(FQ["SQ"],1,n),
      	FQ["QL"],substr($0,1,n));
        next
      }

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        Today, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 05:39 AM
      0 responses
      9 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 09:56 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-29-2026, 09:51 AM
      0 responses
      76 views
      0 reactions
      Last Post SEQadmin2  
      Working...