Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

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


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

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      59 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      56 views
      0 likes
      Last Post seqadmin  
      Working...
      X