Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rebrendi
    ng
    • May 2008
    • 78

    #1

    Output file formats

    Hello,

    Could you please help me to sort out with the output file formats?
    What each column means, and which program (under Windows) to use to read these files?

    Thank you very much!

    (There are three output files,
    First file has a name like s_2_0001_seq.txt and looks like this:

    2 1 912 885 TGGCAAGGAAAATAAAATCAAAAA
    2 1 901 884 TGGTACATATACACCATGAAATAT
    2 1 897 115 TGAAGGACCAGAGTGCCTGGACTT
    2 1 933 879 AAGGCAACAAAAAGAGACTCCATA
    2 1 888 104 TGGGACACATTTAAAGCAACGAGA
    2 1 920 116 AATCCAGAAGTGGGGGCCTGTGCA
    2 1 920 894 TCAAAACTGAAACACTTCCCATCA
    2 1 900 896 TGTCATCCTGAAGTGCAGTGGATA
    2 1 896 921 TTAGGAAAAAACAAAAAACAAAAA
    2 1 886 105 AGGGAAAATGGAAAAATAACAAAC
    2 1 876 955 TACCAAACATTTGAGGCAGAAATG


    Second file is named as s_2_0001_sig2.txt and looks like this:


    2 1 912 885 2925.5 5978.4 913.5 6583.8 1032.0 1638.7 4854.6 221.5 109.3 1888.1 2405.1 2398.7 1271.8 4134.4 737.4 -222.2 2190.1 1825.4 679.2 -2.1 3953.1 277.9 391.4 334.6 1393.2 972.6 3596.5 1032.0 391.4 53.5 2777.0 -167.5 2737.7 277.9 913.5 109.3 2584.9 2398.7 334.6 109.3 2628.7 972.6 448.5 -57.4 2157.6 -705.0 165.3 1700.7 277.9 1091.6 448.5 1819.4 3357.7 -2.1 -2.1 1762.9 2325.5 277.9 1271.8 -222.2 1105.7 1032.0 109.3 109.3 2815.2 -112.5 391.4 1211.5 277.9 334.6 1151.4 1263.3 913.5 1464.4 505.9 165.3 2341.2 505.9 165.3 165.3 2221.7 -492.5 221.5 -112.5 1853.9 505.9 109.3 1393.2 492.8 165.3 448.5 165.3 1906.0 53.5 563.4 563.4

    And the third file is named like s_2_0001_prb.txt, and looks like this:

    -40 -5 -40 5 -40 -40 40 -40 -40 -40 1 -1 -40 40 -40 -40 13 -13 -40 -40 40 -40 -40 -40 -40 -40 40 -40 -40 -40 40 -40 40 -40 -40 -40 6 -6 -40 -40 40 -40 -40 -40 40 -40 -40 -40 -40 -40 -40 40 40 -40 -40 -40 40 -40 -40 -40 2 -2 -40 -40 40 -40 -40 -40 -40 -40 -19 19 -19 19 -40 -40 40 -40 -40 -40 40 -40 -40 -40 18 -31 -40 -18 0 -10 -2 -22 40 -40 -40 -40
    -40 -40 -40 40 -40 -40 40 -40 -40 -40 40 -40 -40 -40 -40 40 40 -40 -40 -40 -40 40 -40 -40 40 -40 -40 -40 -40 -40 -40 40 40 -40 -40 -40 -40 -40 -40 40 40 -40 -40 -40 -40 40 -40 -40 40 -40 -40 -40 -40 40 -40 -40 -40 40 -40 -40 40 -40 -40 -40 -40 -40 -40 40 -40 -40 40 -40 40 -40 -40 -40 40 -40 -40 -40 40 -40 -40 -40 -40 -40 -40 40 40 -40 -40 -40 -40 -40 -40 40
    -40 -40 -40 40 -40 -40 40 -40 40 -40 -40 -40 40
    Last edited by rebrendi; 05-14-2008, 04:42 PM.
  • ECO
    --Site Admin--
    • Oct 2007
    • 1360

    #2
    Hey Rebrendi, I fully expect someone more knowledgeable than myself will chime in soon, but I do know that the PRB file is the per base quality file. There is more info here:

    For the latter one, four numbers per base are listed to present the negative log-transform of the probabilities of four nucleotides (A, C, G, T) to be sequenced at this base position.
    ...from http://rulai.cshl.edu/rmap/

    So it's possible to use the PRB as the sequence as well.

    Hopefully that will tide you over until said smarter person appears!

    Comment

    • rebrendi
      ng
      • May 2008
      • 78

      #3
      Thank you very much, ECO!

      So, I still need answers to the two other file formats, and the program to read them under windows (if it exists). I wonder, is it possible to extract the nucleotide numbers in the genome from these short raw data? And there are also other tags encoded somewhere in these files.

      Comment

      • cgb
        Member
        • May 2008
        • 50

        #4
        the sig2 files are processed "traces" you can draw a bar chart with them for each sequence. The seq files are the final data - its trivial to convert the seq and prb files into a fastq file - there are tools floating around to do this.

        generally the key is the first 4 columns : lane, tiles, x, y for the given cluster that gave the sequence.

        Comment

        • rebrendi
          ng
          • May 2008
          • 78

          #5
          Originally posted by cgb View Post
          generally the key is the first 4 columns : lane, tiles, x, y for the given cluster that gave the sequence.
          well, so what do they mean these columns?
          Last edited by rebrendi; 05-14-2008, 11:52 PM.

          Comment

          • ECO
            --Site Admin--
            • Oct 2007
            • 1360

            #6
            Lane = 1-8 (which channel of the flowcell)

            X,Y = physical location of the cluster on the flowcell...

            Comment

            • rebrendi
              ng
              • May 2008
              • 78

              #7
              Originally posted by ECO View Post
              Lane = 1-8 (which channel of the flowcell)

              X,Y = physical location of the cluster on the flowcell...
              thanks....

              Comment

              • cgb
                Member
                • May 2008
                • 50

                #8
                Not quite....

                the flowcell has 8 lanes. lane number is the lane. each lane has up to 330 'tiles' they are numbered in a snakey pattern, the X,Y is the cluster co-ordinate on the given tile

                Comment

                • cgb
                  Member
                  • May 2008
                  • 50

                  #9
                  ... on the sig2 files - your row (= cluster) has the same key for the first 4 cols. then you have 4 values for A,C,G,T <Tab> A,C,T,G etc.... up to cycle number

                  note - your quality values are raw Qscores emitted by Bustard and will not be wel calibrated.

                  Comment

                  • bioinfosm
                    Senior Member
                    • Jan 2008
                    • 483

                    #10
                    Originally posted by cgb View Post
                    the sig2 files are processed "traces" you can draw a bar chart with them for each sequence. The seq files are the final data - its trivial to convert the seq and prb files into a fastq file - there are tools floating around to do this.

                    generally the key is the first 4 columns : lane, tiles, x, y for the given cluster that gave the sequence.
                    cgb,
                    can you say more on these programs that convert prb + seq into fastq format?
                    There is this _sequence.txt output per lane as well, that is the reads in seq file minus the QC reads that fail chastity filter. This can then be converted to fastq using one of the MAQ utilities.

                    Any advantage of using seq + prb, instead of the filtered _sequence? I have heard from MAQ, SSAHA and other authors that using the filtered file is preferred to get better alignment results using their tools

                    sm
                    --
                    bioinfosm

                    Comment

                    • cgb
                      Member
                      • May 2008
                      • 50

                      #11
                      have a look on the sanger site - if not mail [email protected] or [email protected]

                      Comment

                      • swbarnes2
                        Senior Member
                        • May 2008
                        • 910

                        #12
                        Originally posted by bioinfosm View Post
                        cgb,
                        There is this _sequence.txt output per lane as well, that is the reads in seq file minus the QC reads that fail chastity filter. This can then be converted to fastq using one of the MAQ utilities.
                        On our pipeline, the _sequence.txt file only has 32 bases of sequence. If you are using SOAP or Maq, or you are doing more than 36 bases, you don't want to lose all those bases. Maybe you can fool around with the pipeline to get it to output more, but I don't know how. It also uses a non-standard quailty scoring format, but that's not a deal-breaker.

                        I made a <50 line perl thingie to take the .prb and .seq files to make a fastq. If I can do it, it can't be that hard

                        Comment

                        • ScottC
                          Senior Member
                          • Jan 2008
                          • 244

                          #13
                          Originally posted by cgb View Post
                          Note - your quality values are raw Qscores emitted by Bustard and will not be well calibrated.

                          Hi cgb,

                          Can you expand on this a bit more please?

                          Cheers,

                          Scott.

                          Comment

                          • cgb
                            Member
                            • May 2008
                            • 50

                            #14
                            the scores are supposed to reflect the chances of a basecall being in error, 20 = 1 in 100 etc. If they do this accurately they are "calibrated". Raw Bustard scores are not well calibrated - it tends to over score and underscore bases and shove a lot into a Q40 bin (wrongly). he scores can be adjusted after the fact using several well known methods - the newer (0.4) / 1.0 release of the GAPipeline allows for some degree of recalibration using control lane data.

                            Comment

                            • SillyPoint
                              Member
                              • May 2008
                              • 39

                              #15
                              To amplify a bit on cgb's posting: If you align your reads to a known, error-free reference (e.g., PhiX), you can then count the true errors and establish a true error rate. Compare this to the estimated error rate embodied in the Q scores. They should match: Out of all the Q30 bases in all the reads, there should be 1 error in 1000, and so on for each Q value.

                              An easy place to find this information is in the s_<lane>_qreport.txt file produced by Gerald when you do an alignment on the lane (ANALYSIS default or Eland). What you'll see there is that what's called Q40 really has 0.5% errors = Q23.

                              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
                                ...
                                Yesterday, 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, 05:39 AM
                              0 responses
                              11 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-13-2026, 09:56 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-09-2026, 11:14 AM
                              0 responses
                              27 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 09-29-2026, 09:51 AM
                              0 responses
                              77 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...