Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ShaunMahony
    Member
    • Apr 2008
    • 27

    Converting FASTQ to RMAP prb files

    Does anyone know what the proper conversion is between Phred quality scores and the probability values required by the RMAP alignment software? RMAP's documentation doesn't have much to say on the matter.
  • ShaunMahony
    Member
    • Apr 2008
    • 27

    #2
    I think I've answered my own question...
    RMAP seems to be pretty fussy about the prb file format. The four probabilities at each base are given as Solexa/Phred qualities (e.g: 40 -40 -40 -40). They seem to use spaces to separate the four probabilities and tabs to separate the blocks of probabilities for each base. I don't know how necessary that is but I didn't mess with it. RMAP does seem to be sensitive to the end of the line. There cannot be whitespace at the end of the line except for the newline. Each line represents a single read, so you have 4 x readLength numbers on each line and there are no labels so they have to be in the exact same order as your corresponding FASTA file of sequences.

    Of course, FASTQ quality strings only give the probability that the called base is correct. To make pseudo-probabilities for the other three bases, I have been subtracting the FASTQ probability from 1, dividing by three, and converting back into a Phred quality.

    I have a script working to do the conversion in case anyone is interested.

    I wish that RMAP would support FASTQ files as an option... our core facility is currently throwing out the prb files.
    Last edited by ShaunMahony; 05-09-2008, 12:16 PM.

    Comment

    • RudyS
      Member
      • May 2008
      • 20

      #3
      at least some core facility support dont understand the value of the prb files ... after thinking about doing what you did, i decided it didnt make sense to try to reverse-engineer the prb scores ... note that for equivalent probabilities, the fastq file will simply select the first (!?) ... if you run the script on a fastq file that you actually have the prb file and learn something, it would be interesting to know how much "better" rmapq with the prb file does over just rmap with the fasta file ...
      i think?
      rudy

      Comment

      Latest Articles

      Collapse

      • seqadmin
        New Genomics Tools and Methods Shared at AGBT 2025
        by seqadmin


        This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

        The Headliner
        The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
        03-03-2025, 01:39 PM
      • seqadmin
        Investigating the Gut Microbiome Through Diet and Spatial Biology
        by seqadmin




        The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
        02-24-2025, 06:31 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 05:03 AM
      0 responses
      10 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 07:27 AM
      0 responses
      11 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-18-2025, 12:50 PM
      0 responses
      14 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-03-2025, 01:15 PM
      0 responses
      185 views
      0 reactions
      Last Post seqadmin  
      Working...