Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beeman
    Member
    • May 2012
    • 20

    #1

    Converting fastq formats?

    First post, so please be gentle

    I've looked for the answer in faq's and related posts, but I'm still stumped.

    I have a number of PE illumina datasets in fastq format, however I've recently downloaded a new dataset which appears to have a substantially different format for it's fastq header/identifiers. I'd like to use this new dataset in some established pipelines that don't seem to be happy with this different format.

    Firstly, can someone please explain what may be the underlying cause of this? Could this arise due to different technologies or merely different revisions of the standard pipelines over time?

    Secondly, is it possible to use any tools like Biopython to reformat the header/identifiers to a more acceptable format?


    Example of old *working* fastq data compatible with our pipeline

    --------
    @SRR094905.1 HWI-BRUNOP20X:0617:2:1:12498:1196 length=75
    TATAAGATAATGTTTAATAAAAAANNNNNNNNNNNNNNNAGNNNNNNNNNNNTNNNNTTTTGTNNNNNNNNGAGG
    +SRR094905.1 HWI-BRUNOP20X:0617:2:1:12498:1196 length=75
    FFFFDFFFFEFEFFFFFFFF####!!!!!!!!!!!!!!!##!!!!!!!!!!!#!!!!######!!!!!!!!####
    @SRR094905.2 HWI-BRUNOP20X:0617:2:1:5633:1197 length=75
    AATATTTTTTATGATGGTAGAATANNNNNNNNNNNNNNNTGNNNNNNNNNNNTNNNNTTTATTNNNNNNNNGAGT
    +SRR094905.2 HWI-BRUNOP20X:0617:2:1:5633:1197 length=75
    HHHHHHHHEEEEEHHHHGHH####!!!!!!!!!!!!!!!##!!!!!!!!!!!#!!!!######!!!!!!!!####
    @SRR094905.3 HWI-BRUNOP20X:0617:2:1:6241:1197 length=75
    GAGGGGGTTTTTATTGGTTTTAGGNNNNNNNNNNNNNNNTTNNNNNNNNNNNTNNNNATTTGTNNNNNNNNTTGT
    +SRR094905.3 HWI-BRUNOP20X:0617:2:1:6241:1197 length=75
    GFGGF=86=DFF;?@#########!!!!!!!!!!!!!!!##!!!!!!!!!!!#!!!!######!!!!!!!!####
    @SRR094905.4 HWI-BRUNOP20X:0617:2:1:6877:1197 length=75
    GGAGGTATTTTTTACGAGGTAGGGNNNNNNNNNNNNNNNTTNNNNNNNNNNNGNNNNTTAGGANTNNNNNNGTAG
    +SRR094905.4 HWI-BRUNOP20X:0617:2:1:6877:1197 length=75
    HHHHHGHHHHHGGGHHHHHG####!!!!!!!!!!!!!!!##!!!!!!!!!!!#!!!!######!#!!!!!!####
    @SRR094905.5 HWI-BRUNOP20X:0617:2:1:8302:1197 length=75
    TTTGTATTAGTTATTTTGGCGTGANNNNNNNNNNNNNNNTANNNNNNNNNNNGNNNNTTGGTTNNNNNNNNTTTT
    +SRR094905.5 HWI-BRUNOP20X:0617:2:1:8302:1197 length=75
    HHHHHHHHGHHHGHHHCCHHA@A#!!!!!!!!!!!!!!!##!!!!!!!!!!!#!!!!######!!!!!!!!####


    Example of *new* dataset with different headers/identifiers
    --------
    @A80PGJABXX:8:1:1648:2147#0/1
    AATAATAATTTATTTATATATTTATTTATTTATAAATTTATTTTTTAAA
    +
    ggggggfgggggggggggggggfggggggggdggadfbfegggggf_^a
    @A80PGJABXX:8:1:1639:2201#0/1
    ATGATGAATATTTTTTTGATTAAATTATGATTATATTTATGTATTTTGA
    +
    gggfgggggfgggbgggggggfgdgggggefgggggggegfeggefffa
    @A80PGJABXX:8:1:1546:2220#0/1
    TGTTATGTATTTATTAAGATAATATGATGAAAATTATAAAATATAATTA
    +
    fffff^^ffd^efdcdeeaecfefdecddfffNffeeadedfdffaffe
    @A80PGJABXX:8:1:1579:2244#0/1
    TAAGTTAGGGTGATTGTATATAATAATTTGTTTAAGGTGATAGTTATTA
    +
    effefedeee[dcddffcffgdfggggggggggeaddJd^dadcbbcfd
    @A80PGJABXX:8:1:1753:2142#0/1
    GAATTTTATAATATGGAATTTATTATATTTGAATAATGTAAGAGTTGAT
    +
    gfgggggeggggfggfgfgggdggdgegggfddggggfeaggdgfggeg


    Thanks in advance for your patience!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Perhaps you missed the Wikipedia entry for FASTQ format.



    Am curious as to why your pipelines are not happy with the change in sequence ID. Are you parsing the ID's?
    Last edited by GenoMax; 05-28-2013, 03:42 AM.

    Comment

    • beeman
      Member
      • May 2012
      • 20

      #3
      Hi thanks for your reply.

      Yes I have read the fastq wiki, but the two fastq files appear to be annotated in a different way, hence my confusion.

      In the first fastq file the read ID is first (and increments for each read), followed by the instrument name "SRR094905.1 HWI-BRUNOP20X". For the second file, the first entry is the instrument name and is the same for every read, in line with the illumina format on the fastq wiki, rather than a unique read ID for each and every read.

      Does this make sense?

      I am unsure as to why there is such a significant difference in read annotation between these two datasets. Of course I can parse this information for each read and output to the required format, but I want to establish what is the "correct" and "proper" format that I should use, as despite the standard outlined in the wiki page there are obviously significant variations.

      Cheers,

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Originally posted by beeman View Post
        Hi thanks for your reply.

        Yes I have read the fastq wiki, but the two fastq files appear to be annotated in a different way, hence my confusion.

        In the first fastq file the read ID is first (and increments for each read), followed by the instrument name "SRR094905.1 HWI-BRUNOP20X". For the second file, the first entry is the instrument name and is the same for every read, in line with the illumina format on the fastq wiki, rather than a unique read ID for each and every read.

        Does this make sense?
        The first data set appears to have come from SRA. As noted in the Wikipedia article SRA identifier is added to each original ID line.

        The second dataset you have seems to have originated from a sequencer.

        Originally posted by beeman View Post

        I am unsure as to why there is such a significant difference in read annotation between these two datasets. Of course I can parse this information for each read and output to the required format, but I want to establish what is the "correct" and "proper" format that I should use, as despite the standard outlined in the wiki page there are obviously significant variations.

        Cheers,
        There is no standard as to what there needs to be there on the ID line. Minimal FASTQ format only needs the following items

        Code:
        @SEQ_ID
        GATTTGGGGTTCAAAGCAGTATCGATCAAATAGTAAATCCATTTGTTCAACTCACAGTTT
        +
        !''*((((***+))%%%++)(%%%%).1***-+*''))**55CCF>>>>>>CCCCCCC65

        Comment

        • beeman
          Member
          • May 2012
          • 20

          #5
          Ok thanks,

          Comment

          • HESmith
            Senior Member
            • Oct 2009
            • 512

            #6
            The "new" format is actually from an older version of the Illumina platform. Your pipeline may be unhappy b/c the quality scores are PHRED+64 encoded instead of the Sanger standard of PHRED+33.

            Comment

            • JackieBadger
              Senior Member
              • Mar 2009
              • 385

              #7
              If so, you can converts between PHRED encryptions using the Fastq groomer tool in Galaxy portal

              Comment

              • beeman
                Member
                • May 2012
                • 20

                #8
                Thanks for your helpful replies

                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, 10-22-2026, 11:13 AM
                0 responses
                29 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 10:48 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                39 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                45 views
                0 reactions
                Last Post SEQadmin2  
                Working...