Unconfigured Ad

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

    #1

    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

      • 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
        ...
        10-14-2026, 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, Yesterday, 11:13 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...