Unconfigured 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:09 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Working...