Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cllorens
    Member
    • Nov 2011
    • 44

    #1

    May I a question about fastqs and the script fq_all2std?

    Hi Guys

    I testing distinct conversors from solexa fastq to standard sanger but have a couple of naive questions to do om which i am unclear

    I think that as illumina 1.8+ encoding scheme encodes that Phred-score by adding 33 to the score there is no need of conversion as this is sanger too

    Can anyone tell me if I am correct??

    As for illumina 1.5+ and 1.8+

    I donwloaded the fq_all2std script from maq and because in the source file the parameter in for loop aare -64 to 64 and the remaining parameters wherever for the conversion is again 64 i think this file is for illumina 1.3+
    Am i right here??

    Additonally if want to this script to convert from illumina 1.5+ to sanger is it enough to just change 64 wherever noted for 66?? Is that right? I mean is it just as simple as it seems or i am missing something in this last step?

    thank you in advance
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Originally posted by cllorens View Post
    I think that as illumina 1.8+ encoding scheme encodes that Phred-score by adding 33 to the score there is no need of conversion as this is sanger too

    Can anyone tell me if I am correct??
    Yes, that part is correct.

    Have you read http://dx.doi.org/10.1093/nar/gkp1137 and http://en.wikipedia.org/wiki/FASTQ_format yet?

    Comment

    • cllorens
      Member
      • Nov 2011
      • 44

      #3
      Hi Peter,
      Yes I saw the wikipedia site you note and some other information (no the NAR paper thank for the reference, I´ll read it with pleasure) and I think i am clear about the differences although in the first question (that you answered me) was asked as sometimes is good to have confirmation about thinks you are clear but not sure at all. My two other doubts are more properly about the script fq_all2std and if about i am right about if it is oriented to illumina 1.3+ (when talking about conversion illumina to sanger there are other functions) and if the few amends in the code I suggest are enough to have these illumina to sanger functions adapted to 1.5+. Based on what i read I think so but again it is good if someone can confirm should i am right or wrong. Perhaps these two questions are more targeted to the original developer of this script I took from Maq. I am not sure but I think is Nilshommer.
      CArlos

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        If you can read Perl it is fairly clear, I'm quoting from this copy http://maq.sourceforge.net/fq_all2std.pl

        This bit does the FASTQ conversion:
        Code:
        sub sol2std {
          my $max = 0;
          while (<>) {
        	if (/^@/) {
        	  print;
        	  $_ = <>; print; $_ = <>; $_ = <>;
        	  my @t = split('', $_);
        	  my $qual = '';
        	  $qual .= $conv_table[ord($_)] for (@t);
        	  print "+\n$qual\n";
        	}
          }
        }
        And further up here is the definition of the conversation table:
        Code:
        # Solexa->Sanger quality conversion table
        my @conv_table;
        for (-64..64) {
          $conv_table[$_+64] = chr(int(33 + 10*log(1+10**($_/10.0))/log(10)+.499));
        }
        All those logs are implementing the Solexa score to PHRED score conversion (see our NAR paper for the formula and citations, or the wikipedia page). That means this script converts the really old Solexa FASTQ encoding (which can have negative scores) into the Sanger PHRED encoding (which does not have negative scores).

        Unless you are dealing with really really old data, you shouldn't be using this conversion.

        Comment

        • cllorens
          Member
          • Nov 2011
          • 44

          #5
          That is the point in part of my question Peter. I known that is a conversor for old data. I found however interesting the script not for my current data but under the idea have at hand (just in case if need it) a conversor for several previous illumina formats.

          Then this script was done for the early solexa (ASCII characters with range 59–126 and off-set 64) isn´t? But if several amends are done to change the parameters the script should also valid for converting 1.3+ and 1.5+ (again if needed) as SANGER has not changed. That was the remainder of my question.

          Ah, thank you for the reference (I read it) older but quite instructive.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            07-31-2026, 11:01 AM
          • SEQadmin2
            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
            by SEQadmin2


            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

            The systematic characterization of the human proteome has
            ...
            07-20-2026, 11:48 AM
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 08-03-2026, 10:13 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-31-2026, 02:55 AM
          0 responses
          32 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-23-2026, 11:41 AM
          0 responses
          21 views
          0 reactions
          Last Post SEQadmin2  
          Working...