Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vaibhavvsk
    Member
    • Sep 2011
    • 14

    #1

    How to know whether its Read1(Forward) or Read2(Reverse) from fastq contents.

    As per fastq file description on wikipedia(https://en.wikipedia.org/wiki/FASTQ_format) Illumina Sequence Identifier format as :
    Case A. Standard Illumina Format
    Read Identifier : @HWUSI-EAS100R:6:73:941:1973#0/1
    /1 indicates it is R1 i.e. Forward Read and
    /2 indicates it is R2 i.e. Reverse Read

    Case B. Illumina with Casava 1.8
    Read Identifier : @EAS139:136:FC706VJ:2:2104:15343:197393 1:Y:18:ATCACG
    1:Y:18:ATCACG i.e substring 1: indicates it is R1
    2:Y:18:ATCACG i.e substring 2: indicates it is R2 Case C : NCBI Sequence Read Archive(SRA)
    Read Identifier: @SRR001666.1 071112_SLXA-EAS1_s_7:5:1:817:345 length=36

    Case C: NCBI SRA fastq format
    Read Identifier :
    @SRR001666.1 071112_SLXA-EAS1_s_7:5:1:817:345 length=36

    I'm pasting 4 lines from the paired end data as :

    ==> SRR1583191_1.fastq <==
    @SRR1583191.1 SN7001163:87:C1ME6ACXX:1:1101:1176:2038 length=101
    NATCCAGTAGCCTCCTCCCCATCATCTCCCATTTCTTCTACAGGGGGACTCCCCCAGGTCTGGTAGCCCAAAGCTGCTGCTACAGCCGCCATGGGGGGGTG
    +SRR1583191.1 SN7001163:87:C1ME6ACXX:1:1101:1176:2038 length=101
    #1=DDFFFHHGHGIIIIIIIBFHCHIIIIIEHIIGIIGIIIIHIIIIGIIIIIIIIGHCHFEFFFCEEECBBCCCCCCCCCCCCCCCCBB9@ACABBCB09

    ==> SRR1583191_2.fastq <==
    @SRR1583191.1 SN7001163:87:C1ME6ACXX:1:1101:1176:2038 length=101
    TCCTGTTCTCCCTGCTTGGAGTCTTGGTTGCCTGTGGAAATATCAGGCATGTGAATGGGAAGGCAGGAGTAGACAGTGAATGTGGCCTACTTGATTTGAGG
    +SRR1583191.1 SN7001163:87:C1ME6ACXX:1:1101:1176:2038 length=101
    CCCFFFFFGHHGHJJJJIICGFGHHGGHIIIIIGFCG9CGHEHIIJJJHIGHJIIIJJIHIIIJIJJIHCEEHCEFEF3@C@CCCDBDCDDDDCCCDDDDD

    Here from the Case C identifier its not clear that which substring from Read Identifier can be used to distinguish R1 & R2.
    I tried looking into paired end files from SRA but I could not observe R1 or R2 identifier.

    I would like to know about getting R1 R2 information from fastq file contents. Apart from the three cases I would also like to know if there are any such sub strings in other fastq read identifier formats which provides R1 R2 information.
    Last edited by vaibhavvsk; 12-23-2015, 03:26 AM.
    Vaibhav Kulkarni
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    If you use

    -F | --origfmt Defline contains only original sequence name.
    option when extracting the fastq files from SRA you would potentially recover original Illumina fastq header.

    Comment

    • Jessica_L
      Senior Member
      • Feb 2010
      • 117

      #3
      None of the information in this string:

      SN7001163:87:C1ME6ACXX:1:1101:1176:2038 length=101

      can be used as an identifier for R1 vs R2. The fields are things like the instrument serial number, flow cell ID, lane number, tile number and X/Y coordinates of the cluster.

      Genomax's suggestion to recover the original header would be the best option to get the data you're looking for.

      Comment

      • vaibhavvsk
        Member
        • Sep 2011
        • 14

        #4
        Originally posted by GenoMax View Post
        If you use



        option when extracting the fastq files from SRA you would potentially recover original Illumina fastq header.
        Hey GenoMax it worked for me. Thanks Jessica_L too!
        Vaibhav Kulkarni

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...